diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index a6ed37e118..60c8c1799a 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.49.0 - 2021-10-26
+====================
+
+Added
+-----
+* Support for the Source Code Management service
+* Support for the Build service
+* Support for the Certificates service
+* Support to create child tenancies in an organization and manage subscriptions in the Organizations service
+* Support for Certificates service integration in the Load Balancing service
+* Support for creating hosts in specific availability domains in the VMWare Solution service
+* Support for user-defined functions and libraries, as well as scheduling and orchestration, in the Data Integration service
+* Support for EM-managed Exadatas and EM-managed hosts in the Operations Insights service
+
+Breaking
+--------
+* Models `ComputeInstanceGroupBlueGreenDeployStageExecutionProgress`, `ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress`, `ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress`, `ComputeInstanceGroupCanaryDeployStageExecutionProgress`, `ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress`, `RunPipelineDeployStageExecutionProgress`and `RunValidationTestOnComputeInstanceDeployStageExecutionProgress` were removed from the DevOps service.
+
====================
2.48.0 - 2021-10-19
====================
diff --git a/docs/api/certificates.rst b/docs/api/certificates.rst
new file mode 100644
index 0000000000..5210a129e6
--- /dev/null
+++ b/docs/api/certificates.rst
@@ -0,0 +1,31 @@
+Certificates
+============
+
+.. autosummary::
+ :toctree: certificates/client
+ :nosignatures:
+ :template: autosummary/service_client.rst
+
+ oci.certificates.CertificatesClient
+ oci.certificates.CertificatesClientCompositeOperations
+
+--------
+ Models
+--------
+
+.. autosummary::
+ :toctree: certificates/models
+ :nosignatures:
+ :template: autosummary/model_class.rst
+
+ oci.certificates.models.CaBundle
+ oci.certificates.models.CertificateAuthorityBundle
+ oci.certificates.models.CertificateAuthorityBundleVersionCollection
+ oci.certificates.models.CertificateAuthorityBundleVersionSummary
+ oci.certificates.models.CertificateBundle
+ oci.certificates.models.CertificateBundlePublicOnly
+ oci.certificates.models.CertificateBundleVersionCollection
+ oci.certificates.models.CertificateBundleVersionSummary
+ oci.certificates.models.CertificateBundleWithPrivateKey
+ oci.certificates.models.RevocationStatus
+ oci.certificates.models.Validity
diff --git a/docs/api/certificates/client/oci.certificates.CertificatesClient.rst b/docs/api/certificates/client/oci.certificates.CertificatesClient.rst
new file mode 100644
index 0000000000..4e3d3aa046
--- /dev/null
+++ b/docs/api/certificates/client/oci.certificates.CertificatesClient.rst
@@ -0,0 +1,8 @@
+CertificatesClient
+==================
+
+.. currentmodule:: oci.certificates
+
+.. autoclass:: CertificatesClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/certificates/client/oci.certificates.CertificatesClientCompositeOperations.rst b/docs/api/certificates/client/oci.certificates.CertificatesClientCompositeOperations.rst
new file mode 100644
index 0000000000..f4160bc310
--- /dev/null
+++ b/docs/api/certificates/client/oci.certificates.CertificatesClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+CertificatesClientCompositeOperations
+=====================================
+
+.. currentmodule:: oci.certificates
+
+.. autoclass:: CertificatesClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.CaBundle.rst b/docs/api/certificates/models/oci.certificates.models.CaBundle.rst
new file mode 100644
index 0000000000..3833d20098
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.CaBundle.rst
@@ -0,0 +1,11 @@
+CaBundle
+========
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: CaBundle
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.CertificateAuthorityBundle.rst b/docs/api/certificates/models/oci.certificates.models.CertificateAuthorityBundle.rst
new file mode 100644
index 0000000000..e5ff7a878c
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.CertificateAuthorityBundle.rst
@@ -0,0 +1,11 @@
+CertificateAuthorityBundle
+==========================
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: CertificateAuthorityBundle
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.CertificateAuthorityBundleVersionCollection.rst b/docs/api/certificates/models/oci.certificates.models.CertificateAuthorityBundleVersionCollection.rst
new file mode 100644
index 0000000000..bc97bfd501
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.CertificateAuthorityBundleVersionCollection.rst
@@ -0,0 +1,11 @@
+CertificateAuthorityBundleVersionCollection
+===========================================
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: CertificateAuthorityBundleVersionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.CertificateAuthorityBundleVersionSummary.rst b/docs/api/certificates/models/oci.certificates.models.CertificateAuthorityBundleVersionSummary.rst
new file mode 100644
index 0000000000..c3683c213e
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.CertificateAuthorityBundleVersionSummary.rst
@@ -0,0 +1,11 @@
+CertificateAuthorityBundleVersionSummary
+========================================
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: CertificateAuthorityBundleVersionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.CertificateBundle.rst b/docs/api/certificates/models/oci.certificates.models.CertificateBundle.rst
new file mode 100644
index 0000000000..00afd4b2df
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.CertificateBundle.rst
@@ -0,0 +1,11 @@
+CertificateBundle
+=================
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: CertificateBundle
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.CertificateBundlePublicOnly.rst b/docs/api/certificates/models/oci.certificates.models.CertificateBundlePublicOnly.rst
new file mode 100644
index 0000000000..61cf1f7333
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.CertificateBundlePublicOnly.rst
@@ -0,0 +1,11 @@
+CertificateBundlePublicOnly
+===========================
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: CertificateBundlePublicOnly
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.CertificateBundleVersionCollection.rst b/docs/api/certificates/models/oci.certificates.models.CertificateBundleVersionCollection.rst
new file mode 100644
index 0000000000..f41e52bb86
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.CertificateBundleVersionCollection.rst
@@ -0,0 +1,11 @@
+CertificateBundleVersionCollection
+==================================
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: CertificateBundleVersionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.CertificateBundleVersionSummary.rst b/docs/api/certificates/models/oci.certificates.models.CertificateBundleVersionSummary.rst
new file mode 100644
index 0000000000..2792056061
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.CertificateBundleVersionSummary.rst
@@ -0,0 +1,11 @@
+CertificateBundleVersionSummary
+===============================
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: CertificateBundleVersionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.CertificateBundleWithPrivateKey.rst b/docs/api/certificates/models/oci.certificates.models.CertificateBundleWithPrivateKey.rst
new file mode 100644
index 0000000000..cb37376956
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.CertificateBundleWithPrivateKey.rst
@@ -0,0 +1,11 @@
+CertificateBundleWithPrivateKey
+===============================
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: CertificateBundleWithPrivateKey
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.RevocationStatus.rst b/docs/api/certificates/models/oci.certificates.models.RevocationStatus.rst
new file mode 100644
index 0000000000..3718e5c389
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.RevocationStatus.rst
@@ -0,0 +1,11 @@
+RevocationStatus
+================
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: RevocationStatus
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates/models/oci.certificates.models.Validity.rst b/docs/api/certificates/models/oci.certificates.models.Validity.rst
new file mode 100644
index 0000000000..e272c2476e
--- /dev/null
+++ b/docs/api/certificates/models/oci.certificates.models.Validity.rst
@@ -0,0 +1,11 @@
+Validity
+========
+
+.. currentmodule:: oci.certificates.models
+
+.. autoclass:: Validity
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management.rst b/docs/api/certificates_management.rst
new file mode 100644
index 0000000000..f3a9faeb67
--- /dev/null
+++ b/docs/api/certificates_management.rst
@@ -0,0 +1,77 @@
+Certificates Management
+=======================
+
+.. autosummary::
+ :toctree: certificates_management/client
+ :nosignatures:
+ :template: autosummary/service_client.rst
+
+ oci.certificates_management.CertificatesManagementClient
+ oci.certificates_management.CertificatesManagementClientCompositeOperations
+
+--------
+ Models
+--------
+
+.. autosummary::
+ :toctree: certificates_management/models
+ :nosignatures:
+ :template: autosummary/model_class.rst
+
+ oci.certificates_management.models.Association
+ oci.certificates_management.models.AssociationCollection
+ oci.certificates_management.models.AssociationSummary
+ oci.certificates_management.models.CaBundle
+ oci.certificates_management.models.CaBundleCollection
+ oci.certificates_management.models.CaBundleSummary
+ oci.certificates_management.models.Certificate
+ oci.certificates_management.models.CertificateAuthority
+ oci.certificates_management.models.CertificateAuthorityCollection
+ oci.certificates_management.models.CertificateAuthorityIssuanceExpiryRule
+ oci.certificates_management.models.CertificateAuthorityRule
+ oci.certificates_management.models.CertificateAuthoritySummary
+ oci.certificates_management.models.CertificateAuthorityVersion
+ oci.certificates_management.models.CertificateAuthorityVersionCollection
+ oci.certificates_management.models.CertificateAuthorityVersionSummary
+ oci.certificates_management.models.CertificateCollection
+ oci.certificates_management.models.CertificateRenewalRule
+ oci.certificates_management.models.CertificateRevocationListDetails
+ oci.certificates_management.models.CertificateRule
+ oci.certificates_management.models.CertificateSubject
+ oci.certificates_management.models.CertificateSubjectAlternativeName
+ oci.certificates_management.models.CertificateSummary
+ oci.certificates_management.models.CertificateVersion
+ oci.certificates_management.models.CertificateVersionCollection
+ oci.certificates_management.models.CertificateVersionSummary
+ oci.certificates_management.models.ChangeCaBundleCompartmentDetails
+ oci.certificates_management.models.ChangeCertificateAuthorityCompartmentDetails
+ oci.certificates_management.models.ChangeCertificateCompartmentDetails
+ oci.certificates_management.models.CreateCaBundleDetails
+ oci.certificates_management.models.CreateCertificateAuthorityConfigDetails
+ oci.certificates_management.models.CreateCertificateAuthorityDetails
+ oci.certificates_management.models.CreateCertificateByImportingConfigDetails
+ oci.certificates_management.models.CreateCertificateConfigDetails
+ oci.certificates_management.models.CreateCertificateDetails
+ oci.certificates_management.models.CreateCertificateIssuedByInternalCaConfigDetails
+ oci.certificates_management.models.CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails
+ oci.certificates_management.models.CreateRootCaByGeneratingInternallyConfigDetails
+ oci.certificates_management.models.CreateSubordinateCaIssuedByInternalCaConfigDetails
+ oci.certificates_management.models.ObjectStorageBucketConfigDetails
+ oci.certificates_management.models.RevocationStatus
+ oci.certificates_management.models.RevokeCertificateAuthorityVersionDetails
+ oci.certificates_management.models.RevokeCertificateVersionDetails
+ oci.certificates_management.models.ScheduleCertificateAuthorityDeletionDetails
+ oci.certificates_management.models.ScheduleCertificateAuthorityVersionDeletionDetails
+ oci.certificates_management.models.ScheduleCertificateDeletionDetails
+ oci.certificates_management.models.ScheduleCertificateVersionDeletionDetails
+ oci.certificates_management.models.UpdateCaBundleDetails
+ oci.certificates_management.models.UpdateCertificateAuthorityConfigDetails
+ oci.certificates_management.models.UpdateCertificateAuthorityDetails
+ oci.certificates_management.models.UpdateCertificateByImportingConfigDetails
+ oci.certificates_management.models.UpdateCertificateConfigDetails
+ oci.certificates_management.models.UpdateCertificateDetails
+ oci.certificates_management.models.UpdateCertificateIssuedByInternalCaConfigDetails
+ oci.certificates_management.models.UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails
+ oci.certificates_management.models.UpdateRootCaByGeneratingInternallyConfigDetails
+ oci.certificates_management.models.UpdateSubordinateCaIssuedByInternalCaConfigDetails
+ oci.certificates_management.models.Validity
diff --git a/docs/api/certificates_management/client/oci.certificates_management.CertificatesManagementClient.rst b/docs/api/certificates_management/client/oci.certificates_management.CertificatesManagementClient.rst
new file mode 100644
index 0000000000..6b39b6af97
--- /dev/null
+++ b/docs/api/certificates_management/client/oci.certificates_management.CertificatesManagementClient.rst
@@ -0,0 +1,8 @@
+CertificatesManagementClient
+============================
+
+.. currentmodule:: oci.certificates_management
+
+.. autoclass:: CertificatesManagementClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/client/oci.certificates_management.CertificatesManagementClientCompositeOperations.rst b/docs/api/certificates_management/client/oci.certificates_management.CertificatesManagementClientCompositeOperations.rst
new file mode 100644
index 0000000000..5c81d6b537
--- /dev/null
+++ b/docs/api/certificates_management/client/oci.certificates_management.CertificatesManagementClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+CertificatesManagementClientCompositeOperations
+===============================================
+
+.. currentmodule:: oci.certificates_management
+
+.. autoclass:: CertificatesManagementClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.Association.rst b/docs/api/certificates_management/models/oci.certificates_management.models.Association.rst
new file mode 100644
index 0000000000..44a64e8c2f
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.Association.rst
@@ -0,0 +1,11 @@
+Association
+===========
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: Association
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.AssociationCollection.rst b/docs/api/certificates_management/models/oci.certificates_management.models.AssociationCollection.rst
new file mode 100644
index 0000000000..8bae849628
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.AssociationCollection.rst
@@ -0,0 +1,11 @@
+AssociationCollection
+=====================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: AssociationCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.AssociationSummary.rst b/docs/api/certificates_management/models/oci.certificates_management.models.AssociationSummary.rst
new file mode 100644
index 0000000000..6b9a858fe6
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.AssociationSummary.rst
@@ -0,0 +1,11 @@
+AssociationSummary
+==================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: AssociationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CaBundle.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CaBundle.rst
new file mode 100644
index 0000000000..5e47dc6ca5
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CaBundle.rst
@@ -0,0 +1,11 @@
+CaBundle
+========
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CaBundle
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CaBundleCollection.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CaBundleCollection.rst
new file mode 100644
index 0000000000..998aada212
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CaBundleCollection.rst
@@ -0,0 +1,11 @@
+CaBundleCollection
+==================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CaBundleCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CaBundleSummary.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CaBundleSummary.rst
new file mode 100644
index 0000000000..3abb8b4f67
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CaBundleSummary.rst
@@ -0,0 +1,11 @@
+CaBundleSummary
+===============
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CaBundleSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.Certificate.rst b/docs/api/certificates_management/models/oci.certificates_management.models.Certificate.rst
new file mode 100644
index 0000000000..5c6a3232a4
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.Certificate.rst
@@ -0,0 +1,11 @@
+Certificate
+===========
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: Certificate
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthority.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthority.rst
new file mode 100644
index 0000000000..54da774bc8
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthority.rst
@@ -0,0 +1,11 @@
+CertificateAuthority
+====================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateAuthority
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityCollection.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityCollection.rst
new file mode 100644
index 0000000000..0bcc11f84b
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityCollection.rst
@@ -0,0 +1,11 @@
+CertificateAuthorityCollection
+==============================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateAuthorityCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityIssuanceExpiryRule.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityIssuanceExpiryRule.rst
new file mode 100644
index 0000000000..ceaef56c00
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityIssuanceExpiryRule.rst
@@ -0,0 +1,11 @@
+CertificateAuthorityIssuanceExpiryRule
+======================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateAuthorityIssuanceExpiryRule
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityRule.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityRule.rst
new file mode 100644
index 0000000000..bb76c445f7
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityRule.rst
@@ -0,0 +1,11 @@
+CertificateAuthorityRule
+========================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateAuthorityRule
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthoritySummary.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthoritySummary.rst
new file mode 100644
index 0000000000..d6a2d13fd3
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthoritySummary.rst
@@ -0,0 +1,11 @@
+CertificateAuthoritySummary
+===========================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateAuthoritySummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityVersion.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityVersion.rst
new file mode 100644
index 0000000000..6c4ff5a1be
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityVersion.rst
@@ -0,0 +1,11 @@
+CertificateAuthorityVersion
+===========================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateAuthorityVersion
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityVersionCollection.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityVersionCollection.rst
new file mode 100644
index 0000000000..730779e711
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityVersionCollection.rst
@@ -0,0 +1,11 @@
+CertificateAuthorityVersionCollection
+=====================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateAuthorityVersionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityVersionSummary.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityVersionSummary.rst
new file mode 100644
index 0000000000..2be235cf46
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateAuthorityVersionSummary.rst
@@ -0,0 +1,11 @@
+CertificateAuthorityVersionSummary
+==================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateAuthorityVersionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateCollection.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateCollection.rst
new file mode 100644
index 0000000000..4159fd967a
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateCollection.rst
@@ -0,0 +1,11 @@
+CertificateCollection
+=====================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateRenewalRule.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateRenewalRule.rst
new file mode 100644
index 0000000000..59d794c19a
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateRenewalRule.rst
@@ -0,0 +1,11 @@
+CertificateRenewalRule
+======================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateRenewalRule
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateRevocationListDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateRevocationListDetails.rst
new file mode 100644
index 0000000000..a6825484fc
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateRevocationListDetails.rst
@@ -0,0 +1,11 @@
+CertificateRevocationListDetails
+================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateRevocationListDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateRule.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateRule.rst
new file mode 100644
index 0000000000..b8027e2e20
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateRule.rst
@@ -0,0 +1,11 @@
+CertificateRule
+===============
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateRule
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateSubject.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateSubject.rst
new file mode 100644
index 0000000000..b0cd6370f7
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateSubject.rst
@@ -0,0 +1,11 @@
+CertificateSubject
+==================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateSubject
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateSubjectAlternativeName.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateSubjectAlternativeName.rst
new file mode 100644
index 0000000000..a761e0a488
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateSubjectAlternativeName.rst
@@ -0,0 +1,11 @@
+CertificateSubjectAlternativeName
+=================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateSubjectAlternativeName
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateSummary.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateSummary.rst
new file mode 100644
index 0000000000..1d153834a7
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateSummary.rst
@@ -0,0 +1,11 @@
+CertificateSummary
+==================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateVersion.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateVersion.rst
new file mode 100644
index 0000000000..d3fcbd40d5
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateVersion.rst
@@ -0,0 +1,11 @@
+CertificateVersion
+==================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateVersion
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateVersionCollection.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateVersionCollection.rst
new file mode 100644
index 0000000000..e2853cca3d
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateVersionCollection.rst
@@ -0,0 +1,11 @@
+CertificateVersionCollection
+============================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateVersionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CertificateVersionSummary.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateVersionSummary.rst
new file mode 100644
index 0000000000..595472c33a
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CertificateVersionSummary.rst
@@ -0,0 +1,11 @@
+CertificateVersionSummary
+=========================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CertificateVersionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.ChangeCaBundleCompartmentDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.ChangeCaBundleCompartmentDetails.rst
new file mode 100644
index 0000000000..995d99d251
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.ChangeCaBundleCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeCaBundleCompartmentDetails
+================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: ChangeCaBundleCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.ChangeCertificateAuthorityCompartmentDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.ChangeCertificateAuthorityCompartmentDetails.rst
new file mode 100644
index 0000000000..42982d1c6f
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.ChangeCertificateAuthorityCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeCertificateAuthorityCompartmentDetails
+============================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: ChangeCertificateAuthorityCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.ChangeCertificateCompartmentDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.ChangeCertificateCompartmentDetails.rst
new file mode 100644
index 0000000000..ea668d0de3
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.ChangeCertificateCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeCertificateCompartmentDetails
+===================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: ChangeCertificateCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateCaBundleDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCaBundleDetails.rst
new file mode 100644
index 0000000000..c8bbe3a6da
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCaBundleDetails.rst
@@ -0,0 +1,11 @@
+CreateCaBundleDetails
+=====================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateCaBundleDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateAuthorityConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateAuthorityConfigDetails.rst
new file mode 100644
index 0000000000..9cc0b2b015
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateAuthorityConfigDetails.rst
@@ -0,0 +1,11 @@
+CreateCertificateAuthorityConfigDetails
+=======================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateCertificateAuthorityConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateAuthorityDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateAuthorityDetails.rst
new file mode 100644
index 0000000000..2b04581555
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateAuthorityDetails.rst
@@ -0,0 +1,11 @@
+CreateCertificateAuthorityDetails
+=================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateCertificateAuthorityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateByImportingConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateByImportingConfigDetails.rst
new file mode 100644
index 0000000000..1751d772f2
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateByImportingConfigDetails.rst
@@ -0,0 +1,11 @@
+CreateCertificateByImportingConfigDetails
+=========================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateCertificateByImportingConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateConfigDetails.rst
new file mode 100644
index 0000000000..1c1638d6c5
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateConfigDetails.rst
@@ -0,0 +1,11 @@
+CreateCertificateConfigDetails
+==============================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateCertificateConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateDetails.rst
new file mode 100644
index 0000000000..551ec5637e
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateDetails.rst
@@ -0,0 +1,11 @@
+CreateCertificateDetails
+========================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateCertificateDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateIssuedByInternalCaConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateIssuedByInternalCaConfigDetails.rst
new file mode 100644
index 0000000000..2728bb7b11
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateIssuedByInternalCaConfigDetails.rst
@@ -0,0 +1,11 @@
+CreateCertificateIssuedByInternalCaConfigDetails
+================================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateCertificateIssuedByInternalCaConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.rst
new file mode 100644
index 0000000000..7f05fc71bc
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.rst
@@ -0,0 +1,11 @@
+CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails
+=================================================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateRootCaByGeneratingInternallyConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateRootCaByGeneratingInternallyConfigDetails.rst
new file mode 100644
index 0000000000..5e9b1c4950
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateRootCaByGeneratingInternallyConfigDetails.rst
@@ -0,0 +1,11 @@
+CreateRootCaByGeneratingInternallyConfigDetails
+===============================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateRootCaByGeneratingInternallyConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.CreateSubordinateCaIssuedByInternalCaConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.CreateSubordinateCaIssuedByInternalCaConfigDetails.rst
new file mode 100644
index 0000000000..28ec83862a
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.CreateSubordinateCaIssuedByInternalCaConfigDetails.rst
@@ -0,0 +1,11 @@
+CreateSubordinateCaIssuedByInternalCaConfigDetails
+==================================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: CreateSubordinateCaIssuedByInternalCaConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.ObjectStorageBucketConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.ObjectStorageBucketConfigDetails.rst
new file mode 100644
index 0000000000..d95c148df7
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.ObjectStorageBucketConfigDetails.rst
@@ -0,0 +1,11 @@
+ObjectStorageBucketConfigDetails
+================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: ObjectStorageBucketConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.RevocationStatus.rst b/docs/api/certificates_management/models/oci.certificates_management.models.RevocationStatus.rst
new file mode 100644
index 0000000000..5d5fc87527
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.RevocationStatus.rst
@@ -0,0 +1,11 @@
+RevocationStatus
+================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: RevocationStatus
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.RevokeCertificateAuthorityVersionDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.RevokeCertificateAuthorityVersionDetails.rst
new file mode 100644
index 0000000000..87e01af826
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.RevokeCertificateAuthorityVersionDetails.rst
@@ -0,0 +1,11 @@
+RevokeCertificateAuthorityVersionDetails
+========================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: RevokeCertificateAuthorityVersionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.RevokeCertificateVersionDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.RevokeCertificateVersionDetails.rst
new file mode 100644
index 0000000000..3c89ec194f
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.RevokeCertificateVersionDetails.rst
@@ -0,0 +1,11 @@
+RevokeCertificateVersionDetails
+===============================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: RevokeCertificateVersionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateAuthorityDeletionDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateAuthorityDeletionDetails.rst
new file mode 100644
index 0000000000..ad48dd221d
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateAuthorityDeletionDetails.rst
@@ -0,0 +1,11 @@
+ScheduleCertificateAuthorityDeletionDetails
+===========================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: ScheduleCertificateAuthorityDeletionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateAuthorityVersionDeletionDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateAuthorityVersionDeletionDetails.rst
new file mode 100644
index 0000000000..e5f800a6f0
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateAuthorityVersionDeletionDetails.rst
@@ -0,0 +1,11 @@
+ScheduleCertificateAuthorityVersionDeletionDetails
+==================================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: ScheduleCertificateAuthorityVersionDeletionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateDeletionDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateDeletionDetails.rst
new file mode 100644
index 0000000000..25cd74e568
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateDeletionDetails.rst
@@ -0,0 +1,11 @@
+ScheduleCertificateDeletionDetails
+==================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: ScheduleCertificateDeletionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateVersionDeletionDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateVersionDeletionDetails.rst
new file mode 100644
index 0000000000..721bc9fd52
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.ScheduleCertificateVersionDeletionDetails.rst
@@ -0,0 +1,11 @@
+ScheduleCertificateVersionDeletionDetails
+=========================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: ScheduleCertificateVersionDeletionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCaBundleDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCaBundleDetails.rst
new file mode 100644
index 0000000000..e2258b25df
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCaBundleDetails.rst
@@ -0,0 +1,11 @@
+UpdateCaBundleDetails
+=====================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateCaBundleDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateAuthorityConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateAuthorityConfigDetails.rst
new file mode 100644
index 0000000000..c83604516b
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateAuthorityConfigDetails.rst
@@ -0,0 +1,11 @@
+UpdateCertificateAuthorityConfigDetails
+=======================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateCertificateAuthorityConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateAuthorityDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateAuthorityDetails.rst
new file mode 100644
index 0000000000..83ae465cb2
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateAuthorityDetails.rst
@@ -0,0 +1,11 @@
+UpdateCertificateAuthorityDetails
+=================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateCertificateAuthorityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateByImportingConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateByImportingConfigDetails.rst
new file mode 100644
index 0000000000..b6262f6618
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateByImportingConfigDetails.rst
@@ -0,0 +1,11 @@
+UpdateCertificateByImportingConfigDetails
+=========================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateCertificateByImportingConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateConfigDetails.rst
new file mode 100644
index 0000000000..f32e3b6cc3
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateConfigDetails.rst
@@ -0,0 +1,11 @@
+UpdateCertificateConfigDetails
+==============================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateCertificateConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateDetails.rst
new file mode 100644
index 0000000000..994448afd3
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateDetails.rst
@@ -0,0 +1,11 @@
+UpdateCertificateDetails
+========================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateCertificateDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateIssuedByInternalCaConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateIssuedByInternalCaConfigDetails.rst
new file mode 100644
index 0000000000..b90722add6
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateIssuedByInternalCaConfigDetails.rst
@@ -0,0 +1,11 @@
+UpdateCertificateIssuedByInternalCaConfigDetails
+================================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateCertificateIssuedByInternalCaConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.rst
new file mode 100644
index 0000000000..1d46b8b5d6
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.rst
@@ -0,0 +1,11 @@
+UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails
+=================================================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateRootCaByGeneratingInternallyConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateRootCaByGeneratingInternallyConfigDetails.rst
new file mode 100644
index 0000000000..0878d32d23
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateRootCaByGeneratingInternallyConfigDetails.rst
@@ -0,0 +1,11 @@
+UpdateRootCaByGeneratingInternallyConfigDetails
+===============================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateRootCaByGeneratingInternallyConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.UpdateSubordinateCaIssuedByInternalCaConfigDetails.rst b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateSubordinateCaIssuedByInternalCaConfigDetails.rst
new file mode 100644
index 0000000000..4663e97899
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.UpdateSubordinateCaIssuedByInternalCaConfigDetails.rst
@@ -0,0 +1,11 @@
+UpdateSubordinateCaIssuedByInternalCaConfigDetails
+==================================================
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: UpdateSubordinateCaIssuedByInternalCaConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/certificates_management/models/oci.certificates_management.models.Validity.rst b/docs/api/certificates_management/models/oci.certificates_management.models.Validity.rst
new file mode 100644
index 0000000000..47023d541b
--- /dev/null
+++ b/docs/api/certificates_management/models/oci.certificates_management.models.Validity.rst
@@ -0,0 +1,11 @@
+Validity
+========
+
+.. currentmodule:: oci.certificates_management.models
+
+.. autoclass:: Validity
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration.rst b/docs/api/data_integration.rst
index ae125f9e97..1452bd61cc 100644
--- a/docs/api/data_integration.rst
+++ b/docs/api/data_integration.rst
@@ -34,6 +34,7 @@ Data Integration
oci.data_integration.models.AvroFormatAttribute
oci.data_integration.models.BaseType
oci.data_integration.models.BiccReadAttributes
+ oci.data_integration.models.CancelRestCallConfig
oci.data_integration.models.ChangeCompartmentDetails
oci.data_integration.models.ChildReference
oci.data_integration.models.ChildReferenceDetail
@@ -108,9 +109,11 @@ Data Integration
oci.data_integration.models.CreateDataFlowValidationDetails
oci.data_integration.models.CreateEntityShapeDetails
oci.data_integration.models.CreateEntityShapeFromFile
+ oci.data_integration.models.CreateEntityShapeFromSQL
oci.data_integration.models.CreateExternalPublicationDetails
oci.data_integration.models.CreateExternalPublicationValidationDetails
oci.data_integration.models.CreateFolderDetails
+ oci.data_integration.models.CreateFunctionLibraryDetails
oci.data_integration.models.CreatePatchDetails
oci.data_integration.models.CreatePipelineDetails
oci.data_integration.models.CreatePipelineValidationDetails
@@ -130,8 +133,11 @@ Data Integration
oci.data_integration.models.CreateTaskValidationFromDataLoaderTask
oci.data_integration.models.CreateTaskValidationFromIntegrationTask
oci.data_integration.models.CreateTaskValidationFromPipelineTask
+ oci.data_integration.models.CreateUserDefinedFunctionDetails
+ oci.data_integration.models.CreateUserDefinedFunctionValidationDetails
oci.data_integration.models.CreateWorkspaceDetails
oci.data_integration.models.CsvFormatAttribute
+ oci.data_integration.models.CustomFrequencyDetails
oci.data_integration.models.DailyFrequencyDetails
oci.data_integration.models.DataAsset
oci.data_integration.models.DataAssetFromAdwcDetails
@@ -158,6 +164,8 @@ Data Integration
oci.data_integration.models.DataEntityFromDataStoreEntityDetails
oci.data_integration.models.DataEntityFromFile
oci.data_integration.models.DataEntityFromFileEntityDetails
+ oci.data_integration.models.DataEntityFromSql
+ oci.data_integration.models.DataEntityFromSqlEntityDetails
oci.data_integration.models.DataEntityFromTable
oci.data_integration.models.DataEntityFromTableEntityDetails
oci.data_integration.models.DataEntityFromView
@@ -166,6 +174,7 @@ Data Integration
oci.data_integration.models.DataEntitySummaryCollection
oci.data_integration.models.DataEntitySummaryFromDataStore
oci.data_integration.models.DataEntitySummaryFromFile
+ oci.data_integration.models.DataEntitySummaryFromSql
oci.data_integration.models.DataEntitySummaryFromTable
oci.data_integration.models.DataEntitySummaryFromView
oci.data_integration.models.DataFlow
@@ -194,7 +203,9 @@ Data Integration
oci.data_integration.models.EnrichedEntity
oci.data_integration.models.EntityShape
oci.data_integration.models.EntityShapeFromFile
+ oci.data_integration.models.EntityShapeFromSQL
oci.data_integration.models.ErrorDetails
+ oci.data_integration.models.ExecuteRestCallConfig
oci.data_integration.models.Expression
oci.data_integration.models.ExpressionOperator
oci.data_integration.models.ExternalPublication
@@ -215,6 +226,11 @@ Data Integration
oci.data_integration.models.FolderSummary
oci.data_integration.models.FolderSummaryCollection
oci.data_integration.models.ForeignKey
+ oci.data_integration.models.FunctionLibrary
+ oci.data_integration.models.FunctionLibraryDetails
+ oci.data_integration.models.FunctionLibrarySummary
+ oci.data_integration.models.FunctionLibrarySummaryCollection
+ oci.data_integration.models.FunctionSignature
oci.data_integration.models.HourlyFrequencyDetails
oci.data_integration.models.InputField
oci.data_integration.models.InputLink
@@ -235,6 +251,7 @@ Data Integration
oci.data_integration.models.Message
oci.data_integration.models.Minus
oci.data_integration.models.MonthlyFrequencyDetails
+ oci.data_integration.models.MonthlyRuleFrequencyDetails
oci.data_integration.models.NameListRule
oci.data_integration.models.NamePatternRule
oci.data_integration.models.NativeShapeField
@@ -298,6 +315,7 @@ Data Integration
oci.data_integration.models.RegistryMetadata
oci.data_integration.models.RenameRule
oci.data_integration.models.ResourceConfiguration
+ oci.data_integration.models.RestCallConfig
oci.data_integration.models.RootObject
oci.data_integration.models.RuleBasedFieldMap
oci.data_integration.models.RuleTypeConfig
@@ -359,6 +377,7 @@ Data Integration
oci.data_integration.models.TypedObject
oci.data_integration.models.UIProperties
oci.data_integration.models.Union
+ oci.data_integration.models.UniqueDataKey
oci.data_integration.models.UniqueKey
oci.data_integration.models.UpdateApplicationDetails
oci.data_integration.models.UpdateConnectionDetails
@@ -382,6 +401,7 @@ Data Integration
oci.data_integration.models.UpdateDataFlowDetails
oci.data_integration.models.UpdateExternalPublicationDetails
oci.data_integration.models.UpdateFolderDetails
+ oci.data_integration.models.UpdateFunctionLibraryDetails
oci.data_integration.models.UpdatePipelineDetails
oci.data_integration.models.UpdateProjectDetails
oci.data_integration.models.UpdateReferenceDetails
@@ -395,9 +415,18 @@ Data Integration
oci.data_integration.models.UpdateTaskFromSQLTask
oci.data_integration.models.UpdateTaskRunDetails
oci.data_integration.models.UpdateTaskScheduleDetails
+ oci.data_integration.models.UpdateUserDefinedFunctionDetails
oci.data_integration.models.UpdateWorkspaceDetails
+ oci.data_integration.models.UserDefinedFunction
+ oci.data_integration.models.UserDefinedFunctionDetails
+ oci.data_integration.models.UserDefinedFunctionSummary
+ oci.data_integration.models.UserDefinedFunctionSummaryCollection
+ oci.data_integration.models.UserDefinedFunctionValidation
+ oci.data_integration.models.UserDefinedFunctionValidationSummary
+ oci.data_integration.models.UserDefinedFunctionValidationSummaryCollection
oci.data_integration.models.ValidationMessage
oci.data_integration.models.Variable
+ oci.data_integration.models.WeeklyFrequencyDetails
oci.data_integration.models.WorkRequest
oci.data_integration.models.WorkRequestError
oci.data_integration.models.WorkRequestLogEntry
diff --git a/docs/api/data_integration/models/oci.data_integration.models.CancelRestCallConfig.rst b/docs/api/data_integration/models/oci.data_integration.models.CancelRestCallConfig.rst
new file mode 100644
index 0000000000..75fdc653b1
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.CancelRestCallConfig.rst
@@ -0,0 +1,11 @@
+CancelRestCallConfig
+====================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: CancelRestCallConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.CreateEntityShapeFromSQL.rst b/docs/api/data_integration/models/oci.data_integration.models.CreateEntityShapeFromSQL.rst
new file mode 100644
index 0000000000..0aeebcafd9
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.CreateEntityShapeFromSQL.rst
@@ -0,0 +1,11 @@
+CreateEntityShapeFromSQL
+========================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: CreateEntityShapeFromSQL
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.CreateFunctionLibraryDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.CreateFunctionLibraryDetails.rst
new file mode 100644
index 0000000000..f7858a8f85
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.CreateFunctionLibraryDetails.rst
@@ -0,0 +1,11 @@
+CreateFunctionLibraryDetails
+============================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: CreateFunctionLibraryDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.CreateUserDefinedFunctionDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.CreateUserDefinedFunctionDetails.rst
new file mode 100644
index 0000000000..8f098ef580
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.CreateUserDefinedFunctionDetails.rst
@@ -0,0 +1,11 @@
+CreateUserDefinedFunctionDetails
+================================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: CreateUserDefinedFunctionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.CreateUserDefinedFunctionValidationDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.CreateUserDefinedFunctionValidationDetails.rst
new file mode 100644
index 0000000000..48fec4895d
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.CreateUserDefinedFunctionValidationDetails.rst
@@ -0,0 +1,11 @@
+CreateUserDefinedFunctionValidationDetails
+==========================================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: CreateUserDefinedFunctionValidationDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.CustomFrequencyDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.CustomFrequencyDetails.rst
new file mode 100644
index 0000000000..8af23f1b63
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.CustomFrequencyDetails.rst
@@ -0,0 +1,11 @@
+CustomFrequencyDetails
+======================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: CustomFrequencyDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.DataEntityFromSql.rst b/docs/api/data_integration/models/oci.data_integration.models.DataEntityFromSql.rst
new file mode 100644
index 0000000000..9214e94ec1
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.DataEntityFromSql.rst
@@ -0,0 +1,11 @@
+DataEntityFromSql
+=================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: DataEntityFromSql
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.DataEntityFromSqlEntityDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.DataEntityFromSqlEntityDetails.rst
new file mode 100644
index 0000000000..8296b98d66
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.DataEntityFromSqlEntityDetails.rst
@@ -0,0 +1,11 @@
+DataEntityFromSqlEntityDetails
+==============================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: DataEntityFromSqlEntityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.DataEntitySummaryFromSql.rst b/docs/api/data_integration/models/oci.data_integration.models.DataEntitySummaryFromSql.rst
new file mode 100644
index 0000000000..971cd31c40
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.DataEntitySummaryFromSql.rst
@@ -0,0 +1,11 @@
+DataEntitySummaryFromSql
+========================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: DataEntitySummaryFromSql
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.EntityShapeFromSQL.rst b/docs/api/data_integration/models/oci.data_integration.models.EntityShapeFromSQL.rst
new file mode 100644
index 0000000000..ca7f4dfd71
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.EntityShapeFromSQL.rst
@@ -0,0 +1,11 @@
+EntityShapeFromSQL
+==================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: EntityShapeFromSQL
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.ExecuteRestCallConfig.rst b/docs/api/data_integration/models/oci.data_integration.models.ExecuteRestCallConfig.rst
new file mode 100644
index 0000000000..d10c73cc95
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.ExecuteRestCallConfig.rst
@@ -0,0 +1,11 @@
+ExecuteRestCallConfig
+=====================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: ExecuteRestCallConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.FunctionLibrary.rst b/docs/api/data_integration/models/oci.data_integration.models.FunctionLibrary.rst
new file mode 100644
index 0000000000..d83950354f
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.FunctionLibrary.rst
@@ -0,0 +1,11 @@
+FunctionLibrary
+===============
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: FunctionLibrary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.FunctionLibraryDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.FunctionLibraryDetails.rst
new file mode 100644
index 0000000000..b8de8e98fa
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.FunctionLibraryDetails.rst
@@ -0,0 +1,11 @@
+FunctionLibraryDetails
+======================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: FunctionLibraryDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.FunctionLibrarySummary.rst b/docs/api/data_integration/models/oci.data_integration.models.FunctionLibrarySummary.rst
new file mode 100644
index 0000000000..3484f225f4
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.FunctionLibrarySummary.rst
@@ -0,0 +1,11 @@
+FunctionLibrarySummary
+======================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: FunctionLibrarySummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.FunctionLibrarySummaryCollection.rst b/docs/api/data_integration/models/oci.data_integration.models.FunctionLibrarySummaryCollection.rst
new file mode 100644
index 0000000000..22dce387bc
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.FunctionLibrarySummaryCollection.rst
@@ -0,0 +1,11 @@
+FunctionLibrarySummaryCollection
+================================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: FunctionLibrarySummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.FunctionSignature.rst b/docs/api/data_integration/models/oci.data_integration.models.FunctionSignature.rst
new file mode 100644
index 0000000000..d02b465504
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.FunctionSignature.rst
@@ -0,0 +1,11 @@
+FunctionSignature
+=================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: FunctionSignature
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.MonthlyRuleFrequencyDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.MonthlyRuleFrequencyDetails.rst
new file mode 100644
index 0000000000..53de8b8e68
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.MonthlyRuleFrequencyDetails.rst
@@ -0,0 +1,11 @@
+MonthlyRuleFrequencyDetails
+===========================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: MonthlyRuleFrequencyDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.RestCallConfig.rst b/docs/api/data_integration/models/oci.data_integration.models.RestCallConfig.rst
new file mode 100644
index 0000000000..0df569d419
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.RestCallConfig.rst
@@ -0,0 +1,11 @@
+RestCallConfig
+==============
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: RestCallConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UniqueDataKey.rst b/docs/api/data_integration/models/oci.data_integration.models.UniqueDataKey.rst
new file mode 100644
index 0000000000..3e9bd0b14d
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UniqueDataKey.rst
@@ -0,0 +1,11 @@
+UniqueDataKey
+=============
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UniqueDataKey
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UpdateFunctionLibraryDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.UpdateFunctionLibraryDetails.rst
new file mode 100644
index 0000000000..3a90bdc3a7
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UpdateFunctionLibraryDetails.rst
@@ -0,0 +1,11 @@
+UpdateFunctionLibraryDetails
+============================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UpdateFunctionLibraryDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UpdateUserDefinedFunctionDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.UpdateUserDefinedFunctionDetails.rst
new file mode 100644
index 0000000000..4e6304b012
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UpdateUserDefinedFunctionDetails.rst
@@ -0,0 +1,11 @@
+UpdateUserDefinedFunctionDetails
+================================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UpdateUserDefinedFunctionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunction.rst b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunction.rst
new file mode 100644
index 0000000000..b1f301fd22
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunction.rst
@@ -0,0 +1,11 @@
+UserDefinedFunction
+===================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UserDefinedFunction
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionDetails.rst
new file mode 100644
index 0000000000..3881b688d4
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionDetails.rst
@@ -0,0 +1,11 @@
+UserDefinedFunctionDetails
+==========================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UserDefinedFunctionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionSummary.rst b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionSummary.rst
new file mode 100644
index 0000000000..c97d15deb5
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionSummary.rst
@@ -0,0 +1,11 @@
+UserDefinedFunctionSummary
+==========================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UserDefinedFunctionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionSummaryCollection.rst b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionSummaryCollection.rst
new file mode 100644
index 0000000000..af2c493b3b
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionSummaryCollection.rst
@@ -0,0 +1,11 @@
+UserDefinedFunctionSummaryCollection
+====================================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UserDefinedFunctionSummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionValidation.rst b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionValidation.rst
new file mode 100644
index 0000000000..ae74b4f249
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionValidation.rst
@@ -0,0 +1,11 @@
+UserDefinedFunctionValidation
+=============================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UserDefinedFunctionValidation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionValidationSummary.rst b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionValidationSummary.rst
new file mode 100644
index 0000000000..e34253794b
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionValidationSummary.rst
@@ -0,0 +1,11 @@
+UserDefinedFunctionValidationSummary
+====================================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UserDefinedFunctionValidationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionValidationSummaryCollection.rst b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionValidationSummaryCollection.rst
new file mode 100644
index 0000000000..c382695fd7
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.UserDefinedFunctionValidationSummaryCollection.rst
@@ -0,0 +1,11 @@
+UserDefinedFunctionValidationSummaryCollection
+==============================================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: UserDefinedFunctionValidationSummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_integration/models/oci.data_integration.models.WeeklyFrequencyDetails.rst b/docs/api/data_integration/models/oci.data_integration.models.WeeklyFrequencyDetails.rst
new file mode 100644
index 0000000000..611df312b8
--- /dev/null
+++ b/docs/api/data_integration/models/oci.data_integration.models.WeeklyFrequencyDetails.rst
@@ -0,0 +1,11 @@
+WeeklyFrequencyDetails
+======================
+
+.. currentmodule:: oci.data_integration.models
+
+.. autoclass:: WeeklyFrequencyDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops.rst b/docs/api/devops.rst
index 616bcf5efb..4f231126a5 100644
--- a/docs/api/devops.rst
+++ b/docs/api/devops.rst
@@ -20,20 +20,44 @@ Devops
oci.devops.models.AbsoluteWaitCriteria
oci.devops.models.AbsoluteWaitCriteriaSummary
+ oci.devops.models.ActualBuildRunnerShapeConfig
oci.devops.models.ApprovalAction
oci.devops.models.ApprovalPolicy
oci.devops.models.ApproveDeploymentDetails
oci.devops.models.AutomatedDeployStageRollbackPolicy
oci.devops.models.BackendSetIpCollection
+ oci.devops.models.BuildOutputs
+ oci.devops.models.BuildPipeline
+ oci.devops.models.BuildPipelineCollection
+ oci.devops.models.BuildPipelineParameter
+ oci.devops.models.BuildPipelineParameterCollection
+ oci.devops.models.BuildPipelineStage
+ oci.devops.models.BuildPipelineStageCollection
+ oci.devops.models.BuildPipelineStagePredecessor
+ oci.devops.models.BuildPipelineStagePredecessorCollection
+ oci.devops.models.BuildPipelineStageRunProgress
+ oci.devops.models.BuildPipelineStageSummary
+ oci.devops.models.BuildPipelineSummary
+ oci.devops.models.BuildRun
+ oci.devops.models.BuildRunArgument
+ oci.devops.models.BuildRunArgumentCollection
+ oci.devops.models.BuildRunProgress
+ oci.devops.models.BuildRunProgressSummary
+ oci.devops.models.BuildRunSource
+ oci.devops.models.BuildRunSummary
+ oci.devops.models.BuildRunSummaryCollection
+ oci.devops.models.BuildSource
+ oci.devops.models.BuildSourceCollection
+ oci.devops.models.BuildStage
+ oci.devops.models.BuildStageRunProgress
+ oci.devops.models.BuildStageRunStep
+ oci.devops.models.BuildStageSummary
+ oci.devops.models.CancelBuildRunDetails
oci.devops.models.CancelDeploymentDetails
oci.devops.models.ChangeProjectCompartmentDetails
- oci.devops.models.ComputeInstanceGroupBlueGreenDeployStageExecutionProgress
- oci.devops.models.ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress
+ oci.devops.models.CommitInfo
oci.devops.models.ComputeInstanceGroupByIdsSelector
oci.devops.models.ComputeInstanceGroupByQuerySelector
- oci.devops.models.ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress
- oci.devops.models.ComputeInstanceGroupCanaryDeployStageExecutionProgress
- oci.devops.models.ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress
oci.devops.models.ComputeInstanceGroupDeployEnvironment
oci.devops.models.ComputeInstanceGroupDeployEnvironmentSummary
oci.devops.models.ComputeInstanceGroupDeployStage
@@ -47,9 +71,20 @@ Devops
oci.devops.models.ComputeInstanceGroupRolloutPolicy
oci.devops.models.ComputeInstanceGroupSelector
oci.devops.models.ComputeInstanceGroupSelectorCollection
+ oci.devops.models.Connection
+ oci.devops.models.ConnectionCollection
+ oci.devops.models.ConnectionSummary
+ oci.devops.models.ContainerRegistryDeliveredArtifact
oci.devops.models.CountBasedApprovalPolicy
+ oci.devops.models.CreateAbsoluteWaitCriteriaDetails
+ oci.devops.models.CreateBuildPipelineDetails
+ oci.devops.models.CreateBuildPipelineStageDetails
+ oci.devops.models.CreateBuildRunDetails
+ oci.devops.models.CreateBuildStageDetails
oci.devops.models.CreateComputeInstanceGroupDeployEnvironmentDetails
oci.devops.models.CreateComputeInstanceGroupDeployStageDetails
+ oci.devops.models.CreateConnectionDetails
+ oci.devops.models.CreateDeliverArtifactStageDetails
oci.devops.models.CreateDeployArtifactDetails
oci.devops.models.CreateDeployEnvironmentDetails
oci.devops.models.CreateDeployPipelineDeploymentDetails
@@ -57,16 +92,33 @@ Devops
oci.devops.models.CreateDeployPipelineRedeploymentDetails
oci.devops.models.CreateDeployStageDetails
oci.devops.models.CreateDeploymentDetails
+ oci.devops.models.CreateDevopsCodeRepositoryTriggerDetails
oci.devops.models.CreateFunctionDeployEnvironmentDetails
oci.devops.models.CreateFunctionDeployStageDetails
+ oci.devops.models.CreateGithubAccessTokenConnectionDetails
+ oci.devops.models.CreateGithubTriggerDetails
+ oci.devops.models.CreateGitlabAccessTokenConnectionDetails
+ oci.devops.models.CreateGitlabTriggerDetails
oci.devops.models.CreateInvokeFunctionDeployStageDetails
oci.devops.models.CreateLoadBalancerTrafficShiftDeployStageDetails
oci.devops.models.CreateManualApprovalDeployStageDetails
oci.devops.models.CreateOkeClusterDeployEnvironmentDetails
oci.devops.models.CreateOkeDeployStageDetails
oci.devops.models.CreateProjectDetails
+ oci.devops.models.CreateRepositoryDetails
oci.devops.models.CreateSingleDeployStageDeploymentDetails
+ oci.devops.models.CreateTriggerDeploymentStageDetails
+ oci.devops.models.CreateTriggerDetails
+ oci.devops.models.CreateWaitCriteriaDetails
oci.devops.models.CreateWaitDeployStageDetails
+ oci.devops.models.CreateWaitStageDetails
+ oci.devops.models.DeliverArtifact
+ oci.devops.models.DeliverArtifactCollection
+ oci.devops.models.DeliverArtifactStage
+ oci.devops.models.DeliverArtifactStageRunProgress
+ oci.devops.models.DeliverArtifactStageSummary
+ oci.devops.models.DeliveredArtifact
+ oci.devops.models.DeliveredArtifactCollection
oci.devops.models.DeployArtifact
oci.devops.models.DeployArtifactCollection
oci.devops.models.DeployArtifactOverrideArgument
@@ -106,12 +158,50 @@ Devops
oci.devops.models.DeploymentCollection
oci.devops.models.DeploymentExecutionProgress
oci.devops.models.DeploymentSummary
+ oci.devops.models.DevopsCodeRepositoryBuildRunSource
+ oci.devops.models.DevopsCodeRepositoryBuildSource
+ oci.devops.models.DevopsCodeRepositoryFilter
+ oci.devops.models.DevopsCodeRepositoryFilterAttributes
+ oci.devops.models.DevopsCodeRepositoryTrigger
+ oci.devops.models.DevopsCodeRepositoryTriggerCreateResult
+ oci.devops.models.DevopsCodeRepositoryTriggerSummary
+ oci.devops.models.DiffChunk
+ oci.devops.models.DiffCollection
+ oci.devops.models.DiffLineDetails
+ oci.devops.models.DiffResponse
+ oci.devops.models.DiffResponseEntry
+ oci.devops.models.DiffSection
+ oci.devops.models.DiffSummary
+ oci.devops.models.ExportedVariable
+ oci.devops.models.ExportedVariableCollection
+ oci.devops.models.FileDiffResponse
+ oci.devops.models.FileLineDetails
+ oci.devops.models.Filter
oci.devops.models.FunctionDeployEnvironment
oci.devops.models.FunctionDeployEnvironmentSummary
oci.devops.models.FunctionDeployStage
oci.devops.models.FunctionDeployStageExecutionProgress
oci.devops.models.FunctionDeployStageSummary
+ oci.devops.models.GenericDeliveredArtifact
oci.devops.models.GenericDeployArtifactSource
+ oci.devops.models.GithubAccessTokenConnection
+ oci.devops.models.GithubAccessTokenConnectionSummary
+ oci.devops.models.GithubBuildRunSource
+ oci.devops.models.GithubBuildSource
+ oci.devops.models.GithubFilter
+ oci.devops.models.GithubFilterAttributes
+ oci.devops.models.GithubTrigger
+ oci.devops.models.GithubTriggerCreateResult
+ oci.devops.models.GithubTriggerSummary
+ oci.devops.models.GitlabAccessTokenConnection
+ oci.devops.models.GitlabAccessTokenConnectionSummary
+ oci.devops.models.GitlabBuildRunSource
+ oci.devops.models.GitlabBuildSource
+ oci.devops.models.GitlabFilter
+ oci.devops.models.GitlabFilterAttributes
+ oci.devops.models.GitlabTrigger
+ oci.devops.models.GitlabTriggerCreateResult
+ oci.devops.models.GitlabTriggerSummary
oci.devops.models.InlineDeployArtifactSource
oci.devops.models.InvokeFunctionDeployStage
oci.devops.models.InvokeFunctionDeployStageExecutionProgress
@@ -124,6 +214,8 @@ Devops
oci.devops.models.ManualApprovalDeployStage
oci.devops.models.ManualApprovalDeployStageExecutionProgress
oci.devops.models.ManualApprovalDeployStageSummary
+ oci.devops.models.ManualBuildRunSource
+ oci.devops.models.MirrorRepositoryConfig
oci.devops.models.NoDeployStageRollbackPolicy
oci.devops.models.NotificationConfig
oci.devops.models.OcirDeployArtifactSource
@@ -135,12 +227,53 @@ Devops
oci.devops.models.Project
oci.devops.models.ProjectCollection
oci.devops.models.ProjectSummary
- oci.devops.models.RunPipelineDeployStageExecutionProgress
- oci.devops.models.RunValidationTestOnComputeInstanceDeployStageExecutionProgress
+ oci.devops.models.PutRepositoryBranchDetails
+ oci.devops.models.PutRepositoryRefDetails
+ oci.devops.models.PutRepositoryTagDetails
+ oci.devops.models.Repository
+ oci.devops.models.RepositoryAuthorCollection
+ oci.devops.models.RepositoryAuthorSummary
+ oci.devops.models.RepositoryBranch
+ oci.devops.models.RepositoryBranchSummary
+ oci.devops.models.RepositoryCollection
+ oci.devops.models.RepositoryCommit
+ oci.devops.models.RepositoryCommitCollection
+ oci.devops.models.RepositoryCommitSummary
+ oci.devops.models.RepositoryFileLines
+ oci.devops.models.RepositoryMirrorRecord
+ oci.devops.models.RepositoryMirrorRecordCollection
+ oci.devops.models.RepositoryMirrorRecordSummary
+ oci.devops.models.RepositoryObject
+ oci.devops.models.RepositoryPathCollection
+ oci.devops.models.RepositoryPathSummary
+ oci.devops.models.RepositoryRef
+ oci.devops.models.RepositoryRefCollection
+ oci.devops.models.RepositoryRefSummary
+ oci.devops.models.RepositorySummary
+ oci.devops.models.RepositoryTag
+ oci.devops.models.RepositoryTagSummary
oci.devops.models.SingleDeployStageDeployment
oci.devops.models.SingleDeployStageDeploymentSummary
+ oci.devops.models.Trigger
+ oci.devops.models.TriggerAction
+ oci.devops.models.TriggerBuildPipelineAction
+ oci.devops.models.TriggerCollection
+ oci.devops.models.TriggerCreateResult
+ oci.devops.models.TriggerDeploymentPipelineStageRunProgress
+ oci.devops.models.TriggerDeploymentStage
+ oci.devops.models.TriggerDeploymentStageSummary
+ oci.devops.models.TriggerInfo
+ oci.devops.models.TriggerSchedule
+ oci.devops.models.TriggerSummary
+ oci.devops.models.UpdateAbsoluteWaitCriteriaDetails
+ oci.devops.models.UpdateBuildPipelineDetails
+ oci.devops.models.UpdateBuildPipelineStageDetails
+ oci.devops.models.UpdateBuildRunDetails
+ oci.devops.models.UpdateBuildStageDetails
oci.devops.models.UpdateComputeInstanceGroupDeployEnvironmentDetails
oci.devops.models.UpdateComputeInstanceGroupDeployStageDetails
+ oci.devops.models.UpdateConnectionDetails
+ oci.devops.models.UpdateDeliverArtifactStageDetails
oci.devops.models.UpdateDeployArtifactDetails
oci.devops.models.UpdateDeployEnvironmentDetails
oci.devops.models.UpdateDeployPipelineDeploymentDetails
@@ -148,21 +281,34 @@ Devops
oci.devops.models.UpdateDeployPipelineRedeploymentDetails
oci.devops.models.UpdateDeployStageDetails
oci.devops.models.UpdateDeploymentDetails
+ oci.devops.models.UpdateDevopsCodeRepositoryTriggerDetails
oci.devops.models.UpdateFunctionDeployEnvironmentDetails
oci.devops.models.UpdateFunctionDeployStageDetails
+ oci.devops.models.UpdateGithubAccessTokenConnectionDetails
+ oci.devops.models.UpdateGithubTriggerDetails
+ oci.devops.models.UpdateGitlabAccessTokenConnectionDetails
+ oci.devops.models.UpdateGitlabTriggerDetails
oci.devops.models.UpdateInvokeFunctionDeployStageDetails
oci.devops.models.UpdateLoadBalancerTrafficShiftDeployStageDetails
oci.devops.models.UpdateManualApprovalDeployStageDetails
oci.devops.models.UpdateOkeClusterDeployEnvironmentDetails
oci.devops.models.UpdateOkeDeployStageDetails
oci.devops.models.UpdateProjectDetails
+ oci.devops.models.UpdateRepositoryDetails
oci.devops.models.UpdateSingleDeployStageDeploymentDetails
+ oci.devops.models.UpdateTriggerDeploymentStageDetails
+ oci.devops.models.UpdateTriggerDetails
+ oci.devops.models.UpdateWaitCriteriaDetails
oci.devops.models.UpdateWaitDeployStageDetails
+ oci.devops.models.UpdateWaitStageDetails
oci.devops.models.WaitCriteria
oci.devops.models.WaitCriteriaSummary
oci.devops.models.WaitDeployStage
oci.devops.models.WaitDeployStageExecutionProgress
oci.devops.models.WaitDeployStageSummary
+ oci.devops.models.WaitStage
+ oci.devops.models.WaitStageRunProgress
+ oci.devops.models.WaitStageSummary
oci.devops.models.WorkRequest
oci.devops.models.WorkRequestCollection
oci.devops.models.WorkRequestError
diff --git a/docs/api/devops/models/oci.devops.models.ActualBuildRunnerShapeConfig.rst b/docs/api/devops/models/oci.devops.models.ActualBuildRunnerShapeConfig.rst
new file mode 100644
index 0000000000..502c5810c3
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.ActualBuildRunnerShapeConfig.rst
@@ -0,0 +1,11 @@
+ActualBuildRunnerShapeConfig
+============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: ActualBuildRunnerShapeConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildOutputs.rst b/docs/api/devops/models/oci.devops.models.BuildOutputs.rst
new file mode 100644
index 0000000000..15bffd78aa
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildOutputs.rst
@@ -0,0 +1,11 @@
+BuildOutputs
+============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildOutputs
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipeline.rst b/docs/api/devops/models/oci.devops.models.BuildPipeline.rst
new file mode 100644
index 0000000000..331abe885d
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipeline.rst
@@ -0,0 +1,11 @@
+BuildPipeline
+=============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipeline
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipelineCollection.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineCollection.rst
new file mode 100644
index 0000000000..f0a167cd43
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineCollection.rst
@@ -0,0 +1,11 @@
+BuildPipelineCollection
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipelineCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipelineParameter.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineParameter.rst
new file mode 100644
index 0000000000..a0dbe0c42c
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineParameter.rst
@@ -0,0 +1,11 @@
+BuildPipelineParameter
+======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipelineParameter
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipelineParameterCollection.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineParameterCollection.rst
new file mode 100644
index 0000000000..ce7bc52912
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineParameterCollection.rst
@@ -0,0 +1,11 @@
+BuildPipelineParameterCollection
+================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipelineParameterCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipelineStage.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineStage.rst
new file mode 100644
index 0000000000..604657365c
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineStage.rst
@@ -0,0 +1,11 @@
+BuildPipelineStage
+==================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipelineStage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipelineStageCollection.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineStageCollection.rst
new file mode 100644
index 0000000000..e79a844db2
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineStageCollection.rst
@@ -0,0 +1,11 @@
+BuildPipelineStageCollection
+============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipelineStageCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipelineStagePredecessor.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineStagePredecessor.rst
new file mode 100644
index 0000000000..03999c14e0
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineStagePredecessor.rst
@@ -0,0 +1,11 @@
+BuildPipelineStagePredecessor
+=============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipelineStagePredecessor
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RunPipelineDeployStageExecutionProgress.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineStagePredecessorCollection.rst
similarity index 66%
rename from docs/api/devops/models/oci.devops.models.RunPipelineDeployStageExecutionProgress.rst
rename to docs/api/devops/models/oci.devops.models.BuildPipelineStagePredecessorCollection.rst
index a7dcc52ca2..3a09cb66c7 100644
--- a/docs/api/devops/models/oci.devops.models.RunPipelineDeployStageExecutionProgress.rst
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineStagePredecessorCollection.rst
@@ -1,9 +1,9 @@
-RunPipelineDeployStageExecutionProgress
+BuildPipelineStagePredecessorCollection
=======================================
.. currentmodule:: oci.devops.models
-.. autoclass:: RunPipelineDeployStageExecutionProgress
+.. autoclass:: BuildPipelineStagePredecessorCollection
:show-inheritance:
:special-members: __init__
:members:
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipelineStageRunProgress.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineStageRunProgress.rst
new file mode 100644
index 0000000000..7acbf957ec
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineStageRunProgress.rst
@@ -0,0 +1,11 @@
+BuildPipelineStageRunProgress
+=============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipelineStageRunProgress
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipelineStageSummary.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineStageSummary.rst
new file mode 100644
index 0000000000..e09e813630
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineStageSummary.rst
@@ -0,0 +1,11 @@
+BuildPipelineStageSummary
+=========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipelineStageSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildPipelineSummary.rst b/docs/api/devops/models/oci.devops.models.BuildPipelineSummary.rst
new file mode 100644
index 0000000000..c236a9b7e3
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildPipelineSummary.rst
@@ -0,0 +1,11 @@
+BuildPipelineSummary
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildPipelineSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildRun.rst b/docs/api/devops/models/oci.devops.models.BuildRun.rst
new file mode 100644
index 0000000000..580bf19bca
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildRun.rst
@@ -0,0 +1,11 @@
+BuildRun
+========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildRun
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildRunArgument.rst b/docs/api/devops/models/oci.devops.models.BuildRunArgument.rst
new file mode 100644
index 0000000000..02ed0ed6e8
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildRunArgument.rst
@@ -0,0 +1,11 @@
+BuildRunArgument
+================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildRunArgument
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildRunArgumentCollection.rst b/docs/api/devops/models/oci.devops.models.BuildRunArgumentCollection.rst
new file mode 100644
index 0000000000..31e6018285
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildRunArgumentCollection.rst
@@ -0,0 +1,11 @@
+BuildRunArgumentCollection
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildRunArgumentCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildRunProgress.rst b/docs/api/devops/models/oci.devops.models.BuildRunProgress.rst
new file mode 100644
index 0000000000..5a4336c511
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildRunProgress.rst
@@ -0,0 +1,11 @@
+BuildRunProgress
+================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildRunProgress
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildRunProgressSummary.rst b/docs/api/devops/models/oci.devops.models.BuildRunProgressSummary.rst
new file mode 100644
index 0000000000..595c149c34
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildRunProgressSummary.rst
@@ -0,0 +1,11 @@
+BuildRunProgressSummary
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildRunProgressSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildRunSource.rst b/docs/api/devops/models/oci.devops.models.BuildRunSource.rst
new file mode 100644
index 0000000000..df7b311652
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildRunSource.rst
@@ -0,0 +1,11 @@
+BuildRunSource
+==============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildRunSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildRunSummary.rst b/docs/api/devops/models/oci.devops.models.BuildRunSummary.rst
new file mode 100644
index 0000000000..cb535ec9ff
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildRunSummary.rst
@@ -0,0 +1,11 @@
+BuildRunSummary
+===============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildRunSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildRunSummaryCollection.rst b/docs/api/devops/models/oci.devops.models.BuildRunSummaryCollection.rst
new file mode 100644
index 0000000000..3d87663c8f
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildRunSummaryCollection.rst
@@ -0,0 +1,11 @@
+BuildRunSummaryCollection
+=========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildRunSummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildSource.rst b/docs/api/devops/models/oci.devops.models.BuildSource.rst
new file mode 100644
index 0000000000..851875cb8a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildSource.rst
@@ -0,0 +1,11 @@
+BuildSource
+===========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildSourceCollection.rst b/docs/api/devops/models/oci.devops.models.BuildSourceCollection.rst
new file mode 100644
index 0000000000..2035fb2bca
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildSourceCollection.rst
@@ -0,0 +1,11 @@
+BuildSourceCollection
+=====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildSourceCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildStage.rst b/docs/api/devops/models/oci.devops.models.BuildStage.rst
new file mode 100644
index 0000000000..dca4d64c64
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildStage.rst
@@ -0,0 +1,11 @@
+BuildStage
+==========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildStage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildStageRunProgress.rst b/docs/api/devops/models/oci.devops.models.BuildStageRunProgress.rst
new file mode 100644
index 0000000000..42de94f3a3
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildStageRunProgress.rst
@@ -0,0 +1,11 @@
+BuildStageRunProgress
+=====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildStageRunProgress
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildStageRunStep.rst b/docs/api/devops/models/oci.devops.models.BuildStageRunStep.rst
new file mode 100644
index 0000000000..697f869a12
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildStageRunStep.rst
@@ -0,0 +1,11 @@
+BuildStageRunStep
+=================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildStageRunStep
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.BuildStageSummary.rst b/docs/api/devops/models/oci.devops.models.BuildStageSummary.rst
new file mode 100644
index 0000000000..31dabe36eb
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.BuildStageSummary.rst
@@ -0,0 +1,11 @@
+BuildStageSummary
+=================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: BuildStageSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CancelBuildRunDetails.rst b/docs/api/devops/models/oci.devops.models.CancelBuildRunDetails.rst
new file mode 100644
index 0000000000..b2e3f4dd30
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CancelBuildRunDetails.rst
@@ -0,0 +1,11 @@
+CancelBuildRunDetails
+=====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CancelBuildRunDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CommitInfo.rst b/docs/api/devops/models/oci.devops.models.CommitInfo.rst
new file mode 100644
index 0000000000..319f92e6bc
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CommitInfo.rst
@@ -0,0 +1,11 @@
+CommitInfo
+==========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CommitInfo
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupBlueGreenDeployStageExecutionProgress.rst b/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupBlueGreenDeployStageExecutionProgress.rst
deleted file mode 100644
index 29bbad35af..0000000000
--- a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupBlueGreenDeployStageExecutionProgress.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-ComputeInstanceGroupBlueGreenDeployStageExecutionProgress
-=========================================================
-
-.. currentmodule:: oci.devops.models
-
-.. autoclass:: ComputeInstanceGroupBlueGreenDeployStageExecutionProgress
- :show-inheritance:
- :special-members: __init__
- :members:
- :undoc-members:
- :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress.rst b/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress.rst
deleted file mode 100644
index d0da383318..0000000000
--- a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress
-=====================================================================
-
-.. currentmodule:: oci.devops.models
-
-.. autoclass:: ComputeInstanceGroupBlueGreenTrafficShiftDeployStageExecutionProgress
- :show-inheritance:
- :special-members: __init__
- :members:
- :undoc-members:
- :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress.rst b/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress.rst
deleted file mode 100644
index 7f42130e57..0000000000
--- a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress
-==============================================================
-
-.. currentmodule:: oci.devops.models
-
-.. autoclass:: ComputeInstanceGroupCanaryApprovalDeployStageExecutionProgress
- :show-inheritance:
- :special-members: __init__
- :members:
- :undoc-members:
- :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress.rst b/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress.rst
deleted file mode 100644
index abfde28656..0000000000
--- a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress
-==================================================================
-
-.. currentmodule:: oci.devops.models
-
-.. autoclass:: ComputeInstanceGroupCanaryTrafficShiftDeployStageExecutionProgress
- :show-inheritance:
- :special-members: __init__
- :members:
- :undoc-members:
- :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.Connection.rst b/docs/api/devops/models/oci.devops.models.Connection.rst
new file mode 100644
index 0000000000..644d6b5588
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.Connection.rst
@@ -0,0 +1,11 @@
+Connection
+==========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: Connection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ConnectionCollection.rst b/docs/api/devops/models/oci.devops.models.ConnectionCollection.rst
new file mode 100644
index 0000000000..589e47bd78
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.ConnectionCollection.rst
@@ -0,0 +1,11 @@
+ConnectionCollection
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: ConnectionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ConnectionSummary.rst b/docs/api/devops/models/oci.devops.models.ConnectionSummary.rst
new file mode 100644
index 0000000000..54ac4e2394
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.ConnectionSummary.rst
@@ -0,0 +1,11 @@
+ConnectionSummary
+=================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: ConnectionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ContainerRegistryDeliveredArtifact.rst b/docs/api/devops/models/oci.devops.models.ContainerRegistryDeliveredArtifact.rst
new file mode 100644
index 0000000000..4722f8858e
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.ContainerRegistryDeliveredArtifact.rst
@@ -0,0 +1,11 @@
+ContainerRegistryDeliveredArtifact
+==================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: ContainerRegistryDeliveredArtifact
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateAbsoluteWaitCriteriaDetails.rst b/docs/api/devops/models/oci.devops.models.CreateAbsoluteWaitCriteriaDetails.rst
new file mode 100644
index 0000000000..4da0b0e342
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateAbsoluteWaitCriteriaDetails.rst
@@ -0,0 +1,11 @@
+CreateAbsoluteWaitCriteriaDetails
+=================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateAbsoluteWaitCriteriaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateBuildPipelineDetails.rst b/docs/api/devops/models/oci.devops.models.CreateBuildPipelineDetails.rst
new file mode 100644
index 0000000000..62bb1afd16
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateBuildPipelineDetails.rst
@@ -0,0 +1,11 @@
+CreateBuildPipelineDetails
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateBuildPipelineDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateBuildPipelineStageDetails.rst b/docs/api/devops/models/oci.devops.models.CreateBuildPipelineStageDetails.rst
new file mode 100644
index 0000000000..7e8a9dc7b1
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateBuildPipelineStageDetails.rst
@@ -0,0 +1,11 @@
+CreateBuildPipelineStageDetails
+===============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateBuildPipelineStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateBuildRunDetails.rst b/docs/api/devops/models/oci.devops.models.CreateBuildRunDetails.rst
new file mode 100644
index 0000000000..8037904928
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateBuildRunDetails.rst
@@ -0,0 +1,11 @@
+CreateBuildRunDetails
+=====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateBuildRunDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateBuildStageDetails.rst b/docs/api/devops/models/oci.devops.models.CreateBuildStageDetails.rst
new file mode 100644
index 0000000000..b8067e331a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateBuildStageDetails.rst
@@ -0,0 +1,11 @@
+CreateBuildStageDetails
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateBuildStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateConnectionDetails.rst b/docs/api/devops/models/oci.devops.models.CreateConnectionDetails.rst
new file mode 100644
index 0000000000..1fa7400a79
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateConnectionDetails.rst
@@ -0,0 +1,11 @@
+CreateConnectionDetails
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateConnectionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateDeliverArtifactStageDetails.rst b/docs/api/devops/models/oci.devops.models.CreateDeliverArtifactStageDetails.rst
new file mode 100644
index 0000000000..aca061aeda
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateDeliverArtifactStageDetails.rst
@@ -0,0 +1,11 @@
+CreateDeliverArtifactStageDetails
+=================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateDeliverArtifactStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateDevopsCodeRepositoryTriggerDetails.rst b/docs/api/devops/models/oci.devops.models.CreateDevopsCodeRepositoryTriggerDetails.rst
new file mode 100644
index 0000000000..d82bd0dda1
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateDevopsCodeRepositoryTriggerDetails.rst
@@ -0,0 +1,11 @@
+CreateDevopsCodeRepositoryTriggerDetails
+========================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateDevopsCodeRepositoryTriggerDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateGithubAccessTokenConnectionDetails.rst b/docs/api/devops/models/oci.devops.models.CreateGithubAccessTokenConnectionDetails.rst
new file mode 100644
index 0000000000..4fecd7cac6
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateGithubAccessTokenConnectionDetails.rst
@@ -0,0 +1,11 @@
+CreateGithubAccessTokenConnectionDetails
+========================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateGithubAccessTokenConnectionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateGithubTriggerDetails.rst b/docs/api/devops/models/oci.devops.models.CreateGithubTriggerDetails.rst
new file mode 100644
index 0000000000..9093d3264f
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateGithubTriggerDetails.rst
@@ -0,0 +1,11 @@
+CreateGithubTriggerDetails
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateGithubTriggerDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateGitlabAccessTokenConnectionDetails.rst b/docs/api/devops/models/oci.devops.models.CreateGitlabAccessTokenConnectionDetails.rst
new file mode 100644
index 0000000000..e093cb29d3
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateGitlabAccessTokenConnectionDetails.rst
@@ -0,0 +1,11 @@
+CreateGitlabAccessTokenConnectionDetails
+========================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateGitlabAccessTokenConnectionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateGitlabTriggerDetails.rst b/docs/api/devops/models/oci.devops.models.CreateGitlabTriggerDetails.rst
new file mode 100644
index 0000000000..0b9e11d3f1
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateGitlabTriggerDetails.rst
@@ -0,0 +1,11 @@
+CreateGitlabTriggerDetails
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateGitlabTriggerDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateRepositoryDetails.rst b/docs/api/devops/models/oci.devops.models.CreateRepositoryDetails.rst
new file mode 100644
index 0000000000..0daba48438
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateRepositoryDetails.rst
@@ -0,0 +1,11 @@
+CreateRepositoryDetails
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateRepositoryDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateTriggerDeploymentStageDetails.rst b/docs/api/devops/models/oci.devops.models.CreateTriggerDeploymentStageDetails.rst
new file mode 100644
index 0000000000..d88213865a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateTriggerDeploymentStageDetails.rst
@@ -0,0 +1,11 @@
+CreateTriggerDeploymentStageDetails
+===================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateTriggerDeploymentStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateTriggerDetails.rst b/docs/api/devops/models/oci.devops.models.CreateTriggerDetails.rst
new file mode 100644
index 0000000000..2d8c10a181
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateTriggerDetails.rst
@@ -0,0 +1,11 @@
+CreateTriggerDetails
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateTriggerDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateWaitCriteriaDetails.rst b/docs/api/devops/models/oci.devops.models.CreateWaitCriteriaDetails.rst
new file mode 100644
index 0000000000..30973ca594
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateWaitCriteriaDetails.rst
@@ -0,0 +1,11 @@
+CreateWaitCriteriaDetails
+=========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateWaitCriteriaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.CreateWaitStageDetails.rst b/docs/api/devops/models/oci.devops.models.CreateWaitStageDetails.rst
new file mode 100644
index 0000000000..26761eef18
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.CreateWaitStageDetails.rst
@@ -0,0 +1,11 @@
+CreateWaitStageDetails
+======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: CreateWaitStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DeliverArtifact.rst b/docs/api/devops/models/oci.devops.models.DeliverArtifact.rst
new file mode 100644
index 0000000000..fdfbd3e16e
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DeliverArtifact.rst
@@ -0,0 +1,11 @@
+DeliverArtifact
+===============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DeliverArtifact
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DeliverArtifactCollection.rst b/docs/api/devops/models/oci.devops.models.DeliverArtifactCollection.rst
new file mode 100644
index 0000000000..f93a3397f7
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DeliverArtifactCollection.rst
@@ -0,0 +1,11 @@
+DeliverArtifactCollection
+=========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DeliverArtifactCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DeliverArtifactStage.rst b/docs/api/devops/models/oci.devops.models.DeliverArtifactStage.rst
new file mode 100644
index 0000000000..4d35755db1
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DeliverArtifactStage.rst
@@ -0,0 +1,11 @@
+DeliverArtifactStage
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DeliverArtifactStage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DeliverArtifactStageRunProgress.rst b/docs/api/devops/models/oci.devops.models.DeliverArtifactStageRunProgress.rst
new file mode 100644
index 0000000000..9b1390b8cf
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DeliverArtifactStageRunProgress.rst
@@ -0,0 +1,11 @@
+DeliverArtifactStageRunProgress
+===============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DeliverArtifactStageRunProgress
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DeliverArtifactStageSummary.rst b/docs/api/devops/models/oci.devops.models.DeliverArtifactStageSummary.rst
new file mode 100644
index 0000000000..99babd2f03
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DeliverArtifactStageSummary.rst
@@ -0,0 +1,11 @@
+DeliverArtifactStageSummary
+===========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DeliverArtifactStageSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DeliveredArtifact.rst b/docs/api/devops/models/oci.devops.models.DeliveredArtifact.rst
new file mode 100644
index 0000000000..7783cd78e7
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DeliveredArtifact.rst
@@ -0,0 +1,11 @@
+DeliveredArtifact
+=================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DeliveredArtifact
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DeliveredArtifactCollection.rst b/docs/api/devops/models/oci.devops.models.DeliveredArtifactCollection.rst
new file mode 100644
index 0000000000..3ec00c390b
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DeliveredArtifactCollection.rst
@@ -0,0 +1,11 @@
+DeliveredArtifactCollection
+===========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DeliveredArtifactCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryBuildRunSource.rst b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryBuildRunSource.rst
new file mode 100644
index 0000000000..951ff9e16a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryBuildRunSource.rst
@@ -0,0 +1,11 @@
+DevopsCodeRepositoryBuildRunSource
+==================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DevopsCodeRepositoryBuildRunSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryBuildSource.rst b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryBuildSource.rst
new file mode 100644
index 0000000000..f0f97e3f4a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryBuildSource.rst
@@ -0,0 +1,11 @@
+DevopsCodeRepositoryBuildSource
+===============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DevopsCodeRepositoryBuildSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryFilter.rst b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryFilter.rst
new file mode 100644
index 0000000000..dda403ff81
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryFilter.rst
@@ -0,0 +1,11 @@
+DevopsCodeRepositoryFilter
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DevopsCodeRepositoryFilter
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryFilterAttributes.rst b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryFilterAttributes.rst
new file mode 100644
index 0000000000..b8ac7d5de2
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryFilterAttributes.rst
@@ -0,0 +1,11 @@
+DevopsCodeRepositoryFilterAttributes
+====================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DevopsCodeRepositoryFilterAttributes
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryTrigger.rst b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryTrigger.rst
new file mode 100644
index 0000000000..f9473cb8e9
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryTrigger.rst
@@ -0,0 +1,11 @@
+DevopsCodeRepositoryTrigger
+===========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DevopsCodeRepositoryTrigger
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryTriggerCreateResult.rst b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryTriggerCreateResult.rst
new file mode 100644
index 0000000000..8c50a45068
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryTriggerCreateResult.rst
@@ -0,0 +1,11 @@
+DevopsCodeRepositoryTriggerCreateResult
+=======================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DevopsCodeRepositoryTriggerCreateResult
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryTriggerSummary.rst b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryTriggerSummary.rst
new file mode 100644
index 0000000000..a1da08f505
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DevopsCodeRepositoryTriggerSummary.rst
@@ -0,0 +1,11 @@
+DevopsCodeRepositoryTriggerSummary
+==================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DevopsCodeRepositoryTriggerSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DiffChunk.rst b/docs/api/devops/models/oci.devops.models.DiffChunk.rst
new file mode 100644
index 0000000000..a66e5f23fe
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DiffChunk.rst
@@ -0,0 +1,11 @@
+DiffChunk
+=========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DiffChunk
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DiffCollection.rst b/docs/api/devops/models/oci.devops.models.DiffCollection.rst
new file mode 100644
index 0000000000..d219b6ac61
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DiffCollection.rst
@@ -0,0 +1,11 @@
+DiffCollection
+==============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DiffCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DiffLineDetails.rst b/docs/api/devops/models/oci.devops.models.DiffLineDetails.rst
new file mode 100644
index 0000000000..87d022bee5
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DiffLineDetails.rst
@@ -0,0 +1,11 @@
+DiffLineDetails
+===============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DiffLineDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DiffResponse.rst b/docs/api/devops/models/oci.devops.models.DiffResponse.rst
new file mode 100644
index 0000000000..d2429cada6
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DiffResponse.rst
@@ -0,0 +1,11 @@
+DiffResponse
+============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DiffResponse
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DiffResponseEntry.rst b/docs/api/devops/models/oci.devops.models.DiffResponseEntry.rst
new file mode 100644
index 0000000000..d4a90bade1
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DiffResponseEntry.rst
@@ -0,0 +1,11 @@
+DiffResponseEntry
+=================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DiffResponseEntry
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DiffSection.rst b/docs/api/devops/models/oci.devops.models.DiffSection.rst
new file mode 100644
index 0000000000..af14c7cc90
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DiffSection.rst
@@ -0,0 +1,11 @@
+DiffSection
+===========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DiffSection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.DiffSummary.rst b/docs/api/devops/models/oci.devops.models.DiffSummary.rst
new file mode 100644
index 0000000000..31ff644927
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.DiffSummary.rst
@@ -0,0 +1,11 @@
+DiffSummary
+===========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: DiffSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ExportedVariable.rst b/docs/api/devops/models/oci.devops.models.ExportedVariable.rst
new file mode 100644
index 0000000000..bb4a8673cf
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.ExportedVariable.rst
@@ -0,0 +1,11 @@
+ExportedVariable
+================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: ExportedVariable
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ExportedVariableCollection.rst b/docs/api/devops/models/oci.devops.models.ExportedVariableCollection.rst
new file mode 100644
index 0000000000..b71f65fb0a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.ExportedVariableCollection.rst
@@ -0,0 +1,11 @@
+ExportedVariableCollection
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: ExportedVariableCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.FileDiffResponse.rst b/docs/api/devops/models/oci.devops.models.FileDiffResponse.rst
new file mode 100644
index 0000000000..80c4e9eee7
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.FileDiffResponse.rst
@@ -0,0 +1,11 @@
+FileDiffResponse
+================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: FileDiffResponse
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.FileLineDetails.rst b/docs/api/devops/models/oci.devops.models.FileLineDetails.rst
new file mode 100644
index 0000000000..342f93d8b2
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.FileLineDetails.rst
@@ -0,0 +1,11 @@
+FileLineDetails
+===============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: FileLineDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.Filter.rst b/docs/api/devops/models/oci.devops.models.Filter.rst
new file mode 100644
index 0000000000..687733cb48
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.Filter.rst
@@ -0,0 +1,11 @@
+Filter
+======
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: Filter
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GenericDeliveredArtifact.rst b/docs/api/devops/models/oci.devops.models.GenericDeliveredArtifact.rst
new file mode 100644
index 0000000000..89b79233e9
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GenericDeliveredArtifact.rst
@@ -0,0 +1,11 @@
+GenericDeliveredArtifact
+========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GenericDeliveredArtifact
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GithubAccessTokenConnection.rst b/docs/api/devops/models/oci.devops.models.GithubAccessTokenConnection.rst
new file mode 100644
index 0000000000..ec545f5480
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GithubAccessTokenConnection.rst
@@ -0,0 +1,11 @@
+GithubAccessTokenConnection
+===========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GithubAccessTokenConnection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GithubAccessTokenConnectionSummary.rst b/docs/api/devops/models/oci.devops.models.GithubAccessTokenConnectionSummary.rst
new file mode 100644
index 0000000000..fa5c8fa649
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GithubAccessTokenConnectionSummary.rst
@@ -0,0 +1,11 @@
+GithubAccessTokenConnectionSummary
+==================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GithubAccessTokenConnectionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GithubBuildRunSource.rst b/docs/api/devops/models/oci.devops.models.GithubBuildRunSource.rst
new file mode 100644
index 0000000000..36b4460e57
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GithubBuildRunSource.rst
@@ -0,0 +1,11 @@
+GithubBuildRunSource
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GithubBuildRunSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GithubBuildSource.rst b/docs/api/devops/models/oci.devops.models.GithubBuildSource.rst
new file mode 100644
index 0000000000..6a22bde8f9
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GithubBuildSource.rst
@@ -0,0 +1,11 @@
+GithubBuildSource
+=================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GithubBuildSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GithubFilter.rst b/docs/api/devops/models/oci.devops.models.GithubFilter.rst
new file mode 100644
index 0000000000..1db141618a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GithubFilter.rst
@@ -0,0 +1,11 @@
+GithubFilter
+============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GithubFilter
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GithubFilterAttributes.rst b/docs/api/devops/models/oci.devops.models.GithubFilterAttributes.rst
new file mode 100644
index 0000000000..1251c36c33
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GithubFilterAttributes.rst
@@ -0,0 +1,11 @@
+GithubFilterAttributes
+======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GithubFilterAttributes
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GithubTrigger.rst b/docs/api/devops/models/oci.devops.models.GithubTrigger.rst
new file mode 100644
index 0000000000..125897b827
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GithubTrigger.rst
@@ -0,0 +1,11 @@
+GithubTrigger
+=============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GithubTrigger
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GithubTriggerCreateResult.rst b/docs/api/devops/models/oci.devops.models.GithubTriggerCreateResult.rst
new file mode 100644
index 0000000000..a271d15e5b
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GithubTriggerCreateResult.rst
@@ -0,0 +1,11 @@
+GithubTriggerCreateResult
+=========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GithubTriggerCreateResult
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GithubTriggerSummary.rst b/docs/api/devops/models/oci.devops.models.GithubTriggerSummary.rst
new file mode 100644
index 0000000000..ca8121894c
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GithubTriggerSummary.rst
@@ -0,0 +1,11 @@
+GithubTriggerSummary
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GithubTriggerSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GitlabAccessTokenConnection.rst b/docs/api/devops/models/oci.devops.models.GitlabAccessTokenConnection.rst
new file mode 100644
index 0000000000..de90076aa4
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GitlabAccessTokenConnection.rst
@@ -0,0 +1,11 @@
+GitlabAccessTokenConnection
+===========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GitlabAccessTokenConnection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GitlabAccessTokenConnectionSummary.rst b/docs/api/devops/models/oci.devops.models.GitlabAccessTokenConnectionSummary.rst
new file mode 100644
index 0000000000..33b8bfe756
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GitlabAccessTokenConnectionSummary.rst
@@ -0,0 +1,11 @@
+GitlabAccessTokenConnectionSummary
+==================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GitlabAccessTokenConnectionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GitlabBuildRunSource.rst b/docs/api/devops/models/oci.devops.models.GitlabBuildRunSource.rst
new file mode 100644
index 0000000000..b2f1f0871b
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GitlabBuildRunSource.rst
@@ -0,0 +1,11 @@
+GitlabBuildRunSource
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GitlabBuildRunSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GitlabBuildSource.rst b/docs/api/devops/models/oci.devops.models.GitlabBuildSource.rst
new file mode 100644
index 0000000000..1a2f2f5f81
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GitlabBuildSource.rst
@@ -0,0 +1,11 @@
+GitlabBuildSource
+=================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GitlabBuildSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GitlabFilter.rst b/docs/api/devops/models/oci.devops.models.GitlabFilter.rst
new file mode 100644
index 0000000000..5038756801
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GitlabFilter.rst
@@ -0,0 +1,11 @@
+GitlabFilter
+============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GitlabFilter
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GitlabFilterAttributes.rst b/docs/api/devops/models/oci.devops.models.GitlabFilterAttributes.rst
new file mode 100644
index 0000000000..1202877cbe
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GitlabFilterAttributes.rst
@@ -0,0 +1,11 @@
+GitlabFilterAttributes
+======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GitlabFilterAttributes
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GitlabTrigger.rst b/docs/api/devops/models/oci.devops.models.GitlabTrigger.rst
new file mode 100644
index 0000000000..6b6ebb174f
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GitlabTrigger.rst
@@ -0,0 +1,11 @@
+GitlabTrigger
+=============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GitlabTrigger
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GitlabTriggerCreateResult.rst b/docs/api/devops/models/oci.devops.models.GitlabTriggerCreateResult.rst
new file mode 100644
index 0000000000..8ddf01bd04
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GitlabTriggerCreateResult.rst
@@ -0,0 +1,11 @@
+GitlabTriggerCreateResult
+=========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GitlabTriggerCreateResult
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.GitlabTriggerSummary.rst b/docs/api/devops/models/oci.devops.models.GitlabTriggerSummary.rst
new file mode 100644
index 0000000000..63894287cc
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.GitlabTriggerSummary.rst
@@ -0,0 +1,11 @@
+GitlabTriggerSummary
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: GitlabTriggerSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ManualBuildRunSource.rst b/docs/api/devops/models/oci.devops.models.ManualBuildRunSource.rst
new file mode 100644
index 0000000000..c4bee5e383
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.ManualBuildRunSource.rst
@@ -0,0 +1,11 @@
+ManualBuildRunSource
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: ManualBuildRunSource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.MirrorRepositoryConfig.rst b/docs/api/devops/models/oci.devops.models.MirrorRepositoryConfig.rst
new file mode 100644
index 0000000000..428d9a4b5a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.MirrorRepositoryConfig.rst
@@ -0,0 +1,11 @@
+MirrorRepositoryConfig
+======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: MirrorRepositoryConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.PutRepositoryBranchDetails.rst b/docs/api/devops/models/oci.devops.models.PutRepositoryBranchDetails.rst
new file mode 100644
index 0000000000..02cb4a6526
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.PutRepositoryBranchDetails.rst
@@ -0,0 +1,11 @@
+PutRepositoryBranchDetails
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: PutRepositoryBranchDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.PutRepositoryRefDetails.rst b/docs/api/devops/models/oci.devops.models.PutRepositoryRefDetails.rst
new file mode 100644
index 0000000000..84de22fd1a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.PutRepositoryRefDetails.rst
@@ -0,0 +1,11 @@
+PutRepositoryRefDetails
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: PutRepositoryRefDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.PutRepositoryTagDetails.rst b/docs/api/devops/models/oci.devops.models.PutRepositoryTagDetails.rst
new file mode 100644
index 0000000000..b8c20f55e5
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.PutRepositoryTagDetails.rst
@@ -0,0 +1,11 @@
+PutRepositoryTagDetails
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: PutRepositoryTagDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.Repository.rst b/docs/api/devops/models/oci.devops.models.Repository.rst
new file mode 100644
index 0000000000..2a1d5ff763
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.Repository.rst
@@ -0,0 +1,11 @@
+Repository
+==========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: Repository
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryAuthorCollection.rst b/docs/api/devops/models/oci.devops.models.RepositoryAuthorCollection.rst
new file mode 100644
index 0000000000..81f68e6988
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryAuthorCollection.rst
@@ -0,0 +1,11 @@
+RepositoryAuthorCollection
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryAuthorCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryAuthorSummary.rst b/docs/api/devops/models/oci.devops.models.RepositoryAuthorSummary.rst
new file mode 100644
index 0000000000..51c8b6d2a9
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryAuthorSummary.rst
@@ -0,0 +1,11 @@
+RepositoryAuthorSummary
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryAuthorSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryBranch.rst b/docs/api/devops/models/oci.devops.models.RepositoryBranch.rst
new file mode 100644
index 0000000000..63529c59e3
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryBranch.rst
@@ -0,0 +1,11 @@
+RepositoryBranch
+================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryBranch
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryBranchSummary.rst b/docs/api/devops/models/oci.devops.models.RepositoryBranchSummary.rst
new file mode 100644
index 0000000000..cb68aaa933
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryBranchSummary.rst
@@ -0,0 +1,11 @@
+RepositoryBranchSummary
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryBranchSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryCollection.rst b/docs/api/devops/models/oci.devops.models.RepositoryCollection.rst
new file mode 100644
index 0000000000..fb0c05927b
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryCollection.rst
@@ -0,0 +1,11 @@
+RepositoryCollection
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryCommit.rst b/docs/api/devops/models/oci.devops.models.RepositoryCommit.rst
new file mode 100644
index 0000000000..f89a74238f
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryCommit.rst
@@ -0,0 +1,11 @@
+RepositoryCommit
+================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryCommit
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryCommitCollection.rst b/docs/api/devops/models/oci.devops.models.RepositoryCommitCollection.rst
new file mode 100644
index 0000000000..17e53d23d9
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryCommitCollection.rst
@@ -0,0 +1,11 @@
+RepositoryCommitCollection
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryCommitCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryCommitSummary.rst b/docs/api/devops/models/oci.devops.models.RepositoryCommitSummary.rst
new file mode 100644
index 0000000000..8b1f6f12c4
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryCommitSummary.rst
@@ -0,0 +1,11 @@
+RepositoryCommitSummary
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryCommitSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryFileLines.rst b/docs/api/devops/models/oci.devops.models.RepositoryFileLines.rst
new file mode 100644
index 0000000000..3b38a5848b
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryFileLines.rst
@@ -0,0 +1,11 @@
+RepositoryFileLines
+===================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryFileLines
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryMirrorRecord.rst b/docs/api/devops/models/oci.devops.models.RepositoryMirrorRecord.rst
new file mode 100644
index 0000000000..ca00d4e731
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryMirrorRecord.rst
@@ -0,0 +1,11 @@
+RepositoryMirrorRecord
+======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryMirrorRecord
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryMirrorRecordCollection.rst b/docs/api/devops/models/oci.devops.models.RepositoryMirrorRecordCollection.rst
new file mode 100644
index 0000000000..d923e16007
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryMirrorRecordCollection.rst
@@ -0,0 +1,11 @@
+RepositoryMirrorRecordCollection
+================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryMirrorRecordCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryMirrorRecordSummary.rst b/docs/api/devops/models/oci.devops.models.RepositoryMirrorRecordSummary.rst
new file mode 100644
index 0000000000..8add8b93cf
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryMirrorRecordSummary.rst
@@ -0,0 +1,11 @@
+RepositoryMirrorRecordSummary
+=============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryMirrorRecordSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryObject.rst b/docs/api/devops/models/oci.devops.models.RepositoryObject.rst
new file mode 100644
index 0000000000..6af706d91b
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryObject.rst
@@ -0,0 +1,11 @@
+RepositoryObject
+================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryObject
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryPathCollection.rst b/docs/api/devops/models/oci.devops.models.RepositoryPathCollection.rst
new file mode 100644
index 0000000000..4fc3541d1e
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryPathCollection.rst
@@ -0,0 +1,11 @@
+RepositoryPathCollection
+========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryPathCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryPathSummary.rst b/docs/api/devops/models/oci.devops.models.RepositoryPathSummary.rst
new file mode 100644
index 0000000000..f8047f88ca
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryPathSummary.rst
@@ -0,0 +1,11 @@
+RepositoryPathSummary
+=====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryPathSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryRef.rst b/docs/api/devops/models/oci.devops.models.RepositoryRef.rst
new file mode 100644
index 0000000000..656ecea155
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryRef.rst
@@ -0,0 +1,11 @@
+RepositoryRef
+=============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryRef
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryRefCollection.rst b/docs/api/devops/models/oci.devops.models.RepositoryRefCollection.rst
new file mode 100644
index 0000000000..fc99cbee32
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryRefCollection.rst
@@ -0,0 +1,11 @@
+RepositoryRefCollection
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryRefCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryRefSummary.rst b/docs/api/devops/models/oci.devops.models.RepositoryRefSummary.rst
new file mode 100644
index 0000000000..47692e4c4a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryRefSummary.rst
@@ -0,0 +1,11 @@
+RepositoryRefSummary
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryRefSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositorySummary.rst b/docs/api/devops/models/oci.devops.models.RepositorySummary.rst
new file mode 100644
index 0000000000..9f5760722a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositorySummary.rst
@@ -0,0 +1,11 @@
+RepositorySummary
+=================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositorySummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryTag.rst b/docs/api/devops/models/oci.devops.models.RepositoryTag.rst
new file mode 100644
index 0000000000..2a04f2f829
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryTag.rst
@@ -0,0 +1,11 @@
+RepositoryTag
+=============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryTag
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RepositoryTagSummary.rst b/docs/api/devops/models/oci.devops.models.RepositoryTagSummary.rst
new file mode 100644
index 0000000000..3981c817f4
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.RepositoryTagSummary.rst
@@ -0,0 +1,11 @@
+RepositoryTagSummary
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: RepositoryTagSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.RunValidationTestOnComputeInstanceDeployStageExecutionProgress.rst b/docs/api/devops/models/oci.devops.models.RunValidationTestOnComputeInstanceDeployStageExecutionProgress.rst
deleted file mode 100644
index dfd4825545..0000000000
--- a/docs/api/devops/models/oci.devops.models.RunValidationTestOnComputeInstanceDeployStageExecutionProgress.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-RunValidationTestOnComputeInstanceDeployStageExecutionProgress
-==============================================================
-
-.. currentmodule:: oci.devops.models
-
-.. autoclass:: RunValidationTestOnComputeInstanceDeployStageExecutionProgress
- :show-inheritance:
- :special-members: __init__
- :members:
- :undoc-members:
- :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.Trigger.rst b/docs/api/devops/models/oci.devops.models.Trigger.rst
new file mode 100644
index 0000000000..2116550185
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.Trigger.rst
@@ -0,0 +1,11 @@
+Trigger
+=======
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: Trigger
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerAction.rst b/docs/api/devops/models/oci.devops.models.TriggerAction.rst
new file mode 100644
index 0000000000..d6f3722b6a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerAction.rst
@@ -0,0 +1,11 @@
+TriggerAction
+=============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerAction
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerBuildPipelineAction.rst b/docs/api/devops/models/oci.devops.models.TriggerBuildPipelineAction.rst
new file mode 100644
index 0000000000..0a55bbbdb8
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerBuildPipelineAction.rst
@@ -0,0 +1,11 @@
+TriggerBuildPipelineAction
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerBuildPipelineAction
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerCollection.rst b/docs/api/devops/models/oci.devops.models.TriggerCollection.rst
new file mode 100644
index 0000000000..4356c2080a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerCollection.rst
@@ -0,0 +1,11 @@
+TriggerCollection
+=================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerCreateResult.rst b/docs/api/devops/models/oci.devops.models.TriggerCreateResult.rst
new file mode 100644
index 0000000000..7b44f5a1a9
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerCreateResult.rst
@@ -0,0 +1,11 @@
+TriggerCreateResult
+===================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerCreateResult
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerDeploymentPipelineStageRunProgress.rst b/docs/api/devops/models/oci.devops.models.TriggerDeploymentPipelineStageRunProgress.rst
new file mode 100644
index 0000000000..c8d377d7f0
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerDeploymentPipelineStageRunProgress.rst
@@ -0,0 +1,11 @@
+TriggerDeploymentPipelineStageRunProgress
+=========================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerDeploymentPipelineStageRunProgress
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerDeploymentStage.rst b/docs/api/devops/models/oci.devops.models.TriggerDeploymentStage.rst
new file mode 100644
index 0000000000..f97739dbb1
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerDeploymentStage.rst
@@ -0,0 +1,11 @@
+TriggerDeploymentStage
+======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerDeploymentStage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerDeploymentStageSummary.rst b/docs/api/devops/models/oci.devops.models.TriggerDeploymentStageSummary.rst
new file mode 100644
index 0000000000..4ed263045e
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerDeploymentStageSummary.rst
@@ -0,0 +1,11 @@
+TriggerDeploymentStageSummary
+=============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerDeploymentStageSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerInfo.rst b/docs/api/devops/models/oci.devops.models.TriggerInfo.rst
new file mode 100644
index 0000000000..e88253992a
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerInfo.rst
@@ -0,0 +1,11 @@
+TriggerInfo
+===========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerInfo
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerSchedule.rst b/docs/api/devops/models/oci.devops.models.TriggerSchedule.rst
new file mode 100644
index 0000000000..3c298e7f4b
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerSchedule.rst
@@ -0,0 +1,11 @@
+TriggerSchedule
+===============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerSchedule
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.TriggerSummary.rst b/docs/api/devops/models/oci.devops.models.TriggerSummary.rst
new file mode 100644
index 0000000000..8a7cb26cb7
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.TriggerSummary.rst
@@ -0,0 +1,11 @@
+TriggerSummary
+==============
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: TriggerSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateAbsoluteWaitCriteriaDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateAbsoluteWaitCriteriaDetails.rst
new file mode 100644
index 0000000000..20cdc3c7cd
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateAbsoluteWaitCriteriaDetails.rst
@@ -0,0 +1,11 @@
+UpdateAbsoluteWaitCriteriaDetails
+=================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateAbsoluteWaitCriteriaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateBuildPipelineDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateBuildPipelineDetails.rst
new file mode 100644
index 0000000000..36b4da3276
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateBuildPipelineDetails.rst
@@ -0,0 +1,11 @@
+UpdateBuildPipelineDetails
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateBuildPipelineDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateBuildPipelineStageDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateBuildPipelineStageDetails.rst
new file mode 100644
index 0000000000..a245438bc7
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateBuildPipelineStageDetails.rst
@@ -0,0 +1,11 @@
+UpdateBuildPipelineStageDetails
+===============================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateBuildPipelineStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateBuildRunDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateBuildRunDetails.rst
new file mode 100644
index 0000000000..8669b69135
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateBuildRunDetails.rst
@@ -0,0 +1,11 @@
+UpdateBuildRunDetails
+=====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateBuildRunDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateBuildStageDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateBuildStageDetails.rst
new file mode 100644
index 0000000000..9846c85340
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateBuildStageDetails.rst
@@ -0,0 +1,11 @@
+UpdateBuildStageDetails
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateBuildStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateConnectionDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateConnectionDetails.rst
new file mode 100644
index 0000000000..e3a840a88f
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateConnectionDetails.rst
@@ -0,0 +1,11 @@
+UpdateConnectionDetails
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateConnectionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateDeliverArtifactStageDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateDeliverArtifactStageDetails.rst
new file mode 100644
index 0000000000..a782e8410e
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateDeliverArtifactStageDetails.rst
@@ -0,0 +1,11 @@
+UpdateDeliverArtifactStageDetails
+=================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateDeliverArtifactStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateDevopsCodeRepositoryTriggerDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateDevopsCodeRepositoryTriggerDetails.rst
new file mode 100644
index 0000000000..2572ae4ced
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateDevopsCodeRepositoryTriggerDetails.rst
@@ -0,0 +1,11 @@
+UpdateDevopsCodeRepositoryTriggerDetails
+========================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateDevopsCodeRepositoryTriggerDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateGithubAccessTokenConnectionDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateGithubAccessTokenConnectionDetails.rst
new file mode 100644
index 0000000000..ee50f66ef8
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateGithubAccessTokenConnectionDetails.rst
@@ -0,0 +1,11 @@
+UpdateGithubAccessTokenConnectionDetails
+========================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateGithubAccessTokenConnectionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateGithubTriggerDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateGithubTriggerDetails.rst
new file mode 100644
index 0000000000..212e138d43
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateGithubTriggerDetails.rst
@@ -0,0 +1,11 @@
+UpdateGithubTriggerDetails
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateGithubTriggerDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateGitlabAccessTokenConnectionDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateGitlabAccessTokenConnectionDetails.rst
new file mode 100644
index 0000000000..2d6615ef05
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateGitlabAccessTokenConnectionDetails.rst
@@ -0,0 +1,11 @@
+UpdateGitlabAccessTokenConnectionDetails
+========================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateGitlabAccessTokenConnectionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateGitlabTriggerDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateGitlabTriggerDetails.rst
new file mode 100644
index 0000000000..340226f04d
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateGitlabTriggerDetails.rst
@@ -0,0 +1,11 @@
+UpdateGitlabTriggerDetails
+==========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateGitlabTriggerDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateRepositoryDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateRepositoryDetails.rst
new file mode 100644
index 0000000000..03b2bce9ff
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateRepositoryDetails.rst
@@ -0,0 +1,11 @@
+UpdateRepositoryDetails
+=======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateRepositoryDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateTriggerDeploymentStageDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateTriggerDeploymentStageDetails.rst
new file mode 100644
index 0000000000..8a18071bd8
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateTriggerDeploymentStageDetails.rst
@@ -0,0 +1,11 @@
+UpdateTriggerDeploymentStageDetails
+===================================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateTriggerDeploymentStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateTriggerDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateTriggerDetails.rst
new file mode 100644
index 0000000000..8e583178db
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateTriggerDetails.rst
@@ -0,0 +1,11 @@
+UpdateTriggerDetails
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateTriggerDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateWaitCriteriaDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateWaitCriteriaDetails.rst
new file mode 100644
index 0000000000..70ee82a8e8
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateWaitCriteriaDetails.rst
@@ -0,0 +1,11 @@
+UpdateWaitCriteriaDetails
+=========================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateWaitCriteriaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.UpdateWaitStageDetails.rst b/docs/api/devops/models/oci.devops.models.UpdateWaitStageDetails.rst
new file mode 100644
index 0000000000..e099ab1989
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.UpdateWaitStageDetails.rst
@@ -0,0 +1,11 @@
+UpdateWaitStageDetails
+======================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: UpdateWaitStageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.WaitStage.rst b/docs/api/devops/models/oci.devops.models.WaitStage.rst
new file mode 100644
index 0000000000..b9db4ca1c8
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.WaitStage.rst
@@ -0,0 +1,11 @@
+WaitStage
+=========
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: WaitStage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.WaitStageRunProgress.rst b/docs/api/devops/models/oci.devops.models.WaitStageRunProgress.rst
new file mode 100644
index 0000000000..3c97c80ea2
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.WaitStageRunProgress.rst
@@ -0,0 +1,11 @@
+WaitStageRunProgress
+====================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: WaitStageRunProgress
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.WaitStageSummary.rst b/docs/api/devops/models/oci.devops.models.WaitStageSummary.rst
new file mode 100644
index 0000000000..60b67a323c
--- /dev/null
+++ b/docs/api/devops/models/oci.devops.models.WaitStageSummary.rst
@@ -0,0 +1,11 @@
+WaitStageSummary
+================
+
+.. currentmodule:: oci.devops.models
+
+.. autoclass:: WaitStageSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/landing.rst b/docs/api/landing.rst
index 8f9e206bf1..094874d065 100644
--- a/docs/api/landing.rst
+++ b/docs/api/landing.rst
@@ -25,6 +25,8 @@ API Reference
* :doc:`Bds `
* :doc:`Blockchain Platform `
* :doc:`Budget `
+* :doc:`Certificates `
+* :doc:`Certificates Management `
* :doc:`Incident `
* :doc:`User `
* :doc:`Cloud Guard `
@@ -118,8 +120,10 @@ API Reference
* :doc:`Domain Governance `
* :doc:`Link `
* :doc:`Orders `
+* :doc:`Organization `
* :doc:`Recipient Invitation `
* :doc:`Sender Invitation `
+* :doc:`Subscription `
* :doc:`Work Request `
* :doc:`Usageapi `
* :doc:`Vaults `
@@ -164,6 +168,8 @@ API Reference
bds
blockchain
budget
+ certificates
+ certificates_management
cims
cloud_guard
compute_instance_agent
diff --git a/docs/api/opsi.rst b/docs/api/opsi.rst
index d4a7f16933..686c7da295 100644
--- a/docs/api/opsi.rst
+++ b/docs/api/opsi.rst
@@ -18,16 +18,23 @@ Opsi
:nosignatures:
:template: autosummary/model_class.rst
+ oci.opsi.models.AddEmManagedExternalExadataInsightMembersDetails
+ oci.opsi.models.AddExadataInsightMembersDetails
oci.opsi.models.AutonomousDatabaseConfigurationSummary
oci.opsi.models.AutonomousDatabaseInsight
oci.opsi.models.AutonomousDatabaseInsightSummary
oci.opsi.models.ChangeDatabaseInsightCompartmentDetails
oci.opsi.models.ChangeEnterpriseManagerBridgeCompartmentDetails
+ oci.opsi.models.ChangeExadataInsightCompartmentDetails
oci.opsi.models.ChangeHostInsightCompartmentDetails
oci.opsi.models.ConnectionDetails
oci.opsi.models.CreateDatabaseInsightDetails
oci.opsi.models.CreateEmManagedExternalDatabaseInsightDetails
+ oci.opsi.models.CreateEmManagedExternalExadataInsightDetails
+ oci.opsi.models.CreateEmManagedExternalExadataMemberEntityDetails
+ oci.opsi.models.CreateEmManagedExternalHostInsightDetails
oci.opsi.models.CreateEnterpriseManagerBridgeDetails
+ oci.opsi.models.CreateExadataInsightDetails
oci.opsi.models.CreateHostInsightDetails
oci.opsi.models.CreateMacsManagedExternalHostInsightDetails
oci.opsi.models.CredentialDetails
@@ -43,19 +50,50 @@ Opsi
oci.opsi.models.DatabaseInsightSummary
oci.opsi.models.DatabaseInsights
oci.opsi.models.DatabaseInsightsCollection
+ oci.opsi.models.DiskGroupDetails
oci.opsi.models.EmManagedExternalDatabaseConfigurationSummary
oci.opsi.models.EmManagedExternalDatabaseInsight
oci.opsi.models.EmManagedExternalDatabaseInsightSummary
+ oci.opsi.models.EmManagedExternalExadataInsight
+ oci.opsi.models.EmManagedExternalExadataInsightSummary
+ oci.opsi.models.EmManagedExternalHostConfigurationSummary
+ oci.opsi.models.EmManagedExternalHostInsight
+ oci.opsi.models.EmManagedExternalHostInsightSummary
oci.opsi.models.EnableDatabaseInsightDetails
oci.opsi.models.EnableEmManagedExternalDatabaseInsightDetails
+ oci.opsi.models.EnableEmManagedExternalExadataInsightDetails
+ oci.opsi.models.EnableEmManagedExternalHostInsightDetails
+ oci.opsi.models.EnableExadataInsightDetails
oci.opsi.models.EnableHostInsightDetails
oci.opsi.models.EnableMacsManagedExternalHostInsightDetails
oci.opsi.models.EnterpriseManagerBridge
oci.opsi.models.EnterpriseManagerBridgeCollection
oci.opsi.models.EnterpriseManagerBridgeSummary
oci.opsi.models.EnterpriseManagerBridges
+ oci.opsi.models.ExadataConfigurationCollection
+ oci.opsi.models.ExadataConfigurationSummary
+ oci.opsi.models.ExadataDatabaseMachineConfigurationSummary
+ oci.opsi.models.ExadataDatabaseStatisticsSummary
+ oci.opsi.models.ExadataDetails
+ oci.opsi.models.ExadataDiskgroupStatisticsSummary
+ oci.opsi.models.ExadataHostStatisticsSummary
+ oci.opsi.models.ExadataInsight
+ oci.opsi.models.ExadataInsightResourceCapacityTrendAggregation
+ oci.opsi.models.ExadataInsightResourceCapacityTrendSummary
+ oci.opsi.models.ExadataInsightResourceForecastTrendSummary
+ oci.opsi.models.ExadataInsightResourceInsightUtilizationItem
+ oci.opsi.models.ExadataInsightResourceStatistics
+ oci.opsi.models.ExadataInsightResourceStatisticsAggregation
+ oci.opsi.models.ExadataInsightSummary
+ oci.opsi.models.ExadataInsightSummaryCollection
+ oci.opsi.models.ExadataInsights
+ oci.opsi.models.ExadataMemberCollection
+ oci.opsi.models.ExadataMemberSummary
+ oci.opsi.models.ExadataStorageServerStatisticsSummary
oci.opsi.models.HistoricalDataItem
+ oci.opsi.models.HostConfigurationCollection
oci.opsi.models.HostConfigurationMetricGroup
+ oci.opsi.models.HostConfigurationSummary
oci.opsi.models.HostCpuHardwareConfiguration
oci.opsi.models.HostCpuStatistics
oci.opsi.models.HostCpuUsage
@@ -97,9 +135,11 @@ Opsi
oci.opsi.models.IngestSqlPlanLinesResponseDetails
oci.opsi.models.IngestSqlTextDetails
oci.opsi.models.IngestSqlTextResponseDetails
+ oci.opsi.models.InstanceMetrics
oci.opsi.models.MacsManagedExternalDatabaseConfigurationSummary
oci.opsi.models.MacsManagedExternalDatabaseInsight
oci.opsi.models.MacsManagedExternalDatabaseInsightSummary
+ oci.opsi.models.MacsManagedExternalHostConfigurationSummary
oci.opsi.models.MacsManagedExternalHostInsight
oci.opsi.models.MacsManagedExternalHostInsightSummary
oci.opsi.models.ProjectedDataItem
@@ -109,6 +149,7 @@ Opsi
oci.opsi.models.ResourceInsightProjectedUtilizationItem
oci.opsi.models.ResourceStatistics
oci.opsi.models.ResourceStatisticsAggregation
+ oci.opsi.models.ResourceUsageSummary
oci.opsi.models.ResourceUsageTrendAggregation
oci.opsi.models.SqlBucket
oci.opsi.models.SqlInsightAggregation
@@ -136,6 +177,7 @@ Opsi
oci.opsi.models.SqlText
oci.opsi.models.SqlTextCollection
oci.opsi.models.SqlTextSummary
+ oci.opsi.models.StorageServerDetails
oci.opsi.models.SummarizeDatabaseInsightResourceCapacityTrendAggregationCollection
oci.opsi.models.SummarizeDatabaseInsightResourceForecastTrendAggregation
oci.opsi.models.SummarizeDatabaseInsightResourceStatisticsAggregationCollection
@@ -143,6 +185,14 @@ Opsi
oci.opsi.models.SummarizeDatabaseInsightResourceUsageTrendAggregationCollection
oci.opsi.models.SummarizeDatabaseInsightResourceUtilizationInsightAggregation
oci.opsi.models.SummarizeDatabaseInsightTablespaceUsageTrendAggregationCollection
+ oci.opsi.models.SummarizeExadataInsightResourceCapacityTrendAggregation
+ oci.opsi.models.SummarizeExadataInsightResourceCapacityTrendCollection
+ oci.opsi.models.SummarizeExadataInsightResourceForecastTrendAggregation
+ oci.opsi.models.SummarizeExadataInsightResourceForecastTrendCollection
+ oci.opsi.models.SummarizeExadataInsightResourceStatisticsAggregationCollection
+ oci.opsi.models.SummarizeExadataInsightResourceUsageAggregation
+ oci.opsi.models.SummarizeExadataInsightResourceUsageCollection
+ oci.opsi.models.SummarizeExadataInsightResourceUtilizationInsightAggregation
oci.opsi.models.SummarizeHostInsightResourceCapacityTrendAggregationCollection
oci.opsi.models.SummarizeHostInsightResourceForecastTrendAggregation
oci.opsi.models.SummarizeHostInsightResourceStatisticsAggregationCollection
@@ -155,7 +205,10 @@ Opsi
oci.opsi.models.UpdateAutonomousDatabaseInsightDetails
oci.opsi.models.UpdateDatabaseInsightDetails
oci.opsi.models.UpdateEmManagedExternalDatabaseInsightDetails
+ oci.opsi.models.UpdateEmManagedExternalExadataInsightDetails
+ oci.opsi.models.UpdateEmManagedExternalHostInsightDetails
oci.opsi.models.UpdateEnterpriseManagerBridgeDetails
+ oci.opsi.models.UpdateExadataInsightDetails
oci.opsi.models.UpdateHostInsightDetails
oci.opsi.models.UpdateMacsManagedExternalDatabaseInsightDetails
oci.opsi.models.UpdateMacsManagedExternalHostInsightDetails
diff --git a/docs/api/opsi/models/oci.opsi.models.AddEmManagedExternalExadataInsightMembersDetails.rst b/docs/api/opsi/models/oci.opsi.models.AddEmManagedExternalExadataInsightMembersDetails.rst
new file mode 100644
index 0000000000..f79de003a2
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.AddEmManagedExternalExadataInsightMembersDetails.rst
@@ -0,0 +1,11 @@
+AddEmManagedExternalExadataInsightMembersDetails
+================================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: AddEmManagedExternalExadataInsightMembersDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.AddExadataInsightMembersDetails.rst b/docs/api/opsi/models/oci.opsi.models.AddExadataInsightMembersDetails.rst
new file mode 100644
index 0000000000..592badc829
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.AddExadataInsightMembersDetails.rst
@@ -0,0 +1,11 @@
+AddExadataInsightMembersDetails
+===============================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: AddExadataInsightMembersDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ChangeExadataInsightCompartmentDetails.rst b/docs/api/opsi/models/oci.opsi.models.ChangeExadataInsightCompartmentDetails.rst
new file mode 100644
index 0000000000..bd810add19
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ChangeExadataInsightCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeExadataInsightCompartmentDetails
+======================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ChangeExadataInsightCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.CreateEmManagedExternalExadataInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.CreateEmManagedExternalExadataInsightDetails.rst
new file mode 100644
index 0000000000..e60e6268c7
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.CreateEmManagedExternalExadataInsightDetails.rst
@@ -0,0 +1,11 @@
+CreateEmManagedExternalExadataInsightDetails
+============================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: CreateEmManagedExternalExadataInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.CreateEmManagedExternalExadataMemberEntityDetails.rst b/docs/api/opsi/models/oci.opsi.models.CreateEmManagedExternalExadataMemberEntityDetails.rst
new file mode 100644
index 0000000000..190bcd80a4
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.CreateEmManagedExternalExadataMemberEntityDetails.rst
@@ -0,0 +1,11 @@
+CreateEmManagedExternalExadataMemberEntityDetails
+=================================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: CreateEmManagedExternalExadataMemberEntityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.CreateEmManagedExternalHostInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.CreateEmManagedExternalHostInsightDetails.rst
new file mode 100644
index 0000000000..c79a701c12
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.CreateEmManagedExternalHostInsightDetails.rst
@@ -0,0 +1,11 @@
+CreateEmManagedExternalHostInsightDetails
+=========================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: CreateEmManagedExternalHostInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.CreateExadataInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.CreateExadataInsightDetails.rst
new file mode 100644
index 0000000000..b83c1450eb
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.CreateExadataInsightDetails.rst
@@ -0,0 +1,11 @@
+CreateExadataInsightDetails
+===========================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: CreateExadataInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.DiskGroupDetails.rst b/docs/api/opsi/models/oci.opsi.models.DiskGroupDetails.rst
new file mode 100644
index 0000000000..9481187001
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.DiskGroupDetails.rst
@@ -0,0 +1,11 @@
+DiskGroupDetails
+================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: DiskGroupDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.EmManagedExternalExadataInsight.rst b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalExadataInsight.rst
new file mode 100644
index 0000000000..6c8fded939
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalExadataInsight.rst
@@ -0,0 +1,11 @@
+EmManagedExternalExadataInsight
+===============================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: EmManagedExternalExadataInsight
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.EmManagedExternalExadataInsightSummary.rst b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalExadataInsightSummary.rst
new file mode 100644
index 0000000000..5c6c49b8a9
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalExadataInsightSummary.rst
@@ -0,0 +1,11 @@
+EmManagedExternalExadataInsightSummary
+======================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: EmManagedExternalExadataInsightSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.EmManagedExternalHostConfigurationSummary.rst b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalHostConfigurationSummary.rst
new file mode 100644
index 0000000000..b2e1e9481b
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalHostConfigurationSummary.rst
@@ -0,0 +1,11 @@
+EmManagedExternalHostConfigurationSummary
+=========================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: EmManagedExternalHostConfigurationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.EmManagedExternalHostInsight.rst b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalHostInsight.rst
new file mode 100644
index 0000000000..e19abf905f
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalHostInsight.rst
@@ -0,0 +1,11 @@
+EmManagedExternalHostInsight
+============================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: EmManagedExternalHostInsight
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.EmManagedExternalHostInsightSummary.rst b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalHostInsightSummary.rst
new file mode 100644
index 0000000000..b7e01cb700
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.EmManagedExternalHostInsightSummary.rst
@@ -0,0 +1,11 @@
+EmManagedExternalHostInsightSummary
+===================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: EmManagedExternalHostInsightSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.EnableEmManagedExternalExadataInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.EnableEmManagedExternalExadataInsightDetails.rst
new file mode 100644
index 0000000000..490de3bcfd
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.EnableEmManagedExternalExadataInsightDetails.rst
@@ -0,0 +1,11 @@
+EnableEmManagedExternalExadataInsightDetails
+============================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: EnableEmManagedExternalExadataInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.EnableEmManagedExternalHostInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.EnableEmManagedExternalHostInsightDetails.rst
new file mode 100644
index 0000000000..7b175d4df1
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.EnableEmManagedExternalHostInsightDetails.rst
@@ -0,0 +1,11 @@
+EnableEmManagedExternalHostInsightDetails
+=========================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: EnableEmManagedExternalHostInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.EnableExadataInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.EnableExadataInsightDetails.rst
new file mode 100644
index 0000000000..3bde4ffa69
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.EnableExadataInsightDetails.rst
@@ -0,0 +1,11 @@
+EnableExadataInsightDetails
+===========================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: EnableExadataInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataConfigurationCollection.rst b/docs/api/opsi/models/oci.opsi.models.ExadataConfigurationCollection.rst
new file mode 100644
index 0000000000..ce1e6492ee
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataConfigurationCollection.rst
@@ -0,0 +1,11 @@
+ExadataConfigurationCollection
+==============================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataConfigurationCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataConfigurationSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataConfigurationSummary.rst
new file mode 100644
index 0000000000..c0855645c2
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataConfigurationSummary.rst
@@ -0,0 +1,11 @@
+ExadataConfigurationSummary
+===========================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataConfigurationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataDatabaseMachineConfigurationSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataDatabaseMachineConfigurationSummary.rst
new file mode 100644
index 0000000000..8759e2f60f
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataDatabaseMachineConfigurationSummary.rst
@@ -0,0 +1,11 @@
+ExadataDatabaseMachineConfigurationSummary
+==========================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataDatabaseMachineConfigurationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataDatabaseStatisticsSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataDatabaseStatisticsSummary.rst
new file mode 100644
index 0000000000..a3b8be895e
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataDatabaseStatisticsSummary.rst
@@ -0,0 +1,11 @@
+ExadataDatabaseStatisticsSummary
+================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataDatabaseStatisticsSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataDetails.rst b/docs/api/opsi/models/oci.opsi.models.ExadataDetails.rst
new file mode 100644
index 0000000000..c3ac50529c
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataDetails.rst
@@ -0,0 +1,11 @@
+ExadataDetails
+==============
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataDiskgroupStatisticsSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataDiskgroupStatisticsSummary.rst
new file mode 100644
index 0000000000..82b95101b6
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataDiskgroupStatisticsSummary.rst
@@ -0,0 +1,11 @@
+ExadataDiskgroupStatisticsSummary
+=================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataDiskgroupStatisticsSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataHostStatisticsSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataHostStatisticsSummary.rst
new file mode 100644
index 0000000000..8b17acf8da
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataHostStatisticsSummary.rst
@@ -0,0 +1,11 @@
+ExadataHostStatisticsSummary
+============================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataHostStatisticsSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsight.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsight.rst
new file mode 100644
index 0000000000..4c492f3ba3
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsight.rst
@@ -0,0 +1,11 @@
+ExadataInsight
+==============
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsight
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceCapacityTrendAggregation.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceCapacityTrendAggregation.rst
new file mode 100644
index 0000000000..e4a908ff92
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceCapacityTrendAggregation.rst
@@ -0,0 +1,11 @@
+ExadataInsightResourceCapacityTrendAggregation
+==============================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsightResourceCapacityTrendAggregation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceCapacityTrendSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceCapacityTrendSummary.rst
new file mode 100644
index 0000000000..a50a6d9a3d
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceCapacityTrendSummary.rst
@@ -0,0 +1,11 @@
+ExadataInsightResourceCapacityTrendSummary
+==========================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsightResourceCapacityTrendSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceForecastTrendSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceForecastTrendSummary.rst
new file mode 100644
index 0000000000..a1adbce82d
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceForecastTrendSummary.rst
@@ -0,0 +1,11 @@
+ExadataInsightResourceForecastTrendSummary
+==========================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsightResourceForecastTrendSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceInsightUtilizationItem.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceInsightUtilizationItem.rst
new file mode 100644
index 0000000000..a112376f2c
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceInsightUtilizationItem.rst
@@ -0,0 +1,11 @@
+ExadataInsightResourceInsightUtilizationItem
+============================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsightResourceInsightUtilizationItem
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceStatistics.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceStatistics.rst
new file mode 100644
index 0000000000..1c9234ab31
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceStatistics.rst
@@ -0,0 +1,11 @@
+ExadataInsightResourceStatistics
+================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsightResourceStatistics
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceStatisticsAggregation.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceStatisticsAggregation.rst
new file mode 100644
index 0000000000..23c3635d5d
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsightResourceStatisticsAggregation.rst
@@ -0,0 +1,11 @@
+ExadataInsightResourceStatisticsAggregation
+===========================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsightResourceStatisticsAggregation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsightSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsightSummary.rst
new file mode 100644
index 0000000000..5fd9d107d3
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsightSummary.rst
@@ -0,0 +1,11 @@
+ExadataInsightSummary
+=====================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsightSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsightSummaryCollection.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsightSummaryCollection.rst
new file mode 100644
index 0000000000..1143b9bf9e
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsightSummaryCollection.rst
@@ -0,0 +1,11 @@
+ExadataInsightSummaryCollection
+===============================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsightSummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataInsights.rst b/docs/api/opsi/models/oci.opsi.models.ExadataInsights.rst
new file mode 100644
index 0000000000..d63c71fc3b
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataInsights.rst
@@ -0,0 +1,11 @@
+ExadataInsights
+===============
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataInsights
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataMemberCollection.rst b/docs/api/opsi/models/oci.opsi.models.ExadataMemberCollection.rst
new file mode 100644
index 0000000000..d28af8b092
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataMemberCollection.rst
@@ -0,0 +1,11 @@
+ExadataMemberCollection
+=======================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataMemberCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataMemberSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataMemberSummary.rst
new file mode 100644
index 0000000000..43a9d85e8e
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataMemberSummary.rst
@@ -0,0 +1,11 @@
+ExadataMemberSummary
+====================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataMemberSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ExadataStorageServerStatisticsSummary.rst b/docs/api/opsi/models/oci.opsi.models.ExadataStorageServerStatisticsSummary.rst
new file mode 100644
index 0000000000..9a1a22a9a9
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ExadataStorageServerStatisticsSummary.rst
@@ -0,0 +1,11 @@
+ExadataStorageServerStatisticsSummary
+=====================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ExadataStorageServerStatisticsSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.HostConfigurationCollection.rst b/docs/api/opsi/models/oci.opsi.models.HostConfigurationCollection.rst
new file mode 100644
index 0000000000..691fe78583
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.HostConfigurationCollection.rst
@@ -0,0 +1,11 @@
+HostConfigurationCollection
+===========================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: HostConfigurationCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.HostConfigurationSummary.rst b/docs/api/opsi/models/oci.opsi.models.HostConfigurationSummary.rst
new file mode 100644
index 0000000000..760738517f
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.HostConfigurationSummary.rst
@@ -0,0 +1,11 @@
+HostConfigurationSummary
+========================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: HostConfigurationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.InstanceMetrics.rst b/docs/api/opsi/models/oci.opsi.models.InstanceMetrics.rst
new file mode 100644
index 0000000000..22c48d1b80
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.InstanceMetrics.rst
@@ -0,0 +1,11 @@
+InstanceMetrics
+===============
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: InstanceMetrics
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.MacsManagedExternalHostConfigurationSummary.rst b/docs/api/opsi/models/oci.opsi.models.MacsManagedExternalHostConfigurationSummary.rst
new file mode 100644
index 0000000000..6940793ea7
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.MacsManagedExternalHostConfigurationSummary.rst
@@ -0,0 +1,11 @@
+MacsManagedExternalHostConfigurationSummary
+===========================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: MacsManagedExternalHostConfigurationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.ResourceUsageSummary.rst b/docs/api/opsi/models/oci.opsi.models.ResourceUsageSummary.rst
new file mode 100644
index 0000000000..94c135f089
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.ResourceUsageSummary.rst
@@ -0,0 +1,11 @@
+ResourceUsageSummary
+====================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: ResourceUsageSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.StorageServerDetails.rst b/docs/api/opsi/models/oci.opsi.models.StorageServerDetails.rst
new file mode 100644
index 0000000000..53fb0f3f35
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.StorageServerDetails.rst
@@ -0,0 +1,11 @@
+StorageServerDetails
+====================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: StorageServerDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceCapacityTrendAggregation.rst b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceCapacityTrendAggregation.rst
new file mode 100644
index 0000000000..8bd777fd15
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceCapacityTrendAggregation.rst
@@ -0,0 +1,11 @@
+SummarizeExadataInsightResourceCapacityTrendAggregation
+=======================================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: SummarizeExadataInsightResourceCapacityTrendAggregation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupCanaryDeployStageExecutionProgress.rst b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceCapacityTrendCollection.rst
similarity index 50%
rename from docs/api/devops/models/oci.devops.models.ComputeInstanceGroupCanaryDeployStageExecutionProgress.rst
rename to docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceCapacityTrendCollection.rst
index 988a698ef3..4ddbd05a20 100644
--- a/docs/api/devops/models/oci.devops.models.ComputeInstanceGroupCanaryDeployStageExecutionProgress.rst
+++ b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceCapacityTrendCollection.rst
@@ -1,9 +1,9 @@
-ComputeInstanceGroupCanaryDeployStageExecutionProgress
+SummarizeExadataInsightResourceCapacityTrendCollection
======================================================
-.. currentmodule:: oci.devops.models
+.. currentmodule:: oci.opsi.models
-.. autoclass:: ComputeInstanceGroupCanaryDeployStageExecutionProgress
+.. autoclass:: SummarizeExadataInsightResourceCapacityTrendCollection
:show-inheritance:
:special-members: __init__
:members:
diff --git a/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceForecastTrendAggregation.rst b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceForecastTrendAggregation.rst
new file mode 100644
index 0000000000..9453f6a3bb
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceForecastTrendAggregation.rst
@@ -0,0 +1,11 @@
+SummarizeExadataInsightResourceForecastTrendAggregation
+=======================================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: SummarizeExadataInsightResourceForecastTrendAggregation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceForecastTrendCollection.rst b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceForecastTrendCollection.rst
new file mode 100644
index 0000000000..dce3f0afb8
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceForecastTrendCollection.rst
@@ -0,0 +1,11 @@
+SummarizeExadataInsightResourceForecastTrendCollection
+======================================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: SummarizeExadataInsightResourceForecastTrendCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceStatisticsAggregationCollection.rst b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceStatisticsAggregationCollection.rst
new file mode 100644
index 0000000000..bc24221162
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceStatisticsAggregationCollection.rst
@@ -0,0 +1,11 @@
+SummarizeExadataInsightResourceStatisticsAggregationCollection
+==============================================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: SummarizeExadataInsightResourceStatisticsAggregationCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceUsageAggregation.rst b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceUsageAggregation.rst
new file mode 100644
index 0000000000..741f2c86a4
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceUsageAggregation.rst
@@ -0,0 +1,11 @@
+SummarizeExadataInsightResourceUsageAggregation
+===============================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: SummarizeExadataInsightResourceUsageAggregation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceUsageCollection.rst b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceUsageCollection.rst
new file mode 100644
index 0000000000..d79f1be8e9
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceUsageCollection.rst
@@ -0,0 +1,11 @@
+SummarizeExadataInsightResourceUsageCollection
+==============================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: SummarizeExadataInsightResourceUsageCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceUtilizationInsightAggregation.rst b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceUtilizationInsightAggregation.rst
new file mode 100644
index 0000000000..7f6c47f05f
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.SummarizeExadataInsightResourceUtilizationInsightAggregation.rst
@@ -0,0 +1,11 @@
+SummarizeExadataInsightResourceUtilizationInsightAggregation
+============================================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: SummarizeExadataInsightResourceUtilizationInsightAggregation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.UpdateEmManagedExternalExadataInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.UpdateEmManagedExternalExadataInsightDetails.rst
new file mode 100644
index 0000000000..5c0a79388d
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.UpdateEmManagedExternalExadataInsightDetails.rst
@@ -0,0 +1,11 @@
+UpdateEmManagedExternalExadataInsightDetails
+============================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: UpdateEmManagedExternalExadataInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.UpdateEmManagedExternalHostInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.UpdateEmManagedExternalHostInsightDetails.rst
new file mode 100644
index 0000000000..1a1b603dfa
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.UpdateEmManagedExternalHostInsightDetails.rst
@@ -0,0 +1,11 @@
+UpdateEmManagedExternalHostInsightDetails
+=========================================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: UpdateEmManagedExternalHostInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opsi/models/oci.opsi.models.UpdateExadataInsightDetails.rst b/docs/api/opsi/models/oci.opsi.models.UpdateExadataInsightDetails.rst
new file mode 100644
index 0000000000..d49863de8a
--- /dev/null
+++ b/docs/api/opsi/models/oci.opsi.models.UpdateExadataInsightDetails.rst
@@ -0,0 +1,11 @@
+UpdateExadataInsightDetails
+===========================
+
+.. currentmodule:: oci.opsi.models
+
+.. autoclass:: UpdateExadataInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane.rst b/docs/api/tenant_manager_control_plane.rst
index 7560fcb762..e4c0f90b00 100644
--- a/docs/api/tenant_manager_control_plane.rst
+++ b/docs/api/tenant_manager_control_plane.rst
@@ -10,15 +10,19 @@ Tenant Manager Control Plane
oci.tenant_manager_control_plane.DomainGovernanceClient
oci.tenant_manager_control_plane.LinkClient
oci.tenant_manager_control_plane.OrdersClient
+ oci.tenant_manager_control_plane.OrganizationClient
oci.tenant_manager_control_plane.RecipientInvitationClient
oci.tenant_manager_control_plane.SenderInvitationClient
+ oci.tenant_manager_control_plane.SubscriptionClient
oci.tenant_manager_control_plane.WorkRequestClient
oci.tenant_manager_control_plane.DomainClientCompositeOperations
oci.tenant_manager_control_plane.DomainGovernanceClientCompositeOperations
oci.tenant_manager_control_plane.LinkClientCompositeOperations
oci.tenant_manager_control_plane.OrdersClientCompositeOperations
+ oci.tenant_manager_control_plane.OrganizationClientCompositeOperations
oci.tenant_manager_control_plane.RecipientInvitationClientCompositeOperations
oci.tenant_manager_control_plane.SenderInvitationClientCompositeOperations
+ oci.tenant_manager_control_plane.SubscriptionClientCompositeOperations
oci.tenant_manager_control_plane.WorkRequestClientCompositeOperations
--------
@@ -31,9 +35,16 @@ Tenant Manager Control Plane
:template: autosummary/model_class.rst
oci.tenant_manager_control_plane.models.ActivateOrderDetails
+ oci.tenant_manager_control_plane.models.AssignedSubscription
+ oci.tenant_manager_control_plane.models.AssignedSubscriptionCollection
+ oci.tenant_manager_control_plane.models.AssignedSubscriptionSummary
+ oci.tenant_manager_control_plane.models.AvailableRegionCollection
+ oci.tenant_manager_control_plane.models.AvailableRegionSummary
+ oci.tenant_manager_control_plane.models.CreateChildTenancyDetails
oci.tenant_manager_control_plane.models.CreateDomainDetails
oci.tenant_manager_control_plane.models.CreateDomainGovernanceDetails
oci.tenant_manager_control_plane.models.CreateSenderInvitationDetails
+ oci.tenant_manager_control_plane.models.CreateSubscriptionMappingDetails
oci.tenant_manager_control_plane.models.Domain
oci.tenant_manager_control_plane.models.DomainCollection
oci.tenant_manager_control_plane.models.DomainGovernance
@@ -44,6 +55,12 @@ Tenant Manager Control Plane
oci.tenant_manager_control_plane.models.LinkCollection
oci.tenant_manager_control_plane.models.LinkSummary
oci.tenant_manager_control_plane.models.Order
+ oci.tenant_manager_control_plane.models.Organization
+ oci.tenant_manager_control_plane.models.OrganizationCollection
+ oci.tenant_manager_control_plane.models.OrganizationSummary
+ oci.tenant_manager_control_plane.models.OrganizationTenancy
+ oci.tenant_manager_control_plane.models.OrganizationTenancyCollection
+ oci.tenant_manager_control_plane.models.OrganizationTenancySummary
oci.tenant_manager_control_plane.models.RecipientInvitation
oci.tenant_manager_control_plane.models.RecipientInvitationCollection
oci.tenant_manager_control_plane.models.RecipientInvitationSummary
@@ -51,9 +68,17 @@ Tenant Manager Control Plane
oci.tenant_manager_control_plane.models.SenderInvitationCollection
oci.tenant_manager_control_plane.models.SenderInvitationSummary
oci.tenant_manager_control_plane.models.Sku
+ oci.tenant_manager_control_plane.models.Subscription
+ oci.tenant_manager_control_plane.models.SubscriptionCollection
oci.tenant_manager_control_plane.models.SubscriptionInfo
+ oci.tenant_manager_control_plane.models.SubscriptionMapping
+ oci.tenant_manager_control_plane.models.SubscriptionMappingCollection
+ oci.tenant_manager_control_plane.models.SubscriptionMappingSummary
+ oci.tenant_manager_control_plane.models.SubscriptionSku
+ oci.tenant_manager_control_plane.models.SubscriptionSummary
oci.tenant_manager_control_plane.models.UpdateDomainDetails
oci.tenant_manager_control_plane.models.UpdateDomainGovernanceDetails
+ oci.tenant_manager_control_plane.models.UpdateOrganizationDetails
oci.tenant_manager_control_plane.models.UpdateRecipientInvitationDetails
oci.tenant_manager_control_plane.models.UpdateSenderInvitationDetails
oci.tenant_manager_control_plane.models.WorkRequest
diff --git a/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.OrganizationClient.rst b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.OrganizationClient.rst
new file mode 100644
index 0000000000..05adaf1eeb
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.OrganizationClient.rst
@@ -0,0 +1,8 @@
+OrganizationClient
+==================
+
+.. currentmodule:: oci.tenant_manager_control_plane
+
+.. autoclass:: OrganizationClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.OrganizationClientCompositeOperations.rst b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.OrganizationClientCompositeOperations.rst
new file mode 100644
index 0000000000..f559ff61e2
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.OrganizationClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+OrganizationClientCompositeOperations
+=====================================
+
+.. currentmodule:: oci.tenant_manager_control_plane
+
+.. autoclass:: OrganizationClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.SubscriptionClient.rst b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.SubscriptionClient.rst
new file mode 100644
index 0000000000..f59523d675
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.SubscriptionClient.rst
@@ -0,0 +1,8 @@
+SubscriptionClient
+==================
+
+.. currentmodule:: oci.tenant_manager_control_plane
+
+.. autoclass:: SubscriptionClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.SubscriptionClientCompositeOperations.rst b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.SubscriptionClientCompositeOperations.rst
new file mode 100644
index 0000000000..b24495c937
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.SubscriptionClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+SubscriptionClientCompositeOperations
+=====================================
+
+.. currentmodule:: oci.tenant_manager_control_plane
+
+.. autoclass:: SubscriptionClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscription.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscription.rst
new file mode 100644
index 0000000000..860237fc23
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscription.rst
@@ -0,0 +1,11 @@
+AssignedSubscription
+====================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: AssignedSubscription
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionCollection.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionCollection.rst
new file mode 100644
index 0000000000..391278e488
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionCollection.rst
@@ -0,0 +1,11 @@
+AssignedSubscriptionCollection
+==============================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: AssignedSubscriptionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionSummary.rst
new file mode 100644
index 0000000000..285db34786
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AssignedSubscriptionSummary.rst
@@ -0,0 +1,11 @@
+AssignedSubscriptionSummary
+===========================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: AssignedSubscriptionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AvailableRegionCollection.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AvailableRegionCollection.rst
new file mode 100644
index 0000000000..6dd7bde48b
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AvailableRegionCollection.rst
@@ -0,0 +1,11 @@
+AvailableRegionCollection
+=========================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: AvailableRegionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AvailableRegionSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AvailableRegionSummary.rst
new file mode 100644
index 0000000000..1466b9f793
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.AvailableRegionSummary.rst
@@ -0,0 +1,11 @@
+AvailableRegionSummary
+======================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: AvailableRegionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CreateChildTenancyDetails.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CreateChildTenancyDetails.rst
new file mode 100644
index 0000000000..510b4e3d5e
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CreateChildTenancyDetails.rst
@@ -0,0 +1,11 @@
+CreateChildTenancyDetails
+=========================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: CreateChildTenancyDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CreateSubscriptionMappingDetails.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CreateSubscriptionMappingDetails.rst
new file mode 100644
index 0000000000..9195b5abe1
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.CreateSubscriptionMappingDetails.rst
@@ -0,0 +1,11 @@
+CreateSubscriptionMappingDetails
+================================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: CreateSubscriptionMappingDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.Organization.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.Organization.rst
new file mode 100644
index 0000000000..d0a4633223
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.Organization.rst
@@ -0,0 +1,11 @@
+Organization
+============
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: Organization
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationCollection.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationCollection.rst
new file mode 100644
index 0000000000..5ec845a90c
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationCollection.rst
@@ -0,0 +1,11 @@
+OrganizationCollection
+======================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: OrganizationCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationSummary.rst
new file mode 100644
index 0000000000..98b74ce098
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationSummary.rst
@@ -0,0 +1,11 @@
+OrganizationSummary
+===================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: OrganizationSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationTenancy.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationTenancy.rst
new file mode 100644
index 0000000000..7281abd944
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationTenancy.rst
@@ -0,0 +1,11 @@
+OrganizationTenancy
+===================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: OrganizationTenancy
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationTenancyCollection.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationTenancyCollection.rst
new file mode 100644
index 0000000000..983b88910e
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationTenancyCollection.rst
@@ -0,0 +1,11 @@
+OrganizationTenancyCollection
+=============================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: OrganizationTenancyCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationTenancySummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationTenancySummary.rst
new file mode 100644
index 0000000000..1f032f3bfd
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.OrganizationTenancySummary.rst
@@ -0,0 +1,11 @@
+OrganizationTenancySummary
+==========================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: OrganizationTenancySummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.Subscription.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.Subscription.rst
new file mode 100644
index 0000000000..e01b2f8667
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.Subscription.rst
@@ -0,0 +1,11 @@
+Subscription
+============
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: Subscription
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionCollection.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionCollection.rst
new file mode 100644
index 0000000000..11da08a7d3
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionCollection.rst
@@ -0,0 +1,11 @@
+SubscriptionCollection
+======================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: SubscriptionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionMapping.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionMapping.rst
new file mode 100644
index 0000000000..129b06123e
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionMapping.rst
@@ -0,0 +1,11 @@
+SubscriptionMapping
+===================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: SubscriptionMapping
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionMappingCollection.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionMappingCollection.rst
new file mode 100644
index 0000000000..1225fad577
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionMappingCollection.rst
@@ -0,0 +1,11 @@
+SubscriptionMappingCollection
+=============================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: SubscriptionMappingCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionMappingSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionMappingSummary.rst
new file mode 100644
index 0000000000..d99eaa874c
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionMappingSummary.rst
@@ -0,0 +1,11 @@
+SubscriptionMappingSummary
+==========================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: SubscriptionMappingSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionSku.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionSku.rst
new file mode 100644
index 0000000000..c825270925
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionSku.rst
@@ -0,0 +1,11 @@
+SubscriptionSku
+===============
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: SubscriptionSku
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionSummary.rst
new file mode 100644
index 0000000000..6990d4f5d3
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.SubscriptionSummary.rst
@@ -0,0 +1,11 @@
+SubscriptionSummary
+===================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: SubscriptionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.UpdateOrganizationDetails.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.UpdateOrganizationDetails.rst
new file mode 100644
index 0000000000..50599748cb
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.UpdateOrganizationDetails.rst
@@ -0,0 +1,11 @@
+UpdateOrganizationDetails
+=========================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: UpdateOrganizationDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/examples/list_resources_in_tenancy/README.md b/examples/list_resources_in_tenancy/README.md
new file mode 100644
index 0000000000..a225f3e83a
--- /dev/null
+++ b/examples/list_resources_in_tenancy/README.md
@@ -0,0 +1,125 @@
+## List Resources in Tenancy
+
+Several utilities to help with producing reports from OCI
+
+**DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
+
+**Developed by Adi Zohar, 2021**
+
+## Executing using Cloud Shell:
+```
+ 1. install oci sdk package
+ pip3 install --user oci
+
+ 2. clone the oci sdk repo
+ git clone https://github.com/oracle/oci-python-sdk
+
+ 3. Execute
+ cd $HOME/oci-python-sdk/examples/list_resources_in_tenancy
+ python3 list_all_ipsec_tunnels_in_tenancy.py -dt
+ python3 list_all_virtual_circuits_in_tenancy.py -dt
+ python3 list_compute_tags_in_tenancy.py -dt
+ python3 list_dbsystem_with_maintenance_in_tenancy.py -dt
+ python3 list_bv_backups_in_tenancy.py -dt
+ python3 list_limits_per_compartments.py -dt
+
+ 4. Help with --help
+```
+
+## list_all_ipsec_tunnels_in_tenancy.py
+Produce list of all ipsec tunnels in tenancy - Useful when OCI published maintenance announcement of network components
+
+```
+usage: list_all_ipsec_tunnels_in_tenancy.py [-h] [-t CONFIG_PROFILE]
+ [-p PROXY] [-ip] [-dt]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+```
+
+## list_all_virtual_circuits_in_tenancy.py
+Produce list of all Virtual Circuits (fastconnects) in tenancy - Useful when OCI published maintenance announcement of network components
+
+```
+usage: list_all_virtual_circuits_in_tenancy.py [-h] [-t CONFIG_PROFILE] [-p PROXY] [-ip] [-dt]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+```
+
+## list_bv_backups_in_tenancy.py
+Produce list of all Boot and Block volume backups – Useful to produce backup list for Audit purposes
+
+```
+usage: list_bv_backups_in_tenancy.py [-h] [-t CONFIG_PROFILE] [-p PROXY] [-ip] [-dt]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+
+```
+
+## list_compute_tags_in_tenancy.py
+Produce list of compute with tags
+
+```
+usage: list_compute_tags_in_tenancy.py [-h] [-t CONFIG_PROFILE] [-p PROXY] [-ip] [-dt]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+```
+
+## list_dbsystem_with_maintenance_in_tenancy.py
+Produce list of DB System and Exadata with maintenance details – Useful to alert when maintenance is due on the corresponding DB System or Exadata Infrastructure
+
+```
+usage: list_dbsystem_with_maintenance_in_tenancy.py [-h] [-t CONFIG_PROFILE] [-p PROXY] [-ip] [-dt]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+```
+
+## list_limits_per_compartments.py
+Produce list of limits per compartment, can be extracted to screen or CSV and allow admin to monitor limits efficiency and request additional limits if required.
+
+```
+usage: list_limits_per_compartments.py [-h] [-c CONFIG_FILE]
+ [-t CONFIG_PROFILE] [-p PROXY]
+ [-rg FILTER_REGION] [-cp FILTER_COMP]
+ [-sr FILTER_SERVICE] [-sc FILTER_SCOPE]
+ [-ip] [-dt] [-js] [-csv CSV]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -c CONFIG_FILE OCI CLI Config file
+ -t CONFIG_PROFILE Config Profile inside the config file
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -rg FILTER_REGION filter by region (i.e. us-ashburn-1)
+ -cp FILTER_COMP filter by compartment (i.e. production)
+ -sr FILTER_SERVICE filter by service (i.e. compute)
+ -sc FILTER_SCOPE filter by scope (i.e. AD,REGION,GLOBAL)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+ -js print in JSON format
+ -csv CSV Output to CSV files, Input as file header
+
+```
\ No newline at end of file
diff --git a/examples/list_resources_in_tenancy/list_all_ipsec_tunnels_in_tenancy.py b/examples/list_resources_in_tenancy/list_all_ipsec_tunnels_in_tenancy.py
index db958aeed0..0347d3be24 100755
--- a/examples/list_resources_in_tenancy/list_all_ipsec_tunnels_in_tenancy.py
+++ b/examples/list_resources_in_tenancy/list_all_ipsec_tunnels_in_tenancy.py
@@ -8,6 +8,8 @@
# @author: Adi Zohar
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# List all IPSEC tunnels in Tenancy including DRG redundancy
@@ -48,7 +50,6 @@
# -ip - Use Instance Principals for Authentication
# -dt - Use Instance Principals with delegation token for cloud shell
##########################################################################
-
from __future__ import print_function
import sys
import argparse
diff --git a/examples/list_resources_in_tenancy/list_all_virtual_circuits_in_tenancy.py b/examples/list_resources_in_tenancy/list_all_virtual_circuits_in_tenancy.py
index e439fdcf31..dba338b494 100755
--- a/examples/list_resources_in_tenancy/list_all_virtual_circuits_in_tenancy.py
+++ b/examples/list_resources_in_tenancy/list_all_virtual_circuits_in_tenancy.py
@@ -8,6 +8,8 @@
# @author: Adi Zohar
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# List all Virtual Circuits in Tenancy including DRG redundancy
@@ -47,7 +49,6 @@
# -ip - Use Instance Principals for Authentication
# -dt - Use Instance Principals with delegation token for cloud shell
##########################################################################
-
from __future__ import print_function
import sys
import argparse
diff --git a/examples/list_resources_in_tenancy/list_bv_backups_in_tenancy.py b/examples/list_resources_in_tenancy/list_bv_backups_in_tenancy.py
index ceedbe62b2..ae47189a7d 100644
--- a/examples/list_resources_in_tenancy/list_bv_backups_in_tenancy.py
+++ b/examples/list_resources_in_tenancy/list_bv_backups_in_tenancy.py
@@ -8,6 +8,8 @@
# @author: Adi Zohar
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# List all boot volumes backups, volume backups and volume group backups in Tenancy
diff --git a/examples/list_resources_in_tenancy/list_compute_tags_in_tenancy.py b/examples/list_resources_in_tenancy/list_compute_tags_in_tenancy.py
index 8f13f7cf21..0cbf7a2aff 100755
--- a/examples/list_resources_in_tenancy/list_compute_tags_in_tenancy.py
+++ b/examples/list_resources_in_tenancy/list_compute_tags_in_tenancy.py
@@ -8,6 +8,8 @@
# @author: Adi Zohar
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# List all compute tags in Tenancy
diff --git a/examples/list_resources_in_tenancy/list_dbsystem_with_maintenance_in_tenancy.py b/examples/list_resources_in_tenancy/list_dbsystem_with_maintenance_in_tenancy.py
index b1de136085..30447f2298 100755
--- a/examples/list_resources_in_tenancy/list_dbsystem_with_maintenance_in_tenancy.py
+++ b/examples/list_resources_in_tenancy/list_dbsystem_with_maintenance_in_tenancy.py
@@ -8,6 +8,8 @@
# @author: Adi Zohar
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# List all dbsystems and exadatas including maintenance in Tenancy
diff --git a/examples/list_resources_in_tenancy/list_limits_per_compartments.py b/examples/list_resources_in_tenancy/list_limits_per_compartments.py
index 0c02a68579..e48ae5d2fc 100644
--- a/examples/list_resources_in_tenancy/list_limits_per_compartments.py
+++ b/examples/list_resources_in_tenancy/list_limits_per_compartments.py
@@ -8,6 +8,8 @@
# @author: Adi Zohar
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Application Command line parameters
#
diff --git a/examples/object_storage/README.md b/examples/object_storage/README.md
new file mode 100644
index 0000000000..172dbb1b6b
--- /dev/null
+++ b/examples/object_storage/README.md
@@ -0,0 +1,152 @@
+## Object Storage Utilities
+
+Object Storage Manipulation Tool allow customer to handle millions of object storage objects with simple scripts
+
+**DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
+
+**Developed by Adi Zohar, 2021**
+
+## Executing using Cloud Shell:
+```
+ 1. install oci sdk package
+ pip3 install --user oci
+
+ 2. clone the oci sdk repo
+ git clone https://github.com/oracle/oci-python-sdk
+
+ 3. Execute
+ cd $HOME/oci-python-sdk/examples/object_storage
+ python3 object_storage_bulk_copy.py -dt -parameters...
+ python3 object_storage_bulk_delete.py -dt -parameters...
+ python3 object_storage_bulk_restore.py -dt -parameters...
+ python3 object_storage_list_objects.py -dt -parameters...
+ python3 object_storage_bulk_rename.py -dt -parameters...
+```
+
+## object_storage_bulk_copy.py
+Bulk Copy objects between buckets / tenants / regions
+
+```
+usage: object_storage_bulk_copy.py [-h] [-t CONFIG_PROFILE] [-p PROXY] [-ip]
+ [-dt] [-c CONFIG_FILE] [-sb SOURCE_BUCKET]
+ [-sr SOURCE_REGION] [-sn SOURCE_NAMESPACE]
+ [-sp SOURCE_PREFIX_INCLUDE]
+ [-se SOURCE_PREFIX_EXCLUDE]
+ [-db DESTINATION_BUCKET]
+ [-dr DESTINATION_REGION]
+ [-dn DESTINATION_NAMESPACE] [-ig]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+ -c CONFIG_FILE Config File (default=~/.oci/config)
+ -sb SOURCE_BUCKET Source Bucket Name
+ -sr SOURCE_REGION Source Region (Default current connection)
+ -sn SOURCE_NAMESPACE Source Namespace (Default current connection)
+ -sp SOURCE_PREFIX_INCLUDE Source Prefix Include
+ -se SOURCE_PREFIX_EXCLUDE Source Prefix Exclude
+ -db DESTINATION_BUCKET Destination Bucket Name
+ -dr DESTINATION_REGION Destination Region
+ -dn DESTINATION_NAMESPACE Destination Namespace (Default current connection)
+ -ig Ignore Check if files exist at Destination
+```
+
+## object_storage_bulk_delete
+Bulk delete bucket objects from a bucket with option to filter
+
+```
+usage: object_storage_bulk_delete.py [-h] [-t CONFIG_PROFILE] [-p PROXY] [-ip]
+ [-dt] [-c CONFIG_FILE]
+ [-sb SOURCE_BUCKET] [-sp SOURCE_PREFIX]
+ [-se SOURCE_PREFIX_EXCLUDE]
+ [-exclude_dirs] [-sr SOURCE_REGION]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+ -c CONFIG_FILE Config File (default=~/.oci/config)
+ -sb SOURCE_BUCKET Source Bucket Name
+ -sp SOURCE_PREFIX Source Prefix Include
+ -se SOURCE_PREFIX_EXCLUDE Source Prefix Exclude
+ -exclude_dirs Exclude Directories
+ -sr SOURCE_REGION Source Region
+```
+
+## object_storage_bulk_restore
+Bulk restore objects that in archive state
+```
+usage: object_storage_bulk_restore.py [-h] [-t CONFIG_PROFILE] [-p PROXY]
+ [-ip] [-dt] [-c CONFIG_FILE]
+ [-sb SOURCE_BUCKET]
+ [-sp SOURCE_PREFIX_INCLUDE]
+ [-sr SOURCE_REGION]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+ -c CONFIG_FILE Config File (default=~/.oci/config)
+ -sb SOURCE_BUCKET Source Bucket Name
+ -sp SOURCE_PREFIX_INCLUDE Source Prefix Include
+ -sr SOURCE_REGION Source Region
+```
+
+## object_storage_list_objects
+Bulk list bucket objects or produce summary
+
+```
+usage: object_storage_list_objects.py [-h] [-t CONFIG_PROFILE] [-p PROXY]
+ [-ip] [-dt] [-c CONFIG_FILE]
+ [-sb SOURCE_BUCKET] [-sp SOURCE_PREFIX]
+ [-se SOURCE_PREFIX_EXCLUDE]
+ [-sr SOURCE_REGION] [-exclude_dirs]
+ [-f FILE] [-co]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+ -c CONFIG_FILE Config File (default=~/.oci/config)
+ -sb SOURCE_BUCKET Source Bucket Name
+ -sp SOURCE_PREFIX Source Prefix Include
+ -se SOURCE_PREFIX_EXCLUDE Source Prefix Exclude
+ -sr SOURCE_REGION Source Region
+ -exclude_dirs Exclude Directories
+ -f FILE Output to file (as csv)
+ -co Count only files and size
+```
+
+## object_storage_bulk_rename.py
+Bulk rename bucket objects, can be used to move objects to a "virtual" folder as well
+```
+usage: object_storage_bulk_rename.py [-h] [-t CONFIG_PROFILE] [-p PROXY] [-ip]
+ [-dt] [-c CONFIG_FILE]
+ [-sb SOURCE_BUCKET]
+ [-sp SOURCE_PREFIX_INCLUDE]
+ [-sr SOURCE_REGION]
+ [-textrem TEXT_REMOVE]
+ [-textadd TEXT_APPEND]
+
+optional arguments:
+ -h, --help show this help message and exit
+ -t CONFIG_PROFILE Config file section to use (tenancy profile)
+ -p PROXY Set Proxy (i.e. www-proxy-server.com:80)
+ -ip Use Instance Principals for Authentication
+ -dt Use Delegation Token for Authentication
+ -c CONFIG_FILE Config File (default=~/.oci/config)
+ -sb SOURCE_BUCKET Source Bucket Name
+ -sp SOURCE_PREFIX_INCLUDE Source Prefix Include
+ -sr SOURCE_REGION Source Region
+ -textrem TEXT_REMOVE text remove prefix (can be used to remove folder)
+ -textadd TEXT_APPEND text append prefix (can be used to add folder)
+```
\ No newline at end of file
diff --git a/examples/object_storage/object_storage_bulk_copy.py b/examples/object_storage/object_storage_bulk_copy.py
index 3478f88251..a2018fe069 100644
--- a/examples/object_storage/object_storage_bulk_copy.py
+++ b/examples/object_storage/object_storage_bulk_copy.py
@@ -8,6 +8,8 @@
# @author: Tim S and Adi Z
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# Bulk copy object storage bucket to other bucket with parallel threads
diff --git a/examples/object_storage/object_storage_bulk_delete.py b/examples/object_storage/object_storage_bulk_delete.py
index d57e0d733f..bcec7fe208 100644
--- a/examples/object_storage/object_storage_bulk_delete.py
+++ b/examples/object_storage/object_storage_bulk_delete.py
@@ -8,6 +8,8 @@
# @author: Adi Zohar
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# Bulk delete with parallel threads
diff --git a/examples/object_storage/object_storage_bulk_rename.py b/examples/object_storage/object_storage_bulk_rename.py
index c60f2aa054..f75e8cfe86 100644
--- a/examples/object_storage/object_storage_bulk_rename.py
+++ b/examples/object_storage/object_storage_bulk_rename.py
@@ -8,6 +8,8 @@
# @author: Adi Z
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# Bulk rename with parallel threads
diff --git a/examples/object_storage/object_storage_bulk_restore.py b/examples/object_storage/object_storage_bulk_restore.py
index 760d05f243..0c565d2989 100644
--- a/examples/object_storage/object_storage_bulk_restore.py
+++ b/examples/object_storage/object_storage_bulk_restore.py
@@ -8,6 +8,8 @@
# @author: Tim S and Adi Z
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# Bulk restore with parallel threads
diff --git a/examples/object_storage/object_storage_list_objects.py b/examples/object_storage/object_storage_list_objects.py
index 504f34bea3..38f34eaa9b 100644
--- a/examples/object_storage/object_storage_list_objects.py
+++ b/examples/object_storage/object_storage_list_objects.py
@@ -8,6 +8,8 @@
# @author: Adi Zohar, Oct 18th 2020
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# count objects or list objects with option to filter by prefix and write to file
diff --git a/examples/tag_resources_in_tenancy/tag_resources_in_tenancy.py b/examples/tag_resources_in_tenancy/tag_resources_in_tenancy.py
index 15bb54c302..1a221c89bf 100644
--- a/examples/tag_resources_in_tenancy/tag_resources_in_tenancy.py
+++ b/examples/tag_resources_in_tenancy/tag_resources_in_tenancy.py
@@ -8,6 +8,8 @@
# @author: Adi Zohar
#
# Supports Python 3
+#
+# DISCLAIMER – This is not an official Oracle application, It does not supported by Oracle Support, It should NOT be used for utilization calculation purposes
##########################################################################
# Info:
# Tag Resources in Tenancy
@@ -104,7 +106,7 @@ def get_string_dict(dic, namespace=False):
for key, val in dic.items():
if len(retval) > 0:
retval += ", "
- retval += key + "." + "".join("{}={}".format(k, v) for k, v in val.items())
+ retval += ", ".join("{}.{}={}".format(key, k, v) for k, v in val.items())
# if free
else:
retval = ', '.join("{}={}".format(k, v) for k, v in dic.items())
@@ -150,7 +152,7 @@ def command_line():
if ("defined" in cmd.action):
assign_tag_namespace = cmd.tag.split(".")[0]
assign_tag_key = cmd.tag.split(".")[1].split("=")[0]
- assign_tag_value = cmd.tag.split(".")[1].split("=")[1]
+ assign_tag_value = cmd.tag.split("=")[1]
if not (assign_tag_namespace or assign_tag_key or assign_tag_value):
print("Error with tag format, must be in format - namespace.key=value")
raise SystemExit
@@ -373,7 +375,7 @@ def handle_object(compartment, region_name, obj_name, list_object, update_object
if availability_domains:
array = oci.pagination.list_call_get_all_results(list_object, availability_domain, compartment.id, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY).data
elif namespace:
- array = oci.pagination.list_call_get_all_results(list_object, namespace, compartment.id, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY).data
+ array = oci.pagination.list_call_get_all_results(list_object, namespace, compartment.id, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY, fields=['tags']).data
else:
array = oci.pagination.list_call_get_all_results(list_object, compartment.id, retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY).data
except oci.exceptions.ServiceError as e:
@@ -385,7 +387,7 @@ def handle_object(compartment, region_name, obj_name, list_object, update_object
# loop on Array
for arr in array:
- if not namespace:
+ if not namespace and obj_name != "Network CPEs":
if arr.lifecycle_state == "TERMINATING" or arr.lifecycle_state == "TERMINATED":
continue
@@ -462,7 +464,11 @@ def handle_tags(defined_tags, freeform_tags):
# Del Key
if "del" in cmd.action:
if defined_tags_exist:
- defined_tags.pop(assign_tag_namespace, None)
+ # remove the key value
+ defined_tags[assign_tag_namespace].pop(assign_tag_key, None)
+ # dict is empty
+ if not defined_tags[assign_tag_namespace]:
+ defined_tags.pop(assign_tag_namespace, None)
tags_process = "Deleted"
# Add Key
@@ -470,7 +476,12 @@ def handle_tags(defined_tags, freeform_tags):
if not defined_tags_exist:
if not defined_tags:
defined_tags = {}
- defined_tags[assign_tag_namespace] = {assign_tag_key: assign_tag_value}
+
+ # if namespace exist, add to the dict.
+ if assign_tag_namespace in defined_tags:
+ defined_tags[assign_tag_namespace][assign_tag_key] = assign_tag_value
+ else:
+ defined_tags[assign_tag_namespace] = {assign_tag_key: assign_tag_value}
tags_process = "Added"
############################################
@@ -612,7 +623,6 @@ def main():
handle_object(compartment, region_name, "Network IPSECs", network_client.list_ip_sec_connections, network_client.update_ip_sec_connection, oci.core.models.UpdateIPSecConnectionDetails)
handle_object(compartment, region_name, "Network LPGs", network_client.list_local_peering_gateways, network_client.update_local_peering_gateway, oci.core.models.UpdateLocalPeeringGatewayDetails)
handle_object(compartment, region_name, "Network NATGWs", network_client.list_nat_gateways, network_client.update_nat_gateway, oci.core.models.UpdateNatGatewayDetails)
- handle_object(compartment, region_name, "Network NSGs", network_client.list_network_security_groups, network_client.update_network_security_group, oci.core.models.UpdateNetworkSecurityGroupDetails)
handle_object(compartment, region_name, "Network RPGs", network_client.list_remote_peering_connections, network_client.update_remote_peering_connection, oci.core.models.UpdateRemotePeeringConnectionDetails)
handle_object(compartment, region_name, "Network Routes", network_client.list_route_tables, network_client.update_route_table, oci.core.models.UpdateRouteTableDetails)
handle_object(compartment, region_name, "Network SLs", network_client.list_security_lists, network_client.update_security_list, oci.core.models.UpdateSecurityListDetails)
diff --git a/requirements.txt b/requirements.txt
index 984d3540a0..66c321360d 100755
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,6 +1,6 @@
autodocsumm==0.1.11
certifi
-configparser==4.0.2
+configparser==4.0.2; python_version < '3'
coverage==4.5.2
cryptography>=3.2.1,<=3.4.7
flake8==3.6.0
diff --git a/src/oci/__init__.py b/src/oci/__init__.py
index 38ff20a943..d8773f9c71 100644
--- a/src/oci/__init__.py
+++ b/src/oci/__init__.py
@@ -16,9 +16,9 @@
if os.getenv("OCI_PYTHON_SDK_NO_SERVICE_IMPORTS", "").lower() in ["true", "1"]:
pass
else:
- from . import ai_anomaly_detection, ai_language, analytics, announcements_service, apigateway, apm_config, apm_control_plane, apm_synthetics, apm_traces, application_migration, artifacts, audit, autoscaling, bastion, bds, blockchain, budget, cims, cloud_guard, compute_instance_agent, container_engine, core, data_catalog, data_flow, data_integration, data_labeling_service, data_labeling_service_dataplane, data_safe, data_science, database, database_management, database_migration, devops, dns, dts, email, events, file_storage, functions, generic_artifacts_content, golden_gate, healthchecks, identity, integration, jms, key_management, limits, load_balancer, log_analytics, logging, loggingingestion, loggingsearch, management_agent, management_dashboard, marketplace, monitoring, mysql, network_load_balancer, nosql, object_storage, oce, ocvp, oda, ons, operator_access_control, opsi, optimizer, os_management, resource_manager, resource_search, rover, sch, secrets, service_catalog, streaming, tenant_manager_control_plane, usage_api, vault, vulnerability_scanning, waas, waf, work_requests
+ from . import ai_anomaly_detection, ai_language, analytics, announcements_service, apigateway, apm_config, apm_control_plane, apm_synthetics, apm_traces, application_migration, artifacts, audit, autoscaling, bastion, bds, blockchain, budget, certificates, certificates_management, cims, cloud_guard, compute_instance_agent, container_engine, core, data_catalog, data_flow, data_integration, data_labeling_service, data_labeling_service_dataplane, data_safe, data_science, database, database_management, database_migration, devops, dns, dts, email, events, file_storage, functions, generic_artifacts_content, golden_gate, healthchecks, identity, integration, jms, key_management, limits, load_balancer, log_analytics, logging, loggingingestion, loggingsearch, management_agent, management_dashboard, marketplace, monitoring, mysql, network_load_balancer, nosql, object_storage, oce, ocvp, oda, ons, operator_access_control, opsi, optimizer, os_management, resource_manager, resource_search, rover, sch, secrets, service_catalog, streaming, tenant_manager_control_plane, usage_api, vault, vulnerability_scanning, waas, waf, work_requests
__all__ = [
"BaseClient", "Error", "Request", "Response", "Signer", "config", "constants", "decorators", "exceptions", "regions", "wait_until", "pagination", "auth", "retry", "fips", "circuit_breaker",
- "ai_anomaly_detection", "ai_language", "analytics", "announcements_service", "apigateway", "apm_config", "apm_control_plane", "apm_synthetics", "apm_traces", "application_migration", "artifacts", "audit", "autoscaling", "bastion", "bds", "blockchain", "budget", "cims", "cloud_guard", "compute_instance_agent", "container_engine", "core", "data_catalog", "data_flow", "data_integration", "data_labeling_service", "data_labeling_service_dataplane", "data_safe", "data_science", "database", "database_management", "database_migration", "devops", "dns", "dts", "email", "events", "file_storage", "functions", "generic_artifacts_content", "golden_gate", "healthchecks", "identity", "integration", "jms", "key_management", "limits", "load_balancer", "log_analytics", "logging", "loggingingestion", "loggingsearch", "management_agent", "management_dashboard", "marketplace", "monitoring", "mysql", "network_load_balancer", "nosql", "object_storage", "oce", "ocvp", "oda", "ons", "operator_access_control", "opsi", "optimizer", "os_management", "resource_manager", "resource_search", "rover", "sch", "secrets", "service_catalog", "streaming", "tenant_manager_control_plane", "usage_api", "vault", "vulnerability_scanning", "waas", "waf", "work_requests"
+ "ai_anomaly_detection", "ai_language", "analytics", "announcements_service", "apigateway", "apm_config", "apm_control_plane", "apm_synthetics", "apm_traces", "application_migration", "artifacts", "audit", "autoscaling", "bastion", "bds", "blockchain", "budget", "certificates", "certificates_management", "cims", "cloud_guard", "compute_instance_agent", "container_engine", "core", "data_catalog", "data_flow", "data_integration", "data_labeling_service", "data_labeling_service_dataplane", "data_safe", "data_science", "database", "database_management", "database_migration", "devops", "dns", "dts", "email", "events", "file_storage", "functions", "generic_artifacts_content", "golden_gate", "healthchecks", "identity", "integration", "jms", "key_management", "limits", "load_balancer", "log_analytics", "logging", "loggingingestion", "loggingsearch", "management_agent", "management_dashboard", "marketplace", "monitoring", "mysql", "network_load_balancer", "nosql", "object_storage", "oce", "ocvp", "oda", "ons", "operator_access_control", "opsi", "optimizer", "os_management", "resource_manager", "resource_search", "rover", "sch", "secrets", "service_catalog", "streaming", "tenant_manager_control_plane", "usage_api", "vault", "vulnerability_scanning", "waas", "waf", "work_requests"
]
diff --git a/src/oci/certificates/__init__.py b/src/oci/certificates/__init__.py
new file mode 100644
index 0000000000..3bb61317a9
--- /dev/null
+++ b/src/oci/certificates/__init__.py
@@ -0,0 +1,12 @@
+# 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 __future__ import absolute_import
+
+
+from .certificates_client import CertificatesClient
+from .certificates_client_composite_operations import CertificatesClientCompositeOperations
+from . import models
+
+__all__ = ["CertificatesClient", "CertificatesClientCompositeOperations", "models"]
diff --git a/src/oci/certificates/certificates_client.py b/src/oci/certificates/certificates_client.py
new file mode 100644
index 0000000000..28c6c50620
--- /dev/null
+++ b/src/oci/certificates/certificates_client.py
@@ -0,0 +1,646 @@
+# 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 __future__ import absolute_import
+
+from oci._vendor import requests # noqa: F401
+from oci._vendor import six
+
+from oci import retry, circuit_breaker # noqa: F401
+from oci.base_client import BaseClient
+from oci.config import get_config_value_or_default, validate_config
+from oci.signer import Signer
+from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
+from .models import certificates_type_mapping
+missing = Sentinel("Missing")
+
+
+class CertificatesClient(object):
+ """
+ API for retrieving certificates.
+ """
+
+ def __init__(self, config, **kwargs):
+ """
+ Creates a new service client
+
+ :param dict config:
+ Configuration keys and values as per `SDK and Tool Configuration `__.
+ The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
+ the dict using :py:meth:`~oci.config.validate_config`
+
+ :param str service_endpoint: (optional)
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
+ not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
+ need to specify a service endpoint.
+
+ :param timeout: (optional)
+ The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
+ as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
+ :type timeout: float or tuple(float, float)
+
+ :param signer: (optional)
+ The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
+ provided in the config parameter.
+
+ One use case for this parameter is for `Instance Principals authentication `__
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
+ Any value provided at the operation level will override whatever is specified 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 `__.
+
+ :param obj circuit_breaker_strategy: (optional)
+ A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
+ This client will not have circuit breakers enabled by default, users can use their own circuit breaker strategy or the convenient :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` provided by the SDK to enable it.
+ The specifics of circuit breaker strategy are described `here `__.
+
+ :param function circuit_breaker_callback: (optional)
+ Callback function to receive any exceptions triggerred by the circuit breaker.
+ """
+ validate_config(config, signer=kwargs.get('signer'))
+ if 'signer' in kwargs:
+ signer = kwargs['signer']
+
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
+ signer = get_signer_from_authentication_type(config)
+
+ else:
+ signer = Signer(
+ tenancy=config["tenancy"],
+ user=config["user"],
+ fingerprint=config["fingerprint"],
+ private_key_file_location=config.get("key_file"),
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
+ private_key_content=config.get("key_content")
+ )
+
+ base_client_init_kwargs = {
+ 'regional_client': True,
+ 'service_endpoint': kwargs.get('service_endpoint'),
+ 'base_path': '/20210224',
+ 'service_endpoint_template': 'https://certificates.{region}.oci.{secondLevelDomain}',
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY)
+ }
+ if 'timeout' in kwargs:
+ base_client_init_kwargs['timeout'] = kwargs.get('timeout')
+ self.base_client = BaseClient("certificates", config, signer, certificates_type_mapping, **base_client_init_kwargs)
+ self.retry_strategy = kwargs.get('retry_strategy')
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
+
+ def get_ca_bundle(self, ca_bundle_id, **kwargs):
+ """
+ Gets a ca-bundle bundle.
+
+
+ :param str ca_bundle_id: (required)
+ The OCID of the CA bundle.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates.models.CaBundle`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_ca_bundle API.
+ """
+ resource_path = "/caBundles/{caBundleId}"
+ 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_ca_bundle got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "caBundleId": ca_bundle_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CaBundle")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CaBundle")
+
+ def get_certificate_authority_bundle(self, certificate_authority_id, **kwargs):
+ """
+ Gets a certificate authority bundle that matches either the specified `stage`, `name`, or `versionNumber` parameter.
+ If none of these parameters are provided, the bundle for the certificate authority version marked as `CURRENT` will be returned.
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param int version_number: (optional)
+ The version number of the certificate authority (CA).
+
+ :param str certificate_authority_version_name: (optional)
+ The name of the certificate authority (CA). (This might be referred to as the name of the CA version, as every CA consists of at least one version.) Names are unique across versions of a given CA.
+
+ :param str stage: (optional)
+ The rotation state of the certificate version.
+
+ Allowed values are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED"
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates.models.CertificateAuthorityBundle`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_certificate_authority_bundle API.
+ """
+ resource_path = "/certificateAuthorityBundles/{certificateAuthorityId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "version_number",
+ "certificate_authority_version_name",
+ "stage"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_certificate_authority_bundle got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_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 'stage' in kwargs:
+ stage_allowed_values = ["CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED"]
+ if kwargs['stage'] not in stage_allowed_values:
+ raise ValueError(
+ "Invalid value for `stage`, must be one of {0}".format(stage_allowed_values)
+ )
+
+ query_params = {
+ "versionNumber": kwargs.get("version_number", missing),
+ "certificateAuthorityVersionName": kwargs.get("certificate_authority_version_name", missing),
+ "stage": kwargs.get("stage", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateAuthorityBundle")
+ 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="CertificateAuthorityBundle")
+
+ def get_certificate_bundle(self, certificate_id, **kwargs):
+ """
+ Gets a certificate bundle that matches either the specified `stage`, `versionName`, or `versionNumber` parameter.
+ If none of these parameters are provided, the bundle for the certificate version marked as `CURRENT` will be returned.
+
+ By default, the private key is not included in the query result, and a CertificateBundlePublicOnly is returned.
+ If the private key is needed, use the CertificateBundleTypeQueryParam parameter to get a CertificateBundleWithPrivateKey response.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param int version_number: (optional)
+ The version number of the certificate. The default value is 0, which means that this query parameter is ignored.
+
+ :param str certificate_version_name: (optional)
+ The name of the certificate. (This might be referred to as the name of the certificate version, as every certificate consists of at least one version.) Names are unique across versions of a given certificate.
+
+ :param str stage: (optional)
+ The rotation state of the certificate version.
+
+ Allowed values are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED"
+
+ :param str certificate_bundle_type: (optional)
+ The type of certificate bundle. By default, the private key fields are not returned. When querying for certificate bundles, to return results with certificate contents, the private key in PEM format, and the private key passphrase, specify the value of this parameter as `CERTIFICATE_CONTENT_WITH_PRIVATE_KEY`.
+
+ Allowed values are: "CERTIFICATE_CONTENT_PUBLIC_ONLY", "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY"
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates.models.CertificateBundle`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_certificate_bundle API.
+ """
+ resource_path = "/certificateBundles/{certificateId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "version_number",
+ "certificate_version_name",
+ "stage",
+ "certificate_bundle_type"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_certificate_bundle got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_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 'stage' in kwargs:
+ stage_allowed_values = ["CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED"]
+ if kwargs['stage'] not in stage_allowed_values:
+ raise ValueError(
+ "Invalid value for `stage`, must be one of {0}".format(stage_allowed_values)
+ )
+
+ if 'certificate_bundle_type' in kwargs:
+ certificate_bundle_type_allowed_values = ["CERTIFICATE_CONTENT_PUBLIC_ONLY", "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY"]
+ if kwargs['certificate_bundle_type'] not in certificate_bundle_type_allowed_values:
+ raise ValueError(
+ "Invalid value for `certificate_bundle_type`, must be one of {0}".format(certificate_bundle_type_allowed_values)
+ )
+
+ query_params = {
+ "versionNumber": kwargs.get("version_number", missing),
+ "certificateVersionName": kwargs.get("certificate_version_name", missing),
+ "stage": kwargs.get("stage", missing),
+ "certificateBundleType": kwargs.get("certificate_bundle_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateBundle")
+ 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="CertificateBundle")
+
+ def list_certificate_authority_bundle_versions(self, certificate_authority_id, **kwargs):
+ """
+ Lists all certificate authority bundle versions for the specified certificate authority.
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can specify only one sort order. The default
+ order for `VERSION_NUMBER` is ascending.
+
+ Allowed values are: "VERSION_NUMBER"
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates.models.CertificateAuthorityBundleVersionCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_certificate_authority_bundle_versions API.
+ """
+ resource_path = "/certificateAuthorityBundles/{certificateAuthorityId}/versions"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "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_certificate_authority_bundle_versions got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_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_by' in kwargs:
+ sort_by_allowed_values = ["VERSION_NUMBER"]
+ 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 = {
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateAuthorityBundleVersionCollection")
+ 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="CertificateAuthorityBundleVersionCollection")
+
+ def list_certificate_bundle_versions(self, certificate_id, **kwargs):
+ """
+ Lists all certificate bundle versions for the specified certificate.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can specify only one sort order. The default
+ order for `VERSION_NUMBER` is ascending.
+
+ Allowed values are: "VERSION_NUMBER"
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates.models.CertificateBundleVersionCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_certificate_bundle_versions API.
+ """
+ resource_path = "/certificateBundles/{certificateId}/versions"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "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_certificate_bundle_versions got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_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_by' in kwargs:
+ sort_by_allowed_values = ["VERSION_NUMBER"]
+ 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 = {
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateBundleVersionCollection")
+ 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="CertificateBundleVersionCollection")
diff --git a/src/oci/certificates/certificates_client_composite_operations.py b/src/oci/certificates/certificates_client_composite_operations.py
new file mode 100644
index 0000000000..fc7901b2e9
--- /dev/null
+++ b/src/oci/certificates/certificates_client_composite_operations.py
@@ -0,0 +1,24 @@
+# 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.
+
+import oci # noqa: F401
+from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
+
+
+class CertificatesClientCompositeOperations(object):
+ """
+ This class provides a wrapper around :py:class:`~oci.certificates.CertificatesClient` and offers convenience methods
+ for operations that would otherwise need to be chained together. For example, instead of performing an action
+ on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
+ to enter a given state, you can call a single method in this class to accomplish the same functionality
+ """
+
+ def __init__(self, client, **kwargs):
+ """
+ Creates a new CertificatesClientCompositeOperations object
+
+ :param CertificatesClient client:
+ The service client which will be wrapped by this object
+ """
+ self.client = client
diff --git a/src/oci/certificates/models/__init__.py b/src/oci/certificates/models/__init__.py
new file mode 100644
index 0000000000..cf38a5fa00
--- /dev/null
+++ b/src/oci/certificates/models/__init__.py
@@ -0,0 +1,32 @@
+# 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 __future__ import absolute_import
+
+from .ca_bundle import CaBundle
+from .certificate_authority_bundle import CertificateAuthorityBundle
+from .certificate_authority_bundle_version_collection import CertificateAuthorityBundleVersionCollection
+from .certificate_authority_bundle_version_summary import CertificateAuthorityBundleVersionSummary
+from .certificate_bundle import CertificateBundle
+from .certificate_bundle_public_only import CertificateBundlePublicOnly
+from .certificate_bundle_version_collection import CertificateBundleVersionCollection
+from .certificate_bundle_version_summary import CertificateBundleVersionSummary
+from .certificate_bundle_with_private_key import CertificateBundleWithPrivateKey
+from .revocation_status import RevocationStatus
+from .validity import Validity
+
+# Maps type names to classes for certificates services.
+certificates_type_mapping = {
+ "CaBundle": CaBundle,
+ "CertificateAuthorityBundle": CertificateAuthorityBundle,
+ "CertificateAuthorityBundleVersionCollection": CertificateAuthorityBundleVersionCollection,
+ "CertificateAuthorityBundleVersionSummary": CertificateAuthorityBundleVersionSummary,
+ "CertificateBundle": CertificateBundle,
+ "CertificateBundlePublicOnly": CertificateBundlePublicOnly,
+ "CertificateBundleVersionCollection": CertificateBundleVersionCollection,
+ "CertificateBundleVersionSummary": CertificateBundleVersionSummary,
+ "CertificateBundleWithPrivateKey": CertificateBundleWithPrivateKey,
+ "RevocationStatus": RevocationStatus,
+ "Validity": Validity
+}
diff --git a/src/oci/certificates/models/ca_bundle.py b/src/oci/certificates/models/ca_bundle.py
new file mode 100644
index 0000000000..128965c26a
--- /dev/null
+++ b/src/oci/certificates/models/ca_bundle.py
@@ -0,0 +1,132 @@
+# 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 CaBundle(object):
+ """
+ The contents of the CA bundle (root and intermediate certificates), properties of the CA bundle, and user-provided contextual metadata for the CA bundle.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CaBundle object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this CaBundle.
+ :type id: str
+
+ :param name:
+ The value to assign to the name property of this CaBundle.
+ :type name: str
+
+ :param ca_bundle_pem:
+ The value to assign to the ca_bundle_pem property of this CaBundle.
+ :type ca_bundle_pem: str
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'name': 'str',
+ 'ca_bundle_pem': 'str'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'name': 'name',
+ 'ca_bundle_pem': 'caBundlePem'
+ }
+
+ self._id = None
+ self._name = None
+ self._ca_bundle_pem = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this CaBundle.
+ The OCID of the CA bundle.
+
+
+ :return: The id of this CaBundle.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this CaBundle.
+ The OCID of the CA bundle.
+
+
+ :param id: The id of this CaBundle.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CaBundle.
+ A user-friendly name for the CA bundle. Names are unique within a compartment. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this CaBundle.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CaBundle.
+ A user-friendly name for the CA bundle. Names are unique within a compartment. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this CaBundle.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def ca_bundle_pem(self):
+ """
+ **[Required]** Gets the ca_bundle_pem of this CaBundle.
+ Certificates (in PEM format) in the CA bundle. Can be of arbitrary length.
+
+
+ :return: The ca_bundle_pem of this CaBundle.
+ :rtype: str
+ """
+ return self._ca_bundle_pem
+
+ @ca_bundle_pem.setter
+ def ca_bundle_pem(self, ca_bundle_pem):
+ """
+ Sets the ca_bundle_pem of this CaBundle.
+ Certificates (in PEM format) in the CA bundle. Can be of arbitrary length.
+
+
+ :param ca_bundle_pem: The ca_bundle_pem of this CaBundle.
+ :type: str
+ """
+ self._ca_bundle_pem = ca_bundle_pem
+
+ 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/certificates/models/certificate_authority_bundle.py b/src/oci/certificates/models/certificate_authority_bundle.py
new file mode 100644
index 0000000000..b7e790dcc5
--- /dev/null
+++ b/src/oci/certificates/models/certificate_authority_bundle.py
@@ -0,0 +1,412 @@
+# 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 CertificateAuthorityBundle(object):
+ """
+ The contents of the certificate, properties of the certificate (and certificate version), and user-provided contextual metadata for the certificate.
+ """
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundle.
+ #: This constant has a value of "CURRENT"
+ STAGES_CURRENT = "CURRENT"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundle.
+ #: This constant has a value of "PENDING"
+ STAGES_PENDING = "PENDING"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundle.
+ #: This constant has a value of "LATEST"
+ STAGES_LATEST = "LATEST"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundle.
+ #: This constant has a value of "PREVIOUS"
+ STAGES_PREVIOUS = "PREVIOUS"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundle.
+ #: This constant has a value of "DEPRECATED"
+ STAGES_DEPRECATED = "DEPRECATED"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundle.
+ #: This constant has a value of "FAILED"
+ STAGES_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthorityBundle object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_authority_id:
+ The value to assign to the certificate_authority_id property of this CertificateAuthorityBundle.
+ :type certificate_authority_id: str
+
+ :param certificate_authority_name:
+ The value to assign to the certificate_authority_name property of this CertificateAuthorityBundle.
+ :type certificate_authority_name: str
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateAuthorityBundle.
+ :type serial_number: str
+
+ :param certificate_pem:
+ The value to assign to the certificate_pem property of this CertificateAuthorityBundle.
+ :type certificate_pem: str
+
+ :param cert_chain_pem:
+ The value to assign to the cert_chain_pem property of this CertificateAuthorityBundle.
+ :type cert_chain_pem: str
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateAuthorityBundle.
+ :type version_name: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateAuthorityBundle.
+ :type time_created: datetime
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateAuthorityBundle.
+ :type version_number: int
+
+ :param validity:
+ The value to assign to the validity property of this CertificateAuthorityBundle.
+ :type validity: oci.certificates.models.Validity
+
+ :param stages:
+ The value to assign to the stages property of this CertificateAuthorityBundle.
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type stages: list[str]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateAuthorityBundle.
+ :type revocation_status: oci.certificates.models.RevocationStatus
+
+ """
+ self.swagger_types = {
+ 'certificate_authority_id': 'str',
+ 'certificate_authority_name': 'str',
+ 'serial_number': 'str',
+ 'certificate_pem': 'str',
+ 'cert_chain_pem': 'str',
+ 'version_name': 'str',
+ 'time_created': 'datetime',
+ 'version_number': 'int',
+ 'validity': 'Validity',
+ 'stages': 'list[str]',
+ 'revocation_status': 'RevocationStatus'
+ }
+
+ self.attribute_map = {
+ 'certificate_authority_id': 'certificateAuthorityId',
+ 'certificate_authority_name': 'certificateAuthorityName',
+ 'serial_number': 'serialNumber',
+ 'certificate_pem': 'certificatePem',
+ 'cert_chain_pem': 'certChainPem',
+ 'version_name': 'versionName',
+ 'time_created': 'timeCreated',
+ 'version_number': 'versionNumber',
+ 'validity': 'validity',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus'
+ }
+
+ self._certificate_authority_id = None
+ self._certificate_authority_name = None
+ self._serial_number = None
+ self._certificate_pem = None
+ self._cert_chain_pem = None
+ self._version_name = None
+ self._time_created = None
+ self._version_number = None
+ self._validity = None
+ self._stages = None
+ self._revocation_status = None
+
+ @property
+ def certificate_authority_id(self):
+ """
+ **[Required]** Gets the certificate_authority_id of this CertificateAuthorityBundle.
+ The OCID of the certificate authority (CA).
+
+
+ :return: The certificate_authority_id of this CertificateAuthorityBundle.
+ :rtype: str
+ """
+ return self._certificate_authority_id
+
+ @certificate_authority_id.setter
+ def certificate_authority_id(self, certificate_authority_id):
+ """
+ Sets the certificate_authority_id of this CertificateAuthorityBundle.
+ The OCID of the certificate authority (CA).
+
+
+ :param certificate_authority_id: The certificate_authority_id of this CertificateAuthorityBundle.
+ :type: str
+ """
+ self._certificate_authority_id = certificate_authority_id
+
+ @property
+ def certificate_authority_name(self):
+ """
+ **[Required]** Gets the certificate_authority_name of this CertificateAuthorityBundle.
+ The name of the CA.
+
+
+ :return: The certificate_authority_name of this CertificateAuthorityBundle.
+ :rtype: str
+ """
+ return self._certificate_authority_name
+
+ @certificate_authority_name.setter
+ def certificate_authority_name(self, certificate_authority_name):
+ """
+ Sets the certificate_authority_name of this CertificateAuthorityBundle.
+ The name of the CA.
+
+
+ :param certificate_authority_name: The certificate_authority_name of this CertificateAuthorityBundle.
+ :type: str
+ """
+ self._certificate_authority_name = certificate_authority_name
+
+ @property
+ def serial_number(self):
+ """
+ **[Required]** Gets the serial_number of this CertificateAuthorityBundle.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :return: The serial_number of this CertificateAuthorityBundle.
+ :rtype: str
+ """
+ return self._serial_number
+
+ @serial_number.setter
+ def serial_number(self, serial_number):
+ """
+ Sets the serial_number of this CertificateAuthorityBundle.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :param serial_number: The serial_number of this CertificateAuthorityBundle.
+ :type: str
+ """
+ self._serial_number = serial_number
+
+ @property
+ def certificate_pem(self):
+ """
+ **[Required]** Gets the certificate_pem of this CertificateAuthorityBundle.
+ The certificate (in PEM format) for this CA version.
+
+
+ :return: The certificate_pem of this CertificateAuthorityBundle.
+ :rtype: str
+ """
+ return self._certificate_pem
+
+ @certificate_pem.setter
+ def certificate_pem(self, certificate_pem):
+ """
+ Sets the certificate_pem of this CertificateAuthorityBundle.
+ The certificate (in PEM format) for this CA version.
+
+
+ :param certificate_pem: The certificate_pem of this CertificateAuthorityBundle.
+ :type: str
+ """
+ self._certificate_pem = certificate_pem
+
+ @property
+ def cert_chain_pem(self):
+ """
+ Gets the cert_chain_pem of this CertificateAuthorityBundle.
+ The certificate chain (in PEM format) for this CA version.
+
+
+ :return: The cert_chain_pem of this CertificateAuthorityBundle.
+ :rtype: str
+ """
+ return self._cert_chain_pem
+
+ @cert_chain_pem.setter
+ def cert_chain_pem(self, cert_chain_pem):
+ """
+ Sets the cert_chain_pem of this CertificateAuthorityBundle.
+ The certificate chain (in PEM format) for this CA version.
+
+
+ :param cert_chain_pem: The cert_chain_pem of this CertificateAuthorityBundle.
+ :type: str
+ """
+ self._cert_chain_pem = cert_chain_pem
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CertificateAuthorityBundle.
+ The name of the CA.
+
+
+ :return: The version_name of this CertificateAuthorityBundle.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CertificateAuthorityBundle.
+ The name of the CA.
+
+
+ :param version_name: The version_name of this CertificateAuthorityBundle.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateAuthorityBundle.
+ A property indicating when the CA was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateAuthorityBundle.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateAuthorityBundle.
+ A property indicating when the CA was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateAuthorityBundle.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def version_number(self):
+ """
+ **[Required]** Gets the version_number of this CertificateAuthorityBundle.
+ The version number of the CA.
+
+
+ :return: The version_number of this CertificateAuthorityBundle.
+ :rtype: int
+ """
+ return self._version_number
+
+ @version_number.setter
+ def version_number(self, version_number):
+ """
+ Sets the version_number of this CertificateAuthorityBundle.
+ The version number of the CA.
+
+
+ :param version_number: The version_number of this CertificateAuthorityBundle.
+ :type: int
+ """
+ self._version_number = version_number
+
+ @property
+ def validity(self):
+ """
+ **[Required]** Gets the validity of this CertificateAuthorityBundle.
+
+ :return: The validity of this CertificateAuthorityBundle.
+ :rtype: oci.certificates.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CertificateAuthorityBundle.
+
+ :param validity: The validity of this CertificateAuthorityBundle.
+ :type: oci.certificates.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def stages(self):
+ """
+ **[Required]** Gets the stages of this CertificateAuthorityBundle.
+ A list of rotation states for this CA.
+
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The stages of this CertificateAuthorityBundle.
+ :rtype: list[str]
+ """
+ return self._stages
+
+ @stages.setter
+ def stages(self, stages):
+ """
+ Sets the stages of this CertificateAuthorityBundle.
+ A list of rotation states for this CA.
+
+
+ :param stages: The stages of this CertificateAuthorityBundle.
+ :type: list[str]
+ """
+ allowed_values = ["CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED"]
+ if stages:
+ stages[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in stages]
+ self._stages = stages
+
+ @property
+ def revocation_status(self):
+ """
+ Gets the revocation_status of this CertificateAuthorityBundle.
+
+ :return: The revocation_status of this CertificateAuthorityBundle.
+ :rtype: oci.certificates.models.RevocationStatus
+ """
+ return self._revocation_status
+
+ @revocation_status.setter
+ def revocation_status(self, revocation_status):
+ """
+ Sets the revocation_status of this CertificateAuthorityBundle.
+
+ :param revocation_status: The revocation_status of this CertificateAuthorityBundle.
+ :type: oci.certificates.models.RevocationStatus
+ """
+ self._revocation_status = revocation_status
+
+ 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/certificates/models/certificate_authority_bundle_version_collection.py b/src/oci/certificates/models/certificate_authority_bundle_version_collection.py
new file mode 100644
index 0000000000..81d91f6f57
--- /dev/null
+++ b/src/oci/certificates/models/certificate_authority_bundle_version_collection.py
@@ -0,0 +1,70 @@
+# 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 CertificateAuthorityBundleVersionCollection(object):
+ """
+ The results of a certificate authority (CA) version search. Results contain CA version summary objects and other data.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthorityBundleVersionCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this CertificateAuthorityBundleVersionCollection.
+ :type items: list[oci.certificates.models.CertificateAuthorityBundleVersionSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[CertificateAuthorityBundleVersionSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this CertificateAuthorityBundleVersionCollection.
+ A list of CA version summary objects.
+
+
+ :return: The items of this CertificateAuthorityBundleVersionCollection.
+ :rtype: list[oci.certificates.models.CertificateAuthorityBundleVersionSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this CertificateAuthorityBundleVersionCollection.
+ A list of CA version summary objects.
+
+
+ :param items: The items of this CertificateAuthorityBundleVersionCollection.
+ :type: list[oci.certificates.models.CertificateAuthorityBundleVersionSummary]
+ """
+ self._items = items
+
+ 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/certificates/models/certificate_authority_bundle_version_summary.py b/src/oci/certificates/models/certificate_authority_bundle_version_summary.py
new file mode 100644
index 0000000000..249d60c47c
--- /dev/null
+++ b/src/oci/certificates/models/certificate_authority_bundle_version_summary.py
@@ -0,0 +1,387 @@
+# 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 CertificateAuthorityBundleVersionSummary(object):
+ """
+ The properties of a version of a bundle for a certificate authority (CA). Certificate authority bundle version summary objects do not include the actual contents of the certificate.
+ """
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
+ #: This constant has a value of "CURRENT"
+ STAGES_CURRENT = "CURRENT"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
+ #: This constant has a value of "PENDING"
+ STAGES_PENDING = "PENDING"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
+ #: This constant has a value of "LATEST"
+ STAGES_LATEST = "LATEST"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
+ #: This constant has a value of "PREVIOUS"
+ STAGES_PREVIOUS = "PREVIOUS"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
+ #: This constant has a value of "DEPRECATED"
+ STAGES_DEPRECATED = "DEPRECATED"
+
+ #: A constant which can be used with the stages property of a CertificateAuthorityBundleVersionSummary.
+ #: This constant has a value of "FAILED"
+ STAGES_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthorityBundleVersionSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_authority_id:
+ The value to assign to the certificate_authority_id property of this CertificateAuthorityBundleVersionSummary.
+ :type certificate_authority_id: str
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateAuthorityBundleVersionSummary.
+ :type serial_number: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateAuthorityBundleVersionSummary.
+ :type time_created: datetime
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateAuthorityBundleVersionSummary.
+ :type version_number: int
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateAuthorityBundleVersionSummary.
+ :type version_name: str
+
+ :param certificate_authority_name:
+ The value to assign to the certificate_authority_name property of this CertificateAuthorityBundleVersionSummary.
+ :type certificate_authority_name: str
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this CertificateAuthorityBundleVersionSummary.
+ :type time_of_deletion: datetime
+
+ :param validity:
+ The value to assign to the validity property of this CertificateAuthorityBundleVersionSummary.
+ :type validity: oci.certificates.models.Validity
+
+ :param stages:
+ The value to assign to the stages property of this CertificateAuthorityBundleVersionSummary.
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type stages: list[str]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateAuthorityBundleVersionSummary.
+ :type revocation_status: oci.certificates.models.RevocationStatus
+
+ """
+ self.swagger_types = {
+ 'certificate_authority_id': 'str',
+ 'serial_number': 'str',
+ 'time_created': 'datetime',
+ 'version_number': 'int',
+ 'version_name': 'str',
+ 'certificate_authority_name': 'str',
+ 'time_of_deletion': 'datetime',
+ 'validity': 'Validity',
+ 'stages': 'list[str]',
+ 'revocation_status': 'RevocationStatus'
+ }
+
+ self.attribute_map = {
+ 'certificate_authority_id': 'certificateAuthorityId',
+ 'serial_number': 'serialNumber',
+ 'time_created': 'timeCreated',
+ 'version_number': 'versionNumber',
+ 'version_name': 'versionName',
+ 'certificate_authority_name': 'certificateAuthorityName',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'validity': 'validity',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus'
+ }
+
+ self._certificate_authority_id = None
+ self._serial_number = None
+ self._time_created = None
+ self._version_number = None
+ self._version_name = None
+ self._certificate_authority_name = None
+ self._time_of_deletion = None
+ self._validity = None
+ self._stages = None
+ self._revocation_status = None
+
+ @property
+ def certificate_authority_id(self):
+ """
+ **[Required]** Gets the certificate_authority_id of this CertificateAuthorityBundleVersionSummary.
+ The OCID of the certificate authority (CA).
+
+
+ :return: The certificate_authority_id of this CertificateAuthorityBundleVersionSummary.
+ :rtype: str
+ """
+ return self._certificate_authority_id
+
+ @certificate_authority_id.setter
+ def certificate_authority_id(self, certificate_authority_id):
+ """
+ Sets the certificate_authority_id of this CertificateAuthorityBundleVersionSummary.
+ The OCID of the certificate authority (CA).
+
+
+ :param certificate_authority_id: The certificate_authority_id of this CertificateAuthorityBundleVersionSummary.
+ :type: str
+ """
+ self._certificate_authority_id = certificate_authority_id
+
+ @property
+ def serial_number(self):
+ """
+ Gets the serial_number of this CertificateAuthorityBundleVersionSummary.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :return: The serial_number of this CertificateAuthorityBundleVersionSummary.
+ :rtype: str
+ """
+ return self._serial_number
+
+ @serial_number.setter
+ def serial_number(self, serial_number):
+ """
+ Sets the serial_number of this CertificateAuthorityBundleVersionSummary.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :param serial_number: The serial_number of this CertificateAuthorityBundleVersionSummary.
+ :type: str
+ """
+ self._serial_number = serial_number
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateAuthorityBundleVersionSummary.
+ An optional property indicating when the CA version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateAuthorityBundleVersionSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateAuthorityBundleVersionSummary.
+ An optional property indicating when the CA version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateAuthorityBundleVersionSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def version_number(self):
+ """
+ **[Required]** Gets the version_number of this CertificateAuthorityBundleVersionSummary.
+ The version number of the CA.
+
+
+ :return: The version_number of this CertificateAuthorityBundleVersionSummary.
+ :rtype: int
+ """
+ return self._version_number
+
+ @version_number.setter
+ def version_number(self, version_number):
+ """
+ Sets the version_number of this CertificateAuthorityBundleVersionSummary.
+ The version number of the CA.
+
+
+ :param version_number: The version_number of this CertificateAuthorityBundleVersionSummary.
+ :type: int
+ """
+ self._version_number = version_number
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CertificateAuthorityBundleVersionSummary.
+ The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA.
+
+
+ :return: The version_name of this CertificateAuthorityBundleVersionSummary.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CertificateAuthorityBundleVersionSummary.
+ The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA.
+
+
+ :param version_name: The version_name of this CertificateAuthorityBundleVersionSummary.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def certificate_authority_name(self):
+ """
+ **[Required]** Gets the certificate_authority_name of this CertificateAuthorityBundleVersionSummary.
+ The name of the CA.
+
+
+ :return: The certificate_authority_name of this CertificateAuthorityBundleVersionSummary.
+ :rtype: str
+ """
+ return self._certificate_authority_name
+
+ @certificate_authority_name.setter
+ def certificate_authority_name(self, certificate_authority_name):
+ """
+ Sets the certificate_authority_name of this CertificateAuthorityBundleVersionSummary.
+ The name of the CA.
+
+
+ :param certificate_authority_name: The certificate_authority_name of this CertificateAuthorityBundleVersionSummary.
+ :type: str
+ """
+ self._certificate_authority_name = certificate_authority_name
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this CertificateAuthorityBundleVersionSummary.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this CertificateAuthorityBundleVersionSummary.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this CertificateAuthorityBundleVersionSummary.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this CertificateAuthorityBundleVersionSummary.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CertificateAuthorityBundleVersionSummary.
+
+ :return: The validity of this CertificateAuthorityBundleVersionSummary.
+ :rtype: oci.certificates.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CertificateAuthorityBundleVersionSummary.
+
+ :param validity: The validity of this CertificateAuthorityBundleVersionSummary.
+ :type: oci.certificates.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def stages(self):
+ """
+ **[Required]** Gets the stages of this CertificateAuthorityBundleVersionSummary.
+ A list of rotation states for this CA version.
+
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The stages of this CertificateAuthorityBundleVersionSummary.
+ :rtype: list[str]
+ """
+ return self._stages
+
+ @stages.setter
+ def stages(self, stages):
+ """
+ Sets the stages of this CertificateAuthorityBundleVersionSummary.
+ A list of rotation states for this CA version.
+
+
+ :param stages: The stages of this CertificateAuthorityBundleVersionSummary.
+ :type: list[str]
+ """
+ allowed_values = ["CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED"]
+ if stages:
+ stages[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in stages]
+ self._stages = stages
+
+ @property
+ def revocation_status(self):
+ """
+ Gets the revocation_status of this CertificateAuthorityBundleVersionSummary.
+
+ :return: The revocation_status of this CertificateAuthorityBundleVersionSummary.
+ :rtype: oci.certificates.models.RevocationStatus
+ """
+ return self._revocation_status
+
+ @revocation_status.setter
+ def revocation_status(self, revocation_status):
+ """
+ Sets the revocation_status of this CertificateAuthorityBundleVersionSummary.
+
+ :param revocation_status: The revocation_status of this CertificateAuthorityBundleVersionSummary.
+ :type: oci.certificates.models.RevocationStatus
+ """
+ self._revocation_status = revocation_status
+
+ 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/certificates/models/certificate_bundle.py b/src/oci/certificates/models/certificate_bundle.py
new file mode 100644
index 0000000000..4d2de300f3
--- /dev/null
+++ b/src/oci/certificates/models/certificate_bundle.py
@@ -0,0 +1,480 @@
+# 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 CertificateBundle(object):
+ """
+ The contents of the certificate, properties of the certificate (and certificate version), and user-provided contextual metadata for the certificate.
+ """
+
+ #: A constant which can be used with the certificate_bundle_type property of a CertificateBundle.
+ #: This constant has a value of "CERTIFICATE_CONTENT_PUBLIC_ONLY"
+ CERTIFICATE_BUNDLE_TYPE_CERTIFICATE_CONTENT_PUBLIC_ONLY = "CERTIFICATE_CONTENT_PUBLIC_ONLY"
+
+ #: A constant which can be used with the certificate_bundle_type property of a CertificateBundle.
+ #: This constant has a value of "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY"
+ CERTIFICATE_BUNDLE_TYPE_CERTIFICATE_CONTENT_WITH_PRIVATE_KEY = "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY"
+
+ #: A constant which can be used with the stages property of a CertificateBundle.
+ #: This constant has a value of "CURRENT"
+ STAGES_CURRENT = "CURRENT"
+
+ #: A constant which can be used with the stages property of a CertificateBundle.
+ #: This constant has a value of "PENDING"
+ STAGES_PENDING = "PENDING"
+
+ #: A constant which can be used with the stages property of a CertificateBundle.
+ #: This constant has a value of "LATEST"
+ STAGES_LATEST = "LATEST"
+
+ #: A constant which can be used with the stages property of a CertificateBundle.
+ #: This constant has a value of "PREVIOUS"
+ STAGES_PREVIOUS = "PREVIOUS"
+
+ #: A constant which can be used with the stages property of a CertificateBundle.
+ #: This constant has a value of "DEPRECATED"
+ STAGES_DEPRECATED = "DEPRECATED"
+
+ #: A constant which can be used with the stages property of a CertificateBundle.
+ #: This constant has a value of "FAILED"
+ STAGES_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateBundle object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
+ to a service operations then you should favor using a subclass over the base class:
+
+ * :class:`~oci.certificates.models.CertificateBundlePublicOnly`
+ * :class:`~oci.certificates.models.CertificateBundleWithPrivateKey`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_bundle_type:
+ The value to assign to the certificate_bundle_type property of this CertificateBundle.
+ Allowed values for this property are: "CERTIFICATE_CONTENT_PUBLIC_ONLY", "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type certificate_bundle_type: str
+
+ :param certificate_id:
+ The value to assign to the certificate_id property of this CertificateBundle.
+ :type certificate_id: str
+
+ :param certificate_name:
+ The value to assign to the certificate_name property of this CertificateBundle.
+ :type certificate_name: str
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateBundle.
+ :type version_number: int
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateBundle.
+ :type serial_number: str
+
+ :param certificate_pem:
+ The value to assign to the certificate_pem property of this CertificateBundle.
+ :type certificate_pem: str
+
+ :param cert_chain_pem:
+ The value to assign to the cert_chain_pem property of this CertificateBundle.
+ :type cert_chain_pem: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateBundle.
+ :type time_created: datetime
+
+ :param validity:
+ The value to assign to the validity property of this CertificateBundle.
+ :type validity: oci.certificates.models.Validity
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateBundle.
+ :type version_name: str
+
+ :param stages:
+ The value to assign to the stages property of this CertificateBundle.
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type stages: list[str]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateBundle.
+ :type revocation_status: oci.certificates.models.RevocationStatus
+
+ """
+ self.swagger_types = {
+ 'certificate_bundle_type': 'str',
+ 'certificate_id': 'str',
+ 'certificate_name': 'str',
+ 'version_number': 'int',
+ 'serial_number': 'str',
+ 'certificate_pem': 'str',
+ 'cert_chain_pem': 'str',
+ 'time_created': 'datetime',
+ 'validity': 'Validity',
+ 'version_name': 'str',
+ 'stages': 'list[str]',
+ 'revocation_status': 'RevocationStatus'
+ }
+
+ self.attribute_map = {
+ 'certificate_bundle_type': 'certificateBundleType',
+ 'certificate_id': 'certificateId',
+ 'certificate_name': 'certificateName',
+ 'version_number': 'versionNumber',
+ 'serial_number': 'serialNumber',
+ 'certificate_pem': 'certificatePem',
+ 'cert_chain_pem': 'certChainPem',
+ 'time_created': 'timeCreated',
+ 'validity': 'validity',
+ 'version_name': 'versionName',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus'
+ }
+
+ self._certificate_bundle_type = None
+ self._certificate_id = None
+ self._certificate_name = None
+ self._version_number = None
+ self._serial_number = None
+ self._certificate_pem = None
+ self._cert_chain_pem = None
+ self._time_created = None
+ self._validity = None
+ self._version_name = None
+ self._stages = None
+ self._revocation_status = None
+
+ @staticmethod
+ def get_subtype(object_dictionary):
+ """
+ Given the hash representation of a subtype of this class,
+ use the info in the hash to return the class of the subtype.
+ """
+ type = object_dictionary['certificateBundleType']
+
+ if type == 'CERTIFICATE_CONTENT_PUBLIC_ONLY':
+ return 'CertificateBundlePublicOnly'
+
+ if type == 'CERTIFICATE_CONTENT_WITH_PRIVATE_KEY':
+ return 'CertificateBundleWithPrivateKey'
+ else:
+ return 'CertificateBundle'
+
+ @property
+ def certificate_bundle_type(self):
+ """
+ **[Required]** Gets the certificate_bundle_type of this CertificateBundle.
+ The type of certificate bundle, which indicates whether the private key fields are included.
+
+ Allowed values for this property are: "CERTIFICATE_CONTENT_PUBLIC_ONLY", "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The certificate_bundle_type of this CertificateBundle.
+ :rtype: str
+ """
+ return self._certificate_bundle_type
+
+ @certificate_bundle_type.setter
+ def certificate_bundle_type(self, certificate_bundle_type):
+ """
+ Sets the certificate_bundle_type of this CertificateBundle.
+ The type of certificate bundle, which indicates whether the private key fields are included.
+
+
+ :param certificate_bundle_type: The certificate_bundle_type of this CertificateBundle.
+ :type: str
+ """
+ allowed_values = ["CERTIFICATE_CONTENT_PUBLIC_ONLY", "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY"]
+ if not value_allowed_none_or_none_sentinel(certificate_bundle_type, allowed_values):
+ certificate_bundle_type = 'UNKNOWN_ENUM_VALUE'
+ self._certificate_bundle_type = certificate_bundle_type
+
+ @property
+ def certificate_id(self):
+ """
+ **[Required]** Gets the certificate_id of this CertificateBundle.
+ The OCID of the certificate.
+
+
+ :return: The certificate_id of this CertificateBundle.
+ :rtype: str
+ """
+ return self._certificate_id
+
+ @certificate_id.setter
+ def certificate_id(self, certificate_id):
+ """
+ Sets the certificate_id of this CertificateBundle.
+ The OCID of the certificate.
+
+
+ :param certificate_id: The certificate_id of this CertificateBundle.
+ :type: str
+ """
+ self._certificate_id = certificate_id
+
+ @property
+ def certificate_name(self):
+ """
+ **[Required]** Gets the certificate_name of this CertificateBundle.
+ The name of the certificate.
+
+
+ :return: The certificate_name of this CertificateBundle.
+ :rtype: str
+ """
+ return self._certificate_name
+
+ @certificate_name.setter
+ def certificate_name(self, certificate_name):
+ """
+ Sets the certificate_name of this CertificateBundle.
+ The name of the certificate.
+
+
+ :param certificate_name: The certificate_name of this CertificateBundle.
+ :type: str
+ """
+ self._certificate_name = certificate_name
+
+ @property
+ def version_number(self):
+ """
+ **[Required]** Gets the version_number of this CertificateBundle.
+ The version number of the certificate.
+
+
+ :return: The version_number of this CertificateBundle.
+ :rtype: int
+ """
+ return self._version_number
+
+ @version_number.setter
+ def version_number(self, version_number):
+ """
+ Sets the version_number of this CertificateBundle.
+ The version number of the certificate.
+
+
+ :param version_number: The version_number of this CertificateBundle.
+ :type: int
+ """
+ self._version_number = version_number
+
+ @property
+ def serial_number(self):
+ """
+ **[Required]** Gets the serial_number of this CertificateBundle.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :return: The serial_number of this CertificateBundle.
+ :rtype: str
+ """
+ return self._serial_number
+
+ @serial_number.setter
+ def serial_number(self, serial_number):
+ """
+ Sets the serial_number of this CertificateBundle.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :param serial_number: The serial_number of this CertificateBundle.
+ :type: str
+ """
+ self._serial_number = serial_number
+
+ @property
+ def certificate_pem(self):
+ """
+ Gets the certificate_pem of this CertificateBundle.
+ The certificate in PEM format.
+
+
+ :return: The certificate_pem of this CertificateBundle.
+ :rtype: str
+ """
+ return self._certificate_pem
+
+ @certificate_pem.setter
+ def certificate_pem(self, certificate_pem):
+ """
+ Sets the certificate_pem of this CertificateBundle.
+ The certificate in PEM format.
+
+
+ :param certificate_pem: The certificate_pem of this CertificateBundle.
+ :type: str
+ """
+ self._certificate_pem = certificate_pem
+
+ @property
+ def cert_chain_pem(self):
+ """
+ Gets the cert_chain_pem of this CertificateBundle.
+ The certificate chain (in PEM format) for the certificate bundle.
+
+
+ :return: The cert_chain_pem of this CertificateBundle.
+ :rtype: str
+ """
+ return self._cert_chain_pem
+
+ @cert_chain_pem.setter
+ def cert_chain_pem(self, cert_chain_pem):
+ """
+ Sets the cert_chain_pem of this CertificateBundle.
+ The certificate chain (in PEM format) for the certificate bundle.
+
+
+ :param cert_chain_pem: The cert_chain_pem of this CertificateBundle.
+ :type: str
+ """
+ self._cert_chain_pem = cert_chain_pem
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateBundle.
+ An optional property indicating when the certificate version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateBundle.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateBundle.
+ An optional property indicating when the certificate version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateBundle.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def validity(self):
+ """
+ **[Required]** Gets the validity of this CertificateBundle.
+
+ :return: The validity of this CertificateBundle.
+ :rtype: oci.certificates.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CertificateBundle.
+
+ :param validity: The validity of this CertificateBundle.
+ :type: oci.certificates.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CertificateBundle.
+ The name of the certificate version.
+
+
+ :return: The version_name of this CertificateBundle.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CertificateBundle.
+ The name of the certificate version.
+
+
+ :param version_name: The version_name of this CertificateBundle.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def stages(self):
+ """
+ **[Required]** Gets the stages of this CertificateBundle.
+ A list of rotation states for the certificate bundle.
+
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The stages of this CertificateBundle.
+ :rtype: list[str]
+ """
+ return self._stages
+
+ @stages.setter
+ def stages(self, stages):
+ """
+ Sets the stages of this CertificateBundle.
+ A list of rotation states for the certificate bundle.
+
+
+ :param stages: The stages of this CertificateBundle.
+ :type: list[str]
+ """
+ allowed_values = ["CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED"]
+ if stages:
+ stages[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in stages]
+ self._stages = stages
+
+ @property
+ def revocation_status(self):
+ """
+ Gets the revocation_status of this CertificateBundle.
+
+ :return: The revocation_status of this CertificateBundle.
+ :rtype: oci.certificates.models.RevocationStatus
+ """
+ return self._revocation_status
+
+ @revocation_status.setter
+ def revocation_status(self, revocation_status):
+ """
+ Sets the revocation_status of this CertificateBundle.
+
+ :param revocation_status: The revocation_status of this CertificateBundle.
+ :type: oci.certificates.models.RevocationStatus
+ """
+ self._revocation_status = revocation_status
+
+ 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/certificates/models/certificate_bundle_public_only.py b/src/oci/certificates/models/certificate_bundle_public_only.py
new file mode 100644
index 0000000000..e425fde871
--- /dev/null
+++ b/src/oci/certificates/models/certificate_bundle_public_only.py
@@ -0,0 +1,127 @@
+# 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 .certificate_bundle import CertificateBundle
+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 CertificateBundlePublicOnly(CertificateBundle):
+ """
+ A certificate bundle, not including the private key.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateBundlePublicOnly object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates.models.CertificateBundlePublicOnly.certificate_bundle_type` attribute
+ of this class is ``CERTIFICATE_CONTENT_PUBLIC_ONLY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_bundle_type:
+ The value to assign to the certificate_bundle_type property of this CertificateBundlePublicOnly.
+ Allowed values for this property are: "CERTIFICATE_CONTENT_PUBLIC_ONLY", "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY"
+ :type certificate_bundle_type: str
+
+ :param certificate_id:
+ The value to assign to the certificate_id property of this CertificateBundlePublicOnly.
+ :type certificate_id: str
+
+ :param certificate_name:
+ The value to assign to the certificate_name property of this CertificateBundlePublicOnly.
+ :type certificate_name: str
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateBundlePublicOnly.
+ :type version_number: int
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateBundlePublicOnly.
+ :type serial_number: str
+
+ :param certificate_pem:
+ The value to assign to the certificate_pem property of this CertificateBundlePublicOnly.
+ :type certificate_pem: str
+
+ :param cert_chain_pem:
+ The value to assign to the cert_chain_pem property of this CertificateBundlePublicOnly.
+ :type cert_chain_pem: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateBundlePublicOnly.
+ :type time_created: datetime
+
+ :param validity:
+ The value to assign to the validity property of this CertificateBundlePublicOnly.
+ :type validity: oci.certificates.models.Validity
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateBundlePublicOnly.
+ :type version_name: str
+
+ :param stages:
+ The value to assign to the stages property of this CertificateBundlePublicOnly.
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED"
+ :type stages: list[str]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateBundlePublicOnly.
+ :type revocation_status: oci.certificates.models.RevocationStatus
+
+ """
+ self.swagger_types = {
+ 'certificate_bundle_type': 'str',
+ 'certificate_id': 'str',
+ 'certificate_name': 'str',
+ 'version_number': 'int',
+ 'serial_number': 'str',
+ 'certificate_pem': 'str',
+ 'cert_chain_pem': 'str',
+ 'time_created': 'datetime',
+ 'validity': 'Validity',
+ 'version_name': 'str',
+ 'stages': 'list[str]',
+ 'revocation_status': 'RevocationStatus'
+ }
+
+ self.attribute_map = {
+ 'certificate_bundle_type': 'certificateBundleType',
+ 'certificate_id': 'certificateId',
+ 'certificate_name': 'certificateName',
+ 'version_number': 'versionNumber',
+ 'serial_number': 'serialNumber',
+ 'certificate_pem': 'certificatePem',
+ 'cert_chain_pem': 'certChainPem',
+ 'time_created': 'timeCreated',
+ 'validity': 'validity',
+ 'version_name': 'versionName',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus'
+ }
+
+ self._certificate_bundle_type = None
+ self._certificate_id = None
+ self._certificate_name = None
+ self._version_number = None
+ self._serial_number = None
+ self._certificate_pem = None
+ self._cert_chain_pem = None
+ self._time_created = None
+ self._validity = None
+ self._version_name = None
+ self._stages = None
+ self._revocation_status = None
+ self._certificate_bundle_type = 'CERTIFICATE_CONTENT_PUBLIC_ONLY'
+
+ 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/certificates/models/certificate_bundle_version_collection.py b/src/oci/certificates/models/certificate_bundle_version_collection.py
new file mode 100644
index 0000000000..9b92b0cb98
--- /dev/null
+++ b/src/oci/certificates/models/certificate_bundle_version_collection.py
@@ -0,0 +1,70 @@
+# 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 CertificateBundleVersionCollection(object):
+ """
+ The results of a certificate bundle versions search. Results contain certificate bundle version summary objects.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateBundleVersionCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this CertificateBundleVersionCollection.
+ :type items: list[oci.certificates.models.CertificateBundleVersionSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[CertificateBundleVersionSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this CertificateBundleVersionCollection.
+ A list of certificate bundle version summary objects.
+
+
+ :return: The items of this CertificateBundleVersionCollection.
+ :rtype: list[oci.certificates.models.CertificateBundleVersionSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this CertificateBundleVersionCollection.
+ A list of certificate bundle version summary objects.
+
+
+ :param items: The items of this CertificateBundleVersionCollection.
+ :type: list[oci.certificates.models.CertificateBundleVersionSummary]
+ """
+ self._items = items
+
+ 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/certificates/models/certificate_bundle_version_summary.py b/src/oci/certificates/models/certificate_bundle_version_summary.py
new file mode 100644
index 0000000000..144f6ceeba
--- /dev/null
+++ b/src/oci/certificates/models/certificate_bundle_version_summary.py
@@ -0,0 +1,387 @@
+# 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 CertificateBundleVersionSummary(object):
+ """
+ The properties of the certificate bundle. Certificate bundle version summary objects do not include the actual contents of the certificate.
+ """
+
+ #: A constant which can be used with the stages property of a CertificateBundleVersionSummary.
+ #: This constant has a value of "CURRENT"
+ STAGES_CURRENT = "CURRENT"
+
+ #: A constant which can be used with the stages property of a CertificateBundleVersionSummary.
+ #: This constant has a value of "PENDING"
+ STAGES_PENDING = "PENDING"
+
+ #: A constant which can be used with the stages property of a CertificateBundleVersionSummary.
+ #: This constant has a value of "LATEST"
+ STAGES_LATEST = "LATEST"
+
+ #: A constant which can be used with the stages property of a CertificateBundleVersionSummary.
+ #: This constant has a value of "PREVIOUS"
+ STAGES_PREVIOUS = "PREVIOUS"
+
+ #: A constant which can be used with the stages property of a CertificateBundleVersionSummary.
+ #: This constant has a value of "DEPRECATED"
+ STAGES_DEPRECATED = "DEPRECATED"
+
+ #: A constant which can be used with the stages property of a CertificateBundleVersionSummary.
+ #: This constant has a value of "FAILED"
+ STAGES_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateBundleVersionSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_id:
+ The value to assign to the certificate_id property of this CertificateBundleVersionSummary.
+ :type certificate_id: str
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateBundleVersionSummary.
+ :type serial_number: str
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateBundleVersionSummary.
+ :type version_name: str
+
+ :param certificate_name:
+ The value to assign to the certificate_name property of this CertificateBundleVersionSummary.
+ :type certificate_name: str
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateBundleVersionSummary.
+ :type version_number: int
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateBundleVersionSummary.
+ :type time_created: datetime
+
+ :param validity:
+ The value to assign to the validity property of this CertificateBundleVersionSummary.
+ :type validity: oci.certificates.models.Validity
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this CertificateBundleVersionSummary.
+ :type time_of_deletion: datetime
+
+ :param stages:
+ The value to assign to the stages property of this CertificateBundleVersionSummary.
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type stages: list[str]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateBundleVersionSummary.
+ :type revocation_status: oci.certificates.models.RevocationStatus
+
+ """
+ self.swagger_types = {
+ 'certificate_id': 'str',
+ 'serial_number': 'str',
+ 'version_name': 'str',
+ 'certificate_name': 'str',
+ 'version_number': 'int',
+ 'time_created': 'datetime',
+ 'validity': 'Validity',
+ 'time_of_deletion': 'datetime',
+ 'stages': 'list[str]',
+ 'revocation_status': 'RevocationStatus'
+ }
+
+ self.attribute_map = {
+ 'certificate_id': 'certificateId',
+ 'serial_number': 'serialNumber',
+ 'version_name': 'versionName',
+ 'certificate_name': 'certificateName',
+ 'version_number': 'versionNumber',
+ 'time_created': 'timeCreated',
+ 'validity': 'validity',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus'
+ }
+
+ self._certificate_id = None
+ self._serial_number = None
+ self._version_name = None
+ self._certificate_name = None
+ self._version_number = None
+ self._time_created = None
+ self._validity = None
+ self._time_of_deletion = None
+ self._stages = None
+ self._revocation_status = None
+
+ @property
+ def certificate_id(self):
+ """
+ **[Required]** Gets the certificate_id of this CertificateBundleVersionSummary.
+ The OCID of the certificate.
+
+
+ :return: The certificate_id of this CertificateBundleVersionSummary.
+ :rtype: str
+ """
+ return self._certificate_id
+
+ @certificate_id.setter
+ def certificate_id(self, certificate_id):
+ """
+ Sets the certificate_id of this CertificateBundleVersionSummary.
+ The OCID of the certificate.
+
+
+ :param certificate_id: The certificate_id of this CertificateBundleVersionSummary.
+ :type: str
+ """
+ self._certificate_id = certificate_id
+
+ @property
+ def serial_number(self):
+ """
+ Gets the serial_number of this CertificateBundleVersionSummary.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :return: The serial_number of this CertificateBundleVersionSummary.
+ :rtype: str
+ """
+ return self._serial_number
+
+ @serial_number.setter
+ def serial_number(self, serial_number):
+ """
+ Sets the serial_number of this CertificateBundleVersionSummary.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :param serial_number: The serial_number of this CertificateBundleVersionSummary.
+ :type: str
+ """
+ self._serial_number = serial_number
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CertificateBundleVersionSummary.
+ The name of the certificate version.
+
+
+ :return: The version_name of this CertificateBundleVersionSummary.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CertificateBundleVersionSummary.
+ The name of the certificate version.
+
+
+ :param version_name: The version_name of this CertificateBundleVersionSummary.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def certificate_name(self):
+ """
+ **[Required]** Gets the certificate_name of this CertificateBundleVersionSummary.
+ The name of the certificate.
+
+
+ :return: The certificate_name of this CertificateBundleVersionSummary.
+ :rtype: str
+ """
+ return self._certificate_name
+
+ @certificate_name.setter
+ def certificate_name(self, certificate_name):
+ """
+ Sets the certificate_name of this CertificateBundleVersionSummary.
+ The name of the certificate.
+
+
+ :param certificate_name: The certificate_name of this CertificateBundleVersionSummary.
+ :type: str
+ """
+ self._certificate_name = certificate_name
+
+ @property
+ def version_number(self):
+ """
+ **[Required]** Gets the version_number of this CertificateBundleVersionSummary.
+ The version number of the certificate.
+
+
+ :return: The version_number of this CertificateBundleVersionSummary.
+ :rtype: int
+ """
+ return self._version_number
+
+ @version_number.setter
+ def version_number(self, version_number):
+ """
+ Sets the version_number of this CertificateBundleVersionSummary.
+ The version number of the certificate.
+
+
+ :param version_number: The version_number of this CertificateBundleVersionSummary.
+ :type: int
+ """
+ self._version_number = version_number
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateBundleVersionSummary.
+ An optional property indicating when the certificate version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateBundleVersionSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateBundleVersionSummary.
+ An optional property indicating when the certificate version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateBundleVersionSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CertificateBundleVersionSummary.
+
+ :return: The validity of this CertificateBundleVersionSummary.
+ :rtype: oci.certificates.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CertificateBundleVersionSummary.
+
+ :param validity: The validity of this CertificateBundleVersionSummary.
+ :type: oci.certificates.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this CertificateBundleVersionSummary.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this CertificateBundleVersionSummary.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this CertificateBundleVersionSummary.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this CertificateBundleVersionSummary.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def stages(self):
+ """
+ **[Required]** Gets the stages of this CertificateBundleVersionSummary.
+ A list of rotation states for this certificate bundle version.
+
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The stages of this CertificateBundleVersionSummary.
+ :rtype: list[str]
+ """
+ return self._stages
+
+ @stages.setter
+ def stages(self, stages):
+ """
+ Sets the stages of this CertificateBundleVersionSummary.
+ A list of rotation states for this certificate bundle version.
+
+
+ :param stages: The stages of this CertificateBundleVersionSummary.
+ :type: list[str]
+ """
+ allowed_values = ["CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED"]
+ if stages:
+ stages[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in stages]
+ self._stages = stages
+
+ @property
+ def revocation_status(self):
+ """
+ Gets the revocation_status of this CertificateBundleVersionSummary.
+
+ :return: The revocation_status of this CertificateBundleVersionSummary.
+ :rtype: oci.certificates.models.RevocationStatus
+ """
+ return self._revocation_status
+
+ @revocation_status.setter
+ def revocation_status(self, revocation_status):
+ """
+ Sets the revocation_status of this CertificateBundleVersionSummary.
+
+ :param revocation_status: The revocation_status of this CertificateBundleVersionSummary.
+ :type: oci.certificates.models.RevocationStatus
+ """
+ self._revocation_status = revocation_status
+
+ 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/certificates/models/certificate_bundle_with_private_key.py b/src/oci/certificates/models/certificate_bundle_with_private_key.py
new file mode 100644
index 0000000000..06ff3ae129
--- /dev/null
+++ b/src/oci/certificates/models/certificate_bundle_with_private_key.py
@@ -0,0 +1,189 @@
+# 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 .certificate_bundle import CertificateBundle
+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 CertificateBundleWithPrivateKey(CertificateBundle):
+ """
+ A certificate bundle, including the private key.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateBundleWithPrivateKey object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates.models.CertificateBundleWithPrivateKey.certificate_bundle_type` attribute
+ of this class is ``CERTIFICATE_CONTENT_WITH_PRIVATE_KEY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_bundle_type:
+ The value to assign to the certificate_bundle_type property of this CertificateBundleWithPrivateKey.
+ Allowed values for this property are: "CERTIFICATE_CONTENT_PUBLIC_ONLY", "CERTIFICATE_CONTENT_WITH_PRIVATE_KEY"
+ :type certificate_bundle_type: str
+
+ :param certificate_id:
+ The value to assign to the certificate_id property of this CertificateBundleWithPrivateKey.
+ :type certificate_id: str
+
+ :param certificate_name:
+ The value to assign to the certificate_name property of this CertificateBundleWithPrivateKey.
+ :type certificate_name: str
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateBundleWithPrivateKey.
+ :type version_number: int
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateBundleWithPrivateKey.
+ :type serial_number: str
+
+ :param certificate_pem:
+ The value to assign to the certificate_pem property of this CertificateBundleWithPrivateKey.
+ :type certificate_pem: str
+
+ :param cert_chain_pem:
+ The value to assign to the cert_chain_pem property of this CertificateBundleWithPrivateKey.
+ :type cert_chain_pem: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateBundleWithPrivateKey.
+ :type time_created: datetime
+
+ :param validity:
+ The value to assign to the validity property of this CertificateBundleWithPrivateKey.
+ :type validity: oci.certificates.models.Validity
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateBundleWithPrivateKey.
+ :type version_name: str
+
+ :param stages:
+ The value to assign to the stages property of this CertificateBundleWithPrivateKey.
+ Allowed values for items in this list are: "CURRENT", "PENDING", "LATEST", "PREVIOUS", "DEPRECATED", "FAILED"
+ :type stages: list[str]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateBundleWithPrivateKey.
+ :type revocation_status: oci.certificates.models.RevocationStatus
+
+ :param private_key_pem:
+ The value to assign to the private_key_pem property of this CertificateBundleWithPrivateKey.
+ :type private_key_pem: str
+
+ :param private_key_pem_passphrase:
+ The value to assign to the private_key_pem_passphrase property of this CertificateBundleWithPrivateKey.
+ :type private_key_pem_passphrase: str
+
+ """
+ self.swagger_types = {
+ 'certificate_bundle_type': 'str',
+ 'certificate_id': 'str',
+ 'certificate_name': 'str',
+ 'version_number': 'int',
+ 'serial_number': 'str',
+ 'certificate_pem': 'str',
+ 'cert_chain_pem': 'str',
+ 'time_created': 'datetime',
+ 'validity': 'Validity',
+ 'version_name': 'str',
+ 'stages': 'list[str]',
+ 'revocation_status': 'RevocationStatus',
+ 'private_key_pem': 'str',
+ 'private_key_pem_passphrase': 'str'
+ }
+
+ self.attribute_map = {
+ 'certificate_bundle_type': 'certificateBundleType',
+ 'certificate_id': 'certificateId',
+ 'certificate_name': 'certificateName',
+ 'version_number': 'versionNumber',
+ 'serial_number': 'serialNumber',
+ 'certificate_pem': 'certificatePem',
+ 'cert_chain_pem': 'certChainPem',
+ 'time_created': 'timeCreated',
+ 'validity': 'validity',
+ 'version_name': 'versionName',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus',
+ 'private_key_pem': 'privateKeyPem',
+ 'private_key_pem_passphrase': 'privateKeyPemPassphrase'
+ }
+
+ self._certificate_bundle_type = None
+ self._certificate_id = None
+ self._certificate_name = None
+ self._version_number = None
+ self._serial_number = None
+ self._certificate_pem = None
+ self._cert_chain_pem = None
+ self._time_created = None
+ self._validity = None
+ self._version_name = None
+ self._stages = None
+ self._revocation_status = None
+ self._private_key_pem = None
+ self._private_key_pem_passphrase = None
+ self._certificate_bundle_type = 'CERTIFICATE_CONTENT_WITH_PRIVATE_KEY'
+
+ @property
+ def private_key_pem(self):
+ """
+ **[Required]** Gets the private_key_pem of this CertificateBundleWithPrivateKey.
+ The private key (in PEM format) for the certificate.
+
+
+ :return: The private_key_pem of this CertificateBundleWithPrivateKey.
+ :rtype: str
+ """
+ return self._private_key_pem
+
+ @private_key_pem.setter
+ def private_key_pem(self, private_key_pem):
+ """
+ Sets the private_key_pem of this CertificateBundleWithPrivateKey.
+ The private key (in PEM format) for the certificate.
+
+
+ :param private_key_pem: The private_key_pem of this CertificateBundleWithPrivateKey.
+ :type: str
+ """
+ self._private_key_pem = private_key_pem
+
+ @property
+ def private_key_pem_passphrase(self):
+ """
+ Gets the private_key_pem_passphrase of this CertificateBundleWithPrivateKey.
+ An optional passphrase for the private key.
+
+
+ :return: The private_key_pem_passphrase of this CertificateBundleWithPrivateKey.
+ :rtype: str
+ """
+ return self._private_key_pem_passphrase
+
+ @private_key_pem_passphrase.setter
+ def private_key_pem_passphrase(self, private_key_pem_passphrase):
+ """
+ Sets the private_key_pem_passphrase of this CertificateBundleWithPrivateKey.
+ An optional passphrase for the private key.
+
+
+ :param private_key_pem_passphrase: The private_key_pem_passphrase of this CertificateBundleWithPrivateKey.
+ :type: str
+ """
+ self._private_key_pem_passphrase = private_key_pem_passphrase
+
+ 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/certificates/models/revocation_status.py b/src/oci/certificates/models/revocation_status.py
new file mode 100644
index 0000000000..38d30da30e
--- /dev/null
+++ b/src/oci/certificates/models/revocation_status.py
@@ -0,0 +1,141 @@
+# 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 RevocationStatus(object):
+ """
+ The current revocation status of the certificate or certificate authority (CA).
+ """
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "UNSPECIFIED"
+ REVOCATION_REASON_UNSPECIFIED = "UNSPECIFIED"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "KEY_COMPROMISE"
+ REVOCATION_REASON_KEY_COMPROMISE = "KEY_COMPROMISE"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "CA_COMPROMISE"
+ REVOCATION_REASON_CA_COMPROMISE = "CA_COMPROMISE"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "AFFILIATION_CHANGED"
+ REVOCATION_REASON_AFFILIATION_CHANGED = "AFFILIATION_CHANGED"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "SUPERSEDED"
+ REVOCATION_REASON_SUPERSEDED = "SUPERSEDED"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "CESSATION_OF_OPERATION"
+ REVOCATION_REASON_CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "PRIVILEGE_WITHDRAWN"
+ REVOCATION_REASON_PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "AA_COMPROMISE"
+ REVOCATION_REASON_AA_COMPROMISE = "AA_COMPROMISE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RevocationStatus object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_revoked:
+ The value to assign to the time_revoked property of this RevocationStatus.
+ :type time_revoked: datetime
+
+ :param revocation_reason:
+ The value to assign to the revocation_reason property of this RevocationStatus.
+ Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type revocation_reason: str
+
+ """
+ self.swagger_types = {
+ 'time_revoked': 'datetime',
+ 'revocation_reason': 'str'
+ }
+
+ self.attribute_map = {
+ 'time_revoked': 'timeRevoked',
+ 'revocation_reason': 'revocationReason'
+ }
+
+ self._time_revoked = None
+ self._revocation_reason = None
+
+ @property
+ def time_revoked(self):
+ """
+ **[Required]** Gets the time_revoked of this RevocationStatus.
+ The time when the certificate or CA was revoked.
+
+
+ :return: The time_revoked of this RevocationStatus.
+ :rtype: datetime
+ """
+ return self._time_revoked
+
+ @time_revoked.setter
+ def time_revoked(self, time_revoked):
+ """
+ Sets the time_revoked of this RevocationStatus.
+ The time when the certificate or CA was revoked.
+
+
+ :param time_revoked: The time_revoked of this RevocationStatus.
+ :type: datetime
+ """
+ self._time_revoked = time_revoked
+
+ @property
+ def revocation_reason(self):
+ """
+ **[Required]** Gets the revocation_reason of this RevocationStatus.
+ The reason that the certificate or CA was revoked.
+
+ Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The revocation_reason of this RevocationStatus.
+ :rtype: str
+ """
+ return self._revocation_reason
+
+ @revocation_reason.setter
+ def revocation_reason(self, revocation_reason):
+ """
+ Sets the revocation_reason of this RevocationStatus.
+ The reason that the certificate or CA was revoked.
+
+
+ :param revocation_reason: The revocation_reason of this RevocationStatus.
+ :type: str
+ """
+ allowed_values = ["UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE"]
+ if not value_allowed_none_or_none_sentinel(revocation_reason, allowed_values):
+ revocation_reason = 'UNKNOWN_ENUM_VALUE'
+ self._revocation_reason = revocation_reason
+
+ 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/certificates/models/validity.py b/src/oci/certificates/models/validity.py
new file mode 100644
index 0000000000..ad92cf8a58
--- /dev/null
+++ b/src/oci/certificates/models/validity.py
@@ -0,0 +1,113 @@
+# 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 Validity(object):
+ """
+ An object that describes a period of time during which an entity is valid.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new Validity object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_of_validity_not_before:
+ The value to assign to the time_of_validity_not_before property of this Validity.
+ :type time_of_validity_not_before: datetime
+
+ :param time_of_validity_not_after:
+ The value to assign to the time_of_validity_not_after property of this Validity.
+ :type time_of_validity_not_after: datetime
+
+ """
+ self.swagger_types = {
+ 'time_of_validity_not_before': 'datetime',
+ 'time_of_validity_not_after': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'time_of_validity_not_before': 'timeOfValidityNotBefore',
+ 'time_of_validity_not_after': 'timeOfValidityNotAfter'
+ }
+
+ self._time_of_validity_not_before = None
+ self._time_of_validity_not_after = None
+
+ @property
+ def time_of_validity_not_before(self):
+ """
+ **[Required]** Gets the time_of_validity_not_before of this Validity.
+ The date on which the certificate validity period begins, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_validity_not_before of this Validity.
+ :rtype: datetime
+ """
+ return self._time_of_validity_not_before
+
+ @time_of_validity_not_before.setter
+ def time_of_validity_not_before(self, time_of_validity_not_before):
+ """
+ Sets the time_of_validity_not_before of this Validity.
+ The date on which the certificate validity period begins, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_validity_not_before: The time_of_validity_not_before of this Validity.
+ :type: datetime
+ """
+ self._time_of_validity_not_before = time_of_validity_not_before
+
+ @property
+ def time_of_validity_not_after(self):
+ """
+ **[Required]** Gets the time_of_validity_not_after of this Validity.
+ The date on which the certificate validity period ends, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_validity_not_after of this Validity.
+ :rtype: datetime
+ """
+ return self._time_of_validity_not_after
+
+ @time_of_validity_not_after.setter
+ def time_of_validity_not_after(self, time_of_validity_not_after):
+ """
+ Sets the time_of_validity_not_after of this Validity.
+ The date on which the certificate validity period ends, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_validity_not_after: The time_of_validity_not_after of this Validity.
+ :type: datetime
+ """
+ self._time_of_validity_not_after = time_of_validity_not_after
+
+ 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/certificates_management/__init__.py b/src/oci/certificates_management/__init__.py
new file mode 100644
index 0000000000..929e0fed7d
--- /dev/null
+++ b/src/oci/certificates_management/__init__.py
@@ -0,0 +1,12 @@
+# 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 __future__ import absolute_import
+
+
+from .certificates_management_client import CertificatesManagementClient
+from .certificates_management_client_composite_operations import CertificatesManagementClientCompositeOperations
+from . import models
+
+__all__ = ["CertificatesManagementClient", "CertificatesManagementClientCompositeOperations", "models"]
diff --git a/src/oci/certificates_management/certificates_management_client.py b/src/oci/certificates_management/certificates_management_client.py
new file mode 100644
index 0000000000..e354ee2e1b
--- /dev/null
+++ b/src/oci/certificates_management/certificates_management_client.py
@@ -0,0 +1,3361 @@
+# 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 __future__ import absolute_import
+
+from oci._vendor import requests # noqa: F401
+from oci._vendor import six
+
+from oci import retry, circuit_breaker # noqa: F401
+from oci.base_client import BaseClient
+from oci.config import get_config_value_or_default, validate_config
+from oci.signer import Signer
+from oci.util import Sentinel, get_signer_from_authentication_type, AUTHENTICATION_TYPE_FIELD_NAME
+from .models import certificates_management_type_mapping
+missing = Sentinel("Missing")
+
+
+class CertificatesManagementClient(object):
+ """
+ API for managing certificates.
+ """
+
+ def __init__(self, config, **kwargs):
+ """
+ Creates a new service client
+
+ :param dict config:
+ Configuration keys and values as per `SDK and Tool Configuration `__.
+ The :py:meth:`~oci.config.from_file` method can be used to load configuration from a file. Alternatively, a ``dict`` can be passed. You can validate_config
+ the dict using :py:meth:`~oci.config.validate_config`
+
+ :param str service_endpoint: (optional)
+ The endpoint of the service to call using this client. For example ``https://iaas.us-ashburn-1.oraclecloud.com``. If this keyword argument is
+ not provided then it will be derived using the region in the config parameter. You should only provide this keyword argument if you have an explicit
+ need to specify a service endpoint.
+
+ :param timeout: (optional)
+ The connection and read timeouts for the client. The default values are connection timeout 10 seconds and read timeout 60 seconds. This keyword argument can be provided
+ as a single float, in which case the value provided is used for both the read and connection timeouts, or as a tuple of two floats. If
+ a tuple is provided then the first value is used as the connection timeout and the second value as the read timeout.
+ :type timeout: float or tuple(float, float)
+
+ :param signer: (optional)
+ The signer to use when signing requests made by the service client. The default is to use a :py:class:`~oci.signer.Signer` based on the values
+ provided in the config parameter.
+
+ One use case for this parameter is for `Instance Principals authentication `__
+ by passing an instance of :py:class:`~oci.auth.signers.InstancePrincipalsSecurityTokenSigner` as the value for this keyword argument
+ :type signer: :py:class:`~oci.signer.AbstractBaseSigner`
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to all calls made by this service client (i.e. at the client level). There is no retry strategy applied by default.
+ Retry strategies can also be applied at the operation level by passing a ``retry_strategy`` keyword argument as part of calling the operation.
+ Any value provided at the operation level will override whatever is specified 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 `__.
+
+ :param obj circuit_breaker_strategy: (optional)
+ A circuit breaker strategy to apply to all calls made by this service client (i.e. at the client level).
+ This client will not have circuit breakers enabled by default, users can use their own circuit breaker strategy or the convenient :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` provided by the SDK to enable it.
+ The specifics of circuit breaker strategy are described `here `__.
+
+ :param function circuit_breaker_callback: (optional)
+ Callback function to receive any exceptions triggerred by the circuit breaker.
+ """
+ validate_config(config, signer=kwargs.get('signer'))
+ if 'signer' in kwargs:
+ signer = kwargs['signer']
+
+ elif AUTHENTICATION_TYPE_FIELD_NAME in config:
+ signer = get_signer_from_authentication_type(config)
+
+ else:
+ signer = Signer(
+ tenancy=config["tenancy"],
+ user=config["user"],
+ fingerprint=config["fingerprint"],
+ private_key_file_location=config.get("key_file"),
+ pass_phrase=get_config_value_or_default(config, "pass_phrase"),
+ private_key_content=config.get("key_content")
+ )
+
+ base_client_init_kwargs = {
+ 'regional_client': True,
+ 'service_endpoint': kwargs.get('service_endpoint'),
+ 'base_path': '/20210224',
+ 'service_endpoint_template': 'https://certificatesmanagement.{region}.oci.{secondLevelDomain}',
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY)
+ }
+ if 'timeout' in kwargs:
+ base_client_init_kwargs['timeout'] = kwargs.get('timeout')
+ self.base_client = BaseClient("certificates_management", config, signer, certificates_management_type_mapping, **base_client_init_kwargs)
+ self.retry_strategy = kwargs.get('retry_strategy')
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
+
+ def cancel_certificate_authority_deletion(self, certificate_authority_id, **kwargs):
+ """
+ Cancels the scheduled deletion of the specified certificate authority (CA).
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 cancel_certificate_authority_deletion API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}/actions/cancelDeletion"
+ 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(
+ "cancel_certificate_authority_deletion got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def cancel_certificate_authority_version_deletion(self, certificate_authority_id, certificate_authority_version_number, **kwargs):
+ """
+ Cancels the scheduled deletion of the specified certificate authority (CA) version. Canceling
+ a scheduled deletion restores the CA version's lifecycle state to what
+ it was before its scheduled deletion.
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param int certificate_authority_version_number: (required)
+ The version number of the certificate authority (CA).
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 cancel_certificate_authority_version_deletion API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}/version/{certificateAuthorityVersionNumber}/actions/cancelDeletion"
+ 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(
+ "cancel_certificate_authority_version_deletion got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_id,
+ "certificateAuthorityVersionNumber": certificate_authority_version_number
+ }
+
+ 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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def cancel_certificate_deletion(self, certificate_id, **kwargs):
+ """
+ Cancels the pending deletion of the specified certificate. Canceling
+ a scheduled deletion restores the certificate's lifecycle state to what
+ it was before you scheduled the certificate for deletion.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 cancel_certificate_deletion API.
+ """
+ resource_path = "/certificates/{certificateId}/actions/cancelDeletion"
+ 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(
+ "cancel_certificate_deletion got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def cancel_certificate_version_deletion(self, certificate_id, certificate_version_number, **kwargs):
+ """
+ Cancels the scheduled deletion of the specified certificate version.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param int certificate_version_number: (required)
+ The version number of the certificate.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 cancel_certificate_version_deletion API.
+ """
+ resource_path = "/certificates/{certificateId}/version/{certificateVersionNumber}/actions/cancelDeletion"
+ 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(
+ "cancel_certificate_version_deletion got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_id,
+ "certificateVersionNumber": certificate_version_number
+ }
+
+ 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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def change_ca_bundle_compartment(self, ca_bundle_id, change_ca_bundle_compartment_details, **kwargs):
+ """
+ Moves a CA bundle to a different compartment in the same tenancy. For information about
+ moving resources between compartments, see `Moving Resources to a Different Compartment`__.
+
+ When provided, if-match is checked against the ETag values of the secret.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
+
+
+ :param str ca_bundle_id: (required)
+ The OCID of the CA bundle.
+
+ :param oci.certificates_management.models.ChangeCaBundleCompartmentDetails change_ca_bundle_compartment_details: (required)
+ The updated 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 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 Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 change_ca_bundle_compartment API.
+ """
+ resource_path = "/caBundles/{caBundleId}/actions/changeCompartment"
+ method = "POST"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "change_ca_bundle_compartment got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "caBundleId": ca_bundle_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",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=change_ca_bundle_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_ca_bundle_compartment_details)
+
+ def change_certificate_authority_compartment(self, certificate_authority_id, change_certificate_authority_compartment_details, **kwargs):
+ """
+ Moves a certificate authority (CA) to a different compartment within the same tenancy. For information about
+ moving resources between compartments, see `Moving Resources to a Different Compartment`__.
+
+ When provided, If-Match is checked against the ETag values of the source.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param oci.certificates_management.models.ChangeCertificateAuthorityCompartmentDetails change_certificate_authority_compartment_details: (required)
+ The updated 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 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 Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 change_certificate_authority_compartment API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}/actions/changeCompartment"
+ method = "POST"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "change_certificate_authority_compartment got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_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",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=change_certificate_authority_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_certificate_authority_compartment_details)
+
+ def change_certificate_compartment(self, certificate_id, change_certificate_compartment_details, **kwargs):
+ """
+ Moves a certificate to a different compartment within the same tenancy. For information about
+ moving resources between compartments, see `Moving Resources to a Different Compartment`__.
+
+ When provided, if-match is checked against the ETag values of the secret.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/Identity/Tasks/managingcompartments.htm#moveRes
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param oci.certificates_management.models.ChangeCertificateCompartmentDetails change_certificate_compartment_details: (required)
+ The updated 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 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 Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 change_certificate_compartment API.
+ """
+ resource_path = "/certificates/{certificateId}/actions/changeCompartment"
+ method = "POST"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "change_certificate_compartment got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_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",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=change_certificate_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_certificate_compartment_details)
+
+ def create_ca_bundle(self, create_ca_bundle_details, **kwargs):
+ """
+ Creates a new CA bundle according to the details of the request.
+
+
+ :param oci.certificates_management.models.CreateCaBundleDetails create_ca_bundle_details: (required)
+ The details of the request to create a new CA bundle.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CaBundle`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_ca_bundle API.
+ """
+ resource_path = "/caBundles"
+ method = "POST"
+
+ # 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(
+ "create_ca_bundle got unknown kwargs: {!r}".format(extra_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)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_ca_bundle_details,
+ response_type="CaBundle")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_ca_bundle_details,
+ response_type="CaBundle")
+
+ def create_certificate(self, create_certificate_details, **kwargs):
+ """
+ Creates a new certificate according to the details of the request.
+
+
+ :param oci.certificates_management.models.CreateCertificateDetails create_certificate_details: (required)
+ The details of the request to create a new certificate.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.Certificate`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_certificate API.
+ """
+ resource_path = "/certificates"
+ method = "POST"
+
+ # 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(
+ "create_certificate got unknown kwargs: {!r}".format(extra_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)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_certificate_details,
+ response_type="Certificate")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_certificate_details,
+ response_type="Certificate")
+
+ def create_certificate_authority(self, create_certificate_authority_details, **kwargs):
+ """
+ Creates a new certificate authority (CA) according to the details of the request.
+
+
+ :param oci.certificates_management.models.CreateCertificateAuthorityDetails create_certificate_authority_details: (required)
+ The details of the request to create a new CA.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CertificateAuthority`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_certificate_authority API.
+ """
+ resource_path = "/certificateAuthorities"
+ method = "POST"
+
+ # 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(
+ "create_certificate_authority got unknown kwargs: {!r}".format(extra_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)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_certificate_authority_details,
+ response_type="CertificateAuthority")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_certificate_authority_details,
+ response_type="CertificateAuthority")
+
+ def delete_ca_bundle(self, ca_bundle_id, **kwargs):
+ """
+ Deletes the specified CA bundle.
+
+
+ :param str ca_bundle_id: (required)
+ The OCID of the CA bundle.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type None
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use delete_ca_bundle API.
+ """
+ resource_path = "/caBundles/{caBundleId}"
+ method = "DELETE"
+
+ # 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(
+ "delete_ca_bundle got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "caBundleId": ca_bundle_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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def get_association(self, association_id, **kwargs):
+ """
+ Gets details about the specified association.
+
+
+ :param str association_id: (required)
+ The OCID of an association between a certificate-related resource and another Oracle Cloud Infrastructure resource.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.Association`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_association API.
+ """
+ resource_path = "/associations/{associationId}"
+ 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_association got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "associationId": association_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Association")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Association")
+
+ def get_ca_bundle(self, ca_bundle_id, **kwargs):
+ """
+ Gets details about the specified CA bundle.
+
+
+ :param str ca_bundle_id: (required)
+ The OCID of the CA bundle.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CaBundle`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_ca_bundle API.
+ """
+ resource_path = "/caBundles/{caBundleId}"
+ 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_ca_bundle got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "caBundleId": ca_bundle_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CaBundle")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CaBundle")
+
+ def get_certificate(self, certificate_id, **kwargs):
+ """
+ Gets details about the specified certificate.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.Certificate`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_certificate API.
+ """
+ resource_path = "/certificates/{certificateId}"
+ 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_certificate got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Certificate")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Certificate")
+
+ def get_certificate_authority(self, certificate_authority_id, **kwargs):
+ """
+ Gets details about the specified certificate authority (CA).
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CertificateAuthority`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_certificate_authority API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}"
+ 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_certificate_authority got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CertificateAuthority")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CertificateAuthority")
+
+ def get_certificate_authority_version(self, certificate_authority_id, certificate_authority_version_number, **kwargs):
+ """
+ Gets details about the specified certificate authority (CA) version.
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param int certificate_authority_version_number: (required)
+ The version number of the certificate authority (CA).
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CertificateAuthorityVersion`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_certificate_authority_version API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}/version/{certificateAuthorityVersionNumber}"
+ 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_certificate_authority_version got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_id,
+ "certificateAuthorityVersionNumber": certificate_authority_version_number
+ }
+
+ 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CertificateAuthorityVersion")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CertificateAuthorityVersion")
+
+ def get_certificate_version(self, certificate_id, certificate_version_number, **kwargs):
+ """
+ Gets details about the specified version of a certificate.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param int certificate_version_number: (required)
+ The version number of the certificate.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CertificateVersion`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_certificate_version API.
+ """
+ resource_path = "/certificates/{certificateId}/version/{certificateVersionNumber}"
+ 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_certificate_version got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_id,
+ "certificateVersionNumber": certificate_version_number
+ }
+
+ 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CertificateVersion")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CertificateVersion")
+
+ def list_associations(self, **kwargs):
+ """
+ Lists all associations that match the query parameters.
+ Optionally, you can use the parameter `FilterByAssociationIdQueryParam` to limit the result set to a single item that matches the specified association.
+
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param str compartment_id: (optional)
+ A filter that returns only resources that match the given compartment OCID.
+
+ :param str certificates_resource_id: (optional)
+ A filter that returns only resources that match the given OCID of a certificate-related resource.
+
+ :param str associated_resource_id: (optional)
+ A filter that returns only resources that match the given OCID of an associated Oracle Cloud Infrastructure resource.
+
+ :param str association_id: (optional)
+ The OCID of the association. If the parameter is set to null, the service lists all associations.
+
+ :param str name: (optional)
+ A filter that returns only resources that match the specified name.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can specify only one sort order. The default order for `TIMECREATED` is descending.
+ The default order for `NAME` is ascending.
+
+ Allowed values are: "NAME", "TIMECREATED"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param int limit: (optional)
+ The maximum number of items to return in a paginated \"List\" call.
+
+ :param str page: (optional)
+ The value of the `opc-next-page` response header
+ from the previous \"List\" call.
+
+ :param str association_type: (optional)
+ Type of associations to list. If the parameter is set to null, the service lists all types of associations.
+
+ Allowed values are: "CERTIFICATE", "CERTIFICATE_AUTHORITY", "CA_BUNDLE"
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.AssociationCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_associations API.
+ """
+ resource_path = "/associations"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "compartment_id",
+ "certificates_resource_id",
+ "associated_resource_id",
+ "association_id",
+ "name",
+ "sort_by",
+ "sort_order",
+ "limit",
+ "page",
+ "association_type"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_associations got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["NAME", "TIMECREATED"]
+ 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 'association_type' in kwargs:
+ association_type_allowed_values = ["CERTIFICATE", "CERTIFICATE_AUTHORITY", "CA_BUNDLE"]
+ if kwargs['association_type'] not in association_type_allowed_values:
+ raise ValueError(
+ "Invalid value for `association_type`, must be one of {0}".format(association_type_allowed_values)
+ )
+
+ query_params = {
+ "compartmentId": kwargs.get("compartment_id", missing),
+ "certificatesResourceId": kwargs.get("certificates_resource_id", missing),
+ "associatedResourceId": kwargs.get("associated_resource_id", missing),
+ "associationId": kwargs.get("association_id", missing),
+ "name": kwargs.get("name", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "associationType": kwargs.get("association_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="AssociationCollection")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="AssociationCollection")
+
+ def list_ca_bundles(self, **kwargs):
+ """
+ Lists all CA bundles that match the query parameters.
+ Optionally, you can use the parameter `FilterByCaBundleIdQueryParam` to limit the result set to a single item that matches the specified CA bundle.
+
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param str compartment_id: (optional)
+ A filter that returns only resources that match the given compartment OCID.
+
+ :param str lifecycle_state: (optional)
+ A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive.
+
+ Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"
+
+ :param str name: (optional)
+ A filter that returns only resources that match the specified name.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can specify only one sort order. The default order for `TIMECREATED` is descending.
+ The default order for `NAME` is ascending.
+
+ Allowed values are: "NAME", "TIMECREATED"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param int limit: (optional)
+ The maximum number of items to return in a paginated \"List\" call.
+
+ :param str page: (optional)
+ The value of the `opc-next-page` response header
+ from the previous \"List\" call.
+
+ :param str ca_bundle_id: (optional)
+ The OCID of the CA bundle.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CaBundleCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_ca_bundles API.
+ """
+ resource_path = "/caBundles"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "compartment_id",
+ "lifecycle_state",
+ "name",
+ "sort_by",
+ "sort_order",
+ "limit",
+ "page",
+ "ca_bundle_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_ca_bundles got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "UPDATING", "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)
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["NAME", "TIMECREATED"]
+ 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": kwargs.get("compartment_id", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "name": kwargs.get("name", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "caBundleId": kwargs.get("ca_bundle_id", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CaBundleCollection")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CaBundleCollection")
+
+ def list_certificate_authorities(self, **kwargs):
+ """
+ Lists all certificate authorities (CAs) in the specified compartment.
+ Optionally, you can use the parameter `FilterByCertificateAuthorityIdQueryParam` to limit the results to a single item that matches the specified CA.
+
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param str compartment_id: (optional)
+ A filter that returns only resources that match the given compartment OCID.
+
+ :param str lifecycle_state: (optional)
+ A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive.
+
+ Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED"
+
+ :param str name: (optional)
+ A filter that returns only resources that match the specified name.
+
+ :param str issuer_certificate_authority_id: (optional)
+ The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs.
+
+ :param str certificate_authority_id: (optional)
+ The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can specify only one sort order. The default
+ order for `EXPIRATIONDATE` and 'TIMECREATED' is descending. The default order for `NAME`
+ is ascending.
+
+ Allowed values are: "NAME", "EXPIRATIONDATE", "TIMECREATED"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param int limit: (optional)
+ The maximum number of items to return in a paginated \"List\" call.
+
+ :param str page: (optional)
+ The value of the `opc-next-page` response header
+ from the previous \"List\" call.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CertificateAuthorityCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_certificate_authorities API.
+ """
+ resource_path = "/certificateAuthorities"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "compartment_id",
+ "lifecycle_state",
+ "name",
+ "issuer_certificate_authority_id",
+ "certificate_authority_id",
+ "sort_by",
+ "sort_order",
+ "limit",
+ "page"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_certificate_authorities got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "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)
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["NAME", "EXPIRATIONDATE", "TIMECREATED"]
+ 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": kwargs.get("compartment_id", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "name": kwargs.get("name", missing),
+ "issuerCertificateAuthorityId": kwargs.get("issuer_certificate_authority_id", missing),
+ "certificateAuthorityId": kwargs.get("certificate_authority_id", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateAuthorityCollection")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateAuthorityCollection")
+
+ def list_certificate_authority_versions(self, certificate_authority_id, **kwargs):
+ """
+ Lists all versions for the specified certificate authority (CA).
+ Optionally, you can use the parameter `FilterByVersionNumberQueryParam` to limit the results to a single item that matches the specified version number.
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param int version_number: (optional)
+ A filter that returns only resources that match the specified version number. The default value is 0, which means that this filter is not applied.
+
+ :param int limit: (optional)
+ The maximum number of items to return in a paginated \"List\" call.
+
+ :param str page: (optional)
+ The value of the `opc-next-page` response header
+ from the previous \"List\" call.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can specify only one sort order. The default order for 'VERSION_NUMBER' is ascending.
+
+ Allowed values are: "VERSION_NUMBER"
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CertificateAuthorityVersionCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_certificate_authority_versions API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}/versions"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "version_number",
+ "limit",
+ "page",
+ "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_certificate_authority_versions got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_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_by' in kwargs:
+ sort_by_allowed_values = ["VERSION_NUMBER"]
+ 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 = {
+ "versionNumber": kwargs.get("version_number", missing),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateAuthorityVersionCollection")
+ 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="CertificateAuthorityVersionCollection")
+
+ def list_certificate_versions(self, certificate_id, **kwargs):
+ """
+ Lists all certificate versions for the specified certificate.
+ Optionally, you can use the parameter `FilterByVersionNumberQueryParam` to limit the result set to a single item that matches the specified version number.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param int version_number: (optional)
+ A filter that returns only resources that match the specified version number. The default value is 0, which means that this filter is not applied.
+
+ :param int limit: (optional)
+ The maximum number of items to return in a paginated \"List\" call.
+
+ :param str page: (optional)
+ The value of the `opc-next-page` response header
+ from the previous \"List\" call.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can specify only one sort order. The default order for 'VERSION_NUMBER' is ascending.
+
+ Allowed values are: "VERSION_NUMBER"
+
+ :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. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CertificateVersionCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_certificate_versions API.
+ """
+ resource_path = "/certificates/{certificateId}/versions"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "version_number",
+ "limit",
+ "page",
+ "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_certificate_versions got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_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_by' in kwargs:
+ sort_by_allowed_values = ["VERSION_NUMBER"]
+ 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 = {
+ "versionNumber": kwargs.get("version_number", missing),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateVersionCollection")
+ 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="CertificateVersionCollection")
+
+ def list_certificates(self, **kwargs):
+ """
+ Lists all certificates that match the query parameters.
+ Optionally, you can use the parameter `FilterByCertificateIdQueryParam` to limit the result set to a single item that matches the specified certificate.
+
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :param str compartment_id: (optional)
+ A filter that returns only resources that match the given compartment OCID.
+
+ :param str lifecycle_state: (optional)
+ A filter that returns only resources that match the given lifecycle state. The state value is case-insensitive.
+
+ Allowed values are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED"
+
+ :param str name: (optional)
+ A filter that returns only resources that match the specified name.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can specify only one sort order. The default
+ order for `EXPIRATIONDATE` and 'TIMECREATED' is descending. The default order for `NAME`
+ is ascending.
+
+ Allowed values are: "NAME", "EXPIRATIONDATE", "TIMECREATED"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param int limit: (optional)
+ The maximum number of items to return in a paginated \"List\" call.
+
+ :param str page: (optional)
+ The value of the `opc-next-page` response header
+ from the previous \"List\" call.
+
+ :param str issuer_certificate_authority_id: (optional)
+ The OCID of the certificate authority (CA). If the parameter is set to null, the service lists all CAs.
+
+ :param str certificate_id: (optional)
+ The OCID of the certificate. If the parameter is set to null, the service lists all certificates.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CertificateCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_certificates API.
+ """
+ resource_path = "/certificates"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "compartment_id",
+ "lifecycle_state",
+ "name",
+ "sort_by",
+ "sort_order",
+ "limit",
+ "page",
+ "issuer_certificate_authority_id",
+ "certificate_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_certificates got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "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)
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["NAME", "EXPIRATIONDATE", "TIMECREATED"]
+ 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": kwargs.get("compartment_id", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "name": kwargs.get("name", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "issuerCertificateAuthorityId": kwargs.get("issuer_certificate_authority_id", missing),
+ "certificateId": kwargs.get("certificate_id", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateCollection")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CertificateCollection")
+
+ def revoke_certificate_authority_version(self, certificate_authority_id, certificate_authority_version_number, revoke_certificate_authority_version_details, **kwargs):
+ """
+ Revokes a certificate authority (CA) version.
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param int certificate_authority_version_number: (required)
+ The version number of the certificate authority (CA).
+
+ :param oci.certificates_management.models.RevokeCertificateAuthorityVersionDetails revoke_certificate_authority_version_details: (required)
+ The details of the request to revoke a CA version.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 revoke_certificate_authority_version API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}/version/{certificateAuthorityVersionNumber}/actions/revoke"
+ method = "POST"
+
+ # 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(
+ "revoke_certificate_authority_version got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_id,
+ "certificateAuthorityVersionNumber": certificate_authority_version_number
+ }
+
+ 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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=revoke_certificate_authority_version_details)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=revoke_certificate_authority_version_details)
+
+ def revoke_certificate_version(self, certificate_id, certificate_version_number, revoke_certificate_version_details, **kwargs):
+ """
+ Revokes the specified certificate version.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param int certificate_version_number: (required)
+ The version number of the certificate.
+
+ :param oci.certificates_management.models.RevokeCertificateVersionDetails revoke_certificate_version_details: (required)
+ The details of the request to revoke a certificate version.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 revoke_certificate_version API.
+ """
+ resource_path = "/certificates/{certificateId}/version/{certificateVersionNumber}/actions/revoke"
+ method = "POST"
+
+ # 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(
+ "revoke_certificate_version got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_id,
+ "certificateVersionNumber": certificate_version_number
+ }
+
+ 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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=revoke_certificate_version_details)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=revoke_certificate_version_details)
+
+ def schedule_certificate_authority_deletion(self, certificate_authority_id, schedule_certificate_authority_deletion_details, **kwargs):
+ """
+ Schedules the deletion of the specified certificate authority (CA). This sets the lifecycle state of the CA to `PENDING_DELETION` and then deletes it after the specified retention period ends. If needed, you can determine the status of the deletion by using `GetCertificateAuthority`.
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param oci.certificates_management.models.ScheduleCertificateAuthorityDeletionDetails schedule_certificate_authority_deletion_details: (required)
+ The details of the request to schedule the deletion of a CA.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 schedule_certificate_authority_deletion API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}/actions/scheduleDeletion"
+ 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(
+ "schedule_certificate_authority_deletion got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=schedule_certificate_authority_deletion_details)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=schedule_certificate_authority_deletion_details)
+
+ def schedule_certificate_authority_version_deletion(self, certificate_authority_id, certificate_authority_version_number, schedule_certificate_authority_version_deletion_details, **kwargs):
+ """
+ Schedules the deletion of the specified certificate authority (CA) version.
+ This sets the lifecycle state of the CA version to `PENDING_DELETION`
+ and then deletes it after the specified retention period ends. If needed, you can determine the status of the deletion by using `GetCertificateAuthorityVersion`.
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param int certificate_authority_version_number: (required)
+ The version number of the certificate authority (CA).
+
+ :param oci.certificates_management.models.ScheduleCertificateAuthorityVersionDeletionDetails schedule_certificate_authority_version_deletion_details: (required)
+ The details of the request to delete a CA version.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 schedule_certificate_authority_version_deletion API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}/version/{certificateAuthorityVersionNumber}/actions/scheduleDeletion"
+ 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(
+ "schedule_certificate_authority_version_deletion got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_id,
+ "certificateAuthorityVersionNumber": certificate_authority_version_number
+ }
+
+ 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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=schedule_certificate_authority_version_deletion_details)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=schedule_certificate_authority_version_deletion_details)
+
+ def schedule_certificate_deletion(self, certificate_id, schedule_certificate_deletion_details, **kwargs):
+ """
+ Schedules the deletion of the specified certificate. This sets the lifecycle state of the certificate
+ to `PENDING_DELETION` and then deletes it after the specified retention period ends.
+ You can subsequently use `GetCertificate` to determine the current deletion status.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param oci.certificates_management.models.ScheduleCertificateDeletionDetails schedule_certificate_deletion_details: (required)
+ The details of the request to schedule a certificate deletion.
+ This sets the lifecycle state of the certificate to `PENDING_DELETION` and then deletes it
+ after the specified retention period ends.
+ You can subsequently use `GetCertificate` to determine the current deletion status.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 schedule_certificate_deletion API.
+ """
+ resource_path = "/certificates/{certificateId}/actions/scheduleDeletion"
+ 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(
+ "schedule_certificate_deletion got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=schedule_certificate_deletion_details)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=schedule_certificate_deletion_details)
+
+ def schedule_certificate_version_deletion(self, certificate_id, certificate_version_number, schedule_certificate_version_deletion_details, **kwargs):
+ """
+ Schedules the deletion of the specified certificate version. This sets the lifecycle state of the certificate version to `PENDING_DELETION` and then deletes it after the specified retention period ends. You can only
+ delete a certificate version if the certificate version rotation state is marked as `DEPRECATED`.
+
+ You can subsequently use `GetCertificateVersion` to determine the current certificate version deletion status.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param int certificate_version_number: (required)
+ The version number of the certificate.
+
+ :param oci.certificates_management.models.ScheduleCertificateVersionDeletionDetails schedule_certificate_version_deletion_details: (required)
+ The details of the request to delete a certificate version.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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 schedule_certificate_version_deletion API.
+ """
+ resource_path = "/certificates/{certificateId}/version/{certificateVersionNumber}/actions/scheduleDeletion"
+ 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(
+ "schedule_certificate_version_deletion got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_id,
+ "certificateVersionNumber": certificate_version_number
+ }
+
+ 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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=schedule_certificate_version_deletion_details)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=schedule_certificate_version_deletion_details)
+
+ def update_ca_bundle(self, ca_bundle_id, update_ca_bundle_details, **kwargs):
+ """
+ Updates the properties of a CA bundle.
+
+
+ :param str ca_bundle_id: (required)
+ The OCID of the CA bundle.
+
+ :param oci.certificates_management.models.UpdateCaBundleDetails update_ca_bundle_details: (required)
+ The details of the request to update a CA bundle.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CaBundle`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use update_ca_bundle API.
+ """
+ resource_path = "/caBundles/{caBundleId}"
+ method = "PUT"
+
+ # 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(
+ "update_ca_bundle got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "caBundleId": ca_bundle_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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_ca_bundle_details,
+ response_type="CaBundle")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_ca_bundle_details,
+ response_type="CaBundle")
+
+ def update_certificate(self, certificate_id, update_certificate_details, **kwargs):
+ """
+ Updates the properties of a certificate.
+
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param oci.certificates_management.models.UpdateCertificateDetails update_certificate_details: (required)
+ The details of the request to update a certificate.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.Certificate`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use update_certificate API.
+ """
+ resource_path = "/certificates/{certificateId}"
+ method = "PUT"
+
+ # 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(
+ "update_certificate got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateId": certificate_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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_certificate_details,
+ response_type="Certificate")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_certificate_details,
+ response_type="Certificate")
+
+ def update_certificate_authority(self, certificate_authority_id, update_certificate_authority_details, **kwargs):
+ """
+ Updates the properties of the specified certificate authority (CA).
+
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param oci.certificates_management.models.UpdateCertificateAuthorityDetails update_certificate_authority_details: (required)
+ The details of the request to update a CA.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If provided, the returned request ID
+ will include this value. Otherwise, a random request ID will be
+ generated by the service.
+
+ :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.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.certificates_management.models.CertificateAuthority`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use update_certificate_authority API.
+ """
+ resource_path = "/certificateAuthorities/{certificateAuthorityId}"
+ method = "PUT"
+
+ # 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(
+ "update_certificate_authority got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "certificateAuthorityId": certificate_authority_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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_certificate_authority_details,
+ response_type="CertificateAuthority")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_certificate_authority_details,
+ response_type="CertificateAuthority")
diff --git a/src/oci/certificates_management/certificates_management_client_composite_operations.py b/src/oci/certificates_management/certificates_management_client_composite_operations.py
new file mode 100644
index 0000000000..6ef3ea7eeb
--- /dev/null
+++ b/src/oci/certificates_management/certificates_management_client_composite_operations.py
@@ -0,0 +1,308 @@
+# 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.
+
+import oci # noqa: F401
+from oci.util import WAIT_RESOURCE_NOT_FOUND # noqa: F401
+
+
+class CertificatesManagementClientCompositeOperations(object):
+ """
+ This class provides a wrapper around :py:class:`~oci.certificates_management.CertificatesManagementClient` and offers convenience methods
+ for operations that would otherwise need to be chained together. For example, instead of performing an action
+ on a resource (e.g. launching an instance, creating a load balancer) and then using a waiter to wait for the resource
+ to enter a given state, you can call a single method in this class to accomplish the same functionality
+ """
+
+ def __init__(self, client, **kwargs):
+ """
+ Creates a new CertificatesManagementClientCompositeOperations object
+
+ :param CertificatesManagementClient client:
+ The service client which will be wrapped by this object
+ """
+ self.client = client
+
+ def create_ca_bundle_and_wait_for_state(self, create_ca_bundle_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.certificates_management.CertificatesManagementClient.create_ca_bundle` and waits for the :py:class:`~oci.certificates_management.models.CaBundle` acted upon
+ to enter the given state(s).
+
+ :param oci.certificates_management.models.CreateCaBundleDetails create_ca_bundle_details: (required)
+ The details of the request to create a new CA bundle.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.certificates_management.models.CaBundle.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.certificates_management.CertificatesManagementClient.create_ca_bundle`
+
+ :param dict waiter_kwargs:
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
+ """
+ operation_result = self.client.create_ca_bundle(create_ca_bundle_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ wait_for_resource_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_ca_bundle(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def create_certificate_and_wait_for_state(self, create_certificate_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.certificates_management.CertificatesManagementClient.create_certificate` and waits for the :py:class:`~oci.certificates_management.models.Certificate` acted upon
+ to enter the given state(s).
+
+ :param oci.certificates_management.models.CreateCertificateDetails create_certificate_details: (required)
+ The details of the request to create a new certificate.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.certificates_management.models.Certificate.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.certificates_management.CertificatesManagementClient.create_certificate`
+
+ :param dict waiter_kwargs:
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
+ """
+ operation_result = self.client.create_certificate(create_certificate_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ wait_for_resource_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_certificate(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def create_certificate_authority_and_wait_for_state(self, create_certificate_authority_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.certificates_management.CertificatesManagementClient.create_certificate_authority` and waits for the :py:class:`~oci.certificates_management.models.CertificateAuthority` acted upon
+ to enter the given state(s).
+
+ :param oci.certificates_management.models.CreateCertificateAuthorityDetails create_certificate_authority_details: (required)
+ The details of the request to create a new CA.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.certificates_management.models.CertificateAuthority.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.certificates_management.CertificatesManagementClient.create_certificate_authority`
+
+ :param dict waiter_kwargs:
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
+ """
+ operation_result = self.client.create_certificate_authority(create_certificate_authority_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ wait_for_resource_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_certificate_authority(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def delete_ca_bundle_and_wait_for_state(self, ca_bundle_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.certificates_management.CertificatesManagementClient.delete_ca_bundle` and waits for the :py:class:`~oci.certificates_management.models.CaBundle` acted upon
+ to enter the given state(s).
+
+ :param str ca_bundle_id: (required)
+ The OCID of the CA bundle.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.certificates_management.models.CaBundle.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.certificates_management.CertificatesManagementClient.delete_ca_bundle`
+
+ :param dict waiter_kwargs:
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
+ """
+ initial_get_result = self.client.get_ca_bundle(ca_bundle_id)
+ operation_result = None
+ try:
+ operation_result = self.client.delete_ca_bundle(ca_bundle_id, **operation_kwargs)
+ except oci.exceptions.ServiceError as e:
+ if e.status == 404:
+ return WAIT_RESOURCE_NOT_FOUND
+ else:
+ raise e
+
+ if not wait_for_states:
+ return operation_result
+
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ initial_get_result,
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ succeed_on_not_found=True,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def update_ca_bundle_and_wait_for_state(self, ca_bundle_id, update_ca_bundle_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.certificates_management.CertificatesManagementClient.update_ca_bundle` and waits for the :py:class:`~oci.certificates_management.models.CaBundle` acted upon
+ to enter the given state(s).
+
+ :param str ca_bundle_id: (required)
+ The OCID of the CA bundle.
+
+ :param oci.certificates_management.models.UpdateCaBundleDetails update_ca_bundle_details: (required)
+ The details of the request to update a CA bundle.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.certificates_management.models.CaBundle.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.certificates_management.CertificatesManagementClient.update_ca_bundle`
+
+ :param dict waiter_kwargs:
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
+ """
+ operation_result = self.client.update_ca_bundle(ca_bundle_id, update_ca_bundle_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ wait_for_resource_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_ca_bundle(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def update_certificate_and_wait_for_state(self, certificate_id, update_certificate_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.certificates_management.CertificatesManagementClient.update_certificate` and waits for the :py:class:`~oci.certificates_management.models.Certificate` acted upon
+ to enter the given state(s).
+
+ :param str certificate_id: (required)
+ The OCID of the certificate.
+
+ :param oci.certificates_management.models.UpdateCertificateDetails update_certificate_details: (required)
+ The details of the request to update a certificate.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.certificates_management.models.Certificate.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.certificates_management.CertificatesManagementClient.update_certificate`
+
+ :param dict waiter_kwargs:
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
+ """
+ operation_result = self.client.update_certificate(certificate_id, update_certificate_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ wait_for_resource_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_certificate(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def update_certificate_authority_and_wait_for_state(self, certificate_authority_id, update_certificate_authority_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.certificates_management.CertificatesManagementClient.update_certificate_authority` and waits for the :py:class:`~oci.certificates_management.models.CertificateAuthority` acted upon
+ to enter the given state(s).
+
+ :param str certificate_authority_id: (required)
+ The OCID of the certificate authority (CA).
+
+ :param oci.certificates_management.models.UpdateCertificateAuthorityDetails update_certificate_authority_details: (required)
+ The details of the request to update a CA.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.certificates_management.models.CertificateAuthority.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.certificates_management.CertificatesManagementClient.update_certificate_authority`
+
+ :param dict waiter_kwargs:
+ A dictionary of keyword arguments to pass to the :py:func:`oci.wait_until` function. For example, you could pass ``max_interval_seconds`` or ``max_interval_seconds``
+ as dictionary keys to modify how long the waiter function will wait between retries and the maximum amount of time it will wait
+ """
+ operation_result = self.client.update_certificate_authority(certificate_authority_id, update_certificate_authority_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ wait_for_resource_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_certificate_authority(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
diff --git a/src/oci/certificates_management/models/__init__.py b/src/oci/certificates_management/models/__init__.py
new file mode 100644
index 0000000000..d3765e307c
--- /dev/null
+++ b/src/oci/certificates_management/models/__init__.py
@@ -0,0 +1,124 @@
+# 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 __future__ import absolute_import
+
+from .association import Association
+from .association_collection import AssociationCollection
+from .association_summary import AssociationSummary
+from .ca_bundle import CaBundle
+from .ca_bundle_collection import CaBundleCollection
+from .ca_bundle_summary import CaBundleSummary
+from .certificate import Certificate
+from .certificate_authority import CertificateAuthority
+from .certificate_authority_collection import CertificateAuthorityCollection
+from .certificate_authority_issuance_expiry_rule import CertificateAuthorityIssuanceExpiryRule
+from .certificate_authority_rule import CertificateAuthorityRule
+from .certificate_authority_summary import CertificateAuthoritySummary
+from .certificate_authority_version import CertificateAuthorityVersion
+from .certificate_authority_version_collection import CertificateAuthorityVersionCollection
+from .certificate_authority_version_summary import CertificateAuthorityVersionSummary
+from .certificate_collection import CertificateCollection
+from .certificate_renewal_rule import CertificateRenewalRule
+from .certificate_revocation_list_details import CertificateRevocationListDetails
+from .certificate_rule import CertificateRule
+from .certificate_subject import CertificateSubject
+from .certificate_subject_alternative_name import CertificateSubjectAlternativeName
+from .certificate_summary import CertificateSummary
+from .certificate_version import CertificateVersion
+from .certificate_version_collection import CertificateVersionCollection
+from .certificate_version_summary import CertificateVersionSummary
+from .change_ca_bundle_compartment_details import ChangeCaBundleCompartmentDetails
+from .change_certificate_authority_compartment_details import ChangeCertificateAuthorityCompartmentDetails
+from .change_certificate_compartment_details import ChangeCertificateCompartmentDetails
+from .create_ca_bundle_details import CreateCaBundleDetails
+from .create_certificate_authority_config_details import CreateCertificateAuthorityConfigDetails
+from .create_certificate_authority_details import CreateCertificateAuthorityDetails
+from .create_certificate_by_importing_config_details import CreateCertificateByImportingConfigDetails
+from .create_certificate_config_details import CreateCertificateConfigDetails
+from .create_certificate_details import CreateCertificateDetails
+from .create_certificate_issued_by_internal_ca_config_details import CreateCertificateIssuedByInternalCaConfigDetails
+from .create_certificate_managed_externally_issued_by_internal_ca_config_details import CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails
+from .create_root_ca_by_generating_internally_config_details import CreateRootCaByGeneratingInternallyConfigDetails
+from .create_subordinate_ca_issued_by_internal_ca_config_details import CreateSubordinateCaIssuedByInternalCaConfigDetails
+from .object_storage_bucket_config_details import ObjectStorageBucketConfigDetails
+from .revocation_status import RevocationStatus
+from .revoke_certificate_authority_version_details import RevokeCertificateAuthorityVersionDetails
+from .revoke_certificate_version_details import RevokeCertificateVersionDetails
+from .schedule_certificate_authority_deletion_details import ScheduleCertificateAuthorityDeletionDetails
+from .schedule_certificate_authority_version_deletion_details import ScheduleCertificateAuthorityVersionDeletionDetails
+from .schedule_certificate_deletion_details import ScheduleCertificateDeletionDetails
+from .schedule_certificate_version_deletion_details import ScheduleCertificateVersionDeletionDetails
+from .update_ca_bundle_details import UpdateCaBundleDetails
+from .update_certificate_authority_config_details import UpdateCertificateAuthorityConfigDetails
+from .update_certificate_authority_details import UpdateCertificateAuthorityDetails
+from .update_certificate_by_importing_config_details import UpdateCertificateByImportingConfigDetails
+from .update_certificate_config_details import UpdateCertificateConfigDetails
+from .update_certificate_details import UpdateCertificateDetails
+from .update_certificate_issued_by_internal_ca_config_details import UpdateCertificateIssuedByInternalCaConfigDetails
+from .update_certificate_managed_externally_issued_by_internal_ca_config_details import UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails
+from .update_root_ca_by_generating_internally_config_details import UpdateRootCaByGeneratingInternallyConfigDetails
+from .update_subordinate_ca_issued_by_internal_ca_config_details import UpdateSubordinateCaIssuedByInternalCaConfigDetails
+from .validity import Validity
+
+# Maps type names to classes for certificates_management services.
+certificates_management_type_mapping = {
+ "Association": Association,
+ "AssociationCollection": AssociationCollection,
+ "AssociationSummary": AssociationSummary,
+ "CaBundle": CaBundle,
+ "CaBundleCollection": CaBundleCollection,
+ "CaBundleSummary": CaBundleSummary,
+ "Certificate": Certificate,
+ "CertificateAuthority": CertificateAuthority,
+ "CertificateAuthorityCollection": CertificateAuthorityCollection,
+ "CertificateAuthorityIssuanceExpiryRule": CertificateAuthorityIssuanceExpiryRule,
+ "CertificateAuthorityRule": CertificateAuthorityRule,
+ "CertificateAuthoritySummary": CertificateAuthoritySummary,
+ "CertificateAuthorityVersion": CertificateAuthorityVersion,
+ "CertificateAuthorityVersionCollection": CertificateAuthorityVersionCollection,
+ "CertificateAuthorityVersionSummary": CertificateAuthorityVersionSummary,
+ "CertificateCollection": CertificateCollection,
+ "CertificateRenewalRule": CertificateRenewalRule,
+ "CertificateRevocationListDetails": CertificateRevocationListDetails,
+ "CertificateRule": CertificateRule,
+ "CertificateSubject": CertificateSubject,
+ "CertificateSubjectAlternativeName": CertificateSubjectAlternativeName,
+ "CertificateSummary": CertificateSummary,
+ "CertificateVersion": CertificateVersion,
+ "CertificateVersionCollection": CertificateVersionCollection,
+ "CertificateVersionSummary": CertificateVersionSummary,
+ "ChangeCaBundleCompartmentDetails": ChangeCaBundleCompartmentDetails,
+ "ChangeCertificateAuthorityCompartmentDetails": ChangeCertificateAuthorityCompartmentDetails,
+ "ChangeCertificateCompartmentDetails": ChangeCertificateCompartmentDetails,
+ "CreateCaBundleDetails": CreateCaBundleDetails,
+ "CreateCertificateAuthorityConfigDetails": CreateCertificateAuthorityConfigDetails,
+ "CreateCertificateAuthorityDetails": CreateCertificateAuthorityDetails,
+ "CreateCertificateByImportingConfigDetails": CreateCertificateByImportingConfigDetails,
+ "CreateCertificateConfigDetails": CreateCertificateConfigDetails,
+ "CreateCertificateDetails": CreateCertificateDetails,
+ "CreateCertificateIssuedByInternalCaConfigDetails": CreateCertificateIssuedByInternalCaConfigDetails,
+ "CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails": CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails,
+ "CreateRootCaByGeneratingInternallyConfigDetails": CreateRootCaByGeneratingInternallyConfigDetails,
+ "CreateSubordinateCaIssuedByInternalCaConfigDetails": CreateSubordinateCaIssuedByInternalCaConfigDetails,
+ "ObjectStorageBucketConfigDetails": ObjectStorageBucketConfigDetails,
+ "RevocationStatus": RevocationStatus,
+ "RevokeCertificateAuthorityVersionDetails": RevokeCertificateAuthorityVersionDetails,
+ "RevokeCertificateVersionDetails": RevokeCertificateVersionDetails,
+ "ScheduleCertificateAuthorityDeletionDetails": ScheduleCertificateAuthorityDeletionDetails,
+ "ScheduleCertificateAuthorityVersionDeletionDetails": ScheduleCertificateAuthorityVersionDeletionDetails,
+ "ScheduleCertificateDeletionDetails": ScheduleCertificateDeletionDetails,
+ "ScheduleCertificateVersionDeletionDetails": ScheduleCertificateVersionDeletionDetails,
+ "UpdateCaBundleDetails": UpdateCaBundleDetails,
+ "UpdateCertificateAuthorityConfigDetails": UpdateCertificateAuthorityConfigDetails,
+ "UpdateCertificateAuthorityDetails": UpdateCertificateAuthorityDetails,
+ "UpdateCertificateByImportingConfigDetails": UpdateCertificateByImportingConfigDetails,
+ "UpdateCertificateConfigDetails": UpdateCertificateConfigDetails,
+ "UpdateCertificateDetails": UpdateCertificateDetails,
+ "UpdateCertificateIssuedByInternalCaConfigDetails": UpdateCertificateIssuedByInternalCaConfigDetails,
+ "UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails": UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails,
+ "UpdateRootCaByGeneratingInternallyConfigDetails": UpdateRootCaByGeneratingInternallyConfigDetails,
+ "UpdateSubordinateCaIssuedByInternalCaConfigDetails": UpdateSubordinateCaIssuedByInternalCaConfigDetails,
+ "Validity": Validity
+}
diff --git a/src/oci/certificates_management/models/association.py b/src/oci/certificates_management/models/association.py
new file mode 100644
index 0000000000..62d29a4a1c
--- /dev/null
+++ b/src/oci/certificates_management/models/association.py
@@ -0,0 +1,341 @@
+# 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 Association(object):
+ """
+ The details of the association.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a Association.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a Association.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a Association.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a Association.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a Association.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ #: A constant which can be used with the association_type property of a Association.
+ #: This constant has a value of "CERTIFICATE"
+ ASSOCIATION_TYPE_CERTIFICATE = "CERTIFICATE"
+
+ #: A constant which can be used with the association_type property of a Association.
+ #: This constant has a value of "CERTIFICATE_AUTHORITY"
+ ASSOCIATION_TYPE_CERTIFICATE_AUTHORITY = "CERTIFICATE_AUTHORITY"
+
+ #: A constant which can be used with the association_type property of a Association.
+ #: This constant has a value of "CA_BUNDLE"
+ ASSOCIATION_TYPE_CA_BUNDLE = "CA_BUNDLE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new Association object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this Association.
+ :type id: str
+
+ :param name:
+ The value to assign to the name property of this Association.
+ :type name: str
+
+ :param time_created:
+ The value to assign to the time_created property of this Association.
+ :type time_created: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this Association.
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param certificates_resource_id:
+ The value to assign to the certificates_resource_id property of this Association.
+ :type certificates_resource_id: str
+
+ :param associated_resource_id:
+ The value to assign to the associated_resource_id property of this Association.
+ :type associated_resource_id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this Association.
+ :type compartment_id: str
+
+ :param association_type:
+ The value to assign to the association_type property of this Association.
+ Allowed values for this property are: "CERTIFICATE", "CERTIFICATE_AUTHORITY", "CA_BUNDLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type association_type: str
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'name': 'str',
+ 'time_created': 'datetime',
+ 'lifecycle_state': 'str',
+ 'certificates_resource_id': 'str',
+ 'associated_resource_id': 'str',
+ 'compartment_id': 'str',
+ 'association_type': 'str'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'name': 'name',
+ 'time_created': 'timeCreated',
+ 'lifecycle_state': 'lifecycleState',
+ 'certificates_resource_id': 'certificatesResourceId',
+ 'associated_resource_id': 'associatedResourceId',
+ 'compartment_id': 'compartmentId',
+ 'association_type': 'associationType'
+ }
+
+ self._id = None
+ self._name = None
+ self._time_created = None
+ self._lifecycle_state = None
+ self._certificates_resource_id = None
+ self._associated_resource_id = None
+ self._compartment_id = None
+ self._association_type = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this Association.
+ The OCID of the association.
+
+
+ :return: The id of this Association.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this Association.
+ The OCID of the association.
+
+
+ :param id: The id of this Association.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this Association.
+ A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
+
+
+ :return: The name of this Association.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this Association.
+ A user-friendly name generated by the service for the association, expressed in a format that follows the pattern: [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
+
+
+ :param name: The name of this Association.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this Association.
+ A property indicating when the association was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this Association.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this Association.
+ A property indicating when the association was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this Association.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this Association.
+ The current lifecycle state of the association.
+
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this Association.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this Association.
+ The current lifecycle state of the association.
+
+
+ :param lifecycle_state: The lifecycle_state of this Association.
+ :type: str
+ """
+ allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def certificates_resource_id(self):
+ """
+ **[Required]** Gets the certificates_resource_id of this Association.
+ The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
+
+
+ :return: The certificates_resource_id of this Association.
+ :rtype: str
+ """
+ return self._certificates_resource_id
+
+ @certificates_resource_id.setter
+ def certificates_resource_id(self, certificates_resource_id):
+ """
+ Sets the certificates_resource_id of this Association.
+ The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
+
+
+ :param certificates_resource_id: The certificates_resource_id of this Association.
+ :type: str
+ """
+ self._certificates_resource_id = certificates_resource_id
+
+ @property
+ def associated_resource_id(self):
+ """
+ **[Required]** Gets the associated_resource_id of this Association.
+ The OCID of the associated resource.
+
+
+ :return: The associated_resource_id of this Association.
+ :rtype: str
+ """
+ return self._associated_resource_id
+
+ @associated_resource_id.setter
+ def associated_resource_id(self, associated_resource_id):
+ """
+ Sets the associated_resource_id of this Association.
+ The OCID of the associated resource.
+
+
+ :param associated_resource_id: The associated_resource_id of this Association.
+ :type: str
+ """
+ self._associated_resource_id = associated_resource_id
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this Association.
+ The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
+
+
+ :return: The compartment_id of this Association.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this Association.
+ The compartment OCID of the association, which is strongly tied to the compartment OCID of the certificate-related resource.
+
+
+ :param compartment_id: The compartment_id of this Association.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def association_type(self):
+ """
+ **[Required]** Gets the association_type of this Association.
+ Type of the association.
+
+ Allowed values for this property are: "CERTIFICATE", "CERTIFICATE_AUTHORITY", "CA_BUNDLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The association_type of this Association.
+ :rtype: str
+ """
+ return self._association_type
+
+ @association_type.setter
+ def association_type(self, association_type):
+ """
+ Sets the association_type of this Association.
+ Type of the association.
+
+
+ :param association_type: The association_type of this Association.
+ :type: str
+ """
+ allowed_values = ["CERTIFICATE", "CERTIFICATE_AUTHORITY", "CA_BUNDLE"]
+ if not value_allowed_none_or_none_sentinel(association_type, allowed_values):
+ association_type = 'UNKNOWN_ENUM_VALUE'
+ self._association_type = association_type
+
+ 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/certificates_management/models/association_collection.py b/src/oci/certificates_management/models/association_collection.py
new file mode 100644
index 0000000000..898a1824e0
--- /dev/null
+++ b/src/oci/certificates_management/models/association_collection.py
@@ -0,0 +1,70 @@
+# 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 AssociationCollection(object):
+ """
+ The results of an association search.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AssociationCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this AssociationCollection.
+ :type items: list[oci.certificates_management.models.AssociationSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[AssociationSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this AssociationCollection.
+ A list of association summary objects.
+
+
+ :return: The items of this AssociationCollection.
+ :rtype: list[oci.certificates_management.models.AssociationSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this AssociationCollection.
+ A list of association summary objects.
+
+
+ :param items: The items of this AssociationCollection.
+ :type: list[oci.certificates_management.models.AssociationSummary]
+ """
+ self._items = items
+
+ 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/certificates_management/models/association_summary.py b/src/oci/certificates_management/models/association_summary.py
new file mode 100644
index 0000000000..057fa49560
--- /dev/null
+++ b/src/oci/certificates_management/models/association_summary.py
@@ -0,0 +1,341 @@
+# 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 AssociationSummary(object):
+ """
+ The details of the association.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a AssociationSummary.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a AssociationSummary.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a AssociationSummary.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a AssociationSummary.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a AssociationSummary.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ #: A constant which can be used with the association_type property of a AssociationSummary.
+ #: This constant has a value of "CERTIFICATE"
+ ASSOCIATION_TYPE_CERTIFICATE = "CERTIFICATE"
+
+ #: A constant which can be used with the association_type property of a AssociationSummary.
+ #: This constant has a value of "CERTIFICATE_AUTHORITY"
+ ASSOCIATION_TYPE_CERTIFICATE_AUTHORITY = "CERTIFICATE_AUTHORITY"
+
+ #: A constant which can be used with the association_type property of a AssociationSummary.
+ #: This constant has a value of "CA_BUNDLE"
+ ASSOCIATION_TYPE_CA_BUNDLE = "CA_BUNDLE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AssociationSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this AssociationSummary.
+ :type id: str
+
+ :param name:
+ The value to assign to the name property of this AssociationSummary.
+ :type name: str
+
+ :param time_created:
+ The value to assign to the time_created property of this AssociationSummary.
+ :type time_created: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this AssociationSummary.
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param certificates_resource_id:
+ The value to assign to the certificates_resource_id property of this AssociationSummary.
+ :type certificates_resource_id: str
+
+ :param associated_resource_id:
+ The value to assign to the associated_resource_id property of this AssociationSummary.
+ :type associated_resource_id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this AssociationSummary.
+ :type compartment_id: str
+
+ :param association_type:
+ The value to assign to the association_type property of this AssociationSummary.
+ Allowed values for this property are: "CERTIFICATE", "CERTIFICATE_AUTHORITY", "CA_BUNDLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type association_type: str
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'name': 'str',
+ 'time_created': 'datetime',
+ 'lifecycle_state': 'str',
+ 'certificates_resource_id': 'str',
+ 'associated_resource_id': 'str',
+ 'compartment_id': 'str',
+ 'association_type': 'str'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'name': 'name',
+ 'time_created': 'timeCreated',
+ 'lifecycle_state': 'lifecycleState',
+ 'certificates_resource_id': 'certificatesResourceId',
+ 'associated_resource_id': 'associatedResourceId',
+ 'compartment_id': 'compartmentId',
+ 'association_type': 'associationType'
+ }
+
+ self._id = None
+ self._name = None
+ self._time_created = None
+ self._lifecycle_state = None
+ self._certificates_resource_id = None
+ self._associated_resource_id = None
+ self._compartment_id = None
+ self._association_type = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this AssociationSummary.
+ The OCID of the association.
+
+
+ :return: The id of this AssociationSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this AssociationSummary.
+ The OCID of the association.
+
+
+ :param id: The id of this AssociationSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this AssociationSummary.
+ A user-friendly name generated by the service for the association. Name format follows the pattern [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
+
+
+ :return: The name of this AssociationSummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this AssociationSummary.
+ A user-friendly name generated by the service for the association. Name format follows the pattern [certificatesResourceEntityType]-[associatedResourceEntityType]-UUID.
+
+
+ :param name: The name of this AssociationSummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this AssociationSummary.
+ A property indicating when the association was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this AssociationSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this AssociationSummary.
+ A property indicating when the association was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this AssociationSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this AssociationSummary.
+ The current lifecycle state of the association.
+
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this AssociationSummary.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this AssociationSummary.
+ The current lifecycle state of the association.
+
+
+ :param lifecycle_state: The lifecycle_state of this AssociationSummary.
+ :type: str
+ """
+ allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def certificates_resource_id(self):
+ """
+ **[Required]** Gets the certificates_resource_id of this AssociationSummary.
+ The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
+
+
+ :return: The certificates_resource_id of this AssociationSummary.
+ :rtype: str
+ """
+ return self._certificates_resource_id
+
+ @certificates_resource_id.setter
+ def certificates_resource_id(self, certificates_resource_id):
+ """
+ Sets the certificates_resource_id of this AssociationSummary.
+ The OCID of the certificate-related resource associated with another Oracle Cloud Infrastructure resource.
+
+
+ :param certificates_resource_id: The certificates_resource_id of this AssociationSummary.
+ :type: str
+ """
+ self._certificates_resource_id = certificates_resource_id
+
+ @property
+ def associated_resource_id(self):
+ """
+ **[Required]** Gets the associated_resource_id of this AssociationSummary.
+ The OCID of the associated resource.
+
+
+ :return: The associated_resource_id of this AssociationSummary.
+ :rtype: str
+ """
+ return self._associated_resource_id
+
+ @associated_resource_id.setter
+ def associated_resource_id(self, associated_resource_id):
+ """
+ Sets the associated_resource_id of this AssociationSummary.
+ The OCID of the associated resource.
+
+
+ :param associated_resource_id: The associated_resource_id of this AssociationSummary.
+ :type: str
+ """
+ self._associated_resource_id = associated_resource_id
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this AssociationSummary.
+ The compartment OCID of the association. This is strongly tied to the compartment OCID of the certificate-related resource.
+
+
+ :return: The compartment_id of this AssociationSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this AssociationSummary.
+ The compartment OCID of the association. This is strongly tied to the compartment OCID of the certificate-related resource.
+
+
+ :param compartment_id: The compartment_id of this AssociationSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def association_type(self):
+ """
+ **[Required]** Gets the association_type of this AssociationSummary.
+ Type of the association.
+
+ Allowed values for this property are: "CERTIFICATE", "CERTIFICATE_AUTHORITY", "CA_BUNDLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The association_type of this AssociationSummary.
+ :rtype: str
+ """
+ return self._association_type
+
+ @association_type.setter
+ def association_type(self, association_type):
+ """
+ Sets the association_type of this AssociationSummary.
+ Type of the association.
+
+
+ :param association_type: The association_type of this AssociationSummary.
+ :type: str
+ """
+ allowed_values = ["CERTIFICATE", "CERTIFICATE_AUTHORITY", "CA_BUNDLE"]
+ if not value_allowed_none_or_none_sentinel(association_type, allowed_values):
+ association_type = 'UNKNOWN_ENUM_VALUE'
+ self._association_type = association_type
+
+ 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/certificates_management/models/ca_bundle.py b/src/oci/certificates_management/models/ca_bundle.py
new file mode 100644
index 0000000000..ca4bc81b46
--- /dev/null
+++ b/src/oci/certificates_management/models/ca_bundle.py
@@ -0,0 +1,372 @@
+# 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 CaBundle(object):
+ """
+ CA bundle metadata. This object does not contain the CA bundle certificates.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundle.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundle.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundle.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundle.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundle.
+ #: This constant has a value of "DELETED"
+ LIFECYCLE_STATE_DELETED = "DELETED"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundle.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CaBundle object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this CaBundle.
+ :type id: str
+
+ :param name:
+ The value to assign to the name property of this CaBundle.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CaBundle.
+ :type description: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CaBundle.
+ :type time_created: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this CaBundle.
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this CaBundle.
+ :type lifecycle_details: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CaBundle.
+ :type compartment_id: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CaBundle.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CaBundle.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'time_created': 'datetime',
+ 'lifecycle_state': 'str',
+ 'lifecycle_details': 'str',
+ 'compartment_id': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'name': 'name',
+ 'description': 'description',
+ 'time_created': 'timeCreated',
+ 'lifecycle_state': 'lifecycleState',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'compartment_id': 'compartmentId',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._id = None
+ self._name = None
+ self._description = None
+ self._time_created = None
+ self._lifecycle_state = None
+ self._lifecycle_details = None
+ self._compartment_id = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this CaBundle.
+ The OCID of the CA bundle.
+
+
+ :return: The id of this CaBundle.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this CaBundle.
+ The OCID of the CA bundle.
+
+
+ :param id: The id of this CaBundle.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CaBundle.
+ A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this CaBundle.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CaBundle.
+ A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this CaBundle.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CaBundle.
+ A brief description of the CA bundle.
+
+
+ :return: The description of this CaBundle.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CaBundle.
+ A brief description of the CA bundle.
+
+
+ :param description: The description of this CaBundle.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CaBundle.
+ A property indicating when the CA bundle was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CaBundle.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CaBundle.
+ A property indicating when the CA bundle was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CaBundle.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this CaBundle.
+ The current lifecycle state of the CA bundle.
+
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this CaBundle.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this CaBundle.
+ The current lifecycle state of the CA bundle.
+
+
+ :param lifecycle_state: The lifecycle_state of this CaBundle.
+ :type: str
+ """
+ allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def lifecycle_details(self):
+ """
+ Gets the lifecycle_details of this CaBundle.
+ Additional information about the current lifecycle state of the CA bundle.
+
+
+ :return: The lifecycle_details of this CaBundle.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this CaBundle.
+ Additional information about the current lifecycle state of the CA bundle.
+
+
+ :param lifecycle_details: The lifecycle_details of this CaBundle.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CaBundle.
+ The OCID of the compartment for the CA bundle.
+
+
+ :return: The compartment_id of this CaBundle.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CaBundle.
+ The OCID of the compartment for the CA bundle.
+
+
+ :param compartment_id: The compartment_id of this CaBundle.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CaBundle.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CaBundle.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CaBundle.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CaBundle.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CaBundle.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CaBundle.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CaBundle.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CaBundle.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/ca_bundle_collection.py b/src/oci/certificates_management/models/ca_bundle_collection.py
new file mode 100644
index 0000000000..584266fb78
--- /dev/null
+++ b/src/oci/certificates_management/models/ca_bundle_collection.py
@@ -0,0 +1,70 @@
+# 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 CaBundleCollection(object):
+ """
+ The results of a CA bundle search. This object contains CA bundle summary objects.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CaBundleCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this CaBundleCollection.
+ :type items: list[oci.certificates_management.models.CaBundleSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[CaBundleSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this CaBundleCollection.
+ A list of CA bundle summary objects.
+
+
+ :return: The items of this CaBundleCollection.
+ :rtype: list[oci.certificates_management.models.CaBundleSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this CaBundleCollection.
+ A list of CA bundle summary objects.
+
+
+ :param items: The items of this CaBundleCollection.
+ :type: list[oci.certificates_management.models.CaBundleSummary]
+ """
+ self._items = items
+
+ 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/certificates_management/models/ca_bundle_summary.py b/src/oci/certificates_management/models/ca_bundle_summary.py
new file mode 100644
index 0000000000..708a39a571
--- /dev/null
+++ b/src/oci/certificates_management/models/ca_bundle_summary.py
@@ -0,0 +1,372 @@
+# 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 CaBundleSummary(object):
+ """
+ CA bundle metadata. This summary object does not contain the CA bundle certificates.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundleSummary.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundleSummary.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundleSummary.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundleSummary.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundleSummary.
+ #: This constant has a value of "DELETED"
+ LIFECYCLE_STATE_DELETED = "DELETED"
+
+ #: A constant which can be used with the lifecycle_state property of a CaBundleSummary.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CaBundleSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this CaBundleSummary.
+ :type id: str
+
+ :param name:
+ The value to assign to the name property of this CaBundleSummary.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CaBundleSummary.
+ :type description: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CaBundleSummary.
+ :type time_created: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this CaBundleSummary.
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this CaBundleSummary.
+ :type lifecycle_details: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CaBundleSummary.
+ :type compartment_id: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CaBundleSummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CaBundleSummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'time_created': 'datetime',
+ 'lifecycle_state': 'str',
+ 'lifecycle_details': 'str',
+ 'compartment_id': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'name': 'name',
+ 'description': 'description',
+ 'time_created': 'timeCreated',
+ 'lifecycle_state': 'lifecycleState',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'compartment_id': 'compartmentId',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._id = None
+ self._name = None
+ self._description = None
+ self._time_created = None
+ self._lifecycle_state = None
+ self._lifecycle_details = None
+ self._compartment_id = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this CaBundleSummary.
+ The OCID of the CA bundle.
+
+
+ :return: The id of this CaBundleSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this CaBundleSummary.
+ The OCID of the CA bundle.
+
+
+ :param id: The id of this CaBundleSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CaBundleSummary.
+ A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this CaBundleSummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CaBundleSummary.
+ A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this CaBundleSummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CaBundleSummary.
+ A brief description of the CA bundle.
+
+
+ :return: The description of this CaBundleSummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CaBundleSummary.
+ A brief description of the CA bundle.
+
+
+ :param description: The description of this CaBundleSummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CaBundleSummary.
+ A property indicating when the CA bundle was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CaBundleSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CaBundleSummary.
+ A property indicating when the CA bundle was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CaBundleSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this CaBundleSummary.
+ The current lifecycle state of the CA bundle.
+
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this CaBundleSummary.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this CaBundleSummary.
+ The current lifecycle state of the CA bundle.
+
+
+ :param lifecycle_state: The lifecycle_state of this CaBundleSummary.
+ :type: str
+ """
+ allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def lifecycle_details(self):
+ """
+ Gets the lifecycle_details of this CaBundleSummary.
+ Additional information about the current lifecycle state of the CA bundle.
+
+
+ :return: The lifecycle_details of this CaBundleSummary.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this CaBundleSummary.
+ Additional information about the current lifecycle state of the CA bundle.
+
+
+ :param lifecycle_details: The lifecycle_details of this CaBundleSummary.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CaBundleSummary.
+ The OCID of the compartment for the CA bundle.
+
+
+ :return: The compartment_id of this CaBundleSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CaBundleSummary.
+ The OCID of the compartment for the CA bundle.
+
+
+ :param compartment_id: The compartment_id of this CaBundleSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CaBundleSummary.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CaBundleSummary.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CaBundleSummary.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CaBundleSummary.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CaBundleSummary.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CaBundleSummary.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CaBundleSummary.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CaBundleSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/certificate.py b/src/oci/certificates_management/models/certificate.py
new file mode 100644
index 0000000000..9248d85f21
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate.py
@@ -0,0 +1,788 @@
+# 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 Certificate(object):
+ """
+ The details of the certificate. This object does not contain the certificate contents.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a Certificate.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a Certificate.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a Certificate.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a Certificate.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a Certificate.
+ #: This constant has a value of "DELETED"
+ LIFECYCLE_STATE_DELETED = "DELETED"
+
+ #: A constant which can be used with the lifecycle_state property of a Certificate.
+ #: This constant has a value of "SCHEDULING_DELETION"
+ LIFECYCLE_STATE_SCHEDULING_DELETION = "SCHEDULING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a Certificate.
+ #: This constant has a value of "PENDING_DELETION"
+ LIFECYCLE_STATE_PENDING_DELETION = "PENDING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a Certificate.
+ #: This constant has a value of "CANCELLING_DELETION"
+ LIFECYCLE_STATE_CANCELLING_DELETION = "CANCELLING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a Certificate.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ #: A constant which can be used with the config_type property of a Certificate.
+ #: This constant has a value of "ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_ISSUED_BY_INTERNAL_CA = "ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the config_type property of a Certificate.
+ #: This constant has a value of "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA = "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the config_type property of a Certificate.
+ #: This constant has a value of "IMPORTED"
+ CONFIG_TYPE_IMPORTED = "IMPORTED"
+
+ #: A constant which can be used with the key_algorithm property of a Certificate.
+ #: This constant has a value of "RSA2048"
+ KEY_ALGORITHM_RSA2048 = "RSA2048"
+
+ #: A constant which can be used with the key_algorithm property of a Certificate.
+ #: This constant has a value of "RSA4096"
+ KEY_ALGORITHM_RSA4096 = "RSA4096"
+
+ #: A constant which can be used with the key_algorithm property of a Certificate.
+ #: This constant has a value of "ECDSA_P256"
+ KEY_ALGORITHM_ECDSA_P256 = "ECDSA_P256"
+
+ #: A constant which can be used with the key_algorithm property of a Certificate.
+ #: This constant has a value of "ECDSA_P384"
+ KEY_ALGORITHM_ECDSA_P384 = "ECDSA_P384"
+
+ #: A constant which can be used with the signature_algorithm property of a Certificate.
+ #: This constant has a value of "SHA256_WITH_RSA"
+ SIGNATURE_ALGORITHM_SHA256_WITH_RSA = "SHA256_WITH_RSA"
+
+ #: A constant which can be used with the signature_algorithm property of a Certificate.
+ #: This constant has a value of "SHA384_WITH_RSA"
+ SIGNATURE_ALGORITHM_SHA384_WITH_RSA = "SHA384_WITH_RSA"
+
+ #: A constant which can be used with the signature_algorithm property of a Certificate.
+ #: This constant has a value of "SHA512_WITH_RSA"
+ SIGNATURE_ALGORITHM_SHA512_WITH_RSA = "SHA512_WITH_RSA"
+
+ #: A constant which can be used with the signature_algorithm property of a Certificate.
+ #: This constant has a value of "SHA256_WITH_ECDSA"
+ SIGNATURE_ALGORITHM_SHA256_WITH_ECDSA = "SHA256_WITH_ECDSA"
+
+ #: A constant which can be used with the signature_algorithm property of a Certificate.
+ #: This constant has a value of "SHA384_WITH_ECDSA"
+ SIGNATURE_ALGORITHM_SHA384_WITH_ECDSA = "SHA384_WITH_ECDSA"
+
+ #: A constant which can be used with the signature_algorithm property of a Certificate.
+ #: This constant has a value of "SHA512_WITH_ECDSA"
+ SIGNATURE_ALGORITHM_SHA512_WITH_ECDSA = "SHA512_WITH_ECDSA"
+
+ #: A constant which can be used with the certificate_profile_type property of a Certificate.
+ #: This constant has a value of "TLS_SERVER_OR_CLIENT"
+ CERTIFICATE_PROFILE_TYPE_TLS_SERVER_OR_CLIENT = "TLS_SERVER_OR_CLIENT"
+
+ #: A constant which can be used with the certificate_profile_type property of a Certificate.
+ #: This constant has a value of "TLS_SERVER"
+ CERTIFICATE_PROFILE_TYPE_TLS_SERVER = "TLS_SERVER"
+
+ #: A constant which can be used with the certificate_profile_type property of a Certificate.
+ #: This constant has a value of "TLS_CLIENT"
+ CERTIFICATE_PROFILE_TYPE_TLS_CLIENT = "TLS_CLIENT"
+
+ #: A constant which can be used with the certificate_profile_type property of a Certificate.
+ #: This constant has a value of "TLS_CODE_SIGN"
+ CERTIFICATE_PROFILE_TYPE_TLS_CODE_SIGN = "TLS_CODE_SIGN"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new Certificate object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this Certificate.
+ :type id: str
+
+ :param issuer_certificate_authority_id:
+ The value to assign to the issuer_certificate_authority_id property of this Certificate.
+ :type issuer_certificate_authority_id: str
+
+ :param name:
+ The value to assign to the name property of this Certificate.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this Certificate.
+ :type description: str
+
+ :param certificate_rules:
+ The value to assign to the certificate_rules property of this Certificate.
+ :type certificate_rules: list[oci.certificates_management.models.CertificateRule]
+
+ :param time_created:
+ The value to assign to the time_created property of this Certificate.
+ :type time_created: datetime
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this Certificate.
+ :type time_of_deletion: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this Certificate.
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this Certificate.
+ :type lifecycle_details: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this Certificate.
+ :type compartment_id: str
+
+ :param current_version:
+ The value to assign to the current_version property of this Certificate.
+ :type current_version: oci.certificates_management.models.CertificateVersionSummary
+
+ :param subject:
+ The value to assign to the subject property of this Certificate.
+ :type subject: oci.certificates_management.models.CertificateSubject
+
+ :param certificate_revocation_list_details:
+ The value to assign to the certificate_revocation_list_details property of this Certificate.
+ :type certificate_revocation_list_details: oci.certificates_management.models.CertificateRevocationListDetails
+
+ :param config_type:
+ The value to assign to the config_type property of this Certificate.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type config_type: str
+
+ :param key_algorithm:
+ The value to assign to the key_algorithm property of this Certificate.
+ Allowed values for this property are: "RSA2048", "RSA4096", "ECDSA_P256", "ECDSA_P384", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type key_algorithm: str
+
+ :param signature_algorithm:
+ The value to assign to the signature_algorithm property of this Certificate.
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type signature_algorithm: str
+
+ :param certificate_profile_type:
+ The value to assign to the certificate_profile_type property of this Certificate.
+ Allowed values for this property are: "TLS_SERVER_OR_CLIENT", "TLS_SERVER", "TLS_CLIENT", "TLS_CODE_SIGN", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type certificate_profile_type: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this Certificate.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this Certificate.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'issuer_certificate_authority_id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'certificate_rules': 'list[CertificateRule]',
+ 'time_created': 'datetime',
+ 'time_of_deletion': 'datetime',
+ 'lifecycle_state': 'str',
+ 'lifecycle_details': 'str',
+ 'compartment_id': 'str',
+ 'current_version': 'CertificateVersionSummary',
+ 'subject': 'CertificateSubject',
+ 'certificate_revocation_list_details': 'CertificateRevocationListDetails',
+ 'config_type': 'str',
+ 'key_algorithm': 'str',
+ 'signature_algorithm': 'str',
+ 'certificate_profile_type': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'issuer_certificate_authority_id': 'issuerCertificateAuthorityId',
+ 'name': 'name',
+ 'description': 'description',
+ 'certificate_rules': 'certificateRules',
+ 'time_created': 'timeCreated',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'lifecycle_state': 'lifecycleState',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'compartment_id': 'compartmentId',
+ 'current_version': 'currentVersion',
+ 'subject': 'subject',
+ 'certificate_revocation_list_details': 'certificateRevocationListDetails',
+ 'config_type': 'configType',
+ 'key_algorithm': 'keyAlgorithm',
+ 'signature_algorithm': 'signatureAlgorithm',
+ 'certificate_profile_type': 'certificateProfileType',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._id = None
+ self._issuer_certificate_authority_id = None
+ self._name = None
+ self._description = None
+ self._certificate_rules = None
+ self._time_created = None
+ self._time_of_deletion = None
+ self._lifecycle_state = None
+ self._lifecycle_details = None
+ self._compartment_id = None
+ self._current_version = None
+ self._subject = None
+ self._certificate_revocation_list_details = None
+ self._config_type = None
+ self._key_algorithm = None
+ self._signature_algorithm = None
+ self._certificate_profile_type = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this Certificate.
+ The OCID of the certificate.
+
+
+ :return: The id of this Certificate.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this Certificate.
+ The OCID of the certificate.
+
+
+ :param id: The id of this Certificate.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def issuer_certificate_authority_id(self):
+ """
+ Gets the issuer_certificate_authority_id of this Certificate.
+ The OCID of the certificate authority (CA) that issued the certificate.
+
+
+ :return: The issuer_certificate_authority_id of this Certificate.
+ :rtype: str
+ """
+ return self._issuer_certificate_authority_id
+
+ @issuer_certificate_authority_id.setter
+ def issuer_certificate_authority_id(self, issuer_certificate_authority_id):
+ """
+ Sets the issuer_certificate_authority_id of this Certificate.
+ The OCID of the certificate authority (CA) that issued the certificate.
+
+
+ :param issuer_certificate_authority_id: The issuer_certificate_authority_id of this Certificate.
+ :type: str
+ """
+ self._issuer_certificate_authority_id = issuer_certificate_authority_id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this Certificate.
+ A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this Certificate.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this Certificate.
+ A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this Certificate.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this Certificate.
+ A brief description of the certificate. Avoid entering confidential information.
+
+
+ :return: The description of this Certificate.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this Certificate.
+ A brief description of the certificate. Avoid entering confidential information.
+
+
+ :param description: The description of this Certificate.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def certificate_rules(self):
+ """
+ Gets the certificate_rules of this Certificate.
+ A list of rules that control how the certificate is used and managed.
+
+
+ :return: The certificate_rules of this Certificate.
+ :rtype: list[oci.certificates_management.models.CertificateRule]
+ """
+ return self._certificate_rules
+
+ @certificate_rules.setter
+ def certificate_rules(self, certificate_rules):
+ """
+ Sets the certificate_rules of this Certificate.
+ A list of rules that control how the certificate is used and managed.
+
+
+ :param certificate_rules: The certificate_rules of this Certificate.
+ :type: list[oci.certificates_management.models.CertificateRule]
+ """
+ self._certificate_rules = certificate_rules
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this Certificate.
+ A property indicating when the certificate was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this Certificate.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this Certificate.
+ A property indicating when the certificate was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this Certificate.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this Certificate.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this Certificate.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this Certificate.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this Certificate.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this Certificate.
+ The current lifecycle state of the certificate.
+
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this Certificate.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this Certificate.
+ The current lifecycle state of the certificate.
+
+
+ :param lifecycle_state: The lifecycle_state of this Certificate.
+ :type: str
+ """
+ allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def lifecycle_details(self):
+ """
+ Gets the lifecycle_details of this Certificate.
+ Additional information about the current lifecycle state of the certificate.
+
+
+ :return: The lifecycle_details of this Certificate.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this Certificate.
+ Additional information about the current lifecycle state of the certificate.
+
+
+ :param lifecycle_details: The lifecycle_details of this Certificate.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this Certificate.
+ The OCID of the compartment where you want to create the certificate.
+
+
+ :return: The compartment_id of this Certificate.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this Certificate.
+ The OCID of the compartment where you want to create the certificate.
+
+
+ :param compartment_id: The compartment_id of this Certificate.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def current_version(self):
+ """
+ Gets the current_version of this Certificate.
+
+ :return: The current_version of this Certificate.
+ :rtype: oci.certificates_management.models.CertificateVersionSummary
+ """
+ return self._current_version
+
+ @current_version.setter
+ def current_version(self, current_version):
+ """
+ Sets the current_version of this Certificate.
+
+ :param current_version: The current_version of this Certificate.
+ :type: oci.certificates_management.models.CertificateVersionSummary
+ """
+ self._current_version = current_version
+
+ @property
+ def subject(self):
+ """
+ Gets the subject of this Certificate.
+
+ :return: The subject of this Certificate.
+ :rtype: oci.certificates_management.models.CertificateSubject
+ """
+ return self._subject
+
+ @subject.setter
+ def subject(self, subject):
+ """
+ Sets the subject of this Certificate.
+
+ :param subject: The subject of this Certificate.
+ :type: oci.certificates_management.models.CertificateSubject
+ """
+ self._subject = subject
+
+ @property
+ def certificate_revocation_list_details(self):
+ """
+ Gets the certificate_revocation_list_details of this Certificate.
+
+ :return: The certificate_revocation_list_details of this Certificate.
+ :rtype: oci.certificates_management.models.CertificateRevocationListDetails
+ """
+ return self._certificate_revocation_list_details
+
+ @certificate_revocation_list_details.setter
+ def certificate_revocation_list_details(self, certificate_revocation_list_details):
+ """
+ Sets the certificate_revocation_list_details of this Certificate.
+
+ :param certificate_revocation_list_details: The certificate_revocation_list_details of this Certificate.
+ :type: oci.certificates_management.models.CertificateRevocationListDetails
+ """
+ self._certificate_revocation_list_details = certificate_revocation_list_details
+
+ @property
+ def config_type(self):
+ """
+ **[Required]** Gets the config_type of this Certificate.
+ The origin of the certificate.
+
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The config_type of this Certificate.
+ :rtype: str
+ """
+ return self._config_type
+
+ @config_type.setter
+ def config_type(self, config_type):
+ """
+ Sets the config_type of this Certificate.
+ The origin of the certificate.
+
+
+ :param config_type: The config_type of this Certificate.
+ :type: str
+ """
+ allowed_values = ["ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"]
+ if not value_allowed_none_or_none_sentinel(config_type, allowed_values):
+ config_type = 'UNKNOWN_ENUM_VALUE'
+ self._config_type = config_type
+
+ @property
+ def key_algorithm(self):
+ """
+ Gets the key_algorithm of this Certificate.
+ The algorithm used to create key pairs.
+
+ Allowed values for this property are: "RSA2048", "RSA4096", "ECDSA_P256", "ECDSA_P384", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The key_algorithm of this Certificate.
+ :rtype: str
+ """
+ return self._key_algorithm
+
+ @key_algorithm.setter
+ def key_algorithm(self, key_algorithm):
+ """
+ Sets the key_algorithm of this Certificate.
+ The algorithm used to create key pairs.
+
+
+ :param key_algorithm: The key_algorithm of this Certificate.
+ :type: str
+ """
+ allowed_values = ["RSA2048", "RSA4096", "ECDSA_P256", "ECDSA_P384"]
+ if not value_allowed_none_or_none_sentinel(key_algorithm, allowed_values):
+ key_algorithm = 'UNKNOWN_ENUM_VALUE'
+ self._key_algorithm = key_algorithm
+
+ @property
+ def signature_algorithm(self):
+ """
+ Gets the signature_algorithm of this Certificate.
+ The algorithm used to sign the public key certificate.
+
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The signature_algorithm of this Certificate.
+ :rtype: str
+ """
+ return self._signature_algorithm
+
+ @signature_algorithm.setter
+ def signature_algorithm(self, signature_algorithm):
+ """
+ Sets the signature_algorithm of this Certificate.
+ The algorithm used to sign the public key certificate.
+
+
+ :param signature_algorithm: The signature_algorithm of this Certificate.
+ :type: str
+ """
+ allowed_values = ["SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"]
+ if not value_allowed_none_or_none_sentinel(signature_algorithm, allowed_values):
+ signature_algorithm = 'UNKNOWN_ENUM_VALUE'
+ self._signature_algorithm = signature_algorithm
+
+ @property
+ def certificate_profile_type(self):
+ """
+ Gets the certificate_profile_type of this Certificate.
+ The name of the profile used to create the certificate, which depends on the type of certificate you need.
+
+ Allowed values for this property are: "TLS_SERVER_OR_CLIENT", "TLS_SERVER", "TLS_CLIENT", "TLS_CODE_SIGN", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The certificate_profile_type of this Certificate.
+ :rtype: str
+ """
+ return self._certificate_profile_type
+
+ @certificate_profile_type.setter
+ def certificate_profile_type(self, certificate_profile_type):
+ """
+ Sets the certificate_profile_type of this Certificate.
+ The name of the profile used to create the certificate, which depends on the type of certificate you need.
+
+
+ :param certificate_profile_type: The certificate_profile_type of this Certificate.
+ :type: str
+ """
+ allowed_values = ["TLS_SERVER_OR_CLIENT", "TLS_SERVER", "TLS_CLIENT", "TLS_CODE_SIGN"]
+ if not value_allowed_none_or_none_sentinel(certificate_profile_type, allowed_values):
+ certificate_profile_type = 'UNKNOWN_ENUM_VALUE'
+ self._certificate_profile_type = certificate_profile_type
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this Certificate.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this Certificate.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this Certificate.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this Certificate.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this Certificate.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this Certificate.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this Certificate.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this Certificate.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/certificate_authority.py b/src/oci/certificates_management/models/certificate_authority.py
new file mode 100644
index 0000000000..3f5f5c814d
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_authority.py
@@ -0,0 +1,693 @@
+# 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 CertificateAuthority(object):
+ """
+ The metadata details of the certificate authority (CA). This object does not contain the CA contents.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthority.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthority.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthority.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthority.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthority.
+ #: This constant has a value of "DELETED"
+ LIFECYCLE_STATE_DELETED = "DELETED"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthority.
+ #: This constant has a value of "SCHEDULING_DELETION"
+ LIFECYCLE_STATE_SCHEDULING_DELETION = "SCHEDULING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthority.
+ #: This constant has a value of "PENDING_DELETION"
+ LIFECYCLE_STATE_PENDING_DELETION = "PENDING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthority.
+ #: This constant has a value of "CANCELLING_DELETION"
+ LIFECYCLE_STATE_CANCELLING_DELETION = "CANCELLING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthority.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ #: A constant which can be used with the config_type property of a CertificateAuthority.
+ #: This constant has a value of "ROOT_CA_GENERATED_INTERNALLY"
+ CONFIG_TYPE_ROOT_CA_GENERATED_INTERNALLY = "ROOT_CA_GENERATED_INTERNALLY"
+
+ #: A constant which can be used with the config_type property of a CertificateAuthority.
+ #: This constant has a value of "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA = "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthority.
+ #: This constant has a value of "SHA256_WITH_RSA"
+ SIGNING_ALGORITHM_SHA256_WITH_RSA = "SHA256_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthority.
+ #: This constant has a value of "SHA384_WITH_RSA"
+ SIGNING_ALGORITHM_SHA384_WITH_RSA = "SHA384_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthority.
+ #: This constant has a value of "SHA512_WITH_RSA"
+ SIGNING_ALGORITHM_SHA512_WITH_RSA = "SHA512_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthority.
+ #: This constant has a value of "SHA256_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA256_WITH_ECDSA = "SHA256_WITH_ECDSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthority.
+ #: This constant has a value of "SHA384_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA384_WITH_ECDSA = "SHA384_WITH_ECDSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthority.
+ #: This constant has a value of "SHA512_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA512_WITH_ECDSA = "SHA512_WITH_ECDSA"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthority object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this CertificateAuthority.
+ :type id: str
+
+ :param issuer_certificate_authority_id:
+ The value to assign to the issuer_certificate_authority_id property of this CertificateAuthority.
+ :type issuer_certificate_authority_id: str
+
+ :param name:
+ The value to assign to the name property of this CertificateAuthority.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CertificateAuthority.
+ :type description: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateAuthority.
+ :type time_created: datetime
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this CertificateAuthority.
+ :type time_of_deletion: datetime
+
+ :param kms_key_id:
+ The value to assign to the kms_key_id property of this CertificateAuthority.
+ :type kms_key_id: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this CertificateAuthority.
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this CertificateAuthority.
+ :type lifecycle_details: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CertificateAuthority.
+ :type compartment_id: str
+
+ :param certificate_authority_rules:
+ The value to assign to the certificate_authority_rules property of this CertificateAuthority.
+ :type certificate_authority_rules: list[oci.certificates_management.models.CertificateAuthorityRule]
+
+ :param current_version:
+ The value to assign to the current_version property of this CertificateAuthority.
+ :type current_version: oci.certificates_management.models.CertificateAuthorityVersionSummary
+
+ :param certificate_revocation_list_details:
+ The value to assign to the certificate_revocation_list_details property of this CertificateAuthority.
+ :type certificate_revocation_list_details: oci.certificates_management.models.CertificateRevocationListDetails
+
+ :param config_type:
+ The value to assign to the config_type property of this CertificateAuthority.
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type config_type: str
+
+ :param subject:
+ The value to assign to the subject property of this CertificateAuthority.
+ :type subject: oci.certificates_management.models.CertificateSubject
+
+ :param signing_algorithm:
+ The value to assign to the signing_algorithm property of this CertificateAuthority.
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type signing_algorithm: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CertificateAuthority.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CertificateAuthority.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'issuer_certificate_authority_id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'time_created': 'datetime',
+ 'time_of_deletion': 'datetime',
+ 'kms_key_id': 'str',
+ 'lifecycle_state': 'str',
+ 'lifecycle_details': 'str',
+ 'compartment_id': 'str',
+ 'certificate_authority_rules': 'list[CertificateAuthorityRule]',
+ 'current_version': 'CertificateAuthorityVersionSummary',
+ 'certificate_revocation_list_details': 'CertificateRevocationListDetails',
+ 'config_type': 'str',
+ 'subject': 'CertificateSubject',
+ 'signing_algorithm': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'issuer_certificate_authority_id': 'issuerCertificateAuthorityId',
+ 'name': 'name',
+ 'description': 'description',
+ 'time_created': 'timeCreated',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'kms_key_id': 'kmsKeyId',
+ 'lifecycle_state': 'lifecycleState',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'compartment_id': 'compartmentId',
+ 'certificate_authority_rules': 'certificateAuthorityRules',
+ 'current_version': 'currentVersion',
+ 'certificate_revocation_list_details': 'certificateRevocationListDetails',
+ 'config_type': 'configType',
+ 'subject': 'subject',
+ 'signing_algorithm': 'signingAlgorithm',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._id = None
+ self._issuer_certificate_authority_id = None
+ self._name = None
+ self._description = None
+ self._time_created = None
+ self._time_of_deletion = None
+ self._kms_key_id = None
+ self._lifecycle_state = None
+ self._lifecycle_details = None
+ self._compartment_id = None
+ self._certificate_authority_rules = None
+ self._current_version = None
+ self._certificate_revocation_list_details = None
+ self._config_type = None
+ self._subject = None
+ self._signing_algorithm = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this CertificateAuthority.
+ The OCID of the CA.
+
+
+ :return: The id of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this CertificateAuthority.
+ The OCID of the CA.
+
+
+ :param id: The id of this CertificateAuthority.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def issuer_certificate_authority_id(self):
+ """
+ Gets the issuer_certificate_authority_id of this CertificateAuthority.
+ The OCID of the parent CA that issued this CA. If this is the root CA, then this value is null.
+
+
+ :return: The issuer_certificate_authority_id of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._issuer_certificate_authority_id
+
+ @issuer_certificate_authority_id.setter
+ def issuer_certificate_authority_id(self, issuer_certificate_authority_id):
+ """
+ Sets the issuer_certificate_authority_id of this CertificateAuthority.
+ The OCID of the parent CA that issued this CA. If this is the root CA, then this value is null.
+
+
+ :param issuer_certificate_authority_id: The issuer_certificate_authority_id of this CertificateAuthority.
+ :type: str
+ """
+ self._issuer_certificate_authority_id = issuer_certificate_authority_id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CertificateAuthority.
+ A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CertificateAuthority.
+ A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this CertificateAuthority.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CertificateAuthority.
+ A brief description of the CA.
+
+
+ :return: The description of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CertificateAuthority.
+ A brief description of the CA.
+
+
+ :param description: The description of this CertificateAuthority.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateAuthority.
+ A property indicating when the CA was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateAuthority.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateAuthority.
+ A property indicating when the CA was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateAuthority.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this CertificateAuthority.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this CertificateAuthority.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this CertificateAuthority.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this CertificateAuthority.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def kms_key_id(self):
+ """
+ Gets the kms_key_id of this CertificateAuthority.
+ The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
+
+
+ :return: The kms_key_id of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._kms_key_id
+
+ @kms_key_id.setter
+ def kms_key_id(self, kms_key_id):
+ """
+ Sets the kms_key_id of this CertificateAuthority.
+ The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
+
+
+ :param kms_key_id: The kms_key_id of this CertificateAuthority.
+ :type: str
+ """
+ self._kms_key_id = kms_key_id
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this CertificateAuthority.
+ The current lifecycle state of the certificate authority.
+
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this CertificateAuthority.
+ The current lifecycle state of the certificate authority.
+
+
+ :param lifecycle_state: The lifecycle_state of this CertificateAuthority.
+ :type: str
+ """
+ allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def lifecycle_details(self):
+ """
+ Gets the lifecycle_details of this CertificateAuthority.
+ Additional information about the current CA lifecycle state.
+
+
+ :return: The lifecycle_details of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this CertificateAuthority.
+ Additional information about the current CA lifecycle state.
+
+
+ :param lifecycle_details: The lifecycle_details of this CertificateAuthority.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CertificateAuthority.
+ The OCID of the compartment under which the CA is created.
+
+
+ :return: The compartment_id of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CertificateAuthority.
+ The OCID of the compartment under which the CA is created.
+
+
+ :param compartment_id: The compartment_id of this CertificateAuthority.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def certificate_authority_rules(self):
+ """
+ Gets the certificate_authority_rules of this CertificateAuthority.
+ An optional list of rules that control how the CA is used and managed.
+
+
+ :return: The certificate_authority_rules of this CertificateAuthority.
+ :rtype: list[oci.certificates_management.models.CertificateAuthorityRule]
+ """
+ return self._certificate_authority_rules
+
+ @certificate_authority_rules.setter
+ def certificate_authority_rules(self, certificate_authority_rules):
+ """
+ Sets the certificate_authority_rules of this CertificateAuthority.
+ An optional list of rules that control how the CA is used and managed.
+
+
+ :param certificate_authority_rules: The certificate_authority_rules of this CertificateAuthority.
+ :type: list[oci.certificates_management.models.CertificateAuthorityRule]
+ """
+ self._certificate_authority_rules = certificate_authority_rules
+
+ @property
+ def current_version(self):
+ """
+ Gets the current_version of this CertificateAuthority.
+
+ :return: The current_version of this CertificateAuthority.
+ :rtype: oci.certificates_management.models.CertificateAuthorityVersionSummary
+ """
+ return self._current_version
+
+ @current_version.setter
+ def current_version(self, current_version):
+ """
+ Sets the current_version of this CertificateAuthority.
+
+ :param current_version: The current_version of this CertificateAuthority.
+ :type: oci.certificates_management.models.CertificateAuthorityVersionSummary
+ """
+ self._current_version = current_version
+
+ @property
+ def certificate_revocation_list_details(self):
+ """
+ Gets the certificate_revocation_list_details of this CertificateAuthority.
+
+ :return: The certificate_revocation_list_details of this CertificateAuthority.
+ :rtype: oci.certificates_management.models.CertificateRevocationListDetails
+ """
+ return self._certificate_revocation_list_details
+
+ @certificate_revocation_list_details.setter
+ def certificate_revocation_list_details(self, certificate_revocation_list_details):
+ """
+ Sets the certificate_revocation_list_details of this CertificateAuthority.
+
+ :param certificate_revocation_list_details: The certificate_revocation_list_details of this CertificateAuthority.
+ :type: oci.certificates_management.models.CertificateRevocationListDetails
+ """
+ self._certificate_revocation_list_details = certificate_revocation_list_details
+
+ @property
+ def config_type(self):
+ """
+ **[Required]** Gets the config_type of this CertificateAuthority.
+ The origin of the CA.
+
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The config_type of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._config_type
+
+ @config_type.setter
+ def config_type(self, config_type):
+ """
+ Sets the config_type of this CertificateAuthority.
+ The origin of the CA.
+
+
+ :param config_type: The config_type of this CertificateAuthority.
+ :type: str
+ """
+ allowed_values = ["ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"]
+ if not value_allowed_none_or_none_sentinel(config_type, allowed_values):
+ config_type = 'UNKNOWN_ENUM_VALUE'
+ self._config_type = config_type
+
+ @property
+ def subject(self):
+ """
+ Gets the subject of this CertificateAuthority.
+
+ :return: The subject of this CertificateAuthority.
+ :rtype: oci.certificates_management.models.CertificateSubject
+ """
+ return self._subject
+
+ @subject.setter
+ def subject(self, subject):
+ """
+ Sets the subject of this CertificateAuthority.
+
+ :param subject: The subject of this CertificateAuthority.
+ :type: oci.certificates_management.models.CertificateSubject
+ """
+ self._subject = subject
+
+ @property
+ def signing_algorithm(self):
+ """
+ Gets the signing_algorithm of this CertificateAuthority.
+ The algorithm used to sign public key certificates that the CA issues.
+
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The signing_algorithm of this CertificateAuthority.
+ :rtype: str
+ """
+ return self._signing_algorithm
+
+ @signing_algorithm.setter
+ def signing_algorithm(self, signing_algorithm):
+ """
+ Sets the signing_algorithm of this CertificateAuthority.
+ The algorithm used to sign public key certificates that the CA issues.
+
+
+ :param signing_algorithm: The signing_algorithm of this CertificateAuthority.
+ :type: str
+ """
+ allowed_values = ["SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"]
+ if not value_allowed_none_or_none_sentinel(signing_algorithm, allowed_values):
+ signing_algorithm = 'UNKNOWN_ENUM_VALUE'
+ self._signing_algorithm = signing_algorithm
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CertificateAuthority.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CertificateAuthority.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CertificateAuthority.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CertificateAuthority.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CertificateAuthority.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :return: The defined_tags of this CertificateAuthority.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CertificateAuthority.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CertificateAuthority.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/certificate_authority_collection.py b/src/oci/certificates_management/models/certificate_authority_collection.py
new file mode 100644
index 0000000000..a768022131
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_authority_collection.py
@@ -0,0 +1,70 @@
+# 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 CertificateAuthorityCollection(object):
+ """
+ The results of a certificate authority (CA) search. This object contains CA summary objects and other data.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthorityCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this CertificateAuthorityCollection.
+ :type items: list[oci.certificates_management.models.CertificateAuthoritySummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[CertificateAuthoritySummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this CertificateAuthorityCollection.
+ List of CertificateAuthoritySummary.
+
+
+ :return: The items of this CertificateAuthorityCollection.
+ :rtype: list[oci.certificates_management.models.CertificateAuthoritySummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this CertificateAuthorityCollection.
+ List of CertificateAuthoritySummary.
+
+
+ :param items: The items of this CertificateAuthorityCollection.
+ :type: list[oci.certificates_management.models.CertificateAuthoritySummary]
+ """
+ self._items = items
+
+ 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/certificates_management/models/certificate_authority_issuance_expiry_rule.py b/src/oci/certificates_management/models/certificate_authority_issuance_expiry_rule.py
new file mode 100644
index 0000000000..766336f9f6
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_authority_issuance_expiry_rule.py
@@ -0,0 +1,124 @@
+# 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 .certificate_authority_rule import CertificateAuthorityRule
+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 CertificateAuthorityIssuanceExpiryRule(CertificateAuthorityRule):
+ """
+ A rule that enforces how long certificates or certificate authorities (CAs) issued by this particular CA are valid.
+ You must include either or both `leafCertificateMaxValidityDuration` and `certificateAuthorityMaxValidityDuration`.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthorityIssuanceExpiryRule object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.CertificateAuthorityIssuanceExpiryRule.rule_type` attribute
+ of this class is ``CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param rule_type:
+ The value to assign to the rule_type property of this CertificateAuthorityIssuanceExpiryRule.
+ Allowed values for this property are: "CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE"
+ :type rule_type: str
+
+ :param leaf_certificate_max_validity_duration:
+ The value to assign to the leaf_certificate_max_validity_duration property of this CertificateAuthorityIssuanceExpiryRule.
+ :type leaf_certificate_max_validity_duration: str
+
+ :param certificate_authority_max_validity_duration:
+ The value to assign to the certificate_authority_max_validity_duration property of this CertificateAuthorityIssuanceExpiryRule.
+ :type certificate_authority_max_validity_duration: str
+
+ """
+ self.swagger_types = {
+ 'rule_type': 'str',
+ 'leaf_certificate_max_validity_duration': 'str',
+ 'certificate_authority_max_validity_duration': 'str'
+ }
+
+ self.attribute_map = {
+ 'rule_type': 'ruleType',
+ 'leaf_certificate_max_validity_duration': 'leafCertificateMaxValidityDuration',
+ 'certificate_authority_max_validity_duration': 'certificateAuthorityMaxValidityDuration'
+ }
+
+ self._rule_type = None
+ self._leaf_certificate_max_validity_duration = None
+ self._certificate_authority_max_validity_duration = None
+ self._rule_type = 'CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE'
+
+ @property
+ def leaf_certificate_max_validity_duration(self):
+ """
+ Gets the leaf_certificate_max_validity_duration of this CertificateAuthorityIssuanceExpiryRule.
+ A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA.
+ Expressed in `ISO 8601`__ format.
+
+ __ https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
+
+
+ :return: The leaf_certificate_max_validity_duration of this CertificateAuthorityIssuanceExpiryRule.
+ :rtype: str
+ """
+ return self._leaf_certificate_max_validity_duration
+
+ @leaf_certificate_max_validity_duration.setter
+ def leaf_certificate_max_validity_duration(self, leaf_certificate_max_validity_duration):
+ """
+ Sets the leaf_certificate_max_validity_duration of this CertificateAuthorityIssuanceExpiryRule.
+ A property indicating the maximum validity duration, in days, of leaf certificates issued by this CA.
+ Expressed in `ISO 8601`__ format.
+
+ __ https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
+
+
+ :param leaf_certificate_max_validity_duration: The leaf_certificate_max_validity_duration of this CertificateAuthorityIssuanceExpiryRule.
+ :type: str
+ """
+ self._leaf_certificate_max_validity_duration = leaf_certificate_max_validity_duration
+
+ @property
+ def certificate_authority_max_validity_duration(self):
+ """
+ Gets the certificate_authority_max_validity_duration of this CertificateAuthorityIssuanceExpiryRule.
+ A property indicating the maximum validity duration, in days, of subordinate CA's issued by this CA.
+ Expressed in `ISO 8601`__ format.
+
+ __ https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
+
+
+ :return: The certificate_authority_max_validity_duration of this CertificateAuthorityIssuanceExpiryRule.
+ :rtype: str
+ """
+ return self._certificate_authority_max_validity_duration
+
+ @certificate_authority_max_validity_duration.setter
+ def certificate_authority_max_validity_duration(self, certificate_authority_max_validity_duration):
+ """
+ Sets the certificate_authority_max_validity_duration of this CertificateAuthorityIssuanceExpiryRule.
+ A property indicating the maximum validity duration, in days, of subordinate CA's issued by this CA.
+ Expressed in `ISO 8601`__ format.
+
+ __ https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
+
+
+ :param certificate_authority_max_validity_duration: The certificate_authority_max_validity_duration of this CertificateAuthorityIssuanceExpiryRule.
+ :type: str
+ """
+ self._certificate_authority_max_validity_duration = certificate_authority_max_validity_duration
+
+ 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/certificates_management/models/certificate_authority_rule.py b/src/oci/certificates_management/models/certificate_authority_rule.py
new file mode 100644
index 0000000000..f68b4d0ad2
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_authority_rule.py
@@ -0,0 +1,99 @@
+# 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 CertificateAuthorityRule(object):
+ """
+ A rule that you can apply to a certificate authority (CA) to enforce certain conditions on its usage and management.
+ """
+
+ #: A constant which can be used with the rule_type property of a CertificateAuthorityRule.
+ #: This constant has a value of "CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE"
+ RULE_TYPE_CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE = "CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthorityRule object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
+ to a service operations then you should favor using a subclass over the base class:
+
+ * :class:`~oci.certificates_management.models.CertificateAuthorityIssuanceExpiryRule`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param rule_type:
+ The value to assign to the rule_type property of this CertificateAuthorityRule.
+ Allowed values for this property are: "CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type rule_type: str
+
+ """
+ self.swagger_types = {
+ 'rule_type': 'str'
+ }
+
+ self.attribute_map = {
+ 'rule_type': 'ruleType'
+ }
+
+ self._rule_type = None
+
+ @staticmethod
+ def get_subtype(object_dictionary):
+ """
+ Given the hash representation of a subtype of this class,
+ use the info in the hash to return the class of the subtype.
+ """
+ type = object_dictionary['ruleType']
+
+ if type == 'CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE':
+ return 'CertificateAuthorityIssuanceExpiryRule'
+ else:
+ return 'CertificateAuthorityRule'
+
+ @property
+ def rule_type(self):
+ """
+ **[Required]** Gets the rule_type of this CertificateAuthorityRule.
+ The type of rule, whether a renewal rule regarding when to renew the CA or an issuance expiry rule that governs how long the certificates and CAs issued by the CA are valid. (For internal use only) An internal issuance rule defines the number and type of certificates that the CA can issue.
+
+ Allowed values for this property are: "CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The rule_type of this CertificateAuthorityRule.
+ :rtype: str
+ """
+ return self._rule_type
+
+ @rule_type.setter
+ def rule_type(self, rule_type):
+ """
+ Sets the rule_type of this CertificateAuthorityRule.
+ The type of rule, whether a renewal rule regarding when to renew the CA or an issuance expiry rule that governs how long the certificates and CAs issued by the CA are valid. (For internal use only) An internal issuance rule defines the number and type of certificates that the CA can issue.
+
+
+ :param rule_type: The rule_type of this CertificateAuthorityRule.
+ :type: str
+ """
+ allowed_values = ["CERTIFICATE_AUTHORITY_ISSUANCE_EXPIRY_RULE"]
+ if not value_allowed_none_or_none_sentinel(rule_type, allowed_values):
+ rule_type = 'UNKNOWN_ENUM_VALUE'
+ self._rule_type = rule_type
+
+ 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/certificates_management/models/certificate_authority_summary.py b/src/oci/certificates_management/models/certificate_authority_summary.py
new file mode 100644
index 0000000000..8f4f7c5540
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_authority_summary.py
@@ -0,0 +1,635 @@
+# 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 CertificateAuthoritySummary(object):
+ """
+ The metadata details of the certificate authority (CA). This summary object does not contain the CA contents.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthoritySummary.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthoritySummary.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthoritySummary.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthoritySummary.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthoritySummary.
+ #: This constant has a value of "DELETED"
+ LIFECYCLE_STATE_DELETED = "DELETED"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthoritySummary.
+ #: This constant has a value of "SCHEDULING_DELETION"
+ LIFECYCLE_STATE_SCHEDULING_DELETION = "SCHEDULING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthoritySummary.
+ #: This constant has a value of "PENDING_DELETION"
+ LIFECYCLE_STATE_PENDING_DELETION = "PENDING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthoritySummary.
+ #: This constant has a value of "CANCELLING_DELETION"
+ LIFECYCLE_STATE_CANCELLING_DELETION = "CANCELLING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateAuthoritySummary.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ #: A constant which can be used with the config_type property of a CertificateAuthoritySummary.
+ #: This constant has a value of "ROOT_CA_GENERATED_INTERNALLY"
+ CONFIG_TYPE_ROOT_CA_GENERATED_INTERNALLY = "ROOT_CA_GENERATED_INTERNALLY"
+
+ #: A constant which can be used with the config_type property of a CertificateAuthoritySummary.
+ #: This constant has a value of "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA = "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthoritySummary.
+ #: This constant has a value of "SHA256_WITH_RSA"
+ SIGNING_ALGORITHM_SHA256_WITH_RSA = "SHA256_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthoritySummary.
+ #: This constant has a value of "SHA384_WITH_RSA"
+ SIGNING_ALGORITHM_SHA384_WITH_RSA = "SHA384_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthoritySummary.
+ #: This constant has a value of "SHA512_WITH_RSA"
+ SIGNING_ALGORITHM_SHA512_WITH_RSA = "SHA512_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthoritySummary.
+ #: This constant has a value of "SHA256_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA256_WITH_ECDSA = "SHA256_WITH_ECDSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthoritySummary.
+ #: This constant has a value of "SHA384_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA384_WITH_ECDSA = "SHA384_WITH_ECDSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CertificateAuthoritySummary.
+ #: This constant has a value of "SHA512_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA512_WITH_ECDSA = "SHA512_WITH_ECDSA"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthoritySummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this CertificateAuthoritySummary.
+ :type id: str
+
+ :param issuer_certificate_authority_id:
+ The value to assign to the issuer_certificate_authority_id property of this CertificateAuthoritySummary.
+ :type issuer_certificate_authority_id: str
+
+ :param name:
+ The value to assign to the name property of this CertificateAuthoritySummary.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CertificateAuthoritySummary.
+ :type description: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateAuthoritySummary.
+ :type time_created: datetime
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this CertificateAuthoritySummary.
+ :type time_of_deletion: datetime
+
+ :param kms_key_id:
+ The value to assign to the kms_key_id property of this CertificateAuthoritySummary.
+ :type kms_key_id: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this CertificateAuthoritySummary.
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CertificateAuthoritySummary.
+ :type compartment_id: str
+
+ :param certificate_authority_rules:
+ The value to assign to the certificate_authority_rules property of this CertificateAuthoritySummary.
+ :type certificate_authority_rules: list[oci.certificates_management.models.CertificateAuthorityRule]
+
+ :param current_version_summary:
+ The value to assign to the current_version_summary property of this CertificateAuthoritySummary.
+ :type current_version_summary: oci.certificates_management.models.CertificateAuthorityVersionSummary
+
+ :param subject:
+ The value to assign to the subject property of this CertificateAuthoritySummary.
+ :type subject: oci.certificates_management.models.CertificateSubject
+
+ :param config_type:
+ The value to assign to the config_type property of this CertificateAuthoritySummary.
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type config_type: str
+
+ :param signing_algorithm:
+ The value to assign to the signing_algorithm property of this CertificateAuthoritySummary.
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type signing_algorithm: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CertificateAuthoritySummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CertificateAuthoritySummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'issuer_certificate_authority_id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'time_created': 'datetime',
+ 'time_of_deletion': 'datetime',
+ 'kms_key_id': 'str',
+ 'lifecycle_state': 'str',
+ 'compartment_id': 'str',
+ 'certificate_authority_rules': 'list[CertificateAuthorityRule]',
+ 'current_version_summary': 'CertificateAuthorityVersionSummary',
+ 'subject': 'CertificateSubject',
+ 'config_type': 'str',
+ 'signing_algorithm': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'issuer_certificate_authority_id': 'issuerCertificateAuthorityId',
+ 'name': 'name',
+ 'description': 'description',
+ 'time_created': 'timeCreated',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'kms_key_id': 'kmsKeyId',
+ 'lifecycle_state': 'lifecycleState',
+ 'compartment_id': 'compartmentId',
+ 'certificate_authority_rules': 'certificateAuthorityRules',
+ 'current_version_summary': 'currentVersionSummary',
+ 'subject': 'subject',
+ 'config_type': 'configType',
+ 'signing_algorithm': 'signingAlgorithm',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._id = None
+ self._issuer_certificate_authority_id = None
+ self._name = None
+ self._description = None
+ self._time_created = None
+ self._time_of_deletion = None
+ self._kms_key_id = None
+ self._lifecycle_state = None
+ self._compartment_id = None
+ self._certificate_authority_rules = None
+ self._current_version_summary = None
+ self._subject = None
+ self._config_type = None
+ self._signing_algorithm = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this CertificateAuthoritySummary.
+ The OCID of the certificate authority (CA).
+
+
+ :return: The id of this CertificateAuthoritySummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this CertificateAuthoritySummary.
+ The OCID of the certificate authority (CA).
+
+
+ :param id: The id of this CertificateAuthoritySummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def issuer_certificate_authority_id(self):
+ """
+ Gets the issuer_certificate_authority_id of this CertificateAuthoritySummary.
+ The OCID of the parent CA which issued this CA. If this is the root CA, then this value is the same as the `id`.
+
+
+ :return: The issuer_certificate_authority_id of this CertificateAuthoritySummary.
+ :rtype: str
+ """
+ return self._issuer_certificate_authority_id
+
+ @issuer_certificate_authority_id.setter
+ def issuer_certificate_authority_id(self, issuer_certificate_authority_id):
+ """
+ Sets the issuer_certificate_authority_id of this CertificateAuthoritySummary.
+ The OCID of the parent CA which issued this CA. If this is the root CA, then this value is the same as the `id`.
+
+
+ :param issuer_certificate_authority_id: The issuer_certificate_authority_id of this CertificateAuthoritySummary.
+ :type: str
+ """
+ self._issuer_certificate_authority_id = issuer_certificate_authority_id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CertificateAuthoritySummary.
+ A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this CertificateAuthoritySummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CertificateAuthoritySummary.
+ A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this CertificateAuthoritySummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CertificateAuthoritySummary.
+ A brief description of the CA.
+
+
+ :return: The description of this CertificateAuthoritySummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CertificateAuthoritySummary.
+ A brief description of the CA.
+
+
+ :param description: The description of this CertificateAuthoritySummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateAuthoritySummary.
+ A property indicating when the CA was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateAuthoritySummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateAuthoritySummary.
+ A property indicating when the CA was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateAuthoritySummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this CertificateAuthoritySummary.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this CertificateAuthoritySummary.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this CertificateAuthoritySummary.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this CertificateAuthoritySummary.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def kms_key_id(self):
+ """
+ Gets the kms_key_id of this CertificateAuthoritySummary.
+ The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
+
+
+ :return: The kms_key_id of this CertificateAuthoritySummary.
+ :rtype: str
+ """
+ return self._kms_key_id
+
+ @kms_key_id.setter
+ def kms_key_id(self, kms_key_id):
+ """
+ Sets the kms_key_id of this CertificateAuthoritySummary.
+ The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
+
+
+ :param kms_key_id: The kms_key_id of this CertificateAuthoritySummary.
+ :type: str
+ """
+ self._kms_key_id = kms_key_id
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this CertificateAuthoritySummary.
+ The current lifecycle state of the CA.
+
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this CertificateAuthoritySummary.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this CertificateAuthoritySummary.
+ The current lifecycle state of the CA.
+
+
+ :param lifecycle_state: The lifecycle_state of this CertificateAuthoritySummary.
+ :type: str
+ """
+ allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CertificateAuthoritySummary.
+ The OCID of the compartment under which the CA is created.
+
+
+ :return: The compartment_id of this CertificateAuthoritySummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CertificateAuthoritySummary.
+ The OCID of the compartment under which the CA is created.
+
+
+ :param compartment_id: The compartment_id of this CertificateAuthoritySummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def certificate_authority_rules(self):
+ """
+ Gets the certificate_authority_rules of this CertificateAuthoritySummary.
+ An optional list of rules that control how the CA is used and managed.
+
+
+ :return: The certificate_authority_rules of this CertificateAuthoritySummary.
+ :rtype: list[oci.certificates_management.models.CertificateAuthorityRule]
+ """
+ return self._certificate_authority_rules
+
+ @certificate_authority_rules.setter
+ def certificate_authority_rules(self, certificate_authority_rules):
+ """
+ Sets the certificate_authority_rules of this CertificateAuthoritySummary.
+ An optional list of rules that control how the CA is used and managed.
+
+
+ :param certificate_authority_rules: The certificate_authority_rules of this CertificateAuthoritySummary.
+ :type: list[oci.certificates_management.models.CertificateAuthorityRule]
+ """
+ self._certificate_authority_rules = certificate_authority_rules
+
+ @property
+ def current_version_summary(self):
+ """
+ Gets the current_version_summary of this CertificateAuthoritySummary.
+
+ :return: The current_version_summary of this CertificateAuthoritySummary.
+ :rtype: oci.certificates_management.models.CertificateAuthorityVersionSummary
+ """
+ return self._current_version_summary
+
+ @current_version_summary.setter
+ def current_version_summary(self, current_version_summary):
+ """
+ Sets the current_version_summary of this CertificateAuthoritySummary.
+
+ :param current_version_summary: The current_version_summary of this CertificateAuthoritySummary.
+ :type: oci.certificates_management.models.CertificateAuthorityVersionSummary
+ """
+ self._current_version_summary = current_version_summary
+
+ @property
+ def subject(self):
+ """
+ Gets the subject of this CertificateAuthoritySummary.
+
+ :return: The subject of this CertificateAuthoritySummary.
+ :rtype: oci.certificates_management.models.CertificateSubject
+ """
+ return self._subject
+
+ @subject.setter
+ def subject(self, subject):
+ """
+ Sets the subject of this CertificateAuthoritySummary.
+
+ :param subject: The subject of this CertificateAuthoritySummary.
+ :type: oci.certificates_management.models.CertificateSubject
+ """
+ self._subject = subject
+
+ @property
+ def config_type(self):
+ """
+ **[Required]** Gets the config_type of this CertificateAuthoritySummary.
+ The origin of the CA.
+
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The config_type of this CertificateAuthoritySummary.
+ :rtype: str
+ """
+ return self._config_type
+
+ @config_type.setter
+ def config_type(self, config_type):
+ """
+ Sets the config_type of this CertificateAuthoritySummary.
+ The origin of the CA.
+
+
+ :param config_type: The config_type of this CertificateAuthoritySummary.
+ :type: str
+ """
+ allowed_values = ["ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"]
+ if not value_allowed_none_or_none_sentinel(config_type, allowed_values):
+ config_type = 'UNKNOWN_ENUM_VALUE'
+ self._config_type = config_type
+
+ @property
+ def signing_algorithm(self):
+ """
+ Gets the signing_algorithm of this CertificateAuthoritySummary.
+ The algorithm used to sign public key certificates that the CA issues.
+
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The signing_algorithm of this CertificateAuthoritySummary.
+ :rtype: str
+ """
+ return self._signing_algorithm
+
+ @signing_algorithm.setter
+ def signing_algorithm(self, signing_algorithm):
+ """
+ Sets the signing_algorithm of this CertificateAuthoritySummary.
+ The algorithm used to sign public key certificates that the CA issues.
+
+
+ :param signing_algorithm: The signing_algorithm of this CertificateAuthoritySummary.
+ :type: str
+ """
+ allowed_values = ["SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"]
+ if not value_allowed_none_or_none_sentinel(signing_algorithm, allowed_values):
+ signing_algorithm = 'UNKNOWN_ENUM_VALUE'
+ self._signing_algorithm = signing_algorithm
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CertificateAuthoritySummary.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CertificateAuthoritySummary.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CertificateAuthoritySummary.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CertificateAuthoritySummary.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CertificateAuthoritySummary.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :return: The defined_tags of this CertificateAuthoritySummary.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CertificateAuthoritySummary.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CertificateAuthoritySummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/certificate_authority_version.py b/src/oci/certificates_management/models/certificate_authority_version.py
new file mode 100644
index 0000000000..6d1b09da9f
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_authority_version.py
@@ -0,0 +1,386 @@
+# 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 CertificateAuthorityVersion(object):
+ """
+ The metadata details of the certificate authority (CA) version. This object does not contain the CA contents.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthorityVersion object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_authority_id:
+ The value to assign to the certificate_authority_id property of this CertificateAuthorityVersion.
+ :type certificate_authority_id: str
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateAuthorityVersion.
+ :type serial_number: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateAuthorityVersion.
+ :type time_created: datetime
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateAuthorityVersion.
+ :type version_number: int
+
+ :param issuer_ca_version_number:
+ The value to assign to the issuer_ca_version_number property of this CertificateAuthorityVersion.
+ :type issuer_ca_version_number: int
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateAuthorityVersion.
+ :type version_name: str
+
+ :param subject_alternative_names:
+ The value to assign to the subject_alternative_names property of this CertificateAuthorityVersion.
+ :type subject_alternative_names: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this CertificateAuthorityVersion.
+ :type time_of_deletion: datetime
+
+ :param validity:
+ The value to assign to the validity property of this CertificateAuthorityVersion.
+ :type validity: oci.certificates_management.models.Validity
+
+ :param stages:
+ The value to assign to the stages property of this CertificateAuthorityVersion.
+ :type stages: list[oci.certificates_management.models.VersionStage]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateAuthorityVersion.
+ :type revocation_status: oci.certificates_management.models.RevocationStatus
+
+ """
+ self.swagger_types = {
+ 'certificate_authority_id': 'str',
+ 'serial_number': 'str',
+ 'time_created': 'datetime',
+ 'version_number': 'int',
+ 'issuer_ca_version_number': 'int',
+ 'version_name': 'str',
+ 'subject_alternative_names': 'list[CertificateSubjectAlternativeName]',
+ 'time_of_deletion': 'datetime',
+ 'validity': 'Validity',
+ 'stages': 'list[VersionStage]',
+ 'revocation_status': 'RevocationStatus'
+ }
+
+ self.attribute_map = {
+ 'certificate_authority_id': 'certificateAuthorityId',
+ 'serial_number': 'serialNumber',
+ 'time_created': 'timeCreated',
+ 'version_number': 'versionNumber',
+ 'issuer_ca_version_number': 'issuerCaVersionNumber',
+ 'version_name': 'versionName',
+ 'subject_alternative_names': 'subjectAlternativeNames',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'validity': 'validity',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus'
+ }
+
+ self._certificate_authority_id = None
+ self._serial_number = None
+ self._time_created = None
+ self._version_number = None
+ self._issuer_ca_version_number = None
+ self._version_name = None
+ self._subject_alternative_names = None
+ self._time_of_deletion = None
+ self._validity = None
+ self._stages = None
+ self._revocation_status = None
+
+ @property
+ def certificate_authority_id(self):
+ """
+ **[Required]** Gets the certificate_authority_id of this CertificateAuthorityVersion.
+ The OCID of the CA.
+
+
+ :return: The certificate_authority_id of this CertificateAuthorityVersion.
+ :rtype: str
+ """
+ return self._certificate_authority_id
+
+ @certificate_authority_id.setter
+ def certificate_authority_id(self, certificate_authority_id):
+ """
+ Sets the certificate_authority_id of this CertificateAuthorityVersion.
+ The OCID of the CA.
+
+
+ :param certificate_authority_id: The certificate_authority_id of this CertificateAuthorityVersion.
+ :type: str
+ """
+ self._certificate_authority_id = certificate_authority_id
+
+ @property
+ def serial_number(self):
+ """
+ Gets the serial_number of this CertificateAuthorityVersion.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :return: The serial_number of this CertificateAuthorityVersion.
+ :rtype: str
+ """
+ return self._serial_number
+
+ @serial_number.setter
+ def serial_number(self, serial_number):
+ """
+ Sets the serial_number of this CertificateAuthorityVersion.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :param serial_number: The serial_number of this CertificateAuthorityVersion.
+ :type: str
+ """
+ self._serial_number = serial_number
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateAuthorityVersion.
+ A optional property indicating when the CA version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateAuthorityVersion.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateAuthorityVersion.
+ A optional property indicating when the CA version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateAuthorityVersion.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def version_number(self):
+ """
+ **[Required]** Gets the version_number of this CertificateAuthorityVersion.
+ The version number of this CA.
+
+
+ :return: The version_number of this CertificateAuthorityVersion.
+ :rtype: int
+ """
+ return self._version_number
+
+ @version_number.setter
+ def version_number(self, version_number):
+ """
+ Sets the version_number of this CertificateAuthorityVersion.
+ The version number of this CA.
+
+
+ :param version_number: The version_number of this CertificateAuthorityVersion.
+ :type: int
+ """
+ self._version_number = version_number
+
+ @property
+ def issuer_ca_version_number(self):
+ """
+ Gets the issuer_ca_version_number of this CertificateAuthorityVersion.
+ The version number of the issuing CA.
+
+
+ :return: The issuer_ca_version_number of this CertificateAuthorityVersion.
+ :rtype: int
+ """
+ return self._issuer_ca_version_number
+
+ @issuer_ca_version_number.setter
+ def issuer_ca_version_number(self, issuer_ca_version_number):
+ """
+ Sets the issuer_ca_version_number of this CertificateAuthorityVersion.
+ The version number of the issuing CA.
+
+
+ :param issuer_ca_version_number: The issuer_ca_version_number of this CertificateAuthorityVersion.
+ :type: int
+ """
+ self._issuer_ca_version_number = issuer_ca_version_number
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CertificateAuthorityVersion.
+ The name of the CA version. When the value is not null, a name is unique across versions for a given CA.
+
+
+ :return: The version_name of this CertificateAuthorityVersion.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CertificateAuthorityVersion.
+ The name of the CA version. When the value is not null, a name is unique across versions for a given CA.
+
+
+ :param version_name: The version_name of this CertificateAuthorityVersion.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def subject_alternative_names(self):
+ """
+ Gets the subject_alternative_names of this CertificateAuthorityVersion.
+ A list of subject alternative names. A subject alternative name specifies the domain names, including subdomains, and IP addresses covered by the certificates issued by this CA.
+
+
+ :return: The subject_alternative_names of this CertificateAuthorityVersion.
+ :rtype: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+ """
+ return self._subject_alternative_names
+
+ @subject_alternative_names.setter
+ def subject_alternative_names(self, subject_alternative_names):
+ """
+ Sets the subject_alternative_names of this CertificateAuthorityVersion.
+ A list of subject alternative names. A subject alternative name specifies the domain names, including subdomains, and IP addresses covered by the certificates issued by this CA.
+
+
+ :param subject_alternative_names: The subject_alternative_names of this CertificateAuthorityVersion.
+ :type: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+ """
+ self._subject_alternative_names = subject_alternative_names
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this CertificateAuthorityVersion.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this CertificateAuthorityVersion.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this CertificateAuthorityVersion.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this CertificateAuthorityVersion.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CertificateAuthorityVersion.
+
+ :return: The validity of this CertificateAuthorityVersion.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CertificateAuthorityVersion.
+
+ :param validity: The validity of this CertificateAuthorityVersion.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def stages(self):
+ """
+ **[Required]** Gets the stages of this CertificateAuthorityVersion.
+ A list of rotation states for this CA version.
+
+
+ :return: The stages of this CertificateAuthorityVersion.
+ :rtype: list[oci.certificates_management.models.VersionStage]
+ """
+ return self._stages
+
+ @stages.setter
+ def stages(self, stages):
+ """
+ Sets the stages of this CertificateAuthorityVersion.
+ A list of rotation states for this CA version.
+
+
+ :param stages: The stages of this CertificateAuthorityVersion.
+ :type: list[oci.certificates_management.models.VersionStage]
+ """
+ self._stages = stages
+
+ @property
+ def revocation_status(self):
+ """
+ Gets the revocation_status of this CertificateAuthorityVersion.
+
+ :return: The revocation_status of this CertificateAuthorityVersion.
+ :rtype: oci.certificates_management.models.RevocationStatus
+ """
+ return self._revocation_status
+
+ @revocation_status.setter
+ def revocation_status(self, revocation_status):
+ """
+ Sets the revocation_status of this CertificateAuthorityVersion.
+
+ :param revocation_status: The revocation_status of this CertificateAuthorityVersion.
+ :type: oci.certificates_management.models.RevocationStatus
+ """
+ self._revocation_status = revocation_status
+
+ 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/certificates_management/models/certificate_authority_version_collection.py b/src/oci/certificates_management/models/certificate_authority_version_collection.py
new file mode 100644
index 0000000000..1fe6ac8c3b
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_authority_version_collection.py
@@ -0,0 +1,70 @@
+# 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 CertificateAuthorityVersionCollection(object):
+ """
+ The results of a certificate authority (CA) version search. This object contains CA version summary objects and other data.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthorityVersionCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this CertificateAuthorityVersionCollection.
+ :type items: list[oci.certificates_management.models.CertificateAuthorityVersionSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[CertificateAuthorityVersionSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this CertificateAuthorityVersionCollection.
+ A list of certificate authority version summary objects.
+
+
+ :return: The items of this CertificateAuthorityVersionCollection.
+ :rtype: list[oci.certificates_management.models.CertificateAuthorityVersionSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this CertificateAuthorityVersionCollection.
+ A list of certificate authority version summary objects.
+
+
+ :param items: The items of this CertificateAuthorityVersionCollection.
+ :type: list[oci.certificates_management.models.CertificateAuthorityVersionSummary]
+ """
+ self._items = items
+
+ 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/certificates_management/models/certificate_authority_version_summary.py b/src/oci/certificates_management/models/certificate_authority_version_summary.py
new file mode 100644
index 0000000000..c0b9745bd4
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_authority_version_summary.py
@@ -0,0 +1,355 @@
+# 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 CertificateAuthorityVersionSummary(object):
+ """
+ The metadata details of the certificate authority (CA) version. This summary object does not contain the CA contents.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateAuthorityVersionSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_authority_id:
+ The value to assign to the certificate_authority_id property of this CertificateAuthorityVersionSummary.
+ :type certificate_authority_id: str
+
+ :param issuer_ca_version_number:
+ The value to assign to the issuer_ca_version_number property of this CertificateAuthorityVersionSummary.
+ :type issuer_ca_version_number: int
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateAuthorityVersionSummary.
+ :type serial_number: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateAuthorityVersionSummary.
+ :type time_created: datetime
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateAuthorityVersionSummary.
+ :type version_number: int
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateAuthorityVersionSummary.
+ :type version_name: str
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this CertificateAuthorityVersionSummary.
+ :type time_of_deletion: datetime
+
+ :param validity:
+ The value to assign to the validity property of this CertificateAuthorityVersionSummary.
+ :type validity: oci.certificates_management.models.Validity
+
+ :param stages:
+ The value to assign to the stages property of this CertificateAuthorityVersionSummary.
+ :type stages: list[oci.certificates_management.models.VersionStage]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateAuthorityVersionSummary.
+ :type revocation_status: oci.certificates_management.models.RevocationStatus
+
+ """
+ self.swagger_types = {
+ 'certificate_authority_id': 'str',
+ 'issuer_ca_version_number': 'int',
+ 'serial_number': 'str',
+ 'time_created': 'datetime',
+ 'version_number': 'int',
+ 'version_name': 'str',
+ 'time_of_deletion': 'datetime',
+ 'validity': 'Validity',
+ 'stages': 'list[VersionStage]',
+ 'revocation_status': 'RevocationStatus'
+ }
+
+ self.attribute_map = {
+ 'certificate_authority_id': 'certificateAuthorityId',
+ 'issuer_ca_version_number': 'issuerCaVersionNumber',
+ 'serial_number': 'serialNumber',
+ 'time_created': 'timeCreated',
+ 'version_number': 'versionNumber',
+ 'version_name': 'versionName',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'validity': 'validity',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus'
+ }
+
+ self._certificate_authority_id = None
+ self._issuer_ca_version_number = None
+ self._serial_number = None
+ self._time_created = None
+ self._version_number = None
+ self._version_name = None
+ self._time_of_deletion = None
+ self._validity = None
+ self._stages = None
+ self._revocation_status = None
+
+ @property
+ def certificate_authority_id(self):
+ """
+ **[Required]** Gets the certificate_authority_id of this CertificateAuthorityVersionSummary.
+ The OCID of the CA.
+
+
+ :return: The certificate_authority_id of this CertificateAuthorityVersionSummary.
+ :rtype: str
+ """
+ return self._certificate_authority_id
+
+ @certificate_authority_id.setter
+ def certificate_authority_id(self, certificate_authority_id):
+ """
+ Sets the certificate_authority_id of this CertificateAuthorityVersionSummary.
+ The OCID of the CA.
+
+
+ :param certificate_authority_id: The certificate_authority_id of this CertificateAuthorityVersionSummary.
+ :type: str
+ """
+ self._certificate_authority_id = certificate_authority_id
+
+ @property
+ def issuer_ca_version_number(self):
+ """
+ Gets the issuer_ca_version_number of this CertificateAuthorityVersionSummary.
+ The version number of the issuing CA.
+
+
+ :return: The issuer_ca_version_number of this CertificateAuthorityVersionSummary.
+ :rtype: int
+ """
+ return self._issuer_ca_version_number
+
+ @issuer_ca_version_number.setter
+ def issuer_ca_version_number(self, issuer_ca_version_number):
+ """
+ Sets the issuer_ca_version_number of this CertificateAuthorityVersionSummary.
+ The version number of the issuing CA.
+
+
+ :param issuer_ca_version_number: The issuer_ca_version_number of this CertificateAuthorityVersionSummary.
+ :type: int
+ """
+ self._issuer_ca_version_number = issuer_ca_version_number
+
+ @property
+ def serial_number(self):
+ """
+ Gets the serial_number of this CertificateAuthorityVersionSummary.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :return: The serial_number of this CertificateAuthorityVersionSummary.
+ :rtype: str
+ """
+ return self._serial_number
+
+ @serial_number.setter
+ def serial_number(self, serial_number):
+ """
+ Sets the serial_number of this CertificateAuthorityVersionSummary.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :param serial_number: The serial_number of this CertificateAuthorityVersionSummary.
+ :type: str
+ """
+ self._serial_number = serial_number
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateAuthorityVersionSummary.
+ A optional property indicating when the CA version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateAuthorityVersionSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateAuthorityVersionSummary.
+ A optional property indicating when the CA version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateAuthorityVersionSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def version_number(self):
+ """
+ **[Required]** Gets the version_number of this CertificateAuthorityVersionSummary.
+ The version number of the CA.
+
+
+ :return: The version_number of this CertificateAuthorityVersionSummary.
+ :rtype: int
+ """
+ return self._version_number
+
+ @version_number.setter
+ def version_number(self, version_number):
+ """
+ Sets the version_number of this CertificateAuthorityVersionSummary.
+ The version number of the CA.
+
+
+ :param version_number: The version_number of this CertificateAuthorityVersionSummary.
+ :type: int
+ """
+ self._version_number = version_number
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CertificateAuthorityVersionSummary.
+ The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA.
+
+
+ :return: The version_name of this CertificateAuthorityVersionSummary.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CertificateAuthorityVersionSummary.
+ The name of the CA version. When this value is not null, the name is unique across CA versions for a given CA.
+
+
+ :param version_name: The version_name of this CertificateAuthorityVersionSummary.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this CertificateAuthorityVersionSummary.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this CertificateAuthorityVersionSummary.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this CertificateAuthorityVersionSummary.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this CertificateAuthorityVersionSummary.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CertificateAuthorityVersionSummary.
+
+ :return: The validity of this CertificateAuthorityVersionSummary.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CertificateAuthorityVersionSummary.
+
+ :param validity: The validity of this CertificateAuthorityVersionSummary.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def stages(self):
+ """
+ **[Required]** Gets the stages of this CertificateAuthorityVersionSummary.
+ A list of rotation states for this CA version.
+
+
+ :return: The stages of this CertificateAuthorityVersionSummary.
+ :rtype: list[oci.certificates_management.models.VersionStage]
+ """
+ return self._stages
+
+ @stages.setter
+ def stages(self, stages):
+ """
+ Sets the stages of this CertificateAuthorityVersionSummary.
+ A list of rotation states for this CA version.
+
+
+ :param stages: The stages of this CertificateAuthorityVersionSummary.
+ :type: list[oci.certificates_management.models.VersionStage]
+ """
+ self._stages = stages
+
+ @property
+ def revocation_status(self):
+ """
+ Gets the revocation_status of this CertificateAuthorityVersionSummary.
+
+ :return: The revocation_status of this CertificateAuthorityVersionSummary.
+ :rtype: oci.certificates_management.models.RevocationStatus
+ """
+ return self._revocation_status
+
+ @revocation_status.setter
+ def revocation_status(self, revocation_status):
+ """
+ Sets the revocation_status of this CertificateAuthorityVersionSummary.
+
+ :param revocation_status: The revocation_status of this CertificateAuthorityVersionSummary.
+ :type: oci.certificates_management.models.RevocationStatus
+ """
+ self._revocation_status = revocation_status
+
+ 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/certificates_management/models/certificate_collection.py b/src/oci/certificates_management/models/certificate_collection.py
new file mode 100644
index 0000000000..aab683e249
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_collection.py
@@ -0,0 +1,70 @@
+# 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 CertificateCollection(object):
+ """
+ The results of a certificate search. This object contains certificate summary objects and other data.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this CertificateCollection.
+ :type items: list[oci.certificates_management.models.CertificateSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[CertificateSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this CertificateCollection.
+ A list of certificate summary objects.
+
+
+ :return: The items of this CertificateCollection.
+ :rtype: list[oci.certificates_management.models.CertificateSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this CertificateCollection.
+ A list of certificate summary objects.
+
+
+ :param items: The items of this CertificateCollection.
+ :type: list[oci.certificates_management.models.CertificateSummary]
+ """
+ self._items = items
+
+ 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/certificates_management/models/certificate_renewal_rule.py b/src/oci/certificates_management/models/certificate_renewal_rule.py
new file mode 100644
index 0000000000..9164772f1b
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_renewal_rule.py
@@ -0,0 +1,123 @@
+# 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 .certificate_rule import CertificateRule
+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 CertificateRenewalRule(CertificateRule):
+ """
+ A rule that imposes constraints on certificate renewal.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateRenewalRule object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.CertificateRenewalRule.rule_type` attribute
+ of this class is ``CERTIFICATE_RENEWAL_RULE`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param rule_type:
+ The value to assign to the rule_type property of this CertificateRenewalRule.
+ Allowed values for this property are: "CERTIFICATE_RENEWAL_RULE"
+ :type rule_type: str
+
+ :param renewal_interval:
+ The value to assign to the renewal_interval property of this CertificateRenewalRule.
+ :type renewal_interval: str
+
+ :param advance_renewal_period:
+ The value to assign to the advance_renewal_period property of this CertificateRenewalRule.
+ :type advance_renewal_period: str
+
+ """
+ self.swagger_types = {
+ 'rule_type': 'str',
+ 'renewal_interval': 'str',
+ 'advance_renewal_period': 'str'
+ }
+
+ self.attribute_map = {
+ 'rule_type': 'ruleType',
+ 'renewal_interval': 'renewalInterval',
+ 'advance_renewal_period': 'advanceRenewalPeriod'
+ }
+
+ self._rule_type = None
+ self._renewal_interval = None
+ self._advance_renewal_period = None
+ self._rule_type = 'CERTIFICATE_RENEWAL_RULE'
+
+ @property
+ def renewal_interval(self):
+ """
+ **[Required]** Gets the renewal_interval of this CertificateRenewalRule.
+ A property specifying how often, in days, a certificate should be renewed.
+ Expressed in `ISO 8601`__ format.
+
+ __ https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
+
+
+ :return: The renewal_interval of this CertificateRenewalRule.
+ :rtype: str
+ """
+ return self._renewal_interval
+
+ @renewal_interval.setter
+ def renewal_interval(self, renewal_interval):
+ """
+ Sets the renewal_interval of this CertificateRenewalRule.
+ A property specifying how often, in days, a certificate should be renewed.
+ Expressed in `ISO 8601`__ format.
+
+ __ https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
+
+
+ :param renewal_interval: The renewal_interval of this CertificateRenewalRule.
+ :type: str
+ """
+ self._renewal_interval = renewal_interval
+
+ @property
+ def advance_renewal_period(self):
+ """
+ **[Required]** Gets the advance_renewal_period of this CertificateRenewalRule.
+ A property specifying the period of time, in days, before the certificate's targeted renewal that the process should occur.
+ Expressed in `ISO 8601`__ format.
+
+ __ https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
+
+
+ :return: The advance_renewal_period of this CertificateRenewalRule.
+ :rtype: str
+ """
+ return self._advance_renewal_period
+
+ @advance_renewal_period.setter
+ def advance_renewal_period(self, advance_renewal_period):
+ """
+ Sets the advance_renewal_period of this CertificateRenewalRule.
+ A property specifying the period of time, in days, before the certificate's targeted renewal that the process should occur.
+ Expressed in `ISO 8601`__ format.
+
+ __ https://en.wikipedia.org/wiki/ISO_8601#Time_intervals
+
+
+ :param advance_renewal_period: The advance_renewal_period of this CertificateRenewalRule.
+ :type: str
+ """
+ self._advance_renewal_period = advance_renewal_period
+
+ 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/certificates_management/models/certificate_revocation_list_details.py b/src/oci/certificates_management/models/certificate_revocation_list_details.py
new file mode 100644
index 0000000000..6fb02f0e13
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_revocation_list_details.py
@@ -0,0 +1,97 @@
+# 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 CertificateRevocationListDetails(object):
+ """
+ The details of the certificate revocation list (CRL).
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateRevocationListDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param object_storage_config:
+ The value to assign to the object_storage_config property of this CertificateRevocationListDetails.
+ :type object_storage_config: oci.certificates_management.models.ObjectStorageBucketConfigDetails
+
+ :param custom_formatted_urls:
+ The value to assign to the custom_formatted_urls property of this CertificateRevocationListDetails.
+ :type custom_formatted_urls: list[str]
+
+ """
+ self.swagger_types = {
+ 'object_storage_config': 'ObjectStorageBucketConfigDetails',
+ 'custom_formatted_urls': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'object_storage_config': 'objectStorageConfig',
+ 'custom_formatted_urls': 'customFormattedUrls'
+ }
+
+ self._object_storage_config = None
+ self._custom_formatted_urls = None
+
+ @property
+ def object_storage_config(self):
+ """
+ **[Required]** Gets the object_storage_config of this CertificateRevocationListDetails.
+
+ :return: The object_storage_config of this CertificateRevocationListDetails.
+ :rtype: oci.certificates_management.models.ObjectStorageBucketConfigDetails
+ """
+ return self._object_storage_config
+
+ @object_storage_config.setter
+ def object_storage_config(self, object_storage_config):
+ """
+ Sets the object_storage_config of this CertificateRevocationListDetails.
+
+ :param object_storage_config: The object_storage_config of this CertificateRevocationListDetails.
+ :type: oci.certificates_management.models.ObjectStorageBucketConfigDetails
+ """
+ self._object_storage_config = object_storage_config
+
+ @property
+ def custom_formatted_urls(self):
+ """
+ Gets the custom_formatted_urls of this CertificateRevocationListDetails.
+ Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.
+
+
+ :return: The custom_formatted_urls of this CertificateRevocationListDetails.
+ :rtype: list[str]
+ """
+ return self._custom_formatted_urls
+
+ @custom_formatted_urls.setter
+ def custom_formatted_urls(self, custom_formatted_urls):
+ """
+ Sets the custom_formatted_urls of this CertificateRevocationListDetails.
+ Optional CRL access points, expressed using a format where the version number of the issuing CA is inserted wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.
+
+
+ :param custom_formatted_urls: The custom_formatted_urls of this CertificateRevocationListDetails.
+ :type: list[str]
+ """
+ self._custom_formatted_urls = custom_formatted_urls
+
+ 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/certificates_management/models/certificate_rule.py b/src/oci/certificates_management/models/certificate_rule.py
new file mode 100644
index 0000000000..cb68e3a42f
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_rule.py
@@ -0,0 +1,99 @@
+# 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 CertificateRule(object):
+ """
+ A rule that you can apply to a certificate to enforce certain conditions on the certificate's usage and management.
+ """
+
+ #: A constant which can be used with the rule_type property of a CertificateRule.
+ #: This constant has a value of "CERTIFICATE_RENEWAL_RULE"
+ RULE_TYPE_CERTIFICATE_RENEWAL_RULE = "CERTIFICATE_RENEWAL_RULE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateRule object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
+ to a service operations then you should favor using a subclass over the base class:
+
+ * :class:`~oci.certificates_management.models.CertificateRenewalRule`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param rule_type:
+ The value to assign to the rule_type property of this CertificateRule.
+ Allowed values for this property are: "CERTIFICATE_RENEWAL_RULE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type rule_type: str
+
+ """
+ self.swagger_types = {
+ 'rule_type': 'str'
+ }
+
+ self.attribute_map = {
+ 'rule_type': 'ruleType'
+ }
+
+ self._rule_type = None
+
+ @staticmethod
+ def get_subtype(object_dictionary):
+ """
+ Given the hash representation of a subtype of this class,
+ use the info in the hash to return the class of the subtype.
+ """
+ type = object_dictionary['ruleType']
+
+ if type == 'CERTIFICATE_RENEWAL_RULE':
+ return 'CertificateRenewalRule'
+ else:
+ return 'CertificateRule'
+
+ @property
+ def rule_type(self):
+ """
+ **[Required]** Gets the rule_type of this CertificateRule.
+ The type of rule.
+
+ Allowed values for this property are: "CERTIFICATE_RENEWAL_RULE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The rule_type of this CertificateRule.
+ :rtype: str
+ """
+ return self._rule_type
+
+ @rule_type.setter
+ def rule_type(self, rule_type):
+ """
+ Sets the rule_type of this CertificateRule.
+ The type of rule.
+
+
+ :param rule_type: The rule_type of this CertificateRule.
+ :type: str
+ """
+ allowed_values = ["CERTIFICATE_RENEWAL_RULE"]
+ if not value_allowed_none_or_none_sentinel(rule_type, allowed_values):
+ rule_type = 'UNKNOWN_ENUM_VALUE'
+ self._rule_type = rule_type
+
+ 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/certificates_management/models/certificate_subject.py b/src/oci/certificates_management/models/certificate_subject.py
new file mode 100644
index 0000000000..41934b3de1
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_subject.py
@@ -0,0 +1,566 @@
+# 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 CertificateSubject(object):
+ """
+ The subject of the certificate, which is a distinguished name that identifies the entity that owns the public key in the certificate.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateSubject object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param common_name:
+ The value to assign to the common_name property of this CertificateSubject.
+ :type common_name: str
+
+ :param country:
+ The value to assign to the country property of this CertificateSubject.
+ :type country: str
+
+ :param domain_component:
+ The value to assign to the domain_component property of this CertificateSubject.
+ :type domain_component: str
+
+ :param distinguished_name_qualifier:
+ The value to assign to the distinguished_name_qualifier property of this CertificateSubject.
+ :type distinguished_name_qualifier: str
+
+ :param generation_qualifier:
+ The value to assign to the generation_qualifier property of this CertificateSubject.
+ :type generation_qualifier: str
+
+ :param given_name:
+ The value to assign to the given_name property of this CertificateSubject.
+ :type given_name: str
+
+ :param initials:
+ The value to assign to the initials property of this CertificateSubject.
+ :type initials: str
+
+ :param locality_name:
+ The value to assign to the locality_name property of this CertificateSubject.
+ :type locality_name: str
+
+ :param organization:
+ The value to assign to the organization property of this CertificateSubject.
+ :type organization: str
+
+ :param organizational_unit:
+ The value to assign to the organizational_unit property of this CertificateSubject.
+ :type organizational_unit: str
+
+ :param pseudonym:
+ The value to assign to the pseudonym property of this CertificateSubject.
+ :type pseudonym: str
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateSubject.
+ :type serial_number: str
+
+ :param state_or_province_name:
+ The value to assign to the state_or_province_name property of this CertificateSubject.
+ :type state_or_province_name: str
+
+ :param street:
+ The value to assign to the street property of this CertificateSubject.
+ :type street: str
+
+ :param surname:
+ The value to assign to the surname property of this CertificateSubject.
+ :type surname: str
+
+ :param title:
+ The value to assign to the title property of this CertificateSubject.
+ :type title: str
+
+ :param user_id:
+ The value to assign to the user_id property of this CertificateSubject.
+ :type user_id: str
+
+ """
+ self.swagger_types = {
+ 'common_name': 'str',
+ 'country': 'str',
+ 'domain_component': 'str',
+ 'distinguished_name_qualifier': 'str',
+ 'generation_qualifier': 'str',
+ 'given_name': 'str',
+ 'initials': 'str',
+ 'locality_name': 'str',
+ 'organization': 'str',
+ 'organizational_unit': 'str',
+ 'pseudonym': 'str',
+ 'serial_number': 'str',
+ 'state_or_province_name': 'str',
+ 'street': 'str',
+ 'surname': 'str',
+ 'title': 'str',
+ 'user_id': 'str'
+ }
+
+ self.attribute_map = {
+ 'common_name': 'commonName',
+ 'country': 'country',
+ 'domain_component': 'domainComponent',
+ 'distinguished_name_qualifier': 'distinguishedNameQualifier',
+ 'generation_qualifier': 'generationQualifier',
+ 'given_name': 'givenName',
+ 'initials': 'initials',
+ 'locality_name': 'localityName',
+ 'organization': 'organization',
+ 'organizational_unit': 'organizationalUnit',
+ 'pseudonym': 'pseudonym',
+ 'serial_number': 'serialNumber',
+ 'state_or_province_name': 'stateOrProvinceName',
+ 'street': 'street',
+ 'surname': 'surname',
+ 'title': 'title',
+ 'user_id': 'userId'
+ }
+
+ self._common_name = None
+ self._country = None
+ self._domain_component = None
+ self._distinguished_name_qualifier = None
+ self._generation_qualifier = None
+ self._given_name = None
+ self._initials = None
+ self._locality_name = None
+ self._organization = None
+ self._organizational_unit = None
+ self._pseudonym = None
+ self._serial_number = None
+ self._state_or_province_name = None
+ self._street = None
+ self._surname = None
+ self._title = None
+ self._user_id = None
+
+ @property
+ def common_name(self):
+ """
+ **[Required]** Gets the common_name of this CertificateSubject.
+ Common name or fully-qualified domain name (RDN CN).
+
+
+ :return: The common_name of this CertificateSubject.
+ :rtype: str
+ """
+ return self._common_name
+
+ @common_name.setter
+ def common_name(self, common_name):
+ """
+ Sets the common_name of this CertificateSubject.
+ Common name or fully-qualified domain name (RDN CN).
+
+
+ :param common_name: The common_name of this CertificateSubject.
+ :type: str
+ """
+ self._common_name = common_name
+
+ @property
+ def country(self):
+ """
+ Gets the country of this CertificateSubject.
+ Country name (RDN C).
+
+
+ :return: The country of this CertificateSubject.
+ :rtype: str
+ """
+ return self._country
+
+ @country.setter
+ def country(self, country):
+ """
+ Sets the country of this CertificateSubject.
+ Country name (RDN C).
+
+
+ :param country: The country of this CertificateSubject.
+ :type: str
+ """
+ self._country = country
+
+ @property
+ def domain_component(self):
+ """
+ Gets the domain_component of this CertificateSubject.
+ Domain component (RDN DC).
+
+
+ :return: The domain_component of this CertificateSubject.
+ :rtype: str
+ """
+ return self._domain_component
+
+ @domain_component.setter
+ def domain_component(self, domain_component):
+ """
+ Sets the domain_component of this CertificateSubject.
+ Domain component (RDN DC).
+
+
+ :param domain_component: The domain_component of this CertificateSubject.
+ :type: str
+ """
+ self._domain_component = domain_component
+
+ @property
+ def distinguished_name_qualifier(self):
+ """
+ Gets the distinguished_name_qualifier of this CertificateSubject.
+ Distinguished name qualifier(RDN DNQ).
+
+
+ :return: The distinguished_name_qualifier of this CertificateSubject.
+ :rtype: str
+ """
+ return self._distinguished_name_qualifier
+
+ @distinguished_name_qualifier.setter
+ def distinguished_name_qualifier(self, distinguished_name_qualifier):
+ """
+ Sets the distinguished_name_qualifier of this CertificateSubject.
+ Distinguished name qualifier(RDN DNQ).
+
+
+ :param distinguished_name_qualifier: The distinguished_name_qualifier of this CertificateSubject.
+ :type: str
+ """
+ self._distinguished_name_qualifier = distinguished_name_qualifier
+
+ @property
+ def generation_qualifier(self):
+ """
+ Gets the generation_qualifier of this CertificateSubject.
+ Personal generational qualifier (for example, Sr., Jr. 3rd, or IV).
+
+
+ :return: The generation_qualifier of this CertificateSubject.
+ :rtype: str
+ """
+ return self._generation_qualifier
+
+ @generation_qualifier.setter
+ def generation_qualifier(self, generation_qualifier):
+ """
+ Sets the generation_qualifier of this CertificateSubject.
+ Personal generational qualifier (for example, Sr., Jr. 3rd, or IV).
+
+
+ :param generation_qualifier: The generation_qualifier of this CertificateSubject.
+ :type: str
+ """
+ self._generation_qualifier = generation_qualifier
+
+ @property
+ def given_name(self):
+ """
+ Gets the given_name of this CertificateSubject.
+ Personal given name (RDN G or GN).
+
+
+ :return: The given_name of this CertificateSubject.
+ :rtype: str
+ """
+ return self._given_name
+
+ @given_name.setter
+ def given_name(self, given_name):
+ """
+ Sets the given_name of this CertificateSubject.
+ Personal given name (RDN G or GN).
+
+
+ :param given_name: The given_name of this CertificateSubject.
+ :type: str
+ """
+ self._given_name = given_name
+
+ @property
+ def initials(self):
+ """
+ Gets the initials of this CertificateSubject.
+ Personal initials.
+
+
+ :return: The initials of this CertificateSubject.
+ :rtype: str
+ """
+ return self._initials
+
+ @initials.setter
+ def initials(self, initials):
+ """
+ Sets the initials of this CertificateSubject.
+ Personal initials.
+
+
+ :param initials: The initials of this CertificateSubject.
+ :type: str
+ """
+ self._initials = initials
+
+ @property
+ def locality_name(self):
+ """
+ Gets the locality_name of this CertificateSubject.
+ Locality (RDN L).
+
+
+ :return: The locality_name of this CertificateSubject.
+ :rtype: str
+ """
+ return self._locality_name
+
+ @locality_name.setter
+ def locality_name(self, locality_name):
+ """
+ Sets the locality_name of this CertificateSubject.
+ Locality (RDN L).
+
+
+ :param locality_name: The locality_name of this CertificateSubject.
+ :type: str
+ """
+ self._locality_name = locality_name
+
+ @property
+ def organization(self):
+ """
+ Gets the organization of this CertificateSubject.
+ Organization (RDN O).
+
+
+ :return: The organization of this CertificateSubject.
+ :rtype: str
+ """
+ return self._organization
+
+ @organization.setter
+ def organization(self, organization):
+ """
+ Sets the organization of this CertificateSubject.
+ Organization (RDN O).
+
+
+ :param organization: The organization of this CertificateSubject.
+ :type: str
+ """
+ self._organization = organization
+
+ @property
+ def organizational_unit(self):
+ """
+ Gets the organizational_unit of this CertificateSubject.
+ Organizational unit (RDN OU).
+
+
+ :return: The organizational_unit of this CertificateSubject.
+ :rtype: str
+ """
+ return self._organizational_unit
+
+ @organizational_unit.setter
+ def organizational_unit(self, organizational_unit):
+ """
+ Sets the organizational_unit of this CertificateSubject.
+ Organizational unit (RDN OU).
+
+
+ :param organizational_unit: The organizational_unit of this CertificateSubject.
+ :type: str
+ """
+ self._organizational_unit = organizational_unit
+
+ @property
+ def pseudonym(self):
+ """
+ Gets the pseudonym of this CertificateSubject.
+ Subject pseudonym.
+
+
+ :return: The pseudonym of this CertificateSubject.
+ :rtype: str
+ """
+ return self._pseudonym
+
+ @pseudonym.setter
+ def pseudonym(self, pseudonym):
+ """
+ Sets the pseudonym of this CertificateSubject.
+ Subject pseudonym.
+
+
+ :param pseudonym: The pseudonym of this CertificateSubject.
+ :type: str
+ """
+ self._pseudonym = pseudonym
+
+ @property
+ def serial_number(self):
+ """
+ Gets the serial_number of this CertificateSubject.
+ Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).
+
+
+ :return: The serial_number of this CertificateSubject.
+ :rtype: str
+ """
+ return self._serial_number
+
+ @serial_number.setter
+ def serial_number(self, serial_number):
+ """
+ Sets the serial_number of this CertificateSubject.
+ Unique subject identifier, which is not the same as the certificate serial number (RDN SERIALNUMBER).
+
+
+ :param serial_number: The serial_number of this CertificateSubject.
+ :type: str
+ """
+ self._serial_number = serial_number
+
+ @property
+ def state_or_province_name(self):
+ """
+ Gets the state_or_province_name of this CertificateSubject.
+ State or province name (RDN ST or S).
+
+
+ :return: The state_or_province_name of this CertificateSubject.
+ :rtype: str
+ """
+ return self._state_or_province_name
+
+ @state_or_province_name.setter
+ def state_or_province_name(self, state_or_province_name):
+ """
+ Sets the state_or_province_name of this CertificateSubject.
+ State or province name (RDN ST or S).
+
+
+ :param state_or_province_name: The state_or_province_name of this CertificateSubject.
+ :type: str
+ """
+ self._state_or_province_name = state_or_province_name
+
+ @property
+ def street(self):
+ """
+ Gets the street of this CertificateSubject.
+ Street address (RDN STREET).
+
+
+ :return: The street of this CertificateSubject.
+ :rtype: str
+ """
+ return self._street
+
+ @street.setter
+ def street(self, street):
+ """
+ Sets the street of this CertificateSubject.
+ Street address (RDN STREET).
+
+
+ :param street: The street of this CertificateSubject.
+ :type: str
+ """
+ self._street = street
+
+ @property
+ def surname(self):
+ """
+ Gets the surname of this CertificateSubject.
+ Personal surname (RDN SN).
+
+
+ :return: The surname of this CertificateSubject.
+ :rtype: str
+ """
+ return self._surname
+
+ @surname.setter
+ def surname(self, surname):
+ """
+ Sets the surname of this CertificateSubject.
+ Personal surname (RDN SN).
+
+
+ :param surname: The surname of this CertificateSubject.
+ :type: str
+ """
+ self._surname = surname
+
+ @property
+ def title(self):
+ """
+ Gets the title of this CertificateSubject.
+ Title (RDN T or TITLE).
+
+
+ :return: The title of this CertificateSubject.
+ :rtype: str
+ """
+ return self._title
+
+ @title.setter
+ def title(self, title):
+ """
+ Sets the title of this CertificateSubject.
+ Title (RDN T or TITLE).
+
+
+ :param title: The title of this CertificateSubject.
+ :type: str
+ """
+ self._title = title
+
+ @property
+ def user_id(self):
+ """
+ Gets the user_id of this CertificateSubject.
+ User ID (RDN UID).
+
+
+ :return: The user_id of this CertificateSubject.
+ :rtype: str
+ """
+ return self._user_id
+
+ @user_id.setter
+ def user_id(self, user_id):
+ """
+ Sets the user_id of this CertificateSubject.
+ User ID (RDN UID).
+
+
+ :param user_id: The user_id of this CertificateSubject.
+ :type: str
+ """
+ self._user_id = user_id
+
+ 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/certificates_management/models/certificate_subject_alternative_name.py b/src/oci/certificates_management/models/certificate_subject_alternative_name.py
new file mode 100644
index 0000000000..b7b43f64f4
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_subject_alternative_name.py
@@ -0,0 +1,117 @@
+# 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 CertificateSubjectAlternativeName(object):
+ """
+ A subject alternative name for the certificate that binds additional or alternate names to the subject of the certificate. In the certificate, the alternate subject name format is \"type:name\".
+ """
+
+ #: A constant which can be used with the type property of a CertificateSubjectAlternativeName.
+ #: This constant has a value of "DNS"
+ TYPE_DNS = "DNS"
+
+ #: A constant which can be used with the type property of a CertificateSubjectAlternativeName.
+ #: This constant has a value of "IP"
+ TYPE_IP = "IP"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateSubjectAlternativeName object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param type:
+ The value to assign to the type property of this CertificateSubjectAlternativeName.
+ Allowed values for this property are: "DNS", "IP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type type: str
+
+ :param value:
+ The value to assign to the value property of this CertificateSubjectAlternativeName.
+ :type value: str
+
+ """
+ self.swagger_types = {
+ 'type': 'str',
+ 'value': 'str'
+ }
+
+ self.attribute_map = {
+ 'type': 'type',
+ 'value': 'value'
+ }
+
+ self._type = None
+ self._value = None
+
+ @property
+ def type(self):
+ """
+ **[Required]** Gets the type of this CertificateSubjectAlternativeName.
+ The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported.
+
+ Allowed values for this property are: "DNS", "IP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The type of this CertificateSubjectAlternativeName.
+ :rtype: str
+ """
+ return self._type
+
+ @type.setter
+ def type(self, type):
+ """
+ Sets the type of this CertificateSubjectAlternativeName.
+ The subject alternative name type. Currently only DNS domain or host names and IP addresses are supported.
+
+
+ :param type: The type of this CertificateSubjectAlternativeName.
+ :type: str
+ """
+ allowed_values = ["DNS", "IP"]
+ if not value_allowed_none_or_none_sentinel(type, allowed_values):
+ type = 'UNKNOWN_ENUM_VALUE'
+ self._type = type
+
+ @property
+ def value(self):
+ """
+ **[Required]** Gets the value of this CertificateSubjectAlternativeName.
+ The subject alternative name.
+
+
+ :return: The value of this CertificateSubjectAlternativeName.
+ :rtype: str
+ """
+ return self._value
+
+ @value.setter
+ def value(self, value):
+ """
+ Sets the value of this CertificateSubjectAlternativeName.
+ The subject alternative name.
+
+
+ :param value: The value of this CertificateSubjectAlternativeName.
+ :type: str
+ """
+ self._value = value
+
+ 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/certificates_management/models/certificate_summary.py b/src/oci/certificates_management/models/certificate_summary.py
new file mode 100644
index 0000000000..e7bb3e9d62
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_summary.py
@@ -0,0 +1,730 @@
+# 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 CertificateSummary(object):
+ """
+ The details of the certificate. This object does not contain the certificate contents.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateSummary.
+ #: This constant has a value of "CREATING"
+ LIFECYCLE_STATE_CREATING = "CREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateSummary.
+ #: This constant has a value of "ACTIVE"
+ LIFECYCLE_STATE_ACTIVE = "ACTIVE"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateSummary.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateSummary.
+ #: This constant has a value of "DELETING"
+ LIFECYCLE_STATE_DELETING = "DELETING"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateSummary.
+ #: This constant has a value of "DELETED"
+ LIFECYCLE_STATE_DELETED = "DELETED"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateSummary.
+ #: This constant has a value of "SCHEDULING_DELETION"
+ LIFECYCLE_STATE_SCHEDULING_DELETION = "SCHEDULING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateSummary.
+ #: This constant has a value of "PENDING_DELETION"
+ LIFECYCLE_STATE_PENDING_DELETION = "PENDING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateSummary.
+ #: This constant has a value of "CANCELLING_DELETION"
+ LIFECYCLE_STATE_CANCELLING_DELETION = "CANCELLING_DELETION"
+
+ #: A constant which can be used with the lifecycle_state property of a CertificateSummary.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ #: A constant which can be used with the config_type property of a CertificateSummary.
+ #: This constant has a value of "ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_ISSUED_BY_INTERNAL_CA = "ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the config_type property of a CertificateSummary.
+ #: This constant has a value of "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA = "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the config_type property of a CertificateSummary.
+ #: This constant has a value of "IMPORTED"
+ CONFIG_TYPE_IMPORTED = "IMPORTED"
+
+ #: A constant which can be used with the key_algorithm property of a CertificateSummary.
+ #: This constant has a value of "RSA2048"
+ KEY_ALGORITHM_RSA2048 = "RSA2048"
+
+ #: A constant which can be used with the key_algorithm property of a CertificateSummary.
+ #: This constant has a value of "RSA4096"
+ KEY_ALGORITHM_RSA4096 = "RSA4096"
+
+ #: A constant which can be used with the key_algorithm property of a CertificateSummary.
+ #: This constant has a value of "ECDSA_P256"
+ KEY_ALGORITHM_ECDSA_P256 = "ECDSA_P256"
+
+ #: A constant which can be used with the key_algorithm property of a CertificateSummary.
+ #: This constant has a value of "ECDSA_P384"
+ KEY_ALGORITHM_ECDSA_P384 = "ECDSA_P384"
+
+ #: A constant which can be used with the signature_algorithm property of a CertificateSummary.
+ #: This constant has a value of "SHA256_WITH_RSA"
+ SIGNATURE_ALGORITHM_SHA256_WITH_RSA = "SHA256_WITH_RSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CertificateSummary.
+ #: This constant has a value of "SHA384_WITH_RSA"
+ SIGNATURE_ALGORITHM_SHA384_WITH_RSA = "SHA384_WITH_RSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CertificateSummary.
+ #: This constant has a value of "SHA512_WITH_RSA"
+ SIGNATURE_ALGORITHM_SHA512_WITH_RSA = "SHA512_WITH_RSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CertificateSummary.
+ #: This constant has a value of "SHA256_WITH_ECDSA"
+ SIGNATURE_ALGORITHM_SHA256_WITH_ECDSA = "SHA256_WITH_ECDSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CertificateSummary.
+ #: This constant has a value of "SHA384_WITH_ECDSA"
+ SIGNATURE_ALGORITHM_SHA384_WITH_ECDSA = "SHA384_WITH_ECDSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CertificateSummary.
+ #: This constant has a value of "SHA512_WITH_ECDSA"
+ SIGNATURE_ALGORITHM_SHA512_WITH_ECDSA = "SHA512_WITH_ECDSA"
+
+ #: A constant which can be used with the certificate_profile_type property of a CertificateSummary.
+ #: This constant has a value of "TLS_SERVER_OR_CLIENT"
+ CERTIFICATE_PROFILE_TYPE_TLS_SERVER_OR_CLIENT = "TLS_SERVER_OR_CLIENT"
+
+ #: A constant which can be used with the certificate_profile_type property of a CertificateSummary.
+ #: This constant has a value of "TLS_SERVER"
+ CERTIFICATE_PROFILE_TYPE_TLS_SERVER = "TLS_SERVER"
+
+ #: A constant which can be used with the certificate_profile_type property of a CertificateSummary.
+ #: This constant has a value of "TLS_CLIENT"
+ CERTIFICATE_PROFILE_TYPE_TLS_CLIENT = "TLS_CLIENT"
+
+ #: A constant which can be used with the certificate_profile_type property of a CertificateSummary.
+ #: This constant has a value of "TLS_CODE_SIGN"
+ CERTIFICATE_PROFILE_TYPE_TLS_CODE_SIGN = "TLS_CODE_SIGN"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param id:
+ The value to assign to the id property of this CertificateSummary.
+ :type id: str
+
+ :param issuer_certificate_authority_id:
+ The value to assign to the issuer_certificate_authority_id property of this CertificateSummary.
+ :type issuer_certificate_authority_id: str
+
+ :param name:
+ The value to assign to the name property of this CertificateSummary.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CertificateSummary.
+ :type description: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateSummary.
+ :type time_created: datetime
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this CertificateSummary.
+ :type time_of_deletion: datetime
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this CertificateSummary.
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CertificateSummary.
+ :type compartment_id: str
+
+ :param certificate_rules:
+ The value to assign to the certificate_rules property of this CertificateSummary.
+ :type certificate_rules: list[oci.certificates_management.models.CertificateRule]
+
+ :param current_version_summary:
+ The value to assign to the current_version_summary property of this CertificateSummary.
+ :type current_version_summary: oci.certificates_management.models.CertificateVersionSummary
+
+ :param subject:
+ The value to assign to the subject property of this CertificateSummary.
+ :type subject: oci.certificates_management.models.CertificateSubject
+
+ :param config_type:
+ The value to assign to the config_type property of this CertificateSummary.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type config_type: str
+
+ :param key_algorithm:
+ The value to assign to the key_algorithm property of this CertificateSummary.
+ Allowed values for this property are: "RSA2048", "RSA4096", "ECDSA_P256", "ECDSA_P384", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type key_algorithm: str
+
+ :param signature_algorithm:
+ The value to assign to the signature_algorithm property of this CertificateSummary.
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type signature_algorithm: str
+
+ :param certificate_profile_type:
+ The value to assign to the certificate_profile_type property of this CertificateSummary.
+ Allowed values for this property are: "TLS_SERVER_OR_CLIENT", "TLS_SERVER", "TLS_CLIENT", "TLS_CODE_SIGN", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type certificate_profile_type: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CertificateSummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CertificateSummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'issuer_certificate_authority_id': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'time_created': 'datetime',
+ 'time_of_deletion': 'datetime',
+ 'lifecycle_state': 'str',
+ 'compartment_id': 'str',
+ 'certificate_rules': 'list[CertificateRule]',
+ 'current_version_summary': 'CertificateVersionSummary',
+ 'subject': 'CertificateSubject',
+ 'config_type': 'str',
+ 'key_algorithm': 'str',
+ 'signature_algorithm': 'str',
+ 'certificate_profile_type': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'id': 'id',
+ 'issuer_certificate_authority_id': 'issuerCertificateAuthorityId',
+ 'name': 'name',
+ 'description': 'description',
+ 'time_created': 'timeCreated',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'lifecycle_state': 'lifecycleState',
+ 'compartment_id': 'compartmentId',
+ 'certificate_rules': 'certificateRules',
+ 'current_version_summary': 'currentVersionSummary',
+ 'subject': 'subject',
+ 'config_type': 'configType',
+ 'key_algorithm': 'keyAlgorithm',
+ 'signature_algorithm': 'signatureAlgorithm',
+ 'certificate_profile_type': 'certificateProfileType',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._id = None
+ self._issuer_certificate_authority_id = None
+ self._name = None
+ self._description = None
+ self._time_created = None
+ self._time_of_deletion = None
+ self._lifecycle_state = None
+ self._compartment_id = None
+ self._certificate_rules = None
+ self._current_version_summary = None
+ self._subject = None
+ self._config_type = None
+ self._key_algorithm = None
+ self._signature_algorithm = None
+ self._certificate_profile_type = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this CertificateSummary.
+ The OCID of the certificate.
+
+
+ :return: The id of this CertificateSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this CertificateSummary.
+ The OCID of the certificate.
+
+
+ :param id: The id of this CertificateSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def issuer_certificate_authority_id(self):
+ """
+ Gets the issuer_certificate_authority_id of this CertificateSummary.
+ The OCID of the certificate authority (CA) that issued the certificate.
+
+
+ :return: The issuer_certificate_authority_id of this CertificateSummary.
+ :rtype: str
+ """
+ return self._issuer_certificate_authority_id
+
+ @issuer_certificate_authority_id.setter
+ def issuer_certificate_authority_id(self, issuer_certificate_authority_id):
+ """
+ Sets the issuer_certificate_authority_id of this CertificateSummary.
+ The OCID of the certificate authority (CA) that issued the certificate.
+
+
+ :param issuer_certificate_authority_id: The issuer_certificate_authority_id of this CertificateSummary.
+ :type: str
+ """
+ self._issuer_certificate_authority_id = issuer_certificate_authority_id
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CertificateSummary.
+ A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this CertificateSummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CertificateSummary.
+ A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this CertificateSummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CertificateSummary.
+ A brief description of the certificate.
+
+
+ :return: The description of this CertificateSummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CertificateSummary.
+ A brief description of the certificate.
+
+
+ :param description: The description of this CertificateSummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateSummary.
+ A property indicating when the certificate was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateSummary.
+ A property indicating when the certificate was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this CertificateSummary.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this CertificateSummary.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this CertificateSummary.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this CertificateSummary.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this CertificateSummary.
+ The current lifecycle state of the certificate.
+
+ Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this CertificateSummary.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this CertificateSummary.
+ The current lifecycle state of the certificate.
+
+
+ :param lifecycle_state: The lifecycle_state of this CertificateSummary.
+ :type: str
+ """
+ allowed_values = ["CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "SCHEDULING_DELETION", "PENDING_DELETION", "CANCELLING_DELETION", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CertificateSummary.
+ The OCID of the compartment that contains the certificate.
+
+
+ :return: The compartment_id of this CertificateSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CertificateSummary.
+ The OCID of the compartment that contains the certificate.
+
+
+ :param compartment_id: The compartment_id of this CertificateSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def certificate_rules(self):
+ """
+ Gets the certificate_rules of this CertificateSummary.
+ An optional list of rules that control how the certificate is used and managed.
+
+
+ :return: The certificate_rules of this CertificateSummary.
+ :rtype: list[oci.certificates_management.models.CertificateRule]
+ """
+ return self._certificate_rules
+
+ @certificate_rules.setter
+ def certificate_rules(self, certificate_rules):
+ """
+ Sets the certificate_rules of this CertificateSummary.
+ An optional list of rules that control how the certificate is used and managed.
+
+
+ :param certificate_rules: The certificate_rules of this CertificateSummary.
+ :type: list[oci.certificates_management.models.CertificateRule]
+ """
+ self._certificate_rules = certificate_rules
+
+ @property
+ def current_version_summary(self):
+ """
+ Gets the current_version_summary of this CertificateSummary.
+
+ :return: The current_version_summary of this CertificateSummary.
+ :rtype: oci.certificates_management.models.CertificateVersionSummary
+ """
+ return self._current_version_summary
+
+ @current_version_summary.setter
+ def current_version_summary(self, current_version_summary):
+ """
+ Sets the current_version_summary of this CertificateSummary.
+
+ :param current_version_summary: The current_version_summary of this CertificateSummary.
+ :type: oci.certificates_management.models.CertificateVersionSummary
+ """
+ self._current_version_summary = current_version_summary
+
+ @property
+ def subject(self):
+ """
+ Gets the subject of this CertificateSummary.
+
+ :return: The subject of this CertificateSummary.
+ :rtype: oci.certificates_management.models.CertificateSubject
+ """
+ return self._subject
+
+ @subject.setter
+ def subject(self, subject):
+ """
+ Sets the subject of this CertificateSummary.
+
+ :param subject: The subject of this CertificateSummary.
+ :type: oci.certificates_management.models.CertificateSubject
+ """
+ self._subject = subject
+
+ @property
+ def config_type(self):
+ """
+ **[Required]** Gets the config_type of this CertificateSummary.
+ The origin of the certificate.
+
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The config_type of this CertificateSummary.
+ :rtype: str
+ """
+ return self._config_type
+
+ @config_type.setter
+ def config_type(self, config_type):
+ """
+ Sets the config_type of this CertificateSummary.
+ The origin of the certificate.
+
+
+ :param config_type: The config_type of this CertificateSummary.
+ :type: str
+ """
+ allowed_values = ["ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"]
+ if not value_allowed_none_or_none_sentinel(config_type, allowed_values):
+ config_type = 'UNKNOWN_ENUM_VALUE'
+ self._config_type = config_type
+
+ @property
+ def key_algorithm(self):
+ """
+ Gets the key_algorithm of this CertificateSummary.
+ The algorithm used to create key pairs.
+
+ Allowed values for this property are: "RSA2048", "RSA4096", "ECDSA_P256", "ECDSA_P384", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The key_algorithm of this CertificateSummary.
+ :rtype: str
+ """
+ return self._key_algorithm
+
+ @key_algorithm.setter
+ def key_algorithm(self, key_algorithm):
+ """
+ Sets the key_algorithm of this CertificateSummary.
+ The algorithm used to create key pairs.
+
+
+ :param key_algorithm: The key_algorithm of this CertificateSummary.
+ :type: str
+ """
+ allowed_values = ["RSA2048", "RSA4096", "ECDSA_P256", "ECDSA_P384"]
+ if not value_allowed_none_or_none_sentinel(key_algorithm, allowed_values):
+ key_algorithm = 'UNKNOWN_ENUM_VALUE'
+ self._key_algorithm = key_algorithm
+
+ @property
+ def signature_algorithm(self):
+ """
+ Gets the signature_algorithm of this CertificateSummary.
+ The algorithm used to sign the public key certificate.
+
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The signature_algorithm of this CertificateSummary.
+ :rtype: str
+ """
+ return self._signature_algorithm
+
+ @signature_algorithm.setter
+ def signature_algorithm(self, signature_algorithm):
+ """
+ Sets the signature_algorithm of this CertificateSummary.
+ The algorithm used to sign the public key certificate.
+
+
+ :param signature_algorithm: The signature_algorithm of this CertificateSummary.
+ :type: str
+ """
+ allowed_values = ["SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"]
+ if not value_allowed_none_or_none_sentinel(signature_algorithm, allowed_values):
+ signature_algorithm = 'UNKNOWN_ENUM_VALUE'
+ self._signature_algorithm = signature_algorithm
+
+ @property
+ def certificate_profile_type(self):
+ """
+ Gets the certificate_profile_type of this CertificateSummary.
+ The name of the profile used to create the certificate, which depends on the type of certificate you need.
+
+ Allowed values for this property are: "TLS_SERVER_OR_CLIENT", "TLS_SERVER", "TLS_CLIENT", "TLS_CODE_SIGN", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The certificate_profile_type of this CertificateSummary.
+ :rtype: str
+ """
+ return self._certificate_profile_type
+
+ @certificate_profile_type.setter
+ def certificate_profile_type(self, certificate_profile_type):
+ """
+ Sets the certificate_profile_type of this CertificateSummary.
+ The name of the profile used to create the certificate, which depends on the type of certificate you need.
+
+
+ :param certificate_profile_type: The certificate_profile_type of this CertificateSummary.
+ :type: str
+ """
+ allowed_values = ["TLS_SERVER_OR_CLIENT", "TLS_SERVER", "TLS_CLIENT", "TLS_CODE_SIGN"]
+ if not value_allowed_none_or_none_sentinel(certificate_profile_type, allowed_values):
+ certificate_profile_type = 'UNKNOWN_ENUM_VALUE'
+ self._certificate_profile_type = certificate_profile_type
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CertificateSummary.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CertificateSummary.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CertificateSummary.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CertificateSummary.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CertificateSummary.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CertificateSummary.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CertificateSummary.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CertificateSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/certificate_version.py b/src/oci/certificates_management/models/certificate_version.py
new file mode 100644
index 0000000000..015c9e5540
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_version.py
@@ -0,0 +1,386 @@
+# 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 CertificateVersion(object):
+ """
+ The details of the certificate version. This object does not contain the certificate contents.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateVersion object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_id:
+ The value to assign to the certificate_id property of this CertificateVersion.
+ :type certificate_id: str
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateVersion.
+ :type serial_number: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateVersion.
+ :type time_created: datetime
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateVersion.
+ :type version_number: int
+
+ :param issuer_ca_version_number:
+ The value to assign to the issuer_ca_version_number property of this CertificateVersion.
+ :type issuer_ca_version_number: int
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateVersion.
+ :type version_name: str
+
+ :param subject_alternative_names:
+ The value to assign to the subject_alternative_names property of this CertificateVersion.
+ :type subject_alternative_names: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this CertificateVersion.
+ :type time_of_deletion: datetime
+
+ :param validity:
+ The value to assign to the validity property of this CertificateVersion.
+ :type validity: oci.certificates_management.models.Validity
+
+ :param stages:
+ The value to assign to the stages property of this CertificateVersion.
+ :type stages: list[oci.certificates_management.models.VersionStage]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateVersion.
+ :type revocation_status: oci.certificates_management.models.RevocationStatus
+
+ """
+ self.swagger_types = {
+ 'certificate_id': 'str',
+ 'serial_number': 'str',
+ 'time_created': 'datetime',
+ 'version_number': 'int',
+ 'issuer_ca_version_number': 'int',
+ 'version_name': 'str',
+ 'subject_alternative_names': 'list[CertificateSubjectAlternativeName]',
+ 'time_of_deletion': 'datetime',
+ 'validity': 'Validity',
+ 'stages': 'list[VersionStage]',
+ 'revocation_status': 'RevocationStatus'
+ }
+
+ self.attribute_map = {
+ 'certificate_id': 'certificateId',
+ 'serial_number': 'serialNumber',
+ 'time_created': 'timeCreated',
+ 'version_number': 'versionNumber',
+ 'issuer_ca_version_number': 'issuerCaVersionNumber',
+ 'version_name': 'versionName',
+ 'subject_alternative_names': 'subjectAlternativeNames',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'validity': 'validity',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus'
+ }
+
+ self._certificate_id = None
+ self._serial_number = None
+ self._time_created = None
+ self._version_number = None
+ self._issuer_ca_version_number = None
+ self._version_name = None
+ self._subject_alternative_names = None
+ self._time_of_deletion = None
+ self._validity = None
+ self._stages = None
+ self._revocation_status = None
+
+ @property
+ def certificate_id(self):
+ """
+ **[Required]** Gets the certificate_id of this CertificateVersion.
+ The OCID of the certificate.
+
+
+ :return: The certificate_id of this CertificateVersion.
+ :rtype: str
+ """
+ return self._certificate_id
+
+ @certificate_id.setter
+ def certificate_id(self, certificate_id):
+ """
+ Sets the certificate_id of this CertificateVersion.
+ The OCID of the certificate.
+
+
+ :param certificate_id: The certificate_id of this CertificateVersion.
+ :type: str
+ """
+ self._certificate_id = certificate_id
+
+ @property
+ def serial_number(self):
+ """
+ Gets the serial_number of this CertificateVersion.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :return: The serial_number of this CertificateVersion.
+ :rtype: str
+ """
+ return self._serial_number
+
+ @serial_number.setter
+ def serial_number(self, serial_number):
+ """
+ Sets the serial_number of this CertificateVersion.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :param serial_number: The serial_number of this CertificateVersion.
+ :type: str
+ """
+ self._serial_number = serial_number
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateVersion.
+ A optional property indicating when the certificate version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateVersion.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateVersion.
+ A optional property indicating when the certificate version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateVersion.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def version_number(self):
+ """
+ **[Required]** Gets the version_number of this CertificateVersion.
+ The version number of the certificate.
+
+
+ :return: The version_number of this CertificateVersion.
+ :rtype: int
+ """
+ return self._version_number
+
+ @version_number.setter
+ def version_number(self, version_number):
+ """
+ Sets the version_number of this CertificateVersion.
+ The version number of the certificate.
+
+
+ :param version_number: The version_number of this CertificateVersion.
+ :type: int
+ """
+ self._version_number = version_number
+
+ @property
+ def issuer_ca_version_number(self):
+ """
+ Gets the issuer_ca_version_number of this CertificateVersion.
+ The version number of the issuing certificate authority (CA).
+
+
+ :return: The issuer_ca_version_number of this CertificateVersion.
+ :rtype: int
+ """
+ return self._issuer_ca_version_number
+
+ @issuer_ca_version_number.setter
+ def issuer_ca_version_number(self, issuer_ca_version_number):
+ """
+ Sets the issuer_ca_version_number of this CertificateVersion.
+ The version number of the issuing certificate authority (CA).
+
+
+ :param issuer_ca_version_number: The issuer_ca_version_number of this CertificateVersion.
+ :type: int
+ """
+ self._issuer_ca_version_number = issuer_ca_version_number
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CertificateVersion.
+ The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate.
+
+
+ :return: The version_name of this CertificateVersion.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CertificateVersion.
+ The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate.
+
+
+ :param version_name: The version_name of this CertificateVersion.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def subject_alternative_names(self):
+ """
+ Gets the subject_alternative_names of this CertificateVersion.
+ A list of subject alternative names.
+
+
+ :return: The subject_alternative_names of this CertificateVersion.
+ :rtype: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+ """
+ return self._subject_alternative_names
+
+ @subject_alternative_names.setter
+ def subject_alternative_names(self, subject_alternative_names):
+ """
+ Sets the subject_alternative_names of this CertificateVersion.
+ A list of subject alternative names.
+
+
+ :param subject_alternative_names: The subject_alternative_names of this CertificateVersion.
+ :type: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+ """
+ self._subject_alternative_names = subject_alternative_names
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this CertificateVersion.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this CertificateVersion.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this CertificateVersion.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this CertificateVersion.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CertificateVersion.
+
+ :return: The validity of this CertificateVersion.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CertificateVersion.
+
+ :param validity: The validity of this CertificateVersion.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def stages(self):
+ """
+ **[Required]** Gets the stages of this CertificateVersion.
+ A list of stages of this entity.
+
+
+ :return: The stages of this CertificateVersion.
+ :rtype: list[oci.certificates_management.models.VersionStage]
+ """
+ return self._stages
+
+ @stages.setter
+ def stages(self, stages):
+ """
+ Sets the stages of this CertificateVersion.
+ A list of stages of this entity.
+
+
+ :param stages: The stages of this CertificateVersion.
+ :type: list[oci.certificates_management.models.VersionStage]
+ """
+ self._stages = stages
+
+ @property
+ def revocation_status(self):
+ """
+ Gets the revocation_status of this CertificateVersion.
+
+ :return: The revocation_status of this CertificateVersion.
+ :rtype: oci.certificates_management.models.RevocationStatus
+ """
+ return self._revocation_status
+
+ @revocation_status.setter
+ def revocation_status(self, revocation_status):
+ """
+ Sets the revocation_status of this CertificateVersion.
+
+ :param revocation_status: The revocation_status of this CertificateVersion.
+ :type: oci.certificates_management.models.RevocationStatus
+ """
+ self._revocation_status = revocation_status
+
+ 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/certificates_management/models/certificate_version_collection.py b/src/oci/certificates_management/models/certificate_version_collection.py
new file mode 100644
index 0000000000..069d78c6c4
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_version_collection.py
@@ -0,0 +1,70 @@
+# 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 CertificateVersionCollection(object):
+ """
+ The results of a certificate version search. This object contains certificate version summary objects and other data.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateVersionCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this CertificateVersionCollection.
+ :type items: list[oci.certificates_management.models.CertificateVersionSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[CertificateVersionSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this CertificateVersionCollection.
+ A list of certificate version summary objects.
+
+
+ :return: The items of this CertificateVersionCollection.
+ :rtype: list[oci.certificates_management.models.CertificateVersionSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this CertificateVersionCollection.
+ A list of certificate version summary objects.
+
+
+ :param items: The items of this CertificateVersionCollection.
+ :type: list[oci.certificates_management.models.CertificateVersionSummary]
+ """
+ self._items = items
+
+ 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/certificates_management/models/certificate_version_summary.py b/src/oci/certificates_management/models/certificate_version_summary.py
new file mode 100644
index 0000000000..e93c124c76
--- /dev/null
+++ b/src/oci/certificates_management/models/certificate_version_summary.py
@@ -0,0 +1,386 @@
+# 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 CertificateVersionSummary(object):
+ """
+ The details of the certificate version. This object does not contain the certificate contents.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CertificateVersionSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param certificate_id:
+ The value to assign to the certificate_id property of this CertificateVersionSummary.
+ :type certificate_id: str
+
+ :param serial_number:
+ The value to assign to the serial_number property of this CertificateVersionSummary.
+ :type serial_number: str
+
+ :param time_created:
+ The value to assign to the time_created property of this CertificateVersionSummary.
+ :type time_created: datetime
+
+ :param version_number:
+ The value to assign to the version_number property of this CertificateVersionSummary.
+ :type version_number: int
+
+ :param issuer_ca_version_number:
+ The value to assign to the issuer_ca_version_number property of this CertificateVersionSummary.
+ :type issuer_ca_version_number: int
+
+ :param version_name:
+ The value to assign to the version_name property of this CertificateVersionSummary.
+ :type version_name: str
+
+ :param subject_alternative_names:
+ The value to assign to the subject_alternative_names property of this CertificateVersionSummary.
+ :type subject_alternative_names: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this CertificateVersionSummary.
+ :type time_of_deletion: datetime
+
+ :param validity:
+ The value to assign to the validity property of this CertificateVersionSummary.
+ :type validity: oci.certificates_management.models.Validity
+
+ :param stages:
+ The value to assign to the stages property of this CertificateVersionSummary.
+ :type stages: list[oci.certificates_management.models.VersionStage]
+
+ :param revocation_status:
+ The value to assign to the revocation_status property of this CertificateVersionSummary.
+ :type revocation_status: oci.certificates_management.models.RevocationStatus
+
+ """
+ self.swagger_types = {
+ 'certificate_id': 'str',
+ 'serial_number': 'str',
+ 'time_created': 'datetime',
+ 'version_number': 'int',
+ 'issuer_ca_version_number': 'int',
+ 'version_name': 'str',
+ 'subject_alternative_names': 'list[CertificateSubjectAlternativeName]',
+ 'time_of_deletion': 'datetime',
+ 'validity': 'Validity',
+ 'stages': 'list[VersionStage]',
+ 'revocation_status': 'RevocationStatus'
+ }
+
+ self.attribute_map = {
+ 'certificate_id': 'certificateId',
+ 'serial_number': 'serialNumber',
+ 'time_created': 'timeCreated',
+ 'version_number': 'versionNumber',
+ 'issuer_ca_version_number': 'issuerCaVersionNumber',
+ 'version_name': 'versionName',
+ 'subject_alternative_names': 'subjectAlternativeNames',
+ 'time_of_deletion': 'timeOfDeletion',
+ 'validity': 'validity',
+ 'stages': 'stages',
+ 'revocation_status': 'revocationStatus'
+ }
+
+ self._certificate_id = None
+ self._serial_number = None
+ self._time_created = None
+ self._version_number = None
+ self._issuer_ca_version_number = None
+ self._version_name = None
+ self._subject_alternative_names = None
+ self._time_of_deletion = None
+ self._validity = None
+ self._stages = None
+ self._revocation_status = None
+
+ @property
+ def certificate_id(self):
+ """
+ **[Required]** Gets the certificate_id of this CertificateVersionSummary.
+ The OCID of the certificate.
+
+
+ :return: The certificate_id of this CertificateVersionSummary.
+ :rtype: str
+ """
+ return self._certificate_id
+
+ @certificate_id.setter
+ def certificate_id(self, certificate_id):
+ """
+ Sets the certificate_id of this CertificateVersionSummary.
+ The OCID of the certificate.
+
+
+ :param certificate_id: The certificate_id of this CertificateVersionSummary.
+ :type: str
+ """
+ self._certificate_id = certificate_id
+
+ @property
+ def serial_number(self):
+ """
+ Gets the serial_number of this CertificateVersionSummary.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :return: The serial_number of this CertificateVersionSummary.
+ :rtype: str
+ """
+ return self._serial_number
+
+ @serial_number.setter
+ def serial_number(self, serial_number):
+ """
+ Sets the serial_number of this CertificateVersionSummary.
+ A unique certificate identifier used in certificate revocation tracking, formatted as octets.
+ Example: `03 AC FC FA CC B3 CB 02 B8 F8 DE F5 85 E7 7B FF`
+
+
+ :param serial_number: The serial_number of this CertificateVersionSummary.
+ :type: str
+ """
+ self._serial_number = serial_number
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this CertificateVersionSummary.
+ A optional property indicating the time when the certificate version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_created of this CertificateVersionSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this CertificateVersionSummary.
+ A optional property indicating the time when the certificate version was created, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_created: The time_created of this CertificateVersionSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def version_number(self):
+ """
+ **[Required]** Gets the version_number of this CertificateVersionSummary.
+ The version number of the certificate.
+
+
+ :return: The version_number of this CertificateVersionSummary.
+ :rtype: int
+ """
+ return self._version_number
+
+ @version_number.setter
+ def version_number(self, version_number):
+ """
+ Sets the version_number of this CertificateVersionSummary.
+ The version number of the certificate.
+
+
+ :param version_number: The version_number of this CertificateVersionSummary.
+ :type: int
+ """
+ self._version_number = version_number
+
+ @property
+ def issuer_ca_version_number(self):
+ """
+ Gets the issuer_ca_version_number of this CertificateVersionSummary.
+ The version number of the issuing certificate authority (CA).
+
+
+ :return: The issuer_ca_version_number of this CertificateVersionSummary.
+ :rtype: int
+ """
+ return self._issuer_ca_version_number
+
+ @issuer_ca_version_number.setter
+ def issuer_ca_version_number(self, issuer_ca_version_number):
+ """
+ Sets the issuer_ca_version_number of this CertificateVersionSummary.
+ The version number of the issuing certificate authority (CA).
+
+
+ :param issuer_ca_version_number: The issuer_ca_version_number of this CertificateVersionSummary.
+ :type: int
+ """
+ self._issuer_ca_version_number = issuer_ca_version_number
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CertificateVersionSummary.
+ The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate.
+
+
+ :return: The version_name of this CertificateVersionSummary.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CertificateVersionSummary.
+ The name of the certificate version. When the value is not null, a name is unique across versions of a given certificate.
+
+
+ :param version_name: The version_name of this CertificateVersionSummary.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def subject_alternative_names(self):
+ """
+ Gets the subject_alternative_names of this CertificateVersionSummary.
+ A list of subject alternative names.
+
+
+ :return: The subject_alternative_names of this CertificateVersionSummary.
+ :rtype: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+ """
+ return self._subject_alternative_names
+
+ @subject_alternative_names.setter
+ def subject_alternative_names(self, subject_alternative_names):
+ """
+ Sets the subject_alternative_names of this CertificateVersionSummary.
+ A list of subject alternative names.
+
+
+ :param subject_alternative_names: The subject_alternative_names of this CertificateVersionSummary.
+ :type: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+ """
+ self._subject_alternative_names = subject_alternative_names
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this CertificateVersionSummary.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this CertificateVersionSummary.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this CertificateVersionSummary.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this CertificateVersionSummary.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CertificateVersionSummary.
+
+ :return: The validity of this CertificateVersionSummary.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CertificateVersionSummary.
+
+ :param validity: The validity of this CertificateVersionSummary.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def stages(self):
+ """
+ **[Required]** Gets the stages of this CertificateVersionSummary.
+ A list of rotation states for this certificate version.
+
+
+ :return: The stages of this CertificateVersionSummary.
+ :rtype: list[oci.certificates_management.models.VersionStage]
+ """
+ return self._stages
+
+ @stages.setter
+ def stages(self, stages):
+ """
+ Sets the stages of this CertificateVersionSummary.
+ A list of rotation states for this certificate version.
+
+
+ :param stages: The stages of this CertificateVersionSummary.
+ :type: list[oci.certificates_management.models.VersionStage]
+ """
+ self._stages = stages
+
+ @property
+ def revocation_status(self):
+ """
+ Gets the revocation_status of this CertificateVersionSummary.
+
+ :return: The revocation_status of this CertificateVersionSummary.
+ :rtype: oci.certificates_management.models.RevocationStatus
+ """
+ return self._revocation_status
+
+ @revocation_status.setter
+ def revocation_status(self, revocation_status):
+ """
+ Sets the revocation_status of this CertificateVersionSummary.
+
+ :param revocation_status: The revocation_status of this CertificateVersionSummary.
+ :type: oci.certificates_management.models.RevocationStatus
+ """
+ self._revocation_status = revocation_status
+
+ 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/certificates_management/models/change_ca_bundle_compartment_details.py b/src/oci/certificates_management/models/change_ca_bundle_compartment_details.py
new file mode 100644
index 0000000000..f4efb6596b
--- /dev/null
+++ b/src/oci/certificates_management/models/change_ca_bundle_compartment_details.py
@@ -0,0 +1,76 @@
+# 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 ChangeCaBundleCompartmentDetails(object):
+ """
+ The details of the request to change compartments for the CA bundle.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ChangeCaBundleCompartmentDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this ChangeCaBundleCompartmentDetails.
+ :type compartment_id: str
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId'
+ }
+
+ self._compartment_id = None
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this ChangeCaBundleCompartmentDetails.
+ The `OCID`__ of the compartment
+ into which the CA bundle should move.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this ChangeCaBundleCompartmentDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this ChangeCaBundleCompartmentDetails.
+ The `OCID`__ of the compartment
+ into which the CA bundle should move.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this ChangeCaBundleCompartmentDetails.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ 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/certificates_management/models/change_certificate_authority_compartment_details.py b/src/oci/certificates_management/models/change_certificate_authority_compartment_details.py
new file mode 100644
index 0000000000..0470c57d9a
--- /dev/null
+++ b/src/oci/certificates_management/models/change_certificate_authority_compartment_details.py
@@ -0,0 +1,76 @@
+# 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 ChangeCertificateAuthorityCompartmentDetails(object):
+ """
+ The details of the request to change compartments for the certificate authority (CA).
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ChangeCertificateAuthorityCompartmentDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this ChangeCertificateAuthorityCompartmentDetails.
+ :type compartment_id: str
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId'
+ }
+
+ self._compartment_id = None
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this ChangeCertificateAuthorityCompartmentDetails.
+ The `OCID`__ of the compartment
+ into which the CA should move.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this ChangeCertificateAuthorityCompartmentDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this ChangeCertificateAuthorityCompartmentDetails.
+ The `OCID`__ of the compartment
+ into which the CA should move.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this ChangeCertificateAuthorityCompartmentDetails.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ 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/certificates_management/models/change_certificate_compartment_details.py b/src/oci/certificates_management/models/change_certificate_compartment_details.py
new file mode 100644
index 0000000000..638ce1e7d1
--- /dev/null
+++ b/src/oci/certificates_management/models/change_certificate_compartment_details.py
@@ -0,0 +1,76 @@
+# 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 ChangeCertificateCompartmentDetails(object):
+ """
+ The details of the request to change compartments for the certificate.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ChangeCertificateCompartmentDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this ChangeCertificateCompartmentDetails.
+ :type compartment_id: str
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str'
+ }
+
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId'
+ }
+
+ self._compartment_id = None
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this ChangeCertificateCompartmentDetails.
+ The `OCID`__ of the compartment
+ into which the certificate should move.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this ChangeCertificateCompartmentDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this ChangeCertificateCompartmentDetails.
+ The `OCID`__ of the compartment
+ into which the certificate should move.
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this ChangeCertificateCompartmentDetails.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ 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/certificates_management/models/create_ca_bundle_details.py b/src/oci/certificates_management/models/create_ca_bundle_details.py
new file mode 100644
index 0000000000..43ebce2944
--- /dev/null
+++ b/src/oci/certificates_management/models/create_ca_bundle_details.py
@@ -0,0 +1,241 @@
+# 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 CreateCaBundleDetails(object):
+ """
+ The details of the CA bundle that you want to create.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateCaBundleDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param name:
+ The value to assign to the name property of this CreateCaBundleDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CreateCaBundleDetails.
+ :type description: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CreateCaBundleDetails.
+ :type compartment_id: str
+
+ :param ca_bundle_pem:
+ The value to assign to the ca_bundle_pem property of this CreateCaBundleDetails.
+ :type ca_bundle_pem: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateCaBundleDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateCaBundleDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'name': 'str',
+ 'description': 'str',
+ 'compartment_id': 'str',
+ 'ca_bundle_pem': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'name': 'name',
+ 'description': 'description',
+ 'compartment_id': 'compartmentId',
+ 'ca_bundle_pem': 'caBundlePem',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._name = None
+ self._description = None
+ self._compartment_id = None
+ self._ca_bundle_pem = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CreateCaBundleDetails.
+ A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this CreateCaBundleDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CreateCaBundleDetails.
+ A user-friendly name for the CA bundle. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this CreateCaBundleDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CreateCaBundleDetails.
+ A brief description of the CA bundle.
+
+
+ :return: The description of this CreateCaBundleDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateCaBundleDetails.
+ A brief description of the CA bundle.
+
+
+ :param description: The description of this CreateCaBundleDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CreateCaBundleDetails.
+ The OCID of the compartment for the CA bundle.
+
+
+ :return: The compartment_id of this CreateCaBundleDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CreateCaBundleDetails.
+ The OCID of the compartment for the CA bundle.
+
+
+ :param compartment_id: The compartment_id of this CreateCaBundleDetails.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def ca_bundle_pem(self):
+ """
+ **[Required]** Gets the ca_bundle_pem of this CreateCaBundleDetails.
+ Certificates (in PEM format) to include in the CA bundle.
+
+
+ :return: The ca_bundle_pem of this CreateCaBundleDetails.
+ :rtype: str
+ """
+ return self._ca_bundle_pem
+
+ @ca_bundle_pem.setter
+ def ca_bundle_pem(self, ca_bundle_pem):
+ """
+ Sets the ca_bundle_pem of this CreateCaBundleDetails.
+ Certificates (in PEM format) to include in the CA bundle.
+
+
+ :param ca_bundle_pem: The ca_bundle_pem of this CreateCaBundleDetails.
+ :type: str
+ """
+ self._ca_bundle_pem = ca_bundle_pem
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateCaBundleDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateCaBundleDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateCaBundleDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateCaBundleDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateCaBundleDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateCaBundleDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateCaBundleDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateCaBundleDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/create_certificate_authority_config_details.py b/src/oci/certificates_management/models/create_certificate_authority_config_details.py
new file mode 100644
index 0000000000..3bb2db636b
--- /dev/null
+++ b/src/oci/certificates_management/models/create_certificate_authority_config_details.py
@@ -0,0 +1,139 @@
+# 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 CreateCertificateAuthorityConfigDetails(object):
+ """
+ The configuration details for creating a certificate authority (CA).
+ """
+
+ #: A constant which can be used with the config_type property of a CreateCertificateAuthorityConfigDetails.
+ #: This constant has a value of "ROOT_CA_GENERATED_INTERNALLY"
+ CONFIG_TYPE_ROOT_CA_GENERATED_INTERNALLY = "ROOT_CA_GENERATED_INTERNALLY"
+
+ #: A constant which can be used with the config_type property of a CreateCertificateAuthorityConfigDetails.
+ #: This constant has a value of "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA = "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateCertificateAuthorityConfigDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
+ to a service operations then you should favor using a subclass over the base class:
+
+ * :class:`~oci.certificates_management.models.CreateRootCaByGeneratingInternallyConfigDetails`
+ * :class:`~oci.certificates_management.models.CreateSubordinateCaIssuedByInternalCaConfigDetails`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this CreateCertificateAuthorityConfigDetails.
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this CreateCertificateAuthorityConfigDetails.
+ :type version_name: str
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName'
+ }
+
+ self._config_type = None
+ self._version_name = None
+
+ @staticmethod
+ def get_subtype(object_dictionary):
+ """
+ Given the hash representation of a subtype of this class,
+ use the info in the hash to return the class of the subtype.
+ """
+ type = object_dictionary['configType']
+
+ if type == 'ROOT_CA_GENERATED_INTERNALLY':
+ return 'CreateRootCaByGeneratingInternallyConfigDetails'
+
+ if type == 'SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA':
+ return 'CreateSubordinateCaIssuedByInternalCaConfigDetails'
+ else:
+ return 'CreateCertificateAuthorityConfigDetails'
+
+ @property
+ def config_type(self):
+ """
+ **[Required]** Gets the config_type of this CreateCertificateAuthorityConfigDetails.
+ The origin of the CA.
+
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+
+
+ :return: The config_type of this CreateCertificateAuthorityConfigDetails.
+ :rtype: str
+ """
+ return self._config_type
+
+ @config_type.setter
+ def config_type(self, config_type):
+ """
+ Sets the config_type of this CreateCertificateAuthorityConfigDetails.
+ The origin of the CA.
+
+
+ :param config_type: The config_type of this CreateCertificateAuthorityConfigDetails.
+ :type: str
+ """
+ allowed_values = ["ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"]
+ if not value_allowed_none_or_none_sentinel(config_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `config_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._config_type = config_type
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CreateCertificateAuthorityConfigDetails.
+ The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
+
+
+ :return: The version_name of this CreateCertificateAuthorityConfigDetails.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CreateCertificateAuthorityConfigDetails.
+ The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
+
+
+ :param version_name: The version_name of this CreateCertificateAuthorityConfigDetails.
+ :type: str
+ """
+ self._version_name = version_name
+
+ 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/certificates_management/models/create_certificate_authority_details.py b/src/oci/certificates_management/models/create_certificate_authority_details.py
new file mode 100644
index 0000000000..04e1124c6b
--- /dev/null
+++ b/src/oci/certificates_management/models/create_certificate_authority_details.py
@@ -0,0 +1,314 @@
+# 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 CreateCertificateAuthorityDetails(object):
+ """
+ The details for creating a certificate authority (CA).
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateCertificateAuthorityDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param name:
+ The value to assign to the name property of this CreateCertificateAuthorityDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CreateCertificateAuthorityDetails.
+ :type description: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CreateCertificateAuthorityDetails.
+ :type compartment_id: str
+
+ :param certificate_authority_rules:
+ The value to assign to the certificate_authority_rules property of this CreateCertificateAuthorityDetails.
+ :type certificate_authority_rules: list[oci.certificates_management.models.CertificateAuthorityRule]
+
+ :param certificate_authority_config:
+ The value to assign to the certificate_authority_config property of this CreateCertificateAuthorityDetails.
+ :type certificate_authority_config: oci.certificates_management.models.CreateCertificateAuthorityConfigDetails
+
+ :param certificate_revocation_list_details:
+ The value to assign to the certificate_revocation_list_details property of this CreateCertificateAuthorityDetails.
+ :type certificate_revocation_list_details: oci.certificates_management.models.CertificateRevocationListDetails
+
+ :param kms_key_id:
+ The value to assign to the kms_key_id property of this CreateCertificateAuthorityDetails.
+ :type kms_key_id: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateCertificateAuthorityDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateCertificateAuthorityDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'name': 'str',
+ 'description': 'str',
+ 'compartment_id': 'str',
+ 'certificate_authority_rules': 'list[CertificateAuthorityRule]',
+ 'certificate_authority_config': 'CreateCertificateAuthorityConfigDetails',
+ 'certificate_revocation_list_details': 'CertificateRevocationListDetails',
+ 'kms_key_id': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'name': 'name',
+ 'description': 'description',
+ 'compartment_id': 'compartmentId',
+ 'certificate_authority_rules': 'certificateAuthorityRules',
+ 'certificate_authority_config': 'certificateAuthorityConfig',
+ 'certificate_revocation_list_details': 'certificateRevocationListDetails',
+ 'kms_key_id': 'kmsKeyId',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._name = None
+ self._description = None
+ self._compartment_id = None
+ self._certificate_authority_rules = None
+ self._certificate_authority_config = None
+ self._certificate_revocation_list_details = None
+ self._kms_key_id = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CreateCertificateAuthorityDetails.
+ A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this CreateCertificateAuthorityDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CreateCertificateAuthorityDetails.
+ A user-friendly name for the CA. Names are unique within a compartment. Avoid entering confidential information. Valid characters include uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this CreateCertificateAuthorityDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CreateCertificateAuthorityDetails.
+ A brief description of the CA.
+
+
+ :return: The description of this CreateCertificateAuthorityDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateCertificateAuthorityDetails.
+ A brief description of the CA.
+
+
+ :param description: The description of this CreateCertificateAuthorityDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CreateCertificateAuthorityDetails.
+ The compartment in which you want to create the CA.
+
+
+ :return: The compartment_id of this CreateCertificateAuthorityDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CreateCertificateAuthorityDetails.
+ The compartment in which you want to create the CA.
+
+
+ :param compartment_id: The compartment_id of this CreateCertificateAuthorityDetails.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def certificate_authority_rules(self):
+ """
+ Gets the certificate_authority_rules of this CreateCertificateAuthorityDetails.
+ A list of rules that control how the CA is used and managed.
+
+
+ :return: The certificate_authority_rules of this CreateCertificateAuthorityDetails.
+ :rtype: list[oci.certificates_management.models.CertificateAuthorityRule]
+ """
+ return self._certificate_authority_rules
+
+ @certificate_authority_rules.setter
+ def certificate_authority_rules(self, certificate_authority_rules):
+ """
+ Sets the certificate_authority_rules of this CreateCertificateAuthorityDetails.
+ A list of rules that control how the CA is used and managed.
+
+
+ :param certificate_authority_rules: The certificate_authority_rules of this CreateCertificateAuthorityDetails.
+ :type: list[oci.certificates_management.models.CertificateAuthorityRule]
+ """
+ self._certificate_authority_rules = certificate_authority_rules
+
+ @property
+ def certificate_authority_config(self):
+ """
+ **[Required]** Gets the certificate_authority_config of this CreateCertificateAuthorityDetails.
+
+ :return: The certificate_authority_config of this CreateCertificateAuthorityDetails.
+ :rtype: oci.certificates_management.models.CreateCertificateAuthorityConfigDetails
+ """
+ return self._certificate_authority_config
+
+ @certificate_authority_config.setter
+ def certificate_authority_config(self, certificate_authority_config):
+ """
+ Sets the certificate_authority_config of this CreateCertificateAuthorityDetails.
+
+ :param certificate_authority_config: The certificate_authority_config of this CreateCertificateAuthorityDetails.
+ :type: oci.certificates_management.models.CreateCertificateAuthorityConfigDetails
+ """
+ self._certificate_authority_config = certificate_authority_config
+
+ @property
+ def certificate_revocation_list_details(self):
+ """
+ Gets the certificate_revocation_list_details of this CreateCertificateAuthorityDetails.
+
+ :return: The certificate_revocation_list_details of this CreateCertificateAuthorityDetails.
+ :rtype: oci.certificates_management.models.CertificateRevocationListDetails
+ """
+ return self._certificate_revocation_list_details
+
+ @certificate_revocation_list_details.setter
+ def certificate_revocation_list_details(self, certificate_revocation_list_details):
+ """
+ Sets the certificate_revocation_list_details of this CreateCertificateAuthorityDetails.
+
+ :param certificate_revocation_list_details: The certificate_revocation_list_details of this CreateCertificateAuthorityDetails.
+ :type: oci.certificates_management.models.CertificateRevocationListDetails
+ """
+ self._certificate_revocation_list_details = certificate_revocation_list_details
+
+ @property
+ def kms_key_id(self):
+ """
+ **[Required]** Gets the kms_key_id of this CreateCertificateAuthorityDetails.
+ The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
+
+
+ :return: The kms_key_id of this CreateCertificateAuthorityDetails.
+ :rtype: str
+ """
+ return self._kms_key_id
+
+ @kms_key_id.setter
+ def kms_key_id(self, kms_key_id):
+ """
+ Sets the kms_key_id of this CreateCertificateAuthorityDetails.
+ The OCID of the Oracle Cloud Infrastructure Vault key used to encrypt the CA.
+
+
+ :param kms_key_id: The kms_key_id of this CreateCertificateAuthorityDetails.
+ :type: str
+ """
+ self._kms_key_id = kms_key_id
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateCertificateAuthorityDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this CreateCertificateAuthorityDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateCertificateAuthorityDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this CreateCertificateAuthorityDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateCertificateAuthorityDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :return: The defined_tags of this CreateCertificateAuthorityDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateCertificateAuthorityDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :param defined_tags: The defined_tags of this CreateCertificateAuthorityDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/create_certificate_by_importing_config_details.py b/src/oci/certificates_management/models/create_certificate_by_importing_config_details.py
new file mode 100644
index 0000000000..6b2ecb8624
--- /dev/null
+++ b/src/oci/certificates_management/models/create_certificate_by_importing_config_details.py
@@ -0,0 +1,180 @@
+# 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 .create_certificate_config_details import CreateCertificateConfigDetails
+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 CreateCertificateByImportingConfigDetails(CreateCertificateConfigDetails):
+ """
+ The details of the configuration for creating a certificate based on the keys from an imported certificate.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateCertificateByImportingConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.CreateCertificateByImportingConfigDetails.config_type` attribute
+ of this class is ``IMPORTED`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this CreateCertificateByImportingConfigDetails.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this CreateCertificateByImportingConfigDetails.
+ :type version_name: str
+
+ :param cert_chain_pem:
+ The value to assign to the cert_chain_pem property of this CreateCertificateByImportingConfigDetails.
+ :type cert_chain_pem: str
+
+ :param private_key_pem:
+ The value to assign to the private_key_pem property of this CreateCertificateByImportingConfigDetails.
+ :type private_key_pem: str
+
+ :param certificate_pem:
+ The value to assign to the certificate_pem property of this CreateCertificateByImportingConfigDetails.
+ :type certificate_pem: str
+
+ :param private_key_pem_passphrase:
+ The value to assign to the private_key_pem_passphrase property of this CreateCertificateByImportingConfigDetails.
+ :type private_key_pem_passphrase: str
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'cert_chain_pem': 'str',
+ 'private_key_pem': 'str',
+ 'certificate_pem': 'str',
+ 'private_key_pem_passphrase': 'str'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'cert_chain_pem': 'certChainPem',
+ 'private_key_pem': 'privateKeyPem',
+ 'certificate_pem': 'certificatePem',
+ 'private_key_pem_passphrase': 'privateKeyPemPassphrase'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._cert_chain_pem = None
+ self._private_key_pem = None
+ self._certificate_pem = None
+ self._private_key_pem_passphrase = None
+ self._config_type = 'IMPORTED'
+
+ @property
+ def cert_chain_pem(self):
+ """
+ **[Required]** Gets the cert_chain_pem of this CreateCertificateByImportingConfigDetails.
+ The certificate chain (in PEM format) for the imported certificate.
+
+
+ :return: The cert_chain_pem of this CreateCertificateByImportingConfigDetails.
+ :rtype: str
+ """
+ return self._cert_chain_pem
+
+ @cert_chain_pem.setter
+ def cert_chain_pem(self, cert_chain_pem):
+ """
+ Sets the cert_chain_pem of this CreateCertificateByImportingConfigDetails.
+ The certificate chain (in PEM format) for the imported certificate.
+
+
+ :param cert_chain_pem: The cert_chain_pem of this CreateCertificateByImportingConfigDetails.
+ :type: str
+ """
+ self._cert_chain_pem = cert_chain_pem
+
+ @property
+ def private_key_pem(self):
+ """
+ **[Required]** Gets the private_key_pem of this CreateCertificateByImportingConfigDetails.
+ The private key (in PEM format) for the imported certificate.
+
+
+ :return: The private_key_pem of this CreateCertificateByImportingConfigDetails.
+ :rtype: str
+ """
+ return self._private_key_pem
+
+ @private_key_pem.setter
+ def private_key_pem(self, private_key_pem):
+ """
+ Sets the private_key_pem of this CreateCertificateByImportingConfigDetails.
+ The private key (in PEM format) for the imported certificate.
+
+
+ :param private_key_pem: The private_key_pem of this CreateCertificateByImportingConfigDetails.
+ :type: str
+ """
+ self._private_key_pem = private_key_pem
+
+ @property
+ def certificate_pem(self):
+ """
+ **[Required]** Gets the certificate_pem of this CreateCertificateByImportingConfigDetails.
+ The certificate (in PEM format) for the imported certificate.
+
+
+ :return: The certificate_pem of this CreateCertificateByImportingConfigDetails.
+ :rtype: str
+ """
+ return self._certificate_pem
+
+ @certificate_pem.setter
+ def certificate_pem(self, certificate_pem):
+ """
+ Sets the certificate_pem of this CreateCertificateByImportingConfigDetails.
+ The certificate (in PEM format) for the imported certificate.
+
+
+ :param certificate_pem: The certificate_pem of this CreateCertificateByImportingConfigDetails.
+ :type: str
+ """
+ self._certificate_pem = certificate_pem
+
+ @property
+ def private_key_pem_passphrase(self):
+ """
+ Gets the private_key_pem_passphrase of this CreateCertificateByImportingConfigDetails.
+ An optional passphrase for the private key.
+
+
+ :return: The private_key_pem_passphrase of this CreateCertificateByImportingConfigDetails.
+ :rtype: str
+ """
+ return self._private_key_pem_passphrase
+
+ @private_key_pem_passphrase.setter
+ def private_key_pem_passphrase(self, private_key_pem_passphrase):
+ """
+ Sets the private_key_pem_passphrase of this CreateCertificateByImportingConfigDetails.
+ An optional passphrase for the private key.
+
+
+ :param private_key_pem_passphrase: The private_key_pem_passphrase of this CreateCertificateByImportingConfigDetails.
+ :type: str
+ """
+ self._private_key_pem_passphrase = private_key_pem_passphrase
+
+ 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/certificates_management/models/create_certificate_config_details.py b/src/oci/certificates_management/models/create_certificate_config_details.py
new file mode 100644
index 0000000000..d0a8c6a8b6
--- /dev/null
+++ b/src/oci/certificates_management/models/create_certificate_config_details.py
@@ -0,0 +1,147 @@
+# 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 CreateCertificateConfigDetails(object):
+ """
+ The details of the contents of the certificate and certificate metadata.
+ """
+
+ #: A constant which can be used with the config_type property of a CreateCertificateConfigDetails.
+ #: This constant has a value of "ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_ISSUED_BY_INTERNAL_CA = "ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the config_type property of a CreateCertificateConfigDetails.
+ #: This constant has a value of "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA = "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the config_type property of a CreateCertificateConfigDetails.
+ #: This constant has a value of "IMPORTED"
+ CONFIG_TYPE_IMPORTED = "IMPORTED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateCertificateConfigDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
+ to a service operations then you should favor using a subclass over the base class:
+
+ * :class:`~oci.certificates_management.models.CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails`
+ * :class:`~oci.certificates_management.models.CreateCertificateIssuedByInternalCaConfigDetails`
+ * :class:`~oci.certificates_management.models.CreateCertificateByImportingConfigDetails`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this CreateCertificateConfigDetails.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this CreateCertificateConfigDetails.
+ :type version_name: str
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName'
+ }
+
+ self._config_type = None
+ self._version_name = None
+
+ @staticmethod
+ def get_subtype(object_dictionary):
+ """
+ Given the hash representation of a subtype of this class,
+ use the info in the hash to return the class of the subtype.
+ """
+ type = object_dictionary['configType']
+
+ if type == 'MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA':
+ return 'CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails'
+
+ if type == 'ISSUED_BY_INTERNAL_CA':
+ return 'CreateCertificateIssuedByInternalCaConfigDetails'
+
+ if type == 'IMPORTED':
+ return 'CreateCertificateByImportingConfigDetails'
+ else:
+ return 'CreateCertificateConfigDetails'
+
+ @property
+ def config_type(self):
+ """
+ **[Required]** Gets the config_type of this CreateCertificateConfigDetails.
+ The origin of the certificate.
+
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+
+
+ :return: The config_type of this CreateCertificateConfigDetails.
+ :rtype: str
+ """
+ return self._config_type
+
+ @config_type.setter
+ def config_type(self, config_type):
+ """
+ Sets the config_type of this CreateCertificateConfigDetails.
+ The origin of the certificate.
+
+
+ :param config_type: The config_type of this CreateCertificateConfigDetails.
+ :type: str
+ """
+ allowed_values = ["ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"]
+ if not value_allowed_none_or_none_sentinel(config_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `config_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._config_type = config_type
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this CreateCertificateConfigDetails.
+ A name for the certificate. When the value is not null, a name is unique across versions of a given certificate.
+
+
+ :return: The version_name of this CreateCertificateConfigDetails.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this CreateCertificateConfigDetails.
+ A name for the certificate. When the value is not null, a name is unique across versions of a given certificate.
+
+
+ :param version_name: The version_name of this CreateCertificateConfigDetails.
+ :type: str
+ """
+ self._version_name = version_name
+
+ 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/certificates_management/models/create_certificate_details.py b/src/oci/certificates_management/models/create_certificate_details.py
new file mode 100644
index 0000000000..c28381a66d
--- /dev/null
+++ b/src/oci/certificates_management/models/create_certificate_details.py
@@ -0,0 +1,268 @@
+# 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 CreateCertificateDetails(object):
+ """
+ The details of the certificate to create.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateCertificateDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param name:
+ The value to assign to the name property of this CreateCertificateDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CreateCertificateDetails.
+ :type description: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CreateCertificateDetails.
+ :type compartment_id: str
+
+ :param certificate_rules:
+ The value to assign to the certificate_rules property of this CreateCertificateDetails.
+ :type certificate_rules: list[oci.certificates_management.models.CertificateRule]
+
+ :param certificate_config:
+ The value to assign to the certificate_config property of this CreateCertificateDetails.
+ :type certificate_config: oci.certificates_management.models.CreateCertificateConfigDetails
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateCertificateDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateCertificateDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'name': 'str',
+ 'description': 'str',
+ 'compartment_id': 'str',
+ 'certificate_rules': 'list[CertificateRule]',
+ 'certificate_config': 'CreateCertificateConfigDetails',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'name': 'name',
+ 'description': 'description',
+ 'compartment_id': 'compartmentId',
+ 'certificate_rules': 'certificateRules',
+ 'certificate_config': 'certificateConfig',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._name = None
+ self._description = None
+ self._compartment_id = None
+ self._certificate_rules = None
+ self._certificate_config = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CreateCertificateDetails.
+ A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :return: The name of this CreateCertificateDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CreateCertificateDetails.
+ A user-friendly name for the certificate. Names are unique within a compartment. Avoid entering confidential information. Valid characters are uppercase or lowercase letters, numbers, hyphens, underscores, and periods.
+
+
+ :param name: The name of this CreateCertificateDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CreateCertificateDetails.
+ A brief description of the certificate. Avoid entering confidential information.
+
+
+ :return: The description of this CreateCertificateDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateCertificateDetails.
+ A brief description of the certificate. Avoid entering confidential information.
+
+
+ :param description: The description of this CreateCertificateDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CreateCertificateDetails.
+ The OCID of the compartment where you want to create the certificate.
+
+
+ :return: The compartment_id of this CreateCertificateDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CreateCertificateDetails.
+ The OCID of the compartment where you want to create the certificate.
+
+
+ :param compartment_id: The compartment_id of this CreateCertificateDetails.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def certificate_rules(self):
+ """
+ Gets the certificate_rules of this CreateCertificateDetails.
+ An optional list of rules that control how the certificate is used and managed.
+
+
+ :return: The certificate_rules of this CreateCertificateDetails.
+ :rtype: list[oci.certificates_management.models.CertificateRule]
+ """
+ return self._certificate_rules
+
+ @certificate_rules.setter
+ def certificate_rules(self, certificate_rules):
+ """
+ Sets the certificate_rules of this CreateCertificateDetails.
+ An optional list of rules that control how the certificate is used and managed.
+
+
+ :param certificate_rules: The certificate_rules of this CreateCertificateDetails.
+ :type: list[oci.certificates_management.models.CertificateRule]
+ """
+ self._certificate_rules = certificate_rules
+
+ @property
+ def certificate_config(self):
+ """
+ **[Required]** Gets the certificate_config of this CreateCertificateDetails.
+
+ :return: The certificate_config of this CreateCertificateDetails.
+ :rtype: oci.certificates_management.models.CreateCertificateConfigDetails
+ """
+ return self._certificate_config
+
+ @certificate_config.setter
+ def certificate_config(self, certificate_config):
+ """
+ Sets the certificate_config of this CreateCertificateDetails.
+
+ :param certificate_config: The certificate_config of this CreateCertificateDetails.
+ :type: oci.certificates_management.models.CreateCertificateConfigDetails
+ """
+ self._certificate_config = certificate_config
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateCertificateDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateCertificateDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateCertificateDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateCertificateDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateCertificateDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateCertificateDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this CreateCertificateDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateCertificateDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/create_certificate_issued_by_internal_ca_config_details.py b/src/oci/certificates_management/models/create_certificate_issued_by_internal_ca_config_details.py
new file mode 100644
index 0000000000..113e023841
--- /dev/null
+++ b/src/oci/certificates_management/models/create_certificate_issued_by_internal_ca_config_details.py
@@ -0,0 +1,348 @@
+# 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 .create_certificate_config_details import CreateCertificateConfigDetails
+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 CreateCertificateIssuedByInternalCaConfigDetails(CreateCertificateConfigDetails):
+ """
+ The details of the configuration for creating an internally managed certificate which is issued by a private certificate authority (CA).
+ """
+
+ #: A constant which can be used with the certificate_profile_type property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "TLS_SERVER_OR_CLIENT"
+ CERTIFICATE_PROFILE_TYPE_TLS_SERVER_OR_CLIENT = "TLS_SERVER_OR_CLIENT"
+
+ #: A constant which can be used with the certificate_profile_type property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "TLS_SERVER"
+ CERTIFICATE_PROFILE_TYPE_TLS_SERVER = "TLS_SERVER"
+
+ #: A constant which can be used with the certificate_profile_type property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "TLS_CLIENT"
+ CERTIFICATE_PROFILE_TYPE_TLS_CLIENT = "TLS_CLIENT"
+
+ #: A constant which can be used with the certificate_profile_type property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "TLS_CODE_SIGN"
+ CERTIFICATE_PROFILE_TYPE_TLS_CODE_SIGN = "TLS_CODE_SIGN"
+
+ #: A constant which can be used with the key_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "RSA2048"
+ KEY_ALGORITHM_RSA2048 = "RSA2048"
+
+ #: A constant which can be used with the key_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "RSA4096"
+ KEY_ALGORITHM_RSA4096 = "RSA4096"
+
+ #: A constant which can be used with the key_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "ECDSA_P256"
+ KEY_ALGORITHM_ECDSA_P256 = "ECDSA_P256"
+
+ #: A constant which can be used with the key_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "ECDSA_P384"
+ KEY_ALGORITHM_ECDSA_P384 = "ECDSA_P384"
+
+ #: A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA256_WITH_RSA"
+ SIGNATURE_ALGORITHM_SHA256_WITH_RSA = "SHA256_WITH_RSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA384_WITH_RSA"
+ SIGNATURE_ALGORITHM_SHA384_WITH_RSA = "SHA384_WITH_RSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA512_WITH_RSA"
+ SIGNATURE_ALGORITHM_SHA512_WITH_RSA = "SHA512_WITH_RSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA256_WITH_ECDSA"
+ SIGNATURE_ALGORITHM_SHA256_WITH_ECDSA = "SHA256_WITH_ECDSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA384_WITH_ECDSA"
+ SIGNATURE_ALGORITHM_SHA384_WITH_ECDSA = "SHA384_WITH_ECDSA"
+
+ #: A constant which can be used with the signature_algorithm property of a CreateCertificateIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA512_WITH_ECDSA"
+ SIGNATURE_ALGORITHM_SHA512_WITH_ECDSA = "SHA512_WITH_ECDSA"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateCertificateIssuedByInternalCaConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.CreateCertificateIssuedByInternalCaConfigDetails.config_type` attribute
+ of this class is ``ISSUED_BY_INTERNAL_CA`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this CreateCertificateIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type version_name: str
+
+ :param certificate_profile_type:
+ The value to assign to the certificate_profile_type property of this CreateCertificateIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "TLS_SERVER_OR_CLIENT", "TLS_SERVER", "TLS_CLIENT", "TLS_CODE_SIGN"
+ :type certificate_profile_type: str
+
+ :param issuer_certificate_authority_id:
+ The value to assign to the issuer_certificate_authority_id property of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type issuer_certificate_authority_id: str
+
+ :param validity:
+ The value to assign to the validity property of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type validity: oci.certificates_management.models.Validity
+
+ :param subject:
+ The value to assign to the subject property of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type subject: oci.certificates_management.models.CertificateSubject
+
+ :param subject_alternative_names:
+ The value to assign to the subject_alternative_names property of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type subject_alternative_names: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+
+ :param key_algorithm:
+ The value to assign to the key_algorithm property of this CreateCertificateIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "RSA2048", "RSA4096", "ECDSA_P256", "ECDSA_P384"
+ :type key_algorithm: str
+
+ :param signature_algorithm:
+ The value to assign to the signature_algorithm property of this CreateCertificateIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"
+ :type signature_algorithm: str
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'certificate_profile_type': 'str',
+ 'issuer_certificate_authority_id': 'str',
+ 'validity': 'Validity',
+ 'subject': 'CertificateSubject',
+ 'subject_alternative_names': 'list[CertificateSubjectAlternativeName]',
+ 'key_algorithm': 'str',
+ 'signature_algorithm': 'str'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'certificate_profile_type': 'certificateProfileType',
+ 'issuer_certificate_authority_id': 'issuerCertificateAuthorityId',
+ 'validity': 'validity',
+ 'subject': 'subject',
+ 'subject_alternative_names': 'subjectAlternativeNames',
+ 'key_algorithm': 'keyAlgorithm',
+ 'signature_algorithm': 'signatureAlgorithm'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._certificate_profile_type = None
+ self._issuer_certificate_authority_id = None
+ self._validity = None
+ self._subject = None
+ self._subject_alternative_names = None
+ self._key_algorithm = None
+ self._signature_algorithm = None
+ self._config_type = 'ISSUED_BY_INTERNAL_CA'
+
+ @property
+ def certificate_profile_type(self):
+ """
+ **[Required]** Gets the certificate_profile_type of this CreateCertificateIssuedByInternalCaConfigDetails.
+ The name of the profile used to create the certificate, which depends on the type of certificate you need.
+
+ Allowed values for this property are: "TLS_SERVER_OR_CLIENT", "TLS_SERVER", "TLS_CLIENT", "TLS_CODE_SIGN"
+
+
+ :return: The certificate_profile_type of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :rtype: str
+ """
+ return self._certificate_profile_type
+
+ @certificate_profile_type.setter
+ def certificate_profile_type(self, certificate_profile_type):
+ """
+ Sets the certificate_profile_type of this CreateCertificateIssuedByInternalCaConfigDetails.
+ The name of the profile used to create the certificate, which depends on the type of certificate you need.
+
+
+ :param certificate_profile_type: The certificate_profile_type of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type: str
+ """
+ allowed_values = ["TLS_SERVER_OR_CLIENT", "TLS_SERVER", "TLS_CLIENT", "TLS_CODE_SIGN"]
+ if not value_allowed_none_or_none_sentinel(certificate_profile_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `certificate_profile_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._certificate_profile_type = certificate_profile_type
+
+ @property
+ def issuer_certificate_authority_id(self):
+ """
+ **[Required]** Gets the issuer_certificate_authority_id of this CreateCertificateIssuedByInternalCaConfigDetails.
+ The OCID of the private CA.
+
+
+ :return: The issuer_certificate_authority_id of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :rtype: str
+ """
+ return self._issuer_certificate_authority_id
+
+ @issuer_certificate_authority_id.setter
+ def issuer_certificate_authority_id(self, issuer_certificate_authority_id):
+ """
+ Sets the issuer_certificate_authority_id of this CreateCertificateIssuedByInternalCaConfigDetails.
+ The OCID of the private CA.
+
+
+ :param issuer_certificate_authority_id: The issuer_certificate_authority_id of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type: str
+ """
+ self._issuer_certificate_authority_id = issuer_certificate_authority_id
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CreateCertificateIssuedByInternalCaConfigDetails.
+
+ :return: The validity of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CreateCertificateIssuedByInternalCaConfigDetails.
+
+ :param validity: The validity of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def subject(self):
+ """
+ **[Required]** Gets the subject of this CreateCertificateIssuedByInternalCaConfigDetails.
+
+ :return: The subject of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :rtype: oci.certificates_management.models.CertificateSubject
+ """
+ return self._subject
+
+ @subject.setter
+ def subject(self, subject):
+ """
+ Sets the subject of this CreateCertificateIssuedByInternalCaConfigDetails.
+
+ :param subject: The subject of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type: oci.certificates_management.models.CertificateSubject
+ """
+ self._subject = subject
+
+ @property
+ def subject_alternative_names(self):
+ """
+ Gets the subject_alternative_names of this CreateCertificateIssuedByInternalCaConfigDetails.
+ A list of subject alternative names.
+
+
+ :return: The subject_alternative_names of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :rtype: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+ """
+ return self._subject_alternative_names
+
+ @subject_alternative_names.setter
+ def subject_alternative_names(self, subject_alternative_names):
+ """
+ Sets the subject_alternative_names of this CreateCertificateIssuedByInternalCaConfigDetails.
+ A list of subject alternative names.
+
+
+ :param subject_alternative_names: The subject_alternative_names of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type: list[oci.certificates_management.models.CertificateSubjectAlternativeName]
+ """
+ self._subject_alternative_names = subject_alternative_names
+
+ @property
+ def key_algorithm(self):
+ """
+ Gets the key_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
+ The algorithm to use to create key pairs.
+
+ Allowed values for this property are: "RSA2048", "RSA4096", "ECDSA_P256", "ECDSA_P384"
+
+
+ :return: The key_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :rtype: str
+ """
+ return self._key_algorithm
+
+ @key_algorithm.setter
+ def key_algorithm(self, key_algorithm):
+ """
+ Sets the key_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
+ The algorithm to use to create key pairs.
+
+
+ :param key_algorithm: The key_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type: str
+ """
+ allowed_values = ["RSA2048", "RSA4096", "ECDSA_P256", "ECDSA_P384"]
+ if not value_allowed_none_or_none_sentinel(key_algorithm, allowed_values):
+ raise ValueError(
+ "Invalid value for `key_algorithm`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._key_algorithm = key_algorithm
+
+ @property
+ def signature_algorithm(self):
+ """
+ Gets the signature_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
+ The algorithm to use to sign the public key certificate.
+
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"
+
+
+ :return: The signature_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :rtype: str
+ """
+ return self._signature_algorithm
+
+ @signature_algorithm.setter
+ def signature_algorithm(self, signature_algorithm):
+ """
+ Sets the signature_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
+ The algorithm to use to sign the public key certificate.
+
+
+ :param signature_algorithm: The signature_algorithm of this CreateCertificateIssuedByInternalCaConfigDetails.
+ :type: str
+ """
+ allowed_values = ["SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"]
+ if not value_allowed_none_or_none_sentinel(signature_algorithm, allowed_values):
+ raise ValueError(
+ "Invalid value for `signature_algorithm`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._signature_algorithm = signature_algorithm
+
+ 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/certificates_management/models/create_certificate_managed_externally_issued_by_internal_ca_config_details.py b/src/oci/certificates_management/models/create_certificate_managed_externally_issued_by_internal_ca_config_details.py
new file mode 100644
index 0000000000..956eca8729
--- /dev/null
+++ b/src/oci/certificates_management/models/create_certificate_managed_externally_issued_by_internal_ca_config_details.py
@@ -0,0 +1,145 @@
+# 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 .create_certificate_config_details import CreateCertificateConfigDetails
+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 CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails(CreateCertificateConfigDetails):
+ """
+ The details of the configuration for creating an externally managed certificate which is issued by a private certificate authority (CA).
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.config_type` attribute
+ of this class is ``MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type version_name: str
+
+ :param issuer_certificate_authority_id:
+ The value to assign to the issuer_certificate_authority_id property of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type issuer_certificate_authority_id: str
+
+ :param validity:
+ The value to assign to the validity property of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type validity: oci.certificates_management.models.Validity
+
+ :param csr_pem:
+ The value to assign to the csr_pem property of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type csr_pem: str
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'issuer_certificate_authority_id': 'str',
+ 'validity': 'Validity',
+ 'csr_pem': 'str'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'issuer_certificate_authority_id': 'issuerCertificateAuthorityId',
+ 'validity': 'validity',
+ 'csr_pem': 'csrPem'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._issuer_certificate_authority_id = None
+ self._validity = None
+ self._csr_pem = None
+ self._config_type = 'MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA'
+
+ @property
+ def issuer_certificate_authority_id(self):
+ """
+ **[Required]** Gets the issuer_certificate_authority_id of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ The OCID of the private CA.
+
+
+ :return: The issuer_certificate_authority_id of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :rtype: str
+ """
+ return self._issuer_certificate_authority_id
+
+ @issuer_certificate_authority_id.setter
+ def issuer_certificate_authority_id(self, issuer_certificate_authority_id):
+ """
+ Sets the issuer_certificate_authority_id of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ The OCID of the private CA.
+
+
+ :param issuer_certificate_authority_id: The issuer_certificate_authority_id of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type: str
+ """
+ self._issuer_certificate_authority_id = issuer_certificate_authority_id
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+
+ :return: The validity of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+
+ :param validity: The validity of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def csr_pem(self):
+ """
+ **[Required]** Gets the csr_pem of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ The certificate signing request (in PEM format).
+
+
+ :return: The csr_pem of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :rtype: str
+ """
+ return self._csr_pem
+
+ @csr_pem.setter
+ def csr_pem(self, csr_pem):
+ """
+ Sets the csr_pem of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ The certificate signing request (in PEM format).
+
+
+ :param csr_pem: The csr_pem of this CreateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type: str
+ """
+ self._csr_pem = csr_pem
+
+ 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/certificates_management/models/create_root_ca_by_generating_internally_config_details.py b/src/oci/certificates_management/models/create_root_ca_by_generating_internally_config_details.py
new file mode 100644
index 0000000000..31fc9eefea
--- /dev/null
+++ b/src/oci/certificates_management/models/create_root_ca_by_generating_internally_config_details.py
@@ -0,0 +1,174 @@
+# 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 .create_certificate_authority_config_details import CreateCertificateAuthorityConfigDetails
+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 CreateRootCaByGeneratingInternallyConfigDetails(CreateCertificateAuthorityConfigDetails):
+ """
+ The details for creating a private root certificate authority (CA).
+ """
+
+ #: A constant which can be used with the signing_algorithm property of a CreateRootCaByGeneratingInternallyConfigDetails.
+ #: This constant has a value of "SHA256_WITH_RSA"
+ SIGNING_ALGORITHM_SHA256_WITH_RSA = "SHA256_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateRootCaByGeneratingInternallyConfigDetails.
+ #: This constant has a value of "SHA384_WITH_RSA"
+ SIGNING_ALGORITHM_SHA384_WITH_RSA = "SHA384_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateRootCaByGeneratingInternallyConfigDetails.
+ #: This constant has a value of "SHA512_WITH_RSA"
+ SIGNING_ALGORITHM_SHA512_WITH_RSA = "SHA512_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateRootCaByGeneratingInternallyConfigDetails.
+ #: This constant has a value of "SHA256_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA256_WITH_ECDSA = "SHA256_WITH_ECDSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateRootCaByGeneratingInternallyConfigDetails.
+ #: This constant has a value of "SHA384_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA384_WITH_ECDSA = "SHA384_WITH_ECDSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateRootCaByGeneratingInternallyConfigDetails.
+ #: This constant has a value of "SHA512_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA512_WITH_ECDSA = "SHA512_WITH_ECDSA"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateRootCaByGeneratingInternallyConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.CreateRootCaByGeneratingInternallyConfigDetails.config_type` attribute
+ of this class is ``ROOT_CA_GENERATED_INTERNALLY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this CreateRootCaByGeneratingInternallyConfigDetails.
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this CreateRootCaByGeneratingInternallyConfigDetails.
+ :type version_name: str
+
+ :param validity:
+ The value to assign to the validity property of this CreateRootCaByGeneratingInternallyConfigDetails.
+ :type validity: oci.certificates_management.models.Validity
+
+ :param signing_algorithm:
+ The value to assign to the signing_algorithm property of this CreateRootCaByGeneratingInternallyConfigDetails.
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"
+ :type signing_algorithm: str
+
+ :param subject:
+ The value to assign to the subject property of this CreateRootCaByGeneratingInternallyConfigDetails.
+ :type subject: oci.certificates_management.models.CertificateSubject
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'validity': 'Validity',
+ 'signing_algorithm': 'str',
+ 'subject': 'CertificateSubject'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'validity': 'validity',
+ 'signing_algorithm': 'signingAlgorithm',
+ 'subject': 'subject'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._validity = None
+ self._signing_algorithm = None
+ self._subject = None
+ self._config_type = 'ROOT_CA_GENERATED_INTERNALLY'
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CreateRootCaByGeneratingInternallyConfigDetails.
+
+ :return: The validity of this CreateRootCaByGeneratingInternallyConfigDetails.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CreateRootCaByGeneratingInternallyConfigDetails.
+
+ :param validity: The validity of this CreateRootCaByGeneratingInternallyConfigDetails.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def signing_algorithm(self):
+ """
+ Gets the signing_algorithm of this CreateRootCaByGeneratingInternallyConfigDetails.
+ The algorithm used to sign public key certificates that the CA issues.
+
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"
+
+
+ :return: The signing_algorithm of this CreateRootCaByGeneratingInternallyConfigDetails.
+ :rtype: str
+ """
+ return self._signing_algorithm
+
+ @signing_algorithm.setter
+ def signing_algorithm(self, signing_algorithm):
+ """
+ Sets the signing_algorithm of this CreateRootCaByGeneratingInternallyConfigDetails.
+ The algorithm used to sign public key certificates that the CA issues.
+
+
+ :param signing_algorithm: The signing_algorithm of this CreateRootCaByGeneratingInternallyConfigDetails.
+ :type: str
+ """
+ allowed_values = ["SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"]
+ if not value_allowed_none_or_none_sentinel(signing_algorithm, allowed_values):
+ raise ValueError(
+ "Invalid value for `signing_algorithm`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._signing_algorithm = signing_algorithm
+
+ @property
+ def subject(self):
+ """
+ **[Required]** Gets the subject of this CreateRootCaByGeneratingInternallyConfigDetails.
+
+ :return: The subject of this CreateRootCaByGeneratingInternallyConfigDetails.
+ :rtype: oci.certificates_management.models.CertificateSubject
+ """
+ return self._subject
+
+ @subject.setter
+ def subject(self, subject):
+ """
+ Sets the subject of this CreateRootCaByGeneratingInternallyConfigDetails.
+
+ :param subject: The subject of this CreateRootCaByGeneratingInternallyConfigDetails.
+ :type: oci.certificates_management.models.CertificateSubject
+ """
+ self._subject = subject
+
+ 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/certificates_management/models/create_subordinate_ca_issued_by_internal_ca_config_details.py b/src/oci/certificates_management/models/create_subordinate_ca_issued_by_internal_ca_config_details.py
new file mode 100644
index 0000000000..e4f2120f58
--- /dev/null
+++ b/src/oci/certificates_management/models/create_subordinate_ca_issued_by_internal_ca_config_details.py
@@ -0,0 +1,205 @@
+# 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 .create_certificate_authority_config_details import CreateCertificateAuthorityConfigDetails
+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 CreateSubordinateCaIssuedByInternalCaConfigDetails(CreateCertificateAuthorityConfigDetails):
+ """
+ The details for creating a private subordinate certificate authority (CA) which is issued by a private CA.
+ """
+
+ #: A constant which can be used with the signing_algorithm property of a CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA256_WITH_RSA"
+ SIGNING_ALGORITHM_SHA256_WITH_RSA = "SHA256_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA384_WITH_RSA"
+ SIGNING_ALGORITHM_SHA384_WITH_RSA = "SHA384_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA512_WITH_RSA"
+ SIGNING_ALGORITHM_SHA512_WITH_RSA = "SHA512_WITH_RSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA256_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA256_WITH_ECDSA = "SHA256_WITH_ECDSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA384_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA384_WITH_ECDSA = "SHA384_WITH_ECDSA"
+
+ #: A constant which can be used with the signing_algorithm property of a CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ #: This constant has a value of "SHA512_WITH_ECDSA"
+ SIGNING_ALGORITHM_SHA512_WITH_ECDSA = "SHA512_WITH_ECDSA"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateSubordinateCaIssuedByInternalCaConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.CreateSubordinateCaIssuedByInternalCaConfigDetails.config_type` attribute
+ of this class is ``SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type version_name: str
+
+ :param issuer_certificate_authority_id:
+ The value to assign to the issuer_certificate_authority_id property of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type issuer_certificate_authority_id: str
+
+ :param validity:
+ The value to assign to the validity property of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type validity: oci.certificates_management.models.Validity
+
+ :param signing_algorithm:
+ The value to assign to the signing_algorithm property of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"
+ :type signing_algorithm: str
+
+ :param subject:
+ The value to assign to the subject property of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type subject: oci.certificates_management.models.CertificateSubject
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'issuer_certificate_authority_id': 'str',
+ 'validity': 'Validity',
+ 'signing_algorithm': 'str',
+ 'subject': 'CertificateSubject'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'issuer_certificate_authority_id': 'issuerCertificateAuthorityId',
+ 'validity': 'validity',
+ 'signing_algorithm': 'signingAlgorithm',
+ 'subject': 'subject'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._issuer_certificate_authority_id = None
+ self._validity = None
+ self._signing_algorithm = None
+ self._subject = None
+ self._config_type = 'SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA'
+
+ @property
+ def issuer_certificate_authority_id(self):
+ """
+ **[Required]** Gets the issuer_certificate_authority_id of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ The OCID of the private CA.
+
+
+ :return: The issuer_certificate_authority_id of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :rtype: str
+ """
+ return self._issuer_certificate_authority_id
+
+ @issuer_certificate_authority_id.setter
+ def issuer_certificate_authority_id(self, issuer_certificate_authority_id):
+ """
+ Sets the issuer_certificate_authority_id of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ The OCID of the private CA.
+
+
+ :param issuer_certificate_authority_id: The issuer_certificate_authority_id of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type: str
+ """
+ self._issuer_certificate_authority_id = issuer_certificate_authority_id
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+
+ :return: The validity of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+
+ :param validity: The validity of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ @property
+ def signing_algorithm(self):
+ """
+ Gets the signing_algorithm of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ The algorithm used to sign public key certificates that the CA issues.
+
+ Allowed values for this property are: "SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"
+
+
+ :return: The signing_algorithm of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :rtype: str
+ """
+ return self._signing_algorithm
+
+ @signing_algorithm.setter
+ def signing_algorithm(self, signing_algorithm):
+ """
+ Sets the signing_algorithm of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ The algorithm used to sign public key certificates that the CA issues.
+
+
+ :param signing_algorithm: The signing_algorithm of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type: str
+ """
+ allowed_values = ["SHA256_WITH_RSA", "SHA384_WITH_RSA", "SHA512_WITH_RSA", "SHA256_WITH_ECDSA", "SHA384_WITH_ECDSA", "SHA512_WITH_ECDSA"]
+ if not value_allowed_none_or_none_sentinel(signing_algorithm, allowed_values):
+ raise ValueError(
+ "Invalid value for `signing_algorithm`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._signing_algorithm = signing_algorithm
+
+ @property
+ def subject(self):
+ """
+ **[Required]** Gets the subject of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+
+ :return: The subject of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :rtype: oci.certificates_management.models.CertificateSubject
+ """
+ return self._subject
+
+ @subject.setter
+ def subject(self, subject):
+ """
+ Sets the subject of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+
+ :param subject: The subject of this CreateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type: oci.certificates_management.models.CertificateSubject
+ """
+ self._subject = subject
+
+ 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/certificates_management/models/object_storage_bucket_config_details.py b/src/oci/certificates_management/models/object_storage_bucket_config_details.py
new file mode 100644
index 0000000000..45d9042fe7
--- /dev/null
+++ b/src/oci/certificates_management/models/object_storage_bucket_config_details.py
@@ -0,0 +1,132 @@
+# 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 ObjectStorageBucketConfigDetails(object):
+ """
+ The details of the Object Storage bucket configured to store the certificate revocation list (CRL).
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ObjectStorageBucketConfigDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param object_storage_namespace:
+ The value to assign to the object_storage_namespace property of this ObjectStorageBucketConfigDetails.
+ :type object_storage_namespace: str
+
+ :param object_storage_bucket_name:
+ The value to assign to the object_storage_bucket_name property of this ObjectStorageBucketConfigDetails.
+ :type object_storage_bucket_name: str
+
+ :param object_storage_object_name_format:
+ The value to assign to the object_storage_object_name_format property of this ObjectStorageBucketConfigDetails.
+ :type object_storage_object_name_format: str
+
+ """
+ self.swagger_types = {
+ 'object_storage_namespace': 'str',
+ 'object_storage_bucket_name': 'str',
+ 'object_storage_object_name_format': 'str'
+ }
+
+ self.attribute_map = {
+ 'object_storage_namespace': 'objectStorageNamespace',
+ 'object_storage_bucket_name': 'objectStorageBucketName',
+ 'object_storage_object_name_format': 'objectStorageObjectNameFormat'
+ }
+
+ self._object_storage_namespace = None
+ self._object_storage_bucket_name = None
+ self._object_storage_object_name_format = None
+
+ @property
+ def object_storage_namespace(self):
+ """
+ Gets the object_storage_namespace of this ObjectStorageBucketConfigDetails.
+ The tenancy of the bucket where the CRL is stored.
+
+
+ :return: The object_storage_namespace of this ObjectStorageBucketConfigDetails.
+ :rtype: str
+ """
+ return self._object_storage_namespace
+
+ @object_storage_namespace.setter
+ def object_storage_namespace(self, object_storage_namespace):
+ """
+ Sets the object_storage_namespace of this ObjectStorageBucketConfigDetails.
+ The tenancy of the bucket where the CRL is stored.
+
+
+ :param object_storage_namespace: The object_storage_namespace of this ObjectStorageBucketConfigDetails.
+ :type: str
+ """
+ self._object_storage_namespace = object_storage_namespace
+
+ @property
+ def object_storage_bucket_name(self):
+ """
+ **[Required]** Gets the object_storage_bucket_name of this ObjectStorageBucketConfigDetails.
+ The name of the bucket where the CRL is stored.
+
+
+ :return: The object_storage_bucket_name of this ObjectStorageBucketConfigDetails.
+ :rtype: str
+ """
+ return self._object_storage_bucket_name
+
+ @object_storage_bucket_name.setter
+ def object_storage_bucket_name(self, object_storage_bucket_name):
+ """
+ Sets the object_storage_bucket_name of this ObjectStorageBucketConfigDetails.
+ The name of the bucket where the CRL is stored.
+
+
+ :param object_storage_bucket_name: The object_storage_bucket_name of this ObjectStorageBucketConfigDetails.
+ :type: str
+ """
+ self._object_storage_bucket_name = object_storage_bucket_name
+
+ @property
+ def object_storage_object_name_format(self):
+ """
+ **[Required]** Gets the object_storage_object_name_format of this ObjectStorageBucketConfigDetails.
+ The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.
+
+
+ :return: The object_storage_object_name_format of this ObjectStorageBucketConfigDetails.
+ :rtype: str
+ """
+ return self._object_storage_object_name_format
+
+ @object_storage_object_name_format.setter
+ def object_storage_object_name_format(self, object_storage_object_name_format):
+ """
+ Sets the object_storage_object_name_format of this ObjectStorageBucketConfigDetails.
+ The object name in the bucket where the CRL is stored, expressed using a format where the version number of the issuing CA is inserted as part of the Object Storage object name wherever you include a pair of curly braces. This versioning scheme helps avoid collisions when new CA versions are created. For example, myCrlFileIssuedFromCAVersion{}.crl becomes myCrlFileIssuedFromCAVersion2.crl for CA version 2.
+
+
+ :param object_storage_object_name_format: The object_storage_object_name_format of this ObjectStorageBucketConfigDetails.
+ :type: str
+ """
+ self._object_storage_object_name_format = object_storage_object_name_format
+
+ 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/certificates_management/models/revocation_status.py b/src/oci/certificates_management/models/revocation_status.py
new file mode 100644
index 0000000000..b3e5515646
--- /dev/null
+++ b/src/oci/certificates_management/models/revocation_status.py
@@ -0,0 +1,147 @@
+# 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 RevocationStatus(object):
+ """
+ The current revocation status of the entity.
+ """
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "UNSPECIFIED"
+ REVOCATION_REASON_UNSPECIFIED = "UNSPECIFIED"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "KEY_COMPROMISE"
+ REVOCATION_REASON_KEY_COMPROMISE = "KEY_COMPROMISE"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "CA_COMPROMISE"
+ REVOCATION_REASON_CA_COMPROMISE = "CA_COMPROMISE"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "AFFILIATION_CHANGED"
+ REVOCATION_REASON_AFFILIATION_CHANGED = "AFFILIATION_CHANGED"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "SUPERSEDED"
+ REVOCATION_REASON_SUPERSEDED = "SUPERSEDED"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "CESSATION_OF_OPERATION"
+ REVOCATION_REASON_CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "PRIVILEGE_WITHDRAWN"
+ REVOCATION_REASON_PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN"
+
+ #: A constant which can be used with the revocation_reason property of a RevocationStatus.
+ #: This constant has a value of "AA_COMPROMISE"
+ REVOCATION_REASON_AA_COMPROMISE = "AA_COMPROMISE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RevocationStatus object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_of_revocation:
+ The value to assign to the time_of_revocation property of this RevocationStatus.
+ :type time_of_revocation: datetime
+
+ :param revocation_reason:
+ The value to assign to the revocation_reason property of this RevocationStatus.
+ Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type revocation_reason: str
+
+ """
+ self.swagger_types = {
+ 'time_of_revocation': 'datetime',
+ 'revocation_reason': 'str'
+ }
+
+ self.attribute_map = {
+ 'time_of_revocation': 'timeOfRevocation',
+ 'revocation_reason': 'revocationReason'
+ }
+
+ self._time_of_revocation = None
+ self._revocation_reason = None
+
+ @property
+ def time_of_revocation(self):
+ """
+ **[Required]** Gets the time_of_revocation of this RevocationStatus.
+ The time when the entity was revoked, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_revocation of this RevocationStatus.
+ :rtype: datetime
+ """
+ return self._time_of_revocation
+
+ @time_of_revocation.setter
+ def time_of_revocation(self, time_of_revocation):
+ """
+ Sets the time_of_revocation of this RevocationStatus.
+ The time when the entity was revoked, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_revocation: The time_of_revocation of this RevocationStatus.
+ :type: datetime
+ """
+ self._time_of_revocation = time_of_revocation
+
+ @property
+ def revocation_reason(self):
+ """
+ **[Required]** Gets the revocation_reason of this RevocationStatus.
+ The reason the certificate or certificate authority (CA) was revoked.
+
+ Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The revocation_reason of this RevocationStatus.
+ :rtype: str
+ """
+ return self._revocation_reason
+
+ @revocation_reason.setter
+ def revocation_reason(self, revocation_reason):
+ """
+ Sets the revocation_reason of this RevocationStatus.
+ The reason the certificate or certificate authority (CA) was revoked.
+
+
+ :param revocation_reason: The revocation_reason of this RevocationStatus.
+ :type: str
+ """
+ allowed_values = ["UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE"]
+ if not value_allowed_none_or_none_sentinel(revocation_reason, allowed_values):
+ revocation_reason = 'UNKNOWN_ENUM_VALUE'
+ self._revocation_reason = revocation_reason
+
+ 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/certificates_management/models/revoke_certificate_authority_version_details.py b/src/oci/certificates_management/models/revoke_certificate_authority_version_details.py
new file mode 100644
index 0000000000..60b09a0c6b
--- /dev/null
+++ b/src/oci/certificates_management/models/revoke_certificate_authority_version_details.py
@@ -0,0 +1,111 @@
+# 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 RevokeCertificateAuthorityVersionDetails(object):
+ """
+ The details of the request to revoke a certificate authority (CA) version.
+ """
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.
+ #: This constant has a value of "UNSPECIFIED"
+ REVOCATION_REASON_UNSPECIFIED = "UNSPECIFIED"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.
+ #: This constant has a value of "KEY_COMPROMISE"
+ REVOCATION_REASON_KEY_COMPROMISE = "KEY_COMPROMISE"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.
+ #: This constant has a value of "CA_COMPROMISE"
+ REVOCATION_REASON_CA_COMPROMISE = "CA_COMPROMISE"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.
+ #: This constant has a value of "AFFILIATION_CHANGED"
+ REVOCATION_REASON_AFFILIATION_CHANGED = "AFFILIATION_CHANGED"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.
+ #: This constant has a value of "SUPERSEDED"
+ REVOCATION_REASON_SUPERSEDED = "SUPERSEDED"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.
+ #: This constant has a value of "CESSATION_OF_OPERATION"
+ REVOCATION_REASON_CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.
+ #: This constant has a value of "PRIVILEGE_WITHDRAWN"
+ REVOCATION_REASON_PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateAuthorityVersionDetails.
+ #: This constant has a value of "AA_COMPROMISE"
+ REVOCATION_REASON_AA_COMPROMISE = "AA_COMPROMISE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RevokeCertificateAuthorityVersionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param revocation_reason:
+ The value to assign to the revocation_reason property of this RevokeCertificateAuthorityVersionDetails.
+ Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE"
+ :type revocation_reason: str
+
+ """
+ self.swagger_types = {
+ 'revocation_reason': 'str'
+ }
+
+ self.attribute_map = {
+ 'revocation_reason': 'revocationReason'
+ }
+
+ self._revocation_reason = None
+
+ @property
+ def revocation_reason(self):
+ """
+ Gets the revocation_reason of this RevokeCertificateAuthorityVersionDetails.
+ The reason the certificate or certificate authority was revoked.
+
+ Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE"
+
+
+ :return: The revocation_reason of this RevokeCertificateAuthorityVersionDetails.
+ :rtype: str
+ """
+ return self._revocation_reason
+
+ @revocation_reason.setter
+ def revocation_reason(self, revocation_reason):
+ """
+ Sets the revocation_reason of this RevokeCertificateAuthorityVersionDetails.
+ The reason the certificate or certificate authority was revoked.
+
+
+ :param revocation_reason: The revocation_reason of this RevokeCertificateAuthorityVersionDetails.
+ :type: str
+ """
+ allowed_values = ["UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE"]
+ if not value_allowed_none_or_none_sentinel(revocation_reason, allowed_values):
+ raise ValueError(
+ "Invalid value for `revocation_reason`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._revocation_reason = revocation_reason
+
+ 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/certificates_management/models/revoke_certificate_version_details.py b/src/oci/certificates_management/models/revoke_certificate_version_details.py
new file mode 100644
index 0000000000..5b13226b29
--- /dev/null
+++ b/src/oci/certificates_management/models/revoke_certificate_version_details.py
@@ -0,0 +1,111 @@
+# 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 RevokeCertificateVersionDetails(object):
+ """
+ The details for revoking a certificate version.
+ """
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
+ #: This constant has a value of "UNSPECIFIED"
+ REVOCATION_REASON_UNSPECIFIED = "UNSPECIFIED"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
+ #: This constant has a value of "KEY_COMPROMISE"
+ REVOCATION_REASON_KEY_COMPROMISE = "KEY_COMPROMISE"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
+ #: This constant has a value of "CA_COMPROMISE"
+ REVOCATION_REASON_CA_COMPROMISE = "CA_COMPROMISE"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
+ #: This constant has a value of "AFFILIATION_CHANGED"
+ REVOCATION_REASON_AFFILIATION_CHANGED = "AFFILIATION_CHANGED"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
+ #: This constant has a value of "SUPERSEDED"
+ REVOCATION_REASON_SUPERSEDED = "SUPERSEDED"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
+ #: This constant has a value of "CESSATION_OF_OPERATION"
+ REVOCATION_REASON_CESSATION_OF_OPERATION = "CESSATION_OF_OPERATION"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
+ #: This constant has a value of "PRIVILEGE_WITHDRAWN"
+ REVOCATION_REASON_PRIVILEGE_WITHDRAWN = "PRIVILEGE_WITHDRAWN"
+
+ #: A constant which can be used with the revocation_reason property of a RevokeCertificateVersionDetails.
+ #: This constant has a value of "AA_COMPROMISE"
+ REVOCATION_REASON_AA_COMPROMISE = "AA_COMPROMISE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RevokeCertificateVersionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param revocation_reason:
+ The value to assign to the revocation_reason property of this RevokeCertificateVersionDetails.
+ Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE"
+ :type revocation_reason: str
+
+ """
+ self.swagger_types = {
+ 'revocation_reason': 'str'
+ }
+
+ self.attribute_map = {
+ 'revocation_reason': 'revocationReason'
+ }
+
+ self._revocation_reason = None
+
+ @property
+ def revocation_reason(self):
+ """
+ Gets the revocation_reason of this RevokeCertificateVersionDetails.
+ The reason that the certificate or certificate authority was revoked.
+
+ Allowed values for this property are: "UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE"
+
+
+ :return: The revocation_reason of this RevokeCertificateVersionDetails.
+ :rtype: str
+ """
+ return self._revocation_reason
+
+ @revocation_reason.setter
+ def revocation_reason(self, revocation_reason):
+ """
+ Sets the revocation_reason of this RevokeCertificateVersionDetails.
+ The reason that the certificate or certificate authority was revoked.
+
+
+ :param revocation_reason: The revocation_reason of this RevokeCertificateVersionDetails.
+ :type: str
+ """
+ allowed_values = ["UNSPECIFIED", "KEY_COMPROMISE", "CA_COMPROMISE", "AFFILIATION_CHANGED", "SUPERSEDED", "CESSATION_OF_OPERATION", "PRIVILEGE_WITHDRAWN", "AA_COMPROMISE"]
+ if not value_allowed_none_or_none_sentinel(revocation_reason, allowed_values):
+ raise ValueError(
+ "Invalid value for `revocation_reason`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._revocation_reason = revocation_reason
+
+ 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/certificates_management/models/schedule_certificate_authority_deletion_details.py b/src/oci/certificates_management/models/schedule_certificate_authority_deletion_details.py
new file mode 100644
index 0000000000..3a32bf969e
--- /dev/null
+++ b/src/oci/certificates_management/models/schedule_certificate_authority_deletion_details.py
@@ -0,0 +1,76 @@
+# 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 ScheduleCertificateAuthorityDeletionDetails(object):
+ """
+ The details of the request to schedule the deletion of the specified certificate authority (CA).
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ScheduleCertificateAuthorityDeletionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this ScheduleCertificateAuthorityDeletionDetails.
+ :type time_of_deletion: datetime
+
+ """
+ self.swagger_types = {
+ 'time_of_deletion': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'time_of_deletion': 'timeOfDeletion'
+ }
+
+ self._time_of_deletion = None
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this ScheduleCertificateAuthorityDeletionDetails.
+ An optional property indicating when to delete the CA, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this ScheduleCertificateAuthorityDeletionDetails.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this ScheduleCertificateAuthorityDeletionDetails.
+ An optional property indicating when to delete the CA, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this ScheduleCertificateAuthorityDeletionDetails.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ 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/certificates_management/models/schedule_certificate_authority_version_deletion_details.py b/src/oci/certificates_management/models/schedule_certificate_authority_version_deletion_details.py
new file mode 100644
index 0000000000..8858068af4
--- /dev/null
+++ b/src/oci/certificates_management/models/schedule_certificate_authority_version_deletion_details.py
@@ -0,0 +1,76 @@
+# 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 ScheduleCertificateAuthorityVersionDeletionDetails(object):
+ """
+ The details of the request to schedule the deletion of the specified certificate authority (CA) version.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ScheduleCertificateAuthorityVersionDeletionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this ScheduleCertificateAuthorityVersionDeletionDetails.
+ :type time_of_deletion: datetime
+
+ """
+ self.swagger_types = {
+ 'time_of_deletion': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'time_of_deletion': 'timeOfDeletion'
+ }
+
+ self._time_of_deletion = None
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this ScheduleCertificateAuthorityVersionDeletionDetails.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this ScheduleCertificateAuthorityVersionDeletionDetails.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this ScheduleCertificateAuthorityVersionDeletionDetails.
+ An optional property indicating when to delete the CA version, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this ScheduleCertificateAuthorityVersionDeletionDetails.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ 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/certificates_management/models/schedule_certificate_deletion_details.py b/src/oci/certificates_management/models/schedule_certificate_deletion_details.py
new file mode 100644
index 0000000000..6fd68c7593
--- /dev/null
+++ b/src/oci/certificates_management/models/schedule_certificate_deletion_details.py
@@ -0,0 +1,74 @@
+# 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 ScheduleCertificateDeletionDetails(object):
+ """
+ The details for scheduling the deletion of the specified certificate.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ScheduleCertificateDeletionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this ScheduleCertificateDeletionDetails.
+ :type time_of_deletion: datetime
+
+ """
+ self.swagger_types = {
+ 'time_of_deletion': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'time_of_deletion': 'timeOfDeletion'
+ }
+
+ self._time_of_deletion = None
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this ScheduleCertificateDeletionDetails.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this ScheduleCertificateDeletionDetails.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this ScheduleCertificateDeletionDetails.
+ An optional property indicating when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this ScheduleCertificateDeletionDetails.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ 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/certificates_management/models/schedule_certificate_version_deletion_details.py b/src/oci/certificates_management/models/schedule_certificate_version_deletion_details.py
new file mode 100644
index 0000000000..3bf86d9f95
--- /dev/null
+++ b/src/oci/certificates_management/models/schedule_certificate_version_deletion_details.py
@@ -0,0 +1,74 @@
+# 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 ScheduleCertificateVersionDeletionDetails(object):
+ """
+ The details for scheduling the deletion of the specified certificate version.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ScheduleCertificateVersionDeletionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_of_deletion:
+ The value to assign to the time_of_deletion property of this ScheduleCertificateVersionDeletionDetails.
+ :type time_of_deletion: datetime
+
+ """
+ self.swagger_types = {
+ 'time_of_deletion': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'time_of_deletion': 'timeOfDeletion'
+ }
+
+ self._time_of_deletion = None
+
+ @property
+ def time_of_deletion(self):
+ """
+ Gets the time_of_deletion of this ScheduleCertificateVersionDeletionDetails.
+ An optional property that indicates when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_deletion of this ScheduleCertificateVersionDeletionDetails.
+ :rtype: datetime
+ """
+ return self._time_of_deletion
+
+ @time_of_deletion.setter
+ def time_of_deletion(self, time_of_deletion):
+ """
+ Sets the time_of_deletion of this ScheduleCertificateVersionDeletionDetails.
+ An optional property that indicates when to delete the certificate version, expressed in `RFC 3339`__ timestamp format.
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_deletion: The time_of_deletion of this ScheduleCertificateVersionDeletionDetails.
+ :type: datetime
+ """
+ self._time_of_deletion = time_of_deletion
+
+ 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/certificates_management/models/update_ca_bundle_details.py b/src/oci/certificates_management/models/update_ca_bundle_details.py
new file mode 100644
index 0000000000..c3fdf1469c
--- /dev/null
+++ b/src/oci/certificates_management/models/update_ca_bundle_details.py
@@ -0,0 +1,179 @@
+# 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 UpdateCaBundleDetails(object):
+ """
+ The details of the CA bundle to update.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateCaBundleDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param description:
+ The value to assign to the description property of this UpdateCaBundleDetails.
+ :type description: str
+
+ :param ca_bundle_pem:
+ The value to assign to the ca_bundle_pem property of this UpdateCaBundleDetails.
+ :type ca_bundle_pem: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateCaBundleDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateCaBundleDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'description': 'str',
+ 'ca_bundle_pem': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))'
+ }
+
+ self.attribute_map = {
+ 'description': 'description',
+ 'ca_bundle_pem': 'caBundlePem',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags'
+ }
+
+ self._description = None
+ self._ca_bundle_pem = None
+ self._freeform_tags = None
+ self._defined_tags = None
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UpdateCaBundleDetails.
+ A brief description of the CA bundle.
+
+
+ :return: The description of this UpdateCaBundleDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UpdateCaBundleDetails.
+ A brief description of the CA bundle.
+
+
+ :param description: The description of this UpdateCaBundleDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def ca_bundle_pem(self):
+ """
+ Gets the ca_bundle_pem of this UpdateCaBundleDetails.
+ Certificates (in PEM format) to include in the CA bundle.
+
+
+ :return: The ca_bundle_pem of this UpdateCaBundleDetails.
+ :rtype: str
+ """
+ return self._ca_bundle_pem
+
+ @ca_bundle_pem.setter
+ def ca_bundle_pem(self, ca_bundle_pem):
+ """
+ Sets the ca_bundle_pem of this UpdateCaBundleDetails.
+ Certificates (in PEM format) to include in the CA bundle.
+
+
+ :param ca_bundle_pem: The ca_bundle_pem of this UpdateCaBundleDetails.
+ :type: str
+ """
+ self._ca_bundle_pem = ca_bundle_pem
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateCaBundleDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateCaBundleDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateCaBundleDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateCaBundleDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateCaBundleDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateCaBundleDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateCaBundleDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateCaBundleDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ 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/certificates_management/models/update_certificate_authority_config_details.py b/src/oci/certificates_management/models/update_certificate_authority_config_details.py
new file mode 100644
index 0000000000..d4b5dc8038
--- /dev/null
+++ b/src/oci/certificates_management/models/update_certificate_authority_config_details.py
@@ -0,0 +1,191 @@
+# 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 UpdateCertificateAuthorityConfigDetails(object):
+ """
+ The configuration details for updating a certificate authority (CA).
+ """
+
+ #: A constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails.
+ #: This constant has a value of "ROOT_CA_GENERATED_INTERNALLY"
+ CONFIG_TYPE_ROOT_CA_GENERATED_INTERNALLY = "ROOT_CA_GENERATED_INTERNALLY"
+
+ #: A constant which can be used with the config_type property of a UpdateCertificateAuthorityConfigDetails.
+ #: This constant has a value of "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA = "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the stage property of a UpdateCertificateAuthorityConfigDetails.
+ #: This constant has a value of "CURRENT"
+ STAGE_CURRENT = "CURRENT"
+
+ #: A constant which can be used with the stage property of a UpdateCertificateAuthorityConfigDetails.
+ #: This constant has a value of "PENDING"
+ STAGE_PENDING = "PENDING"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateCertificateAuthorityConfigDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
+ to a service operations then you should favor using a subclass over the base class:
+
+ * :class:`~oci.certificates_management.models.UpdateSubordinateCaIssuedByInternalCaConfigDetails`
+ * :class:`~oci.certificates_management.models.UpdateRootCaByGeneratingInternallyConfigDetails`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this UpdateCertificateAuthorityConfigDetails.
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this UpdateCertificateAuthorityConfigDetails.
+ :type version_name: str
+
+ :param stage:
+ The value to assign to the stage property of this UpdateCertificateAuthorityConfigDetails.
+ Allowed values for this property are: "CURRENT", "PENDING"
+ :type stage: str
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'stage': 'str'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'stage': 'stage'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._stage = None
+
+ @staticmethod
+ def get_subtype(object_dictionary):
+ """
+ Given the hash representation of a subtype of this class,
+ use the info in the hash to return the class of the subtype.
+ """
+ type = object_dictionary['configType']
+
+ if type == 'SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA':
+ return 'UpdateSubordinateCaIssuedByInternalCaConfigDetails'
+
+ if type == 'ROOT_CA_GENERATED_INTERNALLY':
+ return 'UpdateRootCaByGeneratingInternallyConfigDetails'
+ else:
+ return 'UpdateCertificateAuthorityConfigDetails'
+
+ @property
+ def config_type(self):
+ """
+ **[Required]** Gets the config_type of this UpdateCertificateAuthorityConfigDetails.
+ The origin of the CA.
+
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+
+
+ :return: The config_type of this UpdateCertificateAuthorityConfigDetails.
+ :rtype: str
+ """
+ return self._config_type
+
+ @config_type.setter
+ def config_type(self, config_type):
+ """
+ Sets the config_type of this UpdateCertificateAuthorityConfigDetails.
+ The origin of the CA.
+
+
+ :param config_type: The config_type of this UpdateCertificateAuthorityConfigDetails.
+ :type: str
+ """
+ allowed_values = ["ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"]
+ if not value_allowed_none_or_none_sentinel(config_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `config_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._config_type = config_type
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this UpdateCertificateAuthorityConfigDetails.
+ The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
+
+
+ :return: The version_name of this UpdateCertificateAuthorityConfigDetails.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this UpdateCertificateAuthorityConfigDetails.
+ The name of the CA version. When the value is not null, a name is unique across versions of a given CA.
+
+
+ :param version_name: The version_name of this UpdateCertificateAuthorityConfigDetails.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def stage(self):
+ """
+ Gets the stage of this UpdateCertificateAuthorityConfigDetails.
+ The rotation state of the CA. The default is `PENDING`, meaning that the CA is staged and available for use. A CA version
+ that you mark as `CURRENT` is currently in use, but you don't yet want to rotate it into current, active use. For example,
+ you might create or update a CA and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
+
+ Allowed values for this property are: "CURRENT", "PENDING"
+
+
+ :return: The stage of this UpdateCertificateAuthorityConfigDetails.
+ :rtype: str
+ """
+ return self._stage
+
+ @stage.setter
+ def stage(self, stage):
+ """
+ Sets the stage of this UpdateCertificateAuthorityConfigDetails.
+ The rotation state of the CA. The default is `PENDING`, meaning that the CA is staged and available for use. A CA version
+ that you mark as `CURRENT` is currently in use, but you don't yet want to rotate it into current, active use. For example,
+ you might create or update a CA and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
+
+
+ :param stage: The stage of this UpdateCertificateAuthorityConfigDetails.
+ :type: str
+ """
+ allowed_values = ["CURRENT", "PENDING"]
+ if not value_allowed_none_or_none_sentinel(stage, allowed_values):
+ raise ValueError(
+ "Invalid value for `stage`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._stage = stage
+
+ 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/certificates_management/models/update_certificate_authority_details.py b/src/oci/certificates_management/models/update_certificate_authority_details.py
new file mode 100644
index 0000000000..7f21e8117e
--- /dev/null
+++ b/src/oci/certificates_management/models/update_certificate_authority_details.py
@@ -0,0 +1,252 @@
+# 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 UpdateCertificateAuthorityDetails(object):
+ """
+ The details for updating a certificate authority (CA).
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateCertificateAuthorityDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param description:
+ The value to assign to the description property of this UpdateCertificateAuthorityDetails.
+ :type description: str
+
+ :param current_version_number:
+ The value to assign to the current_version_number property of this UpdateCertificateAuthorityDetails.
+ :type current_version_number: int
+
+ :param certificate_authority_config:
+ The value to assign to the certificate_authority_config property of this UpdateCertificateAuthorityDetails.
+ :type certificate_authority_config: oci.certificates_management.models.UpdateCertificateAuthorityConfigDetails
+
+ :param certificate_revocation_list_details:
+ The value to assign to the certificate_revocation_list_details property of this UpdateCertificateAuthorityDetails.
+ :type certificate_revocation_list_details: oci.certificates_management.models.CertificateRevocationListDetails
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateCertificateAuthorityDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateCertificateAuthorityDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param certificate_authority_rules:
+ The value to assign to the certificate_authority_rules property of this UpdateCertificateAuthorityDetails.
+ :type certificate_authority_rules: list[oci.certificates_management.models.CertificateAuthorityRule]
+
+ """
+ self.swagger_types = {
+ 'description': 'str',
+ 'current_version_number': 'int',
+ 'certificate_authority_config': 'UpdateCertificateAuthorityConfigDetails',
+ 'certificate_revocation_list_details': 'CertificateRevocationListDetails',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'certificate_authority_rules': 'list[CertificateAuthorityRule]'
+ }
+
+ self.attribute_map = {
+ 'description': 'description',
+ 'current_version_number': 'currentVersionNumber',
+ 'certificate_authority_config': 'certificateAuthorityConfig',
+ 'certificate_revocation_list_details': 'certificateRevocationListDetails',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'certificate_authority_rules': 'certificateAuthorityRules'
+ }
+
+ self._description = None
+ self._current_version_number = None
+ self._certificate_authority_config = None
+ self._certificate_revocation_list_details = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._certificate_authority_rules = None
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UpdateCertificateAuthorityDetails.
+ A brief description of the CA.
+
+
+ :return: The description of this UpdateCertificateAuthorityDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UpdateCertificateAuthorityDetails.
+ A brief description of the CA.
+
+
+ :param description: The description of this UpdateCertificateAuthorityDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def current_version_number(self):
+ """
+ Gets the current_version_number of this UpdateCertificateAuthorityDetails.
+ Makes this version the current version. This property cannot be updated in combination with any other properties.
+
+
+ :return: The current_version_number of this UpdateCertificateAuthorityDetails.
+ :rtype: int
+ """
+ return self._current_version_number
+
+ @current_version_number.setter
+ def current_version_number(self, current_version_number):
+ """
+ Sets the current_version_number of this UpdateCertificateAuthorityDetails.
+ Makes this version the current version. This property cannot be updated in combination with any other properties.
+
+
+ :param current_version_number: The current_version_number of this UpdateCertificateAuthorityDetails.
+ :type: int
+ """
+ self._current_version_number = current_version_number
+
+ @property
+ def certificate_authority_config(self):
+ """
+ Gets the certificate_authority_config of this UpdateCertificateAuthorityDetails.
+
+ :return: The certificate_authority_config of this UpdateCertificateAuthorityDetails.
+ :rtype: oci.certificates_management.models.UpdateCertificateAuthorityConfigDetails
+ """
+ return self._certificate_authority_config
+
+ @certificate_authority_config.setter
+ def certificate_authority_config(self, certificate_authority_config):
+ """
+ Sets the certificate_authority_config of this UpdateCertificateAuthorityDetails.
+
+ :param certificate_authority_config: The certificate_authority_config of this UpdateCertificateAuthorityDetails.
+ :type: oci.certificates_management.models.UpdateCertificateAuthorityConfigDetails
+ """
+ self._certificate_authority_config = certificate_authority_config
+
+ @property
+ def certificate_revocation_list_details(self):
+ """
+ Gets the certificate_revocation_list_details of this UpdateCertificateAuthorityDetails.
+
+ :return: The certificate_revocation_list_details of this UpdateCertificateAuthorityDetails.
+ :rtype: oci.certificates_management.models.CertificateRevocationListDetails
+ """
+ return self._certificate_revocation_list_details
+
+ @certificate_revocation_list_details.setter
+ def certificate_revocation_list_details(self, certificate_revocation_list_details):
+ """
+ Sets the certificate_revocation_list_details of this UpdateCertificateAuthorityDetails.
+
+ :param certificate_revocation_list_details: The certificate_revocation_list_details of this UpdateCertificateAuthorityDetails.
+ :type: oci.certificates_management.models.CertificateRevocationListDetails
+ """
+ self._certificate_revocation_list_details = certificate_revocation_list_details
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateCertificateAuthorityDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :return: The freeform_tags of this UpdateCertificateAuthorityDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateCertificateAuthorityDetails.
+ Simple key-value pair that is applied without any predefined name, type or scope. Exists for cross-compatibility only.
+ Example: `{\"bar-key\": \"value\"}`
+
+
+ :param freeform_tags: The freeform_tags of this UpdateCertificateAuthorityDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateCertificateAuthorityDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :return: The defined_tags of this UpdateCertificateAuthorityDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateCertificateAuthorityDetails.
+ Usage of predefined tag keys. These predefined keys are scoped to namespaces.
+ Example: `{\"foo-namespace\": {\"bar-key\": \"value\"}}`
+
+
+ :param defined_tags: The defined_tags of this UpdateCertificateAuthorityDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def certificate_authority_rules(self):
+ """
+ Gets the certificate_authority_rules of this UpdateCertificateAuthorityDetails.
+ A list of rules that control how the CA is used and managed.
+
+
+ :return: The certificate_authority_rules of this UpdateCertificateAuthorityDetails.
+ :rtype: list[oci.certificates_management.models.CertificateAuthorityRule]
+ """
+ return self._certificate_authority_rules
+
+ @certificate_authority_rules.setter
+ def certificate_authority_rules(self, certificate_authority_rules):
+ """
+ Sets the certificate_authority_rules of this UpdateCertificateAuthorityDetails.
+ A list of rules that control how the CA is used and managed.
+
+
+ :param certificate_authority_rules: The certificate_authority_rules of this UpdateCertificateAuthorityDetails.
+ :type: list[oci.certificates_management.models.CertificateAuthorityRule]
+ """
+ self._certificate_authority_rules = certificate_authority_rules
+
+ 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/certificates_management/models/update_certificate_by_importing_config_details.py b/src/oci/certificates_management/models/update_certificate_by_importing_config_details.py
new file mode 100644
index 0000000000..bc63cef055
--- /dev/null
+++ b/src/oci/certificates_management/models/update_certificate_by_importing_config_details.py
@@ -0,0 +1,188 @@
+# 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 .update_certificate_config_details import UpdateCertificateConfigDetails
+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 UpdateCertificateByImportingConfigDetails(UpdateCertificateConfigDetails):
+ """
+ The details of the configuration for updating a certificate based on the keys from an imported certificate.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateCertificateByImportingConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.UpdateCertificateByImportingConfigDetails.config_type` attribute
+ of this class is ``IMPORTED`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this UpdateCertificateByImportingConfigDetails.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this UpdateCertificateByImportingConfigDetails.
+ :type version_name: str
+
+ :param stage:
+ The value to assign to the stage property of this UpdateCertificateByImportingConfigDetails.
+ Allowed values for this property are: "CURRENT", "PENDING"
+ :type stage: str
+
+ :param cert_chain_pem:
+ The value to assign to the cert_chain_pem property of this UpdateCertificateByImportingConfigDetails.
+ :type cert_chain_pem: str
+
+ :param private_key_pem:
+ The value to assign to the private_key_pem property of this UpdateCertificateByImportingConfigDetails.
+ :type private_key_pem: str
+
+ :param certificate_pem:
+ The value to assign to the certificate_pem property of this UpdateCertificateByImportingConfigDetails.
+ :type certificate_pem: str
+
+ :param private_key_pem_passphrase:
+ The value to assign to the private_key_pem_passphrase property of this UpdateCertificateByImportingConfigDetails.
+ :type private_key_pem_passphrase: str
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'stage': 'str',
+ 'cert_chain_pem': 'str',
+ 'private_key_pem': 'str',
+ 'certificate_pem': 'str',
+ 'private_key_pem_passphrase': 'str'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'stage': 'stage',
+ 'cert_chain_pem': 'certChainPem',
+ 'private_key_pem': 'privateKeyPem',
+ 'certificate_pem': 'certificatePem',
+ 'private_key_pem_passphrase': 'privateKeyPemPassphrase'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._stage = None
+ self._cert_chain_pem = None
+ self._private_key_pem = None
+ self._certificate_pem = None
+ self._private_key_pem_passphrase = None
+ self._config_type = 'IMPORTED'
+
+ @property
+ def cert_chain_pem(self):
+ """
+ **[Required]** Gets the cert_chain_pem of this UpdateCertificateByImportingConfigDetails.
+ The certificate chain (in PEM format) for the imported certificate.
+
+
+ :return: The cert_chain_pem of this UpdateCertificateByImportingConfigDetails.
+ :rtype: str
+ """
+ return self._cert_chain_pem
+
+ @cert_chain_pem.setter
+ def cert_chain_pem(self, cert_chain_pem):
+ """
+ Sets the cert_chain_pem of this UpdateCertificateByImportingConfigDetails.
+ The certificate chain (in PEM format) for the imported certificate.
+
+
+ :param cert_chain_pem: The cert_chain_pem of this UpdateCertificateByImportingConfigDetails.
+ :type: str
+ """
+ self._cert_chain_pem = cert_chain_pem
+
+ @property
+ def private_key_pem(self):
+ """
+ **[Required]** Gets the private_key_pem of this UpdateCertificateByImportingConfigDetails.
+ The private key (in PEM format) for the imported certificate.
+
+
+ :return: The private_key_pem of this UpdateCertificateByImportingConfigDetails.
+ :rtype: str
+ """
+ return self._private_key_pem
+
+ @private_key_pem.setter
+ def private_key_pem(self, private_key_pem):
+ """
+ Sets the private_key_pem of this UpdateCertificateByImportingConfigDetails.
+ The private key (in PEM format) for the imported certificate.
+
+
+ :param private_key_pem: The private_key_pem of this UpdateCertificateByImportingConfigDetails.
+ :type: str
+ """
+ self._private_key_pem = private_key_pem
+
+ @property
+ def certificate_pem(self):
+ """
+ **[Required]** Gets the certificate_pem of this UpdateCertificateByImportingConfigDetails.
+ The certificate (in PEM format) for the imported certificate.
+
+
+ :return: The certificate_pem of this UpdateCertificateByImportingConfigDetails.
+ :rtype: str
+ """
+ return self._certificate_pem
+
+ @certificate_pem.setter
+ def certificate_pem(self, certificate_pem):
+ """
+ Sets the certificate_pem of this UpdateCertificateByImportingConfigDetails.
+ The certificate (in PEM format) for the imported certificate.
+
+
+ :param certificate_pem: The certificate_pem of this UpdateCertificateByImportingConfigDetails.
+ :type: str
+ """
+ self._certificate_pem = certificate_pem
+
+ @property
+ def private_key_pem_passphrase(self):
+ """
+ Gets the private_key_pem_passphrase of this UpdateCertificateByImportingConfigDetails.
+ An optional passphrase for the private key.
+
+
+ :return: The private_key_pem_passphrase of this UpdateCertificateByImportingConfigDetails.
+ :rtype: str
+ """
+ return self._private_key_pem_passphrase
+
+ @private_key_pem_passphrase.setter
+ def private_key_pem_passphrase(self, private_key_pem_passphrase):
+ """
+ Sets the private_key_pem_passphrase of this UpdateCertificateByImportingConfigDetails.
+ An optional passphrase for the private key.
+
+
+ :param private_key_pem_passphrase: The private_key_pem_passphrase of this UpdateCertificateByImportingConfigDetails.
+ :type: str
+ """
+ self._private_key_pem_passphrase = private_key_pem_passphrase
+
+ 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/certificates_management/models/update_certificate_config_details.py b/src/oci/certificates_management/models/update_certificate_config_details.py
new file mode 100644
index 0000000000..9f25c31722
--- /dev/null
+++ b/src/oci/certificates_management/models/update_certificate_config_details.py
@@ -0,0 +1,199 @@
+# 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 UpdateCertificateConfigDetails(object):
+ """
+ The details of the contents of the certificate and certificate metadata.
+ """
+
+ #: A constant which can be used with the config_type property of a UpdateCertificateConfigDetails.
+ #: This constant has a value of "ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_ISSUED_BY_INTERNAL_CA = "ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the config_type property of a UpdateCertificateConfigDetails.
+ #: This constant has a value of "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA"
+ CONFIG_TYPE_MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA = "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA"
+
+ #: A constant which can be used with the config_type property of a UpdateCertificateConfigDetails.
+ #: This constant has a value of "IMPORTED"
+ CONFIG_TYPE_IMPORTED = "IMPORTED"
+
+ #: A constant which can be used with the stage property of a UpdateCertificateConfigDetails.
+ #: This constant has a value of "CURRENT"
+ STAGE_CURRENT = "CURRENT"
+
+ #: A constant which can be used with the stage property of a UpdateCertificateConfigDetails.
+ #: This constant has a value of "PENDING"
+ STAGE_PENDING = "PENDING"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateCertificateConfigDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
+ to a service operations then you should favor using a subclass over the base class:
+
+ * :class:`~oci.certificates_management.models.UpdateCertificateByImportingConfigDetails`
+ * :class:`~oci.certificates_management.models.UpdateCertificateIssuedByInternalCaConfigDetails`
+ * :class:`~oci.certificates_management.models.UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this UpdateCertificateConfigDetails.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this UpdateCertificateConfigDetails.
+ :type version_name: str
+
+ :param stage:
+ The value to assign to the stage property of this UpdateCertificateConfigDetails.
+ Allowed values for this property are: "CURRENT", "PENDING"
+ :type stage: str
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'stage': 'str'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'stage': 'stage'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._stage = None
+
+ @staticmethod
+ def get_subtype(object_dictionary):
+ """
+ Given the hash representation of a subtype of this class,
+ use the info in the hash to return the class of the subtype.
+ """
+ type = object_dictionary['configType']
+
+ if type == 'IMPORTED':
+ return 'UpdateCertificateByImportingConfigDetails'
+
+ if type == 'ISSUED_BY_INTERNAL_CA':
+ return 'UpdateCertificateIssuedByInternalCaConfigDetails'
+
+ if type == 'MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA':
+ return 'UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails'
+ else:
+ return 'UpdateCertificateConfigDetails'
+
+ @property
+ def config_type(self):
+ """
+ **[Required]** Gets the config_type of this UpdateCertificateConfigDetails.
+ The origin of the certificate.
+
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+
+
+ :return: The config_type of this UpdateCertificateConfigDetails.
+ :rtype: str
+ """
+ return self._config_type
+
+ @config_type.setter
+ def config_type(self, config_type):
+ """
+ Sets the config_type of this UpdateCertificateConfigDetails.
+ The origin of the certificate.
+
+
+ :param config_type: The config_type of this UpdateCertificateConfigDetails.
+ :type: str
+ """
+ allowed_values = ["ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"]
+ if not value_allowed_none_or_none_sentinel(config_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `config_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._config_type = config_type
+
+ @property
+ def version_name(self):
+ """
+ Gets the version_name of this UpdateCertificateConfigDetails.
+ A name for the certificate version. When the value is not null, a name is unique across versions of a given certificate.
+
+
+ :return: The version_name of this UpdateCertificateConfigDetails.
+ :rtype: str
+ """
+ return self._version_name
+
+ @version_name.setter
+ def version_name(self, version_name):
+ """
+ Sets the version_name of this UpdateCertificateConfigDetails.
+ A name for the certificate version. When the value is not null, a name is unique across versions of a given certificate.
+
+
+ :param version_name: The version_name of this UpdateCertificateConfigDetails.
+ :type: str
+ """
+ self._version_name = version_name
+
+ @property
+ def stage(self):
+ """
+ Gets the stage of this UpdateCertificateConfigDetails.
+ The rotation state of the certificate. The default is `CURRENT`, meaning that the certificate is currently in use. A certificate version
+ that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example,
+ you might update a certificate and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
+
+ Allowed values for this property are: "CURRENT", "PENDING"
+
+
+ :return: The stage of this UpdateCertificateConfigDetails.
+ :rtype: str
+ """
+ return self._stage
+
+ @stage.setter
+ def stage(self, stage):
+ """
+ Sets the stage of this UpdateCertificateConfigDetails.
+ The rotation state of the certificate. The default is `CURRENT`, meaning that the certificate is currently in use. A certificate version
+ that you mark as `PENDING` is staged and available for use, but you don't yet want to rotate it into current, active use. For example,
+ you might update a certificate and mark its rotation state as `PENDING` if you haven't yet updated the certificate on the target system.
+
+
+ :param stage: The stage of this UpdateCertificateConfigDetails.
+ :type: str
+ """
+ allowed_values = ["CURRENT", "PENDING"]
+ if not value_allowed_none_or_none_sentinel(stage, allowed_values):
+ raise ValueError(
+ "Invalid value for `stage`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._stage = stage
+
+ 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/certificates_management/models/update_certificate_details.py b/src/oci/certificates_management/models/update_certificate_details.py
new file mode 100644
index 0000000000..7b346161af
--- /dev/null
+++ b/src/oci/certificates_management/models/update_certificate_details.py
@@ -0,0 +1,237 @@
+# 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 UpdateCertificateDetails(object):
+ """
+ The details of the certificate to update.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateCertificateDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param description:
+ The value to assign to the description property of this UpdateCertificateDetails.
+ :type description: str
+
+ :param current_version_number:
+ The value to assign to the current_version_number property of this UpdateCertificateDetails.
+ :type current_version_number: int
+
+ :param certificate_config:
+ The value to assign to the certificate_config property of this UpdateCertificateDetails.
+ :type certificate_config: oci.certificates_management.models.UpdateCertificateConfigDetails
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateCertificateDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateCertificateDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param certificate_rules:
+ The value to assign to the certificate_rules property of this UpdateCertificateDetails.
+ :type certificate_rules: list[oci.certificates_management.models.CertificateRule]
+
+ """
+ self.swagger_types = {
+ 'description': 'str',
+ 'current_version_number': 'int',
+ 'certificate_config': 'UpdateCertificateConfigDetails',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'certificate_rules': 'list[CertificateRule]'
+ }
+
+ self.attribute_map = {
+ 'description': 'description',
+ 'current_version_number': 'currentVersionNumber',
+ 'certificate_config': 'certificateConfig',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'certificate_rules': 'certificateRules'
+ }
+
+ self._description = None
+ self._current_version_number = None
+ self._certificate_config = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._certificate_rules = None
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UpdateCertificateDetails.
+ A brief description of the certificate. Avoid entering confidential information.
+
+
+ :return: The description of this UpdateCertificateDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UpdateCertificateDetails.
+ A brief description of the certificate. Avoid entering confidential information.
+
+
+ :param description: The description of this UpdateCertificateDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def current_version_number(self):
+ """
+ Gets the current_version_number of this UpdateCertificateDetails.
+ Makes this version the current version. This property cannot be updated in combination with any other properties.
+
+
+ :return: The current_version_number of this UpdateCertificateDetails.
+ :rtype: int
+ """
+ return self._current_version_number
+
+ @current_version_number.setter
+ def current_version_number(self, current_version_number):
+ """
+ Sets the current_version_number of this UpdateCertificateDetails.
+ Makes this version the current version. This property cannot be updated in combination with any other properties.
+
+
+ :param current_version_number: The current_version_number of this UpdateCertificateDetails.
+ :type: int
+ """
+ self._current_version_number = current_version_number
+
+ @property
+ def certificate_config(self):
+ """
+ Gets the certificate_config of this UpdateCertificateDetails.
+
+ :return: The certificate_config of this UpdateCertificateDetails.
+ :rtype: oci.certificates_management.models.UpdateCertificateConfigDetails
+ """
+ return self._certificate_config
+
+ @certificate_config.setter
+ def certificate_config(self, certificate_config):
+ """
+ Sets the certificate_config of this UpdateCertificateDetails.
+
+ :param certificate_config: The certificate_config of this UpdateCertificateDetails.
+ :type: oci.certificates_management.models.UpdateCertificateConfigDetails
+ """
+ self._certificate_config = certificate_config
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateCertificateDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateCertificateDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateCertificateDetails.
+ Free-form tags for this resource. Each tag is a simple key-value pair with no predefined name, type, or namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Department\": \"Finance\"}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateCertificateDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateCertificateDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateCertificateDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._defined_tags
+
+ @defined_tags.setter
+ def defined_tags(self, defined_tags):
+ """
+ Sets the defined_tags of this UpdateCertificateDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Operations\": {\"CostCenter\": \"42\"}}`
+
+ __ https://docs.cloud.oracle.com/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateCertificateDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def certificate_rules(self):
+ """
+ Gets the certificate_rules of this UpdateCertificateDetails.
+ An optional list of rules that control how the certificate is used and managed.
+
+
+ :return: The certificate_rules of this UpdateCertificateDetails.
+ :rtype: list[oci.certificates_management.models.CertificateRule]
+ """
+ return self._certificate_rules
+
+ @certificate_rules.setter
+ def certificate_rules(self, certificate_rules):
+ """
+ Sets the certificate_rules of this UpdateCertificateDetails.
+ An optional list of rules that control how the certificate is used and managed.
+
+
+ :param certificate_rules: The certificate_rules of this UpdateCertificateDetails.
+ :type: list[oci.certificates_management.models.CertificateRule]
+ """
+ self._certificate_rules = certificate_rules
+
+ 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/certificates_management/models/update_certificate_issued_by_internal_ca_config_details.py b/src/oci/certificates_management/models/update_certificate_issued_by_internal_ca_config_details.py
new file mode 100644
index 0000000000..5ae1b487c3
--- /dev/null
+++ b/src/oci/certificates_management/models/update_certificate_issued_by_internal_ca_config_details.py
@@ -0,0 +1,91 @@
+# 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 .update_certificate_config_details import UpdateCertificateConfigDetails
+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 UpdateCertificateIssuedByInternalCaConfigDetails(UpdateCertificateConfigDetails):
+ """
+ The details for updating an internally managed certificate which is issued by a private certificate authority (CA).
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateCertificateIssuedByInternalCaConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.UpdateCertificateIssuedByInternalCaConfigDetails.config_type` attribute
+ of this class is ``ISSUED_BY_INTERNAL_CA`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this UpdateCertificateIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this UpdateCertificateIssuedByInternalCaConfigDetails.
+ :type version_name: str
+
+ :param stage:
+ The value to assign to the stage property of this UpdateCertificateIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "CURRENT", "PENDING"
+ :type stage: str
+
+ :param validity:
+ The value to assign to the validity property of this UpdateCertificateIssuedByInternalCaConfigDetails.
+ :type validity: oci.certificates_management.models.Validity
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'stage': 'str',
+ 'validity': 'Validity'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'stage': 'stage',
+ 'validity': 'validity'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._stage = None
+ self._validity = None
+ self._config_type = 'ISSUED_BY_INTERNAL_CA'
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this UpdateCertificateIssuedByInternalCaConfigDetails.
+
+ :return: The validity of this UpdateCertificateIssuedByInternalCaConfigDetails.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this UpdateCertificateIssuedByInternalCaConfigDetails.
+
+ :param validity: The validity of this UpdateCertificateIssuedByInternalCaConfigDetails.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ 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/certificates_management/models/update_certificate_managed_externally_issued_by_internal_ca_config_details.py b/src/oci/certificates_management/models/update_certificate_managed_externally_issued_by_internal_ca_config_details.py
new file mode 100644
index 0000000000..e5d1dcff02
--- /dev/null
+++ b/src/oci/certificates_management/models/update_certificate_managed_externally_issued_by_internal_ca_config_details.py
@@ -0,0 +1,122 @@
+# 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 .update_certificate_config_details import UpdateCertificateConfigDetails
+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 UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails(UpdateCertificateConfigDetails):
+ """
+ The details for updating an externally managed certificate which is issued by a private certificate authority (CA).
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.config_type` attribute
+ of this class is ``MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "ISSUED_BY_INTERNAL_CA", "MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA", "IMPORTED"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type version_name: str
+
+ :param stage:
+ The value to assign to the stage property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "CURRENT", "PENDING"
+ :type stage: str
+
+ :param csr_pem:
+ The value to assign to the csr_pem property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type csr_pem: str
+
+ :param validity:
+ The value to assign to the validity property of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type validity: oci.certificates_management.models.Validity
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'stage': 'str',
+ 'csr_pem': 'str',
+ 'validity': 'Validity'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'stage': 'stage',
+ 'csr_pem': 'csrPem',
+ 'validity': 'validity'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._stage = None
+ self._csr_pem = None
+ self._validity = None
+ self._config_type = 'MANAGED_EXTERNALLY_ISSUED_BY_INTERNAL_CA'
+
+ @property
+ def csr_pem(self):
+ """
+ **[Required]** Gets the csr_pem of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ The certificate signing request (in PEM format).
+
+
+ :return: The csr_pem of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :rtype: str
+ """
+ return self._csr_pem
+
+ @csr_pem.setter
+ def csr_pem(self, csr_pem):
+ """
+ Sets the csr_pem of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ The certificate signing request (in PEM format).
+
+
+ :param csr_pem: The csr_pem of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type: str
+ """
+ self._csr_pem = csr_pem
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+
+ :return: The validity of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+
+ :param validity: The validity of this UpdateCertificateManagedExternallyIssuedByInternalCaConfigDetails.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ 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/certificates_management/models/update_root_ca_by_generating_internally_config_details.py b/src/oci/certificates_management/models/update_root_ca_by_generating_internally_config_details.py
new file mode 100644
index 0000000000..faa8e39e9a
--- /dev/null
+++ b/src/oci/certificates_management/models/update_root_ca_by_generating_internally_config_details.py
@@ -0,0 +1,92 @@
+# 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 .update_certificate_authority_config_details import UpdateCertificateAuthorityConfigDetails
+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 UpdateRootCaByGeneratingInternallyConfigDetails(UpdateCertificateAuthorityConfigDetails):
+ """
+ The details for updating a private root certificate authority (CA).
+ Note: This operation automatically rotates the private key.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateRootCaByGeneratingInternallyConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.UpdateRootCaByGeneratingInternallyConfigDetails.config_type` attribute
+ of this class is ``ROOT_CA_GENERATED_INTERNALLY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this UpdateRootCaByGeneratingInternallyConfigDetails.
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this UpdateRootCaByGeneratingInternallyConfigDetails.
+ :type version_name: str
+
+ :param stage:
+ The value to assign to the stage property of this UpdateRootCaByGeneratingInternallyConfigDetails.
+ Allowed values for this property are: "CURRENT", "PENDING"
+ :type stage: str
+
+ :param validity:
+ The value to assign to the validity property of this UpdateRootCaByGeneratingInternallyConfigDetails.
+ :type validity: oci.certificates_management.models.Validity
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'stage': 'str',
+ 'validity': 'Validity'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'stage': 'stage',
+ 'validity': 'validity'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._stage = None
+ self._validity = None
+ self._config_type = 'ROOT_CA_GENERATED_INTERNALLY'
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this UpdateRootCaByGeneratingInternallyConfigDetails.
+
+ :return: The validity of this UpdateRootCaByGeneratingInternallyConfigDetails.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this UpdateRootCaByGeneratingInternallyConfigDetails.
+
+ :param validity: The validity of this UpdateRootCaByGeneratingInternallyConfigDetails.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ 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/certificates_management/models/update_subordinate_ca_issued_by_internal_ca_config_details.py b/src/oci/certificates_management/models/update_subordinate_ca_issued_by_internal_ca_config_details.py
new file mode 100644
index 0000000000..d31d2e3cd0
--- /dev/null
+++ b/src/oci/certificates_management/models/update_subordinate_ca_issued_by_internal_ca_config_details.py
@@ -0,0 +1,92 @@
+# 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 .update_certificate_authority_config_details import UpdateCertificateAuthorityConfigDetails
+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 UpdateSubordinateCaIssuedByInternalCaConfigDetails(UpdateCertificateAuthorityConfigDetails):
+ """
+ The details for updating a private subordinate certificate authority (CA) which is issued by a private CA.
+ Note: This operation automatically rotates the private key.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateSubordinateCaIssuedByInternalCaConfigDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.certificates_management.models.UpdateSubordinateCaIssuedByInternalCaConfigDetails.config_type` attribute
+ of this class is ``SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param config_type:
+ The value to assign to the config_type property of this UpdateSubordinateCaIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "ROOT_CA_GENERATED_INTERNALLY", "SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA"
+ :type config_type: str
+
+ :param version_name:
+ The value to assign to the version_name property of this UpdateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type version_name: str
+
+ :param stage:
+ The value to assign to the stage property of this UpdateSubordinateCaIssuedByInternalCaConfigDetails.
+ Allowed values for this property are: "CURRENT", "PENDING"
+ :type stage: str
+
+ :param validity:
+ The value to assign to the validity property of this UpdateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type validity: oci.certificates_management.models.Validity
+
+ """
+ self.swagger_types = {
+ 'config_type': 'str',
+ 'version_name': 'str',
+ 'stage': 'str',
+ 'validity': 'Validity'
+ }
+
+ self.attribute_map = {
+ 'config_type': 'configType',
+ 'version_name': 'versionName',
+ 'stage': 'stage',
+ 'validity': 'validity'
+ }
+
+ self._config_type = None
+ self._version_name = None
+ self._stage = None
+ self._validity = None
+ self._config_type = 'SUBORDINATE_CA_ISSUED_BY_INTERNAL_CA'
+
+ @property
+ def validity(self):
+ """
+ Gets the validity of this UpdateSubordinateCaIssuedByInternalCaConfigDetails.
+
+ :return: The validity of this UpdateSubordinateCaIssuedByInternalCaConfigDetails.
+ :rtype: oci.certificates_management.models.Validity
+ """
+ return self._validity
+
+ @validity.setter
+ def validity(self, validity):
+ """
+ Sets the validity of this UpdateSubordinateCaIssuedByInternalCaConfigDetails.
+
+ :param validity: The validity of this UpdateSubordinateCaIssuedByInternalCaConfigDetails.
+ :type: oci.certificates_management.models.Validity
+ """
+ self._validity = validity
+
+ 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/certificates_management/models/validity.py b/src/oci/certificates_management/models/validity.py
new file mode 100644
index 0000000000..42f5c14dfe
--- /dev/null
+++ b/src/oci/certificates_management/models/validity.py
@@ -0,0 +1,113 @@
+# 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 Validity(object):
+ """
+ An object that describes a period of time during which an entity is valid. If this is not provided when you create a certificate, the validity of the issuing CA is used.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new Validity object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_of_validity_not_before:
+ The value to assign to the time_of_validity_not_before property of this Validity.
+ :type time_of_validity_not_before: datetime
+
+ :param time_of_validity_not_after:
+ The value to assign to the time_of_validity_not_after property of this Validity.
+ :type time_of_validity_not_after: datetime
+
+ """
+ self.swagger_types = {
+ 'time_of_validity_not_before': 'datetime',
+ 'time_of_validity_not_after': 'datetime'
+ }
+
+ self.attribute_map = {
+ 'time_of_validity_not_before': 'timeOfValidityNotBefore',
+ 'time_of_validity_not_after': 'timeOfValidityNotAfter'
+ }
+
+ self._time_of_validity_not_before = None
+ self._time_of_validity_not_after = None
+
+ @property
+ def time_of_validity_not_before(self):
+ """
+ Gets the time_of_validity_not_before of this Validity.
+ The date on which the certificate validity period begins, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_validity_not_before of this Validity.
+ :rtype: datetime
+ """
+ return self._time_of_validity_not_before
+
+ @time_of_validity_not_before.setter
+ def time_of_validity_not_before(self, time_of_validity_not_before):
+ """
+ Sets the time_of_validity_not_before of this Validity.
+ The date on which the certificate validity period begins, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_validity_not_before: The time_of_validity_not_before of this Validity.
+ :type: datetime
+ """
+ self._time_of_validity_not_before = time_of_validity_not_before
+
+ @property
+ def time_of_validity_not_after(self):
+ """
+ **[Required]** Gets the time_of_validity_not_after of this Validity.
+ The date on which the certificate validity period ends, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_of_validity_not_after of this Validity.
+ :rtype: datetime
+ """
+ return self._time_of_validity_not_after
+
+ @time_of_validity_not_after.setter
+ def time_of_validity_not_after(self, time_of_validity_not_after):
+ """
+ Sets the time_of_validity_not_after of this Validity.
+ The date on which the certificate validity period ends, expressed in `RFC 3339`__ timestamp format.
+ Example: `2019-04-03T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_of_validity_not_after: The time_of_validity_not_after of this Validity.
+ :type: datetime
+ """
+ self._time_of_validity_not_after = time_of_validity_not_after
+
+ 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/data_integration/data_integration_client.py b/src/oci/data_integration/data_integration_client.py
index 4ca8c6cc36..5bea1630a9 100644
--- a/src/oci/data_integration/data_integration_client.py
+++ b/src/oci/data_integration/data_integration_client.py
@@ -18,7 +18,7 @@
class DataIntegrationClient(object):
"""
- Use the Data Integration Service APIs to perform common extract, load, and transform (ETL) tasks.
+ Use the Data Integration API to organize your data integration projects, create data flows, pipelines and tasks, and then publish, schedule, and run tasks that extract, transform, and load data. For more information, see [Data Integration](https://docs.oracle.com/iaas/data-integration/home.htm).
"""
def __init__(self, config, **kwargs):
@@ -1137,6 +1137,99 @@ def create_folder(self, workspace_id, create_folder_details, **kwargs):
body=create_folder_details,
response_type="Folder")
+ def create_function_library(self, workspace_id, create_function_library_details, **kwargs):
+ """
+ Creates a function library in a project or in another function library, limited to two levels of function libraries. |
+ FunctionLibraries are used to organize your design-time resources, such as tasks or data flows.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param oci.data_integration.models.CreateFunctionLibraryDetails create_function_library_details: (required)
+ The details needed to create a function Library.
+
+ :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.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.FunctionLibrary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_function_library API.
+ """
+ resource_path = "/workspaces/{workspaceId}/functionLibraries"
+ method = "POST"
+
+ # 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(
+ "create_function_library got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_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}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=create_function_library_details,
+ response_type="FunctionLibrary")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=create_function_library_details,
+ response_type="FunctionLibrary")
+
def create_patch(self, workspace_id, application_key, create_patch_details, **kwargs):
"""
Creates a patch in an application.
@@ -1981,9 +2074,193 @@ def create_task_validation(self, workspace_id, create_task_validation_details, *
body=create_task_validation_details,
response_type="TaskValidation")
+ def create_user_defined_function(self, workspace_id, create_user_defined_function_details, **kwargs):
+ """
+ Creates a new UserDefinedFunction in a function library ready for performing data integrations.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param oci.data_integration.models.CreateUserDefinedFunctionDetails create_user_defined_function_details: (required)
+ The details needed to create a new UserDefinedFunction.
+
+ :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.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.UserDefinedFunction`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_user_defined_function API.
+ """
+ resource_path = "/workspaces/{workspaceId}/userDefinedFunctions"
+ method = "POST"
+
+ # 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(
+ "create_user_defined_function got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_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}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=create_user_defined_function_details,
+ response_type="UserDefinedFunction")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=create_user_defined_function_details,
+ response_type="UserDefinedFunction")
+
+ def create_user_defined_function_validation(self, workspace_id, create_user_defined_function_validation_details, **kwargs):
+ """
+ Accepts the UserDefinedFunction definition in the request payload and creates a UserDefinedFunction validation.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param oci.data_integration.models.CreateUserDefinedFunctionValidationDetails create_user_defined_function_validation_details: (required)
+ The information needed to create the UserDefinedFunction validation for the UserDefinedFunction object.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :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.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.UserDefinedFunctionValidation`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_user_defined_function_validation API.
+ """
+ resource_path = "/workspaces/{workspaceId}/userDefinedFunctionValidations"
+ method = "POST"
+
+ # 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(
+ "create_user_defined_function_validation got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_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)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=create_user_defined_function_validation_details,
+ response_type="UserDefinedFunctionValidation")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=create_user_defined_function_validation_details,
+ response_type="UserDefinedFunctionValidation")
+
def create_workspace(self, create_workspace_details, **kwargs):
"""
- Creates a new Data Integration workspace ready for performing data integration tasks.
+ Creates a new Data Integration workspace ready for performing data integration tasks. To retrieve the OCID for the new workspace, use the opc-work-request-id returned by this API and call the :func:`get_work_request` API.
:param oci.data_integration.models.CreateWorkspaceDetails create_workspace_details: (required)
@@ -2874,19 +3151,16 @@ def delete_folder(self, workspace_id, folder_key, **kwargs):
path_params=path_params,
header_params=header_params)
- def delete_patch(self, workspace_id, application_key, patch_key, **kwargs):
+ def delete_function_library(self, workspace_id, function_library_key, **kwargs):
"""
- Removes a patch using the specified identifier.
+ Removes a Function Library from a project using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param str application_key: (required)
- The application key.
-
- :param str patch_key: (required)
- The patch key.
+ :param str function_library_key: (required)
+ The functionLibrary 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.
@@ -2910,9 +3184,9 @@ def delete_patch(self, workspace_id, application_key, patch_key, **kwargs):
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_patch API.
+ Click `here `__ to see an example of how to use delete_function_library API.
"""
- resource_path = "/workspaces/{workspaceId}/applications/{applicationKey}/patches/{patchKey}"
+ resource_path = "/workspaces/{workspaceId}/functionLibraries/{functionLibraryKey}"
method = "DELETE"
# Don't accept unknown kwargs
@@ -2924,12 +3198,11 @@ def delete_patch(self, workspace_id, application_key, patch_key, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "delete_patch got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_function_library got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workspaceId": workspace_id,
- "applicationKey": application_key,
- "patchKey": patch_key
+ "functionLibraryKey": function_library_key
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -2968,9 +3241,103 @@ def delete_patch(self, workspace_id, application_key, patch_key, **kwargs):
path_params=path_params,
header_params=header_params)
- def delete_pipeline(self, workspace_id, pipeline_key, **kwargs):
+ def delete_patch(self, workspace_id, application_key, patch_key, **kwargs):
"""
- Removes a pipeline from a project or folder using the specified identifier.
+ Removes a patch using the specified identifier.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str application_key: (required)
+ The application key.
+
+ :param str patch_key: (required)
+ The patch 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 will be updated or deleted only if the `etag` you provide matches the resource's current `etag` value.
+ When 'if-match' is provided and its value does not exactly match the 'etag' of the resource on the server, the request fails with the 412 response code.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type None
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use delete_patch API.
+ """
+ resource_path = "/workspaces/{workspaceId}/applications/{applicationKey}/patches/{patchKey}"
+ 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(
+ "delete_patch got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_id,
+ "applicationKey": application_key,
+ "patchKey": patch_key
+ }
+
+ 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",
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def delete_pipeline(self, workspace_id, pipeline_key, **kwargs):
+ """
+ Removes a pipeline from a project or folder using the specified identifier.
:param str workspace_id: (required)
@@ -3700,19 +4067,16 @@ def delete_task_validation(self, workspace_id, task_validation_key, **kwargs):
path_params=path_params,
header_params=header_params)
- def delete_workspace(self, workspace_id, **kwargs):
+ def delete_user_defined_function(self, workspace_id, user_defined_function_key, **kwargs):
"""
- Deletes a Data Integration workspace resource using the specified identifier.
+ Removes a UserDefinedFunction from a function library using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param int quiesce_timeout: (optional)
- Used to set the timeout for Data Integration to gracefully close down any running jobs before stopping the workspace.
-
- :param bool is_force_operation: (optional)
- Used to force close down the workspace.
+ :param str user_defined_function_key: (required)
+ The user defined function 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.
@@ -3736,26 +4100,25 @@ def delete_workspace(self, workspace_id, **kwargs):
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_workspace API.
+ Click `here `__ to see an example of how to use delete_user_defined_function API.
"""
- resource_path = "/workspaces/{workspaceId}"
+ resource_path = "/workspaces/{workspaceId}/userDefinedFunctions/{userDefinedFunctionKey}"
method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "quiesce_timeout",
- "is_force_operation",
"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_workspace got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_user_defined_function got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "workspaceId": workspace_id
+ "workspaceId": workspace_id,
+ "userDefinedFunctionKey": user_defined_function_key
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3764,12 +4127,6 @@ def delete_workspace(self, workspace_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 = {
- "quiesceTimeout": kwargs.get("quiesce_timeout", missing),
- "isForceOperation": kwargs.get("is_force_operation", 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",
@@ -3792,26 +4149,29 @@ def delete_workspace(self, workspace_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 get_application(self, workspace_id, application_key, **kwargs):
+ def delete_user_defined_function_validation(self, workspace_id, user_defined_function_validation_key, **kwargs):
"""
- Retrieves an application using the specified identifier.
+ Removes a UserDefinedFunction validation using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param str application_key: (required)
- The application key.
+ :param str user_defined_function_validation_key: (required)
+ The key of the userDefinedFunction validation.
+
+ :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.
+ When 'if-match' is provided and its value does not exactly match the 'etag' of the resource on the server, the request fails with the 412 response code.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If
@@ -3826,28 +4186,29 @@ def get_application(self, workspace_id, application_key, **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.data_integration.models.Application`
+ :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_application API.
+ Click `here `__ to see an example of how to use delete_user_defined_function_validation API.
"""
- resource_path = "/workspaces/{workspaceId}/applications/{applicationKey}"
- method = "GET"
+ resource_path = "/workspaces/{workspaceId}/userDefinedFunctionValidations/{userDefinedFunctionValidationKey}"
+ 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(
- "get_application got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_user_defined_function_validation got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workspaceId": workspace_id,
- "applicationKey": application_key
+ "userDefinedFunctionValidationKey": user_defined_function_validation_key
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3859,6 +4220,7 @@ def get_application(self, workspace_id, application_key, **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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -3877,26 +4239,32 @@ def get_application(self, workspace_id, application_key, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="Application")
+ 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="Application")
+ header_params=header_params)
- def get_connection(self, workspace_id, connection_key, **kwargs):
+ def delete_workspace(self, workspace_id, **kwargs):
"""
- Retrieves the connection details using the specified identifier.
+ Deletes a Data Integration workspace resource using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param str connection_key: (required)
- The connection key.
+ :param int quiesce_timeout: (optional)
+ Used to set the timeout for Data Integration to gracefully close down any running jobs before stopping the workspace.
+
+ :param bool is_force_operation: (optional)
+ Used to force close down the workspace.
+
+ :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.
+ When 'if-match' is provided and its value does not exactly match the 'etag' of the resource on the server, the request fails with the 412 response code.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If
@@ -3911,28 +4279,30 @@ def get_connection(self, workspace_id, connection_key, **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.data_integration.models.Connection`
+ :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_connection API.
+ Click `here `__ to see an example of how to use delete_workspace API.
"""
- resource_path = "/workspaces/{workspaceId}/connections/{connectionKey}"
- method = "GET"
+ resource_path = "/workspaces/{workspaceId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
+ "quiesce_timeout",
+ "is_force_operation",
+ "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_connection got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_workspace got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "workspaceId": workspace_id,
- "connectionKey": connection_key
+ "workspaceId": workspace_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -3941,9 +4311,16 @@ def get_connection(self, workspace_id, connection_key, **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 = {
+ "quiesceTimeout": kwargs.get("quiesce_timeout", missing),
+ "isForceOperation": kwargs.get("is_force_operation", 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}
@@ -3962,26 +4339,26 @@ def get_connection(self, workspace_id, connection_key, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="Connection")
+ 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="Connection")
+ query_params=query_params,
+ header_params=header_params)
- def get_connection_validation(self, workspace_id, connection_validation_key, **kwargs):
+ def get_application(self, workspace_id, application_key, **kwargs):
"""
- Retrieves a connection validation using the specified identifier.
+ Retrieves an application using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param str connection_validation_key: (required)
- The key of the connection validation.
+ :param str application_key: (required)
+ The application key.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If
@@ -3996,13 +4373,13 @@ def get_connection_validation(self, workspace_id, connection_validation_key, **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.data_integration.models.ConnectionValidation`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.Application`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_connection_validation API.
+ Click `here `__ to see an example of how to use get_application API.
"""
- resource_path = "/workspaces/{workspaceId}/connectionValidations/{connectionValidationKey}"
+ resource_path = "/workspaces/{workspaceId}/applications/{applicationKey}"
method = "GET"
# Don't accept unknown kwargs
@@ -4013,11 +4390,11 @@ def get_connection_validation(self, workspace_id, connection_validation_key, **k
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_connection_validation got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_application got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workspaceId": workspace_id,
- "connectionValidationKey": connection_validation_key
+ "applicationKey": application_key
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4048,26 +4425,25 @@ def get_connection_validation(self, workspace_id, connection_validation_key, **k
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ConnectionValidation")
+ response_type="Application")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="ConnectionValidation")
+ response_type="Application")
- def get_count_statistic(self, workspace_id, count_statistic_key, **kwargs):
+ def get_connection(self, workspace_id, connection_key, **kwargs):
"""
- Retrieves statistics on a workspace. It returns an object with an array of property values, such as the number of projects, |
- applications, data assets, and so on.
+ Retrieves the connection details using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param str count_statistic_key: (required)
- A unique key of the container object, such as workspace, project, and so on, to count statistics for. The statistics is fetched for the given key.
+ :param str connection_key: (required)
+ The connection key.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If
@@ -4082,13 +4458,13 @@ def get_count_statistic(self, workspace_id, count_statistic_key, **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.data_integration.models.CountStatistic`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.Connection`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_count_statistic API.
+ Click `here `__ to see an example of how to use get_connection API.
"""
- resource_path = "/workspaces/{workspaceId}/countStatistics/{countStatisticKey}"
+ resource_path = "/workspaces/{workspaceId}/connections/{connectionKey}"
method = "GET"
# Don't accept unknown kwargs
@@ -4099,11 +4475,11 @@ def get_count_statistic(self, workspace_id, count_statistic_key, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_count_statistic got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_connection got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workspaceId": workspace_id,
- "countStatisticKey": count_statistic_key
+ "connectionKey": connection_key
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4134,25 +4510,25 @@ def get_count_statistic(self, workspace_id, count_statistic_key, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CountStatistic")
+ response_type="Connection")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CountStatistic")
+ response_type="Connection")
- def get_data_asset(self, workspace_id, data_asset_key, **kwargs):
+ def get_connection_validation(self, workspace_id, connection_validation_key, **kwargs):
"""
- Retrieves details of a data asset using the specified identifier.
+ Retrieves a connection validation using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param str data_asset_key: (required)
- The data asset key.
+ :param str connection_validation_key: (required)
+ The key of the connection validation.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If
@@ -4167,13 +4543,13 @@ def get_data_asset(self, workspace_id, data_asset_key, **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.data_integration.models.DataAsset`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.ConnectionValidation`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_data_asset API.
+ Click `here `__ to see an example of how to use get_connection_validation API.
"""
- resource_path = "/workspaces/{workspaceId}/dataAssets/{dataAssetKey}"
+ resource_path = "/workspaces/{workspaceId}/connectionValidations/{connectionValidationKey}"
method = "GET"
# Don't accept unknown kwargs
@@ -4184,11 +4560,11 @@ def get_data_asset(self, workspace_id, data_asset_key, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_data_asset got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_connection_validation got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workspaceId": workspace_id,
- "dataAssetKey": data_asset_key
+ "connectionValidationKey": connection_validation_key
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4219,16 +4595,187 @@ def get_data_asset(self, workspace_id, data_asset_key, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DataAsset")
+ response_type="ConnectionValidation")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="DataAsset")
+ response_type="ConnectionValidation")
- def get_data_entity(self, workspace_id, connection_key, schema_resource_name, data_entity_key, **kwargs):
+ def get_count_statistic(self, workspace_id, count_statistic_key, **kwargs):
+ """
+ Retrieves statistics on a workspace. It returns an object with an array of property values, such as the number of projects, |
+ applications, data assets, and so on.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str count_statistic_key: (required)
+ A unique key of the container object, such as workspace, project, and so on, to count statistics for. The statistics is fetched for the given key.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.CountStatistic`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_count_statistic API.
+ """
+ resource_path = "/workspaces/{workspaceId}/countStatistics/{countStatisticKey}"
+ 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_count_statistic got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_id,
+ "countStatisticKey": count_statistic_key
+ }
+
+ 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CountStatistic")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CountStatistic")
+
+ def get_data_asset(self, workspace_id, data_asset_key, **kwargs):
+ """
+ Retrieves details of a data asset using the specified identifier.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str data_asset_key: (required)
+ The data asset key.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.DataAsset`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_data_asset API.
+ """
+ resource_path = "/workspaces/{workspaceId}/dataAssets/{dataAssetKey}"
+ 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_data_asset got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_id,
+ "dataAssetKey": data_asset_key
+ }
+
+ 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DataAsset")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DataAsset")
+
+ def get_data_entity(self, workspace_id, connection_key, schema_resource_name, data_entity_key, **kwargs):
"""
Retrieves the data entity details with the given name from live schema.
@@ -4875,25 +5422,27 @@ def get_folder(self, workspace_id, folder_key, **kwargs):
header_params=header_params,
response_type="Folder")
- def get_patch(self, workspace_id, application_key, patch_key, **kwargs):
+ def get_function_library(self, workspace_id, function_library_key, **kwargs):
"""
- Retrieves a patch in an application using the specified identifier.
+ Retrieves a Function Library using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param str application_key: (required)
- The application key.
-
- :param str patch_key: (required)
- The patch key.
+ :param str function_library_key: (required)
+ The functionLibrary key.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If
you need to contact Oracle about a particular request,
please provide the request ID.
+ :param list[str] projection: (optional)
+ This parameter allows users to specify which view of the object to return. CHILD_COUNT_STATISTICS - This option is used to get statistics on immediate children of the object by their type.
+
+ Allowed values are: "CHILD_COUNT_STATISTICS"
+
: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.
@@ -4902,29 +5451,29 @@ def get_patch(self, workspace_id, application_key, patch_key, **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.data_integration.models.Patch`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.FunctionLibrary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_patch API.
+ Click `here `__ to see an example of how to use get_function_library API.
"""
- resource_path = "/workspaces/{workspaceId}/applications/{applicationKey}/patches/{patchKey}"
+ resource_path = "/workspaces/{workspaceId}/functionLibraries/{functionLibraryKey}"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id"
+ "opc_request_id",
+ "projection"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_patch got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_function_library got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workspaceId": workspace_id,
- "applicationKey": application_key,
- "patchKey": patch_key
+ "functionLibraryKey": function_library_key
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -4933,6 +5482,19 @@ def get_patch(self, workspace_id, application_key, patch_key, **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))
+ if 'projection' in kwargs:
+ projection_allowed_values = ["CHILD_COUNT_STATISTICS"]
+ for projection_item in kwargs['projection']:
+ if projection_item not in projection_allowed_values:
+ raise ValueError(
+ "Invalid value for `projection`, must be one of {0}".format(projection_allowed_values)
+ )
+
+ query_params = {
+ "projection": self.base_client.generate_collection_format_param(kwargs.get("projection", missing), 'multi')
+ }
+ 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",
@@ -4954,35 +5516,37 @@ def get_patch(self, workspace_id, application_key, patch_key, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
+ query_params=query_params,
header_params=header_params,
- response_type="Patch")
+ response_type="FunctionLibrary")
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="Patch")
+ response_type="FunctionLibrary")
- def get_pipeline(self, workspace_id, pipeline_key, **kwargs):
+ def get_patch(self, workspace_id, application_key, patch_key, **kwargs):
"""
- Retrieves a pipeline using the specified identifier.
+ Retrieves a patch in an application using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param str pipeline_key: (required)
- The pipeline key.
+ :param str application_key: (required)
+ The application key.
+
+ :param str patch_key: (required)
+ The patch key.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If
you need to contact Oracle about a particular request,
please provide the request ID.
- :param str expand_references: (optional)
- Used to expand references of the object. If value is true, then all referenced objects are expanded. If value is false, then shallow objects are returned in place of references. Default is false.
Example:
- ?expandReferences=true returns all objects of type data loader task
-
: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.
@@ -4991,29 +5555,29 @@ def get_pipeline(self, workspace_id, pipeline_key, **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.data_integration.models.Pipeline`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.Patch`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_pipeline API.
+ Click `here `__ to see an example of how to use get_patch API.
"""
- resource_path = "/workspaces/{workspaceId}/pipelines/{pipelineKey}"
+ resource_path = "/workspaces/{workspaceId}/applications/{applicationKey}/patches/{patchKey}"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "opc_request_id",
- "expand_references"
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "get_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
+ "get_patch got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workspaceId": workspace_id,
- "pipelineKey": pipeline_key
+ "applicationKey": application_key,
+ "patchKey": patch_key
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -5022,11 +5586,6 @@ def get_pipeline(self, workspace_id, pipeline_key, **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 = {
- "expandReferences": kwargs.get("expand_references", 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",
@@ -5048,29 +5607,123 @@ def get_pipeline(self, workspace_id, pipeline_key, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- query_params=query_params,
header_params=header_params,
- response_type="Pipeline")
+ 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="Pipeline")
+ response_type="Patch")
- def get_pipeline_validation(self, workspace_id, pipeline_validation_key, **kwargs):
+ def get_pipeline(self, workspace_id, pipeline_key, **kwargs):
"""
- Retrieves a pipeline validation using the specified identifier.
+ Retrieves a pipeline using the specified identifier.
:param str workspace_id: (required)
The workspace ID.
- :param str pipeline_validation_key: (required)
- The key of the pipeline validation.
-
+ :param str pipeline_key: (required)
+ The pipeline key.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param str expand_references: (optional)
+ Used to expand references of the object. If value is true, then all referenced objects are expanded. If value is false, then shallow objects are returned in place of references. Default is false.
Example:
- ?expandReferences=true returns all objects of type data loader task
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.Pipeline`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_pipeline API.
+ """
+ resource_path = "/workspaces/{workspaceId}/pipelines/{pipelineKey}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "expand_references"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_id,
+ "pipelineKey": pipeline_key
+ }
+
+ 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 = {
+ "expandReferences": kwargs.get("expand_references", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="Pipeline")
+ 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="Pipeline")
+
+ def get_pipeline_validation(self, workspace_id, pipeline_validation_key, **kwargs):
+ """
+ Retrieves a pipeline validation using the specified identifier.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str pipeline_validation_key: (required)
+ The key of the pipeline validation.
+
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If
you need to contact Oracle about a particular request,
@@ -5977,6 +6630,176 @@ def get_task_validation(self, workspace_id, task_validation_key, **kwargs):
header_params=header_params,
response_type="TaskValidation")
+ def get_user_defined_function(self, workspace_id, user_defined_function_key, **kwargs):
+ """
+ Retrieves a UserDefinedFunction using the specified identifier.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str user_defined_function_key: (required)
+ The user defined function key.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.UserDefinedFunction`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_user_defined_function API.
+ """
+ resource_path = "/workspaces/{workspaceId}/userDefinedFunctions/{userDefinedFunctionKey}"
+ 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_user_defined_function got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_id,
+ "userDefinedFunctionKey": user_defined_function_key
+ }
+
+ 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="UserDefinedFunction")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="UserDefinedFunction")
+
+ def get_user_defined_function_validation(self, workspace_id, user_defined_function_validation_key, **kwargs):
+ """
+ Retrieves a UserDefinedFunction validation using the specified identifier.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str user_defined_function_validation_key: (required)
+ The key of the userDefinedFunction validation.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.UserDefinedFunctionValidation`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_user_defined_function_validation API.
+ """
+ resource_path = "/workspaces/{workspaceId}/userDefinedFunctionValidations/{userDefinedFunctionValidationKey}"
+ 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_user_defined_function_validation got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_id,
+ "userDefinedFunctionValidationKey": user_defined_function_validation_key
+ }
+
+ 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="UserDefinedFunctionValidation")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="UserDefinedFunctionValidation")
+
def get_work_request(self, work_request_id, **kwargs):
"""
Retrieves the status of the work request with the given ID.
@@ -6150,6 +6973,9 @@ def list_applications(self, workspace_id, **kwargs):
:param str name: (optional)
Used to filter by the name of the object.
+ :param str name_contains: (optional)
+ This parameter can be used to filter objects by the names that match partially or fully with the given value.
+
:param list[str] identifier: (optional)
Used to filter by the identifier of the published object.
@@ -6202,6 +7028,7 @@ def list_applications(self, workspace_id, **kwargs):
expected_kwargs = [
"retry_strategy",
"name",
+ "name_contains",
"identifier",
"fields",
"limit",
@@ -6241,6 +7068,7 @@ def list_applications(self, workspace_id, **kwargs):
query_params = {
"name": kwargs.get("name", missing),
+ "nameContains": kwargs.get("name_contains", missing),
"identifier": self.base_client.generate_collection_format_param(kwargs.get("identifier", missing), 'multi'),
"fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi'),
"limit": kwargs.get("limit", missing),
@@ -7201,6 +8029,9 @@ def list_dependent_objects(self, workspace_id, application_key, **kwargs):
:param str name: (optional)
Used to filter by the name of the object.
+ :param str name_contains: (optional)
+ This parameter can be used to filter objects by the names that match partially or fully with the given value.
+
:param list[str] identifier: (optional)
Used to filter by the identifier of the published object.
@@ -7261,6 +8092,7 @@ def list_dependent_objects(self, workspace_id, application_key, **kwargs):
"retry_strategy",
"fields",
"name",
+ "name_contains",
"identifier",
"type",
"type_in_subtree",
@@ -7303,6 +8135,7 @@ def list_dependent_objects(self, workspace_id, application_key, **kwargs):
query_params = {
"fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi'),
"name": kwargs.get("name", missing),
+ "nameContains": kwargs.get("name_contains", missing),
"identifier": self.base_client.generate_collection_format_param(kwargs.get("identifier", missing), 'multi'),
"type": self.base_client.generate_collection_format_param(kwargs.get("type", missing), 'multi'),
"typeInSubtree": kwargs.get("type_in_subtree", missing),
@@ -7659,6 +8492,9 @@ def list_folders(self, workspace_id, **kwargs):
:param str name: (optional)
Used to filter by the name of the object.
+ :param str name_contains: (optional)
+ This parameter can be used to filter objects by the names that match partially or fully with the given value.
+
:param list[str] identifier: (optional)
Used to filter by the identifier of the object.
@@ -7706,6 +8542,7 @@ def list_folders(self, workspace_id, **kwargs):
"aggregator_key",
"fields",
"name",
+ "name_contains",
"identifier",
"page",
"limit",
@@ -7745,6 +8582,7 @@ def list_folders(self, workspace_id, **kwargs):
"aggregatorKey": kwargs.get("aggregator_key", missing),
"fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi'),
"name": kwargs.get("name", missing),
+ "nameContains": kwargs.get("name_contains", missing),
"identifier": self.base_client.generate_collection_format_param(kwargs.get("identifier", missing), 'multi'),
"page": kwargs.get("page", missing),
"limit": kwargs.get("limit", missing),
@@ -7786,18 +8624,167 @@ def list_folders(self, workspace_id, **kwargs):
header_params=header_params,
response_type="FolderSummaryCollection")
- def list_patch_changes(self, workspace_id, application_key, **kwargs):
+ def list_function_libraries(self, workspace_id, **kwargs):
"""
- Retrieves a list of patches in an application and provides options to filter the list.
+ Retrieves a list of function libraries in a project and provides options to filter the list.
:param str workspace_id: (required)
The workspace ID.
- :param str application_key: (required)
- The application key.
-
- :param str name: (optional)
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param str aggregator_key: (optional)
+ Used to filter by the project or the folder object.
+
+ :param list[str] fields: (optional)
+ Specifies the fields to get for an object.
+
+ :param str name: (optional)
+ Used to filter by the name of the object.
+
+ :param list[str] identifier: (optional)
+ Used to filter by the identifier of the object.
+
+ :param str page: (optional)
+ For list pagination. The value for this parameter is the `opc-next-page` or the `opc-prev-page` response header from the previous `List` call. See `List Pagination`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param int limit: (optional)
+ Sets the maximum number of results per page, or items to return in a paginated `List` call. See `List Pagination`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str sort_order: (optional)
+ Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. Sorting related parameters are ignored when parameter `query` is present (search operation and sorting order is by relevance score in descending order).
+
+ Allowed values are: "TIME_CREATED", "DISPLAY_NAME"
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.FunctionLibrarySummaryCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_function_libraries API.
+ """
+ resource_path = "/workspaces/{workspaceId}/functionLibraries"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "aggregator_key",
+ "fields",
+ "name",
+ "identifier",
+ "page",
+ "limit",
+ "sort_order",
+ "sort_by"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_function_libraries got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_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 'sort_by' in kwargs:
+ sort_by_allowed_values = ["TIME_CREATED", "DISPLAY_NAME"]
+ 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)
+ )
+
+ query_params = {
+ "aggregatorKey": kwargs.get("aggregator_key", missing),
+ "fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi'),
+ "name": kwargs.get("name", missing),
+ "identifier": self.base_client.generate_collection_format_param(kwargs.get("identifier", missing), 'multi'),
+ "page": kwargs.get("page", missing),
+ "limit": kwargs.get("limit", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="FunctionLibrarySummaryCollection")
+ 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="FunctionLibrarySummaryCollection")
+
+ def list_patch_changes(self, workspace_id, application_key, **kwargs):
+ """
+ Retrieves a list of patches in an application and provides options to filter the list.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str application_key: (required)
+ The application key.
+
+ :param str name: (optional)
Used to filter by the name of the object.
:param str since_patch: (optional)
@@ -8399,6 +9386,9 @@ def list_projects(self, workspace_id, **kwargs):
:param str name: (optional)
Used to filter by the name of the object.
+ :param str name_contains: (optional)
+ This parameter can be used to filter objects by the names that match partially or fully with the given value.
+
:param list[str] identifier: (optional)
Used to filter by the identifier of the object.
@@ -8445,6 +9435,7 @@ def list_projects(self, workspace_id, **kwargs):
"opc_request_id",
"fields",
"name",
+ "name_contains",
"identifier",
"page",
"limit",
@@ -8483,6 +9474,7 @@ def list_projects(self, workspace_id, **kwargs):
query_params = {
"fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi'),
"name": kwargs.get("name", missing),
+ "nameContains": kwargs.get("name_contains", missing),
"identifier": self.base_client.generate_collection_format_param(kwargs.get("identifier", missing), 'multi'),
"page": kwargs.get("page", missing),
"limit": kwargs.get("limit", missing),
@@ -8541,6 +9533,12 @@ def list_published_objects(self, workspace_id, application_key, **kwargs):
:param str name: (optional)
Used to filter by the name of the object.
+ :param str name_starts_with: (optional)
+ This parameter can be used to filter objects by the names starting with the given value.
+
+ :param str name_contains: (optional)
+ This parameter can be used to filter objects by the names that match partially or fully with the given value.
+
:param list[str] identifier: (optional)
Used to filter by the identifier of the published object.
@@ -8601,6 +9599,8 @@ def list_published_objects(self, workspace_id, application_key, **kwargs):
"retry_strategy",
"fields",
"name",
+ "name_starts_with",
+ "name_contains",
"identifier",
"type",
"type_in_subtree",
@@ -8643,6 +9643,8 @@ def list_published_objects(self, workspace_id, application_key, **kwargs):
query_params = {
"fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi'),
"name": kwargs.get("name", missing),
+ "nameStartsWith": kwargs.get("name_starts_with", missing),
+ "nameContains": kwargs.get("name_contains", missing),
"identifier": self.base_client.generate_collection_format_param(kwargs.get("identifier", missing), 'multi'),
"type": self.base_client.generate_collection_format_param(kwargs.get("type", missing), 'multi'),
"typeInSubtree": kwargs.get("type_in_subtree", missing),
@@ -9320,6 +10322,9 @@ def list_task_runs(self, workspace_id, application_key, **kwargs):
:param list[str] filter: (optional)
This filter parameter can be used to filter by model specific queryable fields of the object
Examples:-
- ?filter=status eq Failed returns all objects that have a status field with value Failed
+ :param str name_starts_with: (optional)
+ This parameter can be used to filter objects by the names starting with the given 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.
@@ -9350,7 +10355,8 @@ def list_task_runs(self, workspace_id, application_key, **kwargs):
"limit",
"sort_order",
"sort_by",
- "filter"
+ "filter",
+ "name_starts_with"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
@@ -9392,7 +10398,8 @@ def list_task_runs(self, workspace_id, application_key, **kwargs):
"limit": kwargs.get("limit", missing),
"sortOrder": kwargs.get("sort_order", missing),
"sortBy": kwargs.get("sort_by", missing),
- "filter": self.base_client.generate_collection_format_param(kwargs.get("filter", missing), 'multi')
+ "filter": self.base_client.generate_collection_format_param(kwargs.get("filter", missing), 'multi'),
+ "nameStartsWith": kwargs.get("name_starts_with", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
@@ -9465,20 +10472,327 @@ def list_task_schedules(self, workspace_id, application_key, **kwargs):
:param str sort_by: (optional)
Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. Sorting related parameters are ignored when parameter `query` is present (search operation and sorting order is by relevance score in descending order).
- Allowed values are: "TIME_CREATED", "DISPLAY_NAME"
+ Allowed values are: "TIME_CREATED", "DISPLAY_NAME"
+
+ :param str sort_order: (optional)
+ Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param bool is_enabled: (optional)
+ This filter parameter can be used to filter task schedule by its state.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.TaskScheduleSummaryCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_task_schedules API.
+ """
+ resource_path = "/workspaces/{workspaceId}/applications/{applicationKey}/taskSchedules"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "key",
+ "name",
+ "identifier",
+ "type",
+ "page",
+ "limit",
+ "sort_by",
+ "sort_order",
+ "opc_request_id",
+ "is_enabled"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_task_schedules got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_id,
+ "applicationKey": application_key
+ }
+
+ 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_by' in kwargs:
+ sort_by_allowed_values = ["TIME_CREATED", "DISPLAY_NAME"]
+ 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 = {
+ "key": self.base_client.generate_collection_format_param(kwargs.get("key", missing), 'multi'),
+ "name": kwargs.get("name", missing),
+ "identifier": self.base_client.generate_collection_format_param(kwargs.get("identifier", missing), 'multi'),
+ "type": self.base_client.generate_collection_format_param(kwargs.get("type", missing), 'multi'),
+ "page": kwargs.get("page", missing),
+ "limit": kwargs.get("limit", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "isEnabled": kwargs.get("is_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="TaskScheduleSummaryCollection")
+ 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="TaskScheduleSummaryCollection")
+
+ def list_task_validations(self, workspace_id, **kwargs):
+ """
+ Retrieves a list of task validations within the specified workspace.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str key: (optional)
+ Used to filter by the key of the object.
+
+ :param str name: (optional)
+ Used to filter by the name of the object.
+
+ :param str identifier: (optional)
+ Used to filter by the identifier of the object.
+
+ :param list[str] fields: (optional)
+ Specifies the fields to get for an object.
+
+ :param str page: (optional)
+ For list pagination. The value for this parameter is the `opc-next-page` or the `opc-prev-page` response header from the previous `List` call. See `List Pagination`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param int limit: (optional)
+ Sets the maximum number of results per page, or items to return in a paginated `List` call. See `List Pagination`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str sort_by: (optional)
+ Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. Sorting related parameters are ignored when parameter `query` is present (search operation and sorting order is by relevance score in descending order).
+
+ Allowed values are: "TIME_CREATED", "DISPLAY_NAME"
+
+ :param str sort_order: (optional)
+ Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.TaskValidationSummaryCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_task_validations API.
+ """
+ resource_path = "/workspaces/{workspaceId}/taskValidations"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "key",
+ "name",
+ "identifier",
+ "fields",
+ "page",
+ "limit",
+ "sort_by",
+ "sort_order",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_task_validations got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_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_by' in kwargs:
+ sort_by_allowed_values = ["TIME_CREATED", "DISPLAY_NAME"]
+ 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 = {
+ "key": kwargs.get("key", missing),
+ "name": kwargs.get("name", missing),
+ "identifier": kwargs.get("identifier", missing),
+ "fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi'),
+ "page": kwargs.get("page", missing),
+ "limit": kwargs.get("limit", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="TaskValidationSummaryCollection")
+ 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="TaskValidationSummaryCollection")
+
+ def list_tasks(self, workspace_id, **kwargs):
+ """
+ Retrieves a list of all tasks in a specified project or folder.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :param str folder_id: (optional)
+ Unique key of the folder.
+
+ :param list[str] fields: (optional)
+ Specifies the fields to get for an object.
+
+ :param str name: (optional)
+ Used to filter by the name of the object.
+
+ :param list[str] key: (optional)
+ Used to filter by the key of the object.
+
+ :param list[str] identifier: (optional)
+ Used to filter by the identifier of the object.
+
+ :param list[str] type: (optional)
+ Used to filter by the object type of the object. It can be suffixed with an optional filter operator InSubtree. If this operator is not specified, then exact match is considered.
Examples:
- ?type=DATA_LOADER_TASK&typeInSubtree=false returns all objects of type data loader task
- ?type=DATA_LOADER_TASK returns all objects of type data loader task
- ?type=DATA_LOADER_TASK&typeInSubtree=true returns all objects of type data loader task
+
+ :param int limit: (optional)
+ Sets the maximum number of results per page, or items to return in a paginated `List` call. See `List Pagination`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str page: (optional)
+ For list pagination. The value for this parameter is the `opc-next-page` or the `opc-prev-page` response header from the previous `List` call. See `List Pagination`__.
+
+ __ https://docs.cloud.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
:param str sort_order: (optional)
Specifies sort order to use, either `ASC` (ascending) or `DESC` (descending).
Allowed values are: "ASC", "DESC"
- :param str opc_request_id: (optional)
- Unique Oracle-assigned identifier for the request. If
- you need to contact Oracle about a particular request,
- please provide the request ID.
+ :param str sort_by: (optional)
+ Specifies the field to sort by. Accepts only one field. By default, when you sort by time fields, results are shown in descending order. All other fields default to ascending order. Sorting related parameters are ignored when parameter `query` is present (search operation and sorting order is by relevance score in descending order).
- :param bool is_enabled: (optional)
- This filter parameter can be used to filter task schedule by its state.
+ Allowed values are: "TIME_CREATED", "DISPLAY_NAME"
: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.
@@ -9488,37 +10802,37 @@ def list_task_schedules(self, workspace_id, application_key, **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.data_integration.models.TaskScheduleSummaryCollection`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.TaskSummaryCollection`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_task_schedules API.
+ Click `here `__ to see an example of how to use list_tasks API.
"""
- resource_path = "/workspaces/{workspaceId}/applications/{applicationKey}/taskSchedules"
+ resource_path = "/workspaces/{workspaceId}/tasks"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "key",
+ "opc_request_id",
+ "folder_id",
+ "fields",
"name",
+ "key",
"identifier",
"type",
- "page",
"limit",
- "sort_by",
+ "page",
"sort_order",
- "opc_request_id",
- "is_enabled"
+ "sort_by"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "list_task_schedules got unknown kwargs: {!r}".format(extra_kwargs))
+ "list_tasks got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "workspaceId": workspace_id,
- "applicationKey": application_key
+ "workspaceId": workspace_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -9527,13 +10841,6 @@ def list_task_schedules(self, workspace_id, application_key, **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))
- if 'sort_by' in kwargs:
- sort_by_allowed_values = ["TIME_CREATED", "DISPLAY_NAME"]
- 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:
@@ -9541,16 +10848,24 @@ def list_task_schedules(self, workspace_id, application_key, **kwargs):
"Invalid value for `sort_order`, must be one of {0}".format(sort_order_allowed_values)
)
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["TIME_CREATED", "DISPLAY_NAME"]
+ 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)
+ )
+
query_params = {
- "key": self.base_client.generate_collection_format_param(kwargs.get("key", missing), 'multi'),
+ "folderId": kwargs.get("folder_id", missing),
+ "fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi'),
"name": kwargs.get("name", missing),
+ "key": self.base_client.generate_collection_format_param(kwargs.get("key", missing), 'multi'),
"identifier": self.base_client.generate_collection_format_param(kwargs.get("identifier", missing), 'multi'),
"type": self.base_client.generate_collection_format_param(kwargs.get("type", missing), 'multi'),
- "page": kwargs.get("page", missing),
"limit": kwargs.get("limit", missing),
- "sortBy": kwargs.get("sort_by", missing),
+ "page": kwargs.get("page", missing),
"sortOrder": kwargs.get("sort_order", missing),
- "isEnabled": kwargs.get("is_enabled", missing)
+ "sortBy": kwargs.get("sort_by", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
@@ -9577,7 +10892,7 @@ def list_task_schedules(self, workspace_id, application_key, **kwargs):
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="TaskScheduleSummaryCollection")
+ response_type="TaskSummaryCollection")
else:
return self.base_client.call_api(
resource_path=resource_path,
@@ -9585,11 +10900,11 @@ def list_task_schedules(self, workspace_id, application_key, **kwargs):
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="TaskScheduleSummaryCollection")
+ response_type="TaskSummaryCollection")
- def list_task_validations(self, workspace_id, **kwargs):
+ def list_user_defined_function_validations(self, workspace_id, **kwargs):
"""
- Retrieves a list of task validations within the specified workspace.
+ Retrieves a list of UserDefinedFunctionvalidations within the specified workspace.
:param str workspace_id: (required)
@@ -9640,13 +10955,13 @@ def list_task_validations(self, workspace_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.data_integration.models.TaskValidationSummaryCollection`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.UserDefinedFunctionValidationSummaryCollection`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_task_validations API.
+ Click `here `__ to see an example of how to use list_user_defined_function_validations API.
"""
- resource_path = "/workspaces/{workspaceId}/taskValidations"
+ resource_path = "/workspaces/{workspaceId}/userDefinedFunctionValidations"
method = "GET"
# Don't accept unknown kwargs
@@ -9665,7 +10980,7 @@ def list_task_validations(self, workspace_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "list_task_validations got unknown kwargs: {!r}".format(extra_kwargs))
+ "list_user_defined_function_validations got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workspaceId": workspace_id
@@ -9726,7 +11041,7 @@ def list_task_validations(self, workspace_id, **kwargs):
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="TaskValidationSummaryCollection")
+ response_type="UserDefinedFunctionValidationSummaryCollection")
else:
return self.base_client.call_api(
resource_path=resource_path,
@@ -9734,11 +11049,11 @@ def list_task_validations(self, workspace_id, **kwargs):
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="TaskValidationSummaryCollection")
+ response_type="UserDefinedFunctionValidationSummaryCollection")
- def list_tasks(self, workspace_id, **kwargs):
+ def list_user_defined_functions(self, workspace_id, **kwargs):
"""
- Retrieves a list of all tasks in a specified project or folder.
+ Retrieves a list of UserDefinedFunctions in a function library.
:param str workspace_id: (required)
@@ -9749,8 +11064,8 @@ def list_tasks(self, workspace_id, **kwargs):
you need to contact Oracle about a particular request,
please provide the request ID.
- :param str folder_id: (optional)
- Unique key of the folder.
+ :param str function_library_key: (optional)
+ Unique key of the FunctionLibrary.
:param list[str] fields: (optional)
Specifies the fields to get for an object.
@@ -9758,15 +11073,9 @@ def list_tasks(self, workspace_id, **kwargs):
:param str name: (optional)
Used to filter by the name of the object.
- :param list[str] key: (optional)
- Used to filter by the key of the object.
-
:param list[str] identifier: (optional)
Used to filter by the identifier of the object.
- :param list[str] type: (optional)
- Used to filter by the object type of the object. It can be suffixed with an optional filter operator InSubtree. If this operator is not specified, then exact match is considered.
Examples:
- ?type=DATA_LOADER_TASK&typeInSubtree=false returns all objects of type data loader task
- ?type=DATA_LOADER_TASK returns all objects of type data loader task
- ?type=DATA_LOADER_TASK&typeInSubtree=true returns all objects of type data loader task
-
:param int limit: (optional)
Sets the maximum number of results per page, or items to return in a paginated `List` call. See `List Pagination`__.
@@ -9795,25 +11104,23 @@ def list_tasks(self, workspace_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.data_integration.models.TaskSummaryCollection`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.UserDefinedFunctionSummaryCollection`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_tasks API.
+ Click `here `__ to see an example of how to use list_user_defined_functions API.
"""
- resource_path = "/workspaces/{workspaceId}/tasks"
+ resource_path = "/workspaces/{workspaceId}/userDefinedFunctions"
method = "GET"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
"opc_request_id",
- "folder_id",
+ "function_library_key",
"fields",
"name",
- "key",
"identifier",
- "type",
"limit",
"page",
"sort_order",
@@ -9822,7 +11129,7 @@ def list_tasks(self, workspace_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "list_tasks got unknown kwargs: {!r}".format(extra_kwargs))
+ "list_user_defined_functions got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
"workspaceId": workspace_id
@@ -9849,12 +11156,10 @@ def list_tasks(self, workspace_id, **kwargs):
)
query_params = {
- "folderId": kwargs.get("folder_id", missing),
+ "functionLibraryKey": kwargs.get("function_library_key", missing),
"fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi'),
"name": kwargs.get("name", missing),
- "key": self.base_client.generate_collection_format_param(kwargs.get("key", missing), 'multi'),
"identifier": self.base_client.generate_collection_format_param(kwargs.get("identifier", missing), 'multi'),
- "type": self.base_client.generate_collection_format_param(kwargs.get("type", missing), 'multi'),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing),
"sortOrder": kwargs.get("sort_order", missing),
@@ -9885,7 +11190,7 @@ def list_tasks(self, workspace_id, **kwargs):
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="TaskSummaryCollection")
+ response_type="UserDefinedFunctionSummaryCollection")
else:
return self.base_client.call_api(
resource_path=resource_path,
@@ -9893,7 +11198,7 @@ def list_tasks(self, workspace_id, **kwargs):
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="TaskSummaryCollection")
+ response_type="UserDefinedFunctionSummaryCollection")
def list_work_request_errors(self, work_request_id, **kwargs):
"""
@@ -11213,6 +12518,103 @@ def update_folder(self, workspace_id, folder_key, update_folder_details, **kwarg
body=update_folder_details,
response_type="Folder")
+ def update_function_library(self, workspace_id, function_library_key, update_function_library_details, **kwargs):
+ """
+ Updates a specific Function Library.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str function_library_key: (required)
+ The functionLibrary key.
+
+ :param oci.data_integration.models.UpdateFunctionLibraryDetails update_function_library_details: (required)
+ The details needed to update a FunctionL ibrary.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :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.
+ When 'if-match' is provided and its value does not exactly match the 'etag' of the resource on the server, the request fails with the 412 response code.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.FunctionLibrary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use update_function_library API.
+ """
+ resource_path = "/workspaces/{workspaceId}/functionLibraries/{functionLibraryKey}"
+ method = "PUT"
+
+ # 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(
+ "update_function_library got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_id,
+ "functionLibraryKey": function_library_key
+ }
+
+ 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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_function_library_details,
+ response_type="FunctionLibrary")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_function_library_details,
+ response_type="FunctionLibrary")
+
def update_pipeline(self, workspace_id, pipeline_key, update_pipeline_details, **kwargs):
"""
Updates a specific pipeline.
@@ -11914,6 +13316,103 @@ def update_task_schedule(self, workspace_id, application_key, task_schedule_key,
body=update_task_schedule_details,
response_type="TaskSchedule")
+ def update_user_defined_function(self, workspace_id, user_defined_function_key, update_user_defined_function_details, **kwargs):
+ """
+ Updates a specific UserDefinedFunction.
+
+
+ :param str workspace_id: (required)
+ The workspace ID.
+
+ :param str user_defined_function_key: (required)
+ The user defined function key.
+
+ :param oci.data_integration.models.UpdateUserDefinedFunctionDetails update_user_defined_function_details: (required)
+ The details needed to updated a UserDefinedFunction.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If
+ you need to contact Oracle about a particular request,
+ please provide the request ID.
+
+ :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.
+ When 'if-match' is provided and its value does not exactly match the 'etag' of the resource on the server, the request fails with the 412 response code.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_integration.models.UserDefinedFunction`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use update_user_defined_function API.
+ """
+ resource_path = "/workspaces/{workspaceId}/userDefinedFunctions/{userDefinedFunctionKey}"
+ method = "PUT"
+
+ # 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(
+ "update_user_defined_function got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workspaceId": workspace_id,
+ "userDefinedFunctionKey": user_defined_function_key
+ }
+
+ 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),
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_user_defined_function_details,
+ response_type="UserDefinedFunction")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_user_defined_function_details,
+ response_type="UserDefinedFunction")
+
def update_workspace(self, workspace_id, update_workspace_details, **kwargs):
"""
Updates the specified Data Integration workspace.
diff --git a/src/oci/data_integration/models/__init__.py b/src/oci/data_integration/models/__init__.py
index 01b307df2d..119ed1bac3 100644
--- a/src/oci/data_integration/models/__init__.py
+++ b/src/oci/data_integration/models/__init__.py
@@ -20,6 +20,7 @@
from .avro_format_attribute import AvroFormatAttribute
from .base_type import BaseType
from .bicc_read_attributes import BiccReadAttributes
+from .cancel_rest_call_config import CancelRestCallConfig
from .change_compartment_details import ChangeCompartmentDetails
from .child_reference import ChildReference
from .child_reference_detail import ChildReferenceDetail
@@ -94,9 +95,11 @@
from .create_data_flow_validation_details import CreateDataFlowValidationDetails
from .create_entity_shape_details import CreateEntityShapeDetails
from .create_entity_shape_from_file import CreateEntityShapeFromFile
+from .create_entity_shape_from_sql import CreateEntityShapeFromSQL
from .create_external_publication_details import CreateExternalPublicationDetails
from .create_external_publication_validation_details import CreateExternalPublicationValidationDetails
from .create_folder_details import CreateFolderDetails
+from .create_function_library_details import CreateFunctionLibraryDetails
from .create_patch_details import CreatePatchDetails
from .create_pipeline_details import CreatePipelineDetails
from .create_pipeline_validation_details import CreatePipelineValidationDetails
@@ -116,8 +119,11 @@
from .create_task_validation_from_data_loader_task import CreateTaskValidationFromDataLoaderTask
from .create_task_validation_from_integration_task import CreateTaskValidationFromIntegrationTask
from .create_task_validation_from_pipeline_task import CreateTaskValidationFromPipelineTask
+from .create_user_defined_function_details import CreateUserDefinedFunctionDetails
+from .create_user_defined_function_validation_details import CreateUserDefinedFunctionValidationDetails
from .create_workspace_details import CreateWorkspaceDetails
from .csv_format_attribute import CsvFormatAttribute
+from .custom_frequency_details import CustomFrequencyDetails
from .daily_frequency_details import DailyFrequencyDetails
from .data_asset import DataAsset
from .data_asset_from_adwc_details import DataAssetFromAdwcDetails
@@ -144,6 +150,8 @@
from .data_entity_from_data_store_entity_details import DataEntityFromDataStoreEntityDetails
from .data_entity_from_file import DataEntityFromFile
from .data_entity_from_file_entity_details import DataEntityFromFileEntityDetails
+from .data_entity_from_sql import DataEntityFromSql
+from .data_entity_from_sql_entity_details import DataEntityFromSqlEntityDetails
from .data_entity_from_table import DataEntityFromTable
from .data_entity_from_table_entity_details import DataEntityFromTableEntityDetails
from .data_entity_from_view import DataEntityFromView
@@ -152,6 +160,7 @@
from .data_entity_summary_collection import DataEntitySummaryCollection
from .data_entity_summary_from_data_store import DataEntitySummaryFromDataStore
from .data_entity_summary_from_file import DataEntitySummaryFromFile
+from .data_entity_summary_from_sql import DataEntitySummaryFromSql
from .data_entity_summary_from_table import DataEntitySummaryFromTable
from .data_entity_summary_from_view import DataEntitySummaryFromView
from .data_flow import DataFlow
@@ -180,7 +189,9 @@
from .enriched_entity import EnrichedEntity
from .entity_shape import EntityShape
from .entity_shape_from_file import EntityShapeFromFile
+from .entity_shape_from_sql import EntityShapeFromSQL
from .error_details import ErrorDetails
+from .execute_rest_call_config import ExecuteRestCallConfig
from .expression import Expression
from .expression_operator import ExpressionOperator
from .external_publication import ExternalPublication
@@ -201,6 +212,11 @@
from .folder_summary import FolderSummary
from .folder_summary_collection import FolderSummaryCollection
from .foreign_key import ForeignKey
+from .function_library import FunctionLibrary
+from .function_library_details import FunctionLibraryDetails
+from .function_library_summary import FunctionLibrarySummary
+from .function_library_summary_collection import FunctionLibrarySummaryCollection
+from .function_signature import FunctionSignature
from .hourly_frequency_details import HourlyFrequencyDetails
from .input_field import InputField
from .input_link import InputLink
@@ -221,6 +237,7 @@
from .message import Message
from .minus import Minus
from .monthly_frequency_details import MonthlyFrequencyDetails
+from .monthly_rule_frequency_details import MonthlyRuleFrequencyDetails
from .name_list_rule import NameListRule
from .name_pattern_rule import NamePatternRule
from .native_shape_field import NativeShapeField
@@ -284,6 +301,7 @@
from .registry_metadata import RegistryMetadata
from .rename_rule import RenameRule
from .resource_configuration import ResourceConfiguration
+from .rest_call_config import RestCallConfig
from .root_object import RootObject
from .rule_based_field_map import RuleBasedFieldMap
from .rule_type_config import RuleTypeConfig
@@ -345,6 +363,7 @@
from .typed_object import TypedObject
from .ui_properties import UIProperties
from .union import Union
+from .unique_data_key import UniqueDataKey
from .unique_key import UniqueKey
from .update_application_details import UpdateApplicationDetails
from .update_connection_details import UpdateConnectionDetails
@@ -368,6 +387,7 @@
from .update_data_flow_details import UpdateDataFlowDetails
from .update_external_publication_details import UpdateExternalPublicationDetails
from .update_folder_details import UpdateFolderDetails
+from .update_function_library_details import UpdateFunctionLibraryDetails
from .update_pipeline_details import UpdatePipelineDetails
from .update_project_details import UpdateProjectDetails
from .update_reference_details import UpdateReferenceDetails
@@ -381,9 +401,18 @@
from .update_task_from_sql_task import UpdateTaskFromSQLTask
from .update_task_run_details import UpdateTaskRunDetails
from .update_task_schedule_details import UpdateTaskScheduleDetails
+from .update_user_defined_function_details import UpdateUserDefinedFunctionDetails
from .update_workspace_details import UpdateWorkspaceDetails
+from .user_defined_function import UserDefinedFunction
+from .user_defined_function_details import UserDefinedFunctionDetails
+from .user_defined_function_summary import UserDefinedFunctionSummary
+from .user_defined_function_summary_collection import UserDefinedFunctionSummaryCollection
+from .user_defined_function_validation import UserDefinedFunctionValidation
+from .user_defined_function_validation_summary import UserDefinedFunctionValidationSummary
+from .user_defined_function_validation_summary_collection import UserDefinedFunctionValidationSummaryCollection
from .validation_message import ValidationMessage
from .variable import Variable
+from .weekly_frequency_details import WeeklyFrequencyDetails
from .work_request import WorkRequest
from .work_request_error import WorkRequestError
from .work_request_log_entry import WorkRequestLogEntry
@@ -411,6 +440,7 @@
"AvroFormatAttribute": AvroFormatAttribute,
"BaseType": BaseType,
"BiccReadAttributes": BiccReadAttributes,
+ "CancelRestCallConfig": CancelRestCallConfig,
"ChangeCompartmentDetails": ChangeCompartmentDetails,
"ChildReference": ChildReference,
"ChildReferenceDetail": ChildReferenceDetail,
@@ -485,9 +515,11 @@
"CreateDataFlowValidationDetails": CreateDataFlowValidationDetails,
"CreateEntityShapeDetails": CreateEntityShapeDetails,
"CreateEntityShapeFromFile": CreateEntityShapeFromFile,
+ "CreateEntityShapeFromSQL": CreateEntityShapeFromSQL,
"CreateExternalPublicationDetails": CreateExternalPublicationDetails,
"CreateExternalPublicationValidationDetails": CreateExternalPublicationValidationDetails,
"CreateFolderDetails": CreateFolderDetails,
+ "CreateFunctionLibraryDetails": CreateFunctionLibraryDetails,
"CreatePatchDetails": CreatePatchDetails,
"CreatePipelineDetails": CreatePipelineDetails,
"CreatePipelineValidationDetails": CreatePipelineValidationDetails,
@@ -507,8 +539,11 @@
"CreateTaskValidationFromDataLoaderTask": CreateTaskValidationFromDataLoaderTask,
"CreateTaskValidationFromIntegrationTask": CreateTaskValidationFromIntegrationTask,
"CreateTaskValidationFromPipelineTask": CreateTaskValidationFromPipelineTask,
+ "CreateUserDefinedFunctionDetails": CreateUserDefinedFunctionDetails,
+ "CreateUserDefinedFunctionValidationDetails": CreateUserDefinedFunctionValidationDetails,
"CreateWorkspaceDetails": CreateWorkspaceDetails,
"CsvFormatAttribute": CsvFormatAttribute,
+ "CustomFrequencyDetails": CustomFrequencyDetails,
"DailyFrequencyDetails": DailyFrequencyDetails,
"DataAsset": DataAsset,
"DataAssetFromAdwcDetails": DataAssetFromAdwcDetails,
@@ -535,6 +570,8 @@
"DataEntityFromDataStoreEntityDetails": DataEntityFromDataStoreEntityDetails,
"DataEntityFromFile": DataEntityFromFile,
"DataEntityFromFileEntityDetails": DataEntityFromFileEntityDetails,
+ "DataEntityFromSql": DataEntityFromSql,
+ "DataEntityFromSqlEntityDetails": DataEntityFromSqlEntityDetails,
"DataEntityFromTable": DataEntityFromTable,
"DataEntityFromTableEntityDetails": DataEntityFromTableEntityDetails,
"DataEntityFromView": DataEntityFromView,
@@ -543,6 +580,7 @@
"DataEntitySummaryCollection": DataEntitySummaryCollection,
"DataEntitySummaryFromDataStore": DataEntitySummaryFromDataStore,
"DataEntitySummaryFromFile": DataEntitySummaryFromFile,
+ "DataEntitySummaryFromSql": DataEntitySummaryFromSql,
"DataEntitySummaryFromTable": DataEntitySummaryFromTable,
"DataEntitySummaryFromView": DataEntitySummaryFromView,
"DataFlow": DataFlow,
@@ -571,7 +609,9 @@
"EnrichedEntity": EnrichedEntity,
"EntityShape": EntityShape,
"EntityShapeFromFile": EntityShapeFromFile,
+ "EntityShapeFromSQL": EntityShapeFromSQL,
"ErrorDetails": ErrorDetails,
+ "ExecuteRestCallConfig": ExecuteRestCallConfig,
"Expression": Expression,
"ExpressionOperator": ExpressionOperator,
"ExternalPublication": ExternalPublication,
@@ -592,6 +632,11 @@
"FolderSummary": FolderSummary,
"FolderSummaryCollection": FolderSummaryCollection,
"ForeignKey": ForeignKey,
+ "FunctionLibrary": FunctionLibrary,
+ "FunctionLibraryDetails": FunctionLibraryDetails,
+ "FunctionLibrarySummary": FunctionLibrarySummary,
+ "FunctionLibrarySummaryCollection": FunctionLibrarySummaryCollection,
+ "FunctionSignature": FunctionSignature,
"HourlyFrequencyDetails": HourlyFrequencyDetails,
"InputField": InputField,
"InputLink": InputLink,
@@ -612,6 +657,7 @@
"Message": Message,
"Minus": Minus,
"MonthlyFrequencyDetails": MonthlyFrequencyDetails,
+ "MonthlyRuleFrequencyDetails": MonthlyRuleFrequencyDetails,
"NameListRule": NameListRule,
"NamePatternRule": NamePatternRule,
"NativeShapeField": NativeShapeField,
@@ -675,6 +721,7 @@
"RegistryMetadata": RegistryMetadata,
"RenameRule": RenameRule,
"ResourceConfiguration": ResourceConfiguration,
+ "RestCallConfig": RestCallConfig,
"RootObject": RootObject,
"RuleBasedFieldMap": RuleBasedFieldMap,
"RuleTypeConfig": RuleTypeConfig,
@@ -736,6 +783,7 @@
"TypedObject": TypedObject,
"UIProperties": UIProperties,
"Union": Union,
+ "UniqueDataKey": UniqueDataKey,
"UniqueKey": UniqueKey,
"UpdateApplicationDetails": UpdateApplicationDetails,
"UpdateConnectionDetails": UpdateConnectionDetails,
@@ -759,6 +807,7 @@
"UpdateDataFlowDetails": UpdateDataFlowDetails,
"UpdateExternalPublicationDetails": UpdateExternalPublicationDetails,
"UpdateFolderDetails": UpdateFolderDetails,
+ "UpdateFunctionLibraryDetails": UpdateFunctionLibraryDetails,
"UpdatePipelineDetails": UpdatePipelineDetails,
"UpdateProjectDetails": UpdateProjectDetails,
"UpdateReferenceDetails": UpdateReferenceDetails,
@@ -772,9 +821,18 @@
"UpdateTaskFromSQLTask": UpdateTaskFromSQLTask,
"UpdateTaskRunDetails": UpdateTaskRunDetails,
"UpdateTaskScheduleDetails": UpdateTaskScheduleDetails,
+ "UpdateUserDefinedFunctionDetails": UpdateUserDefinedFunctionDetails,
"UpdateWorkspaceDetails": UpdateWorkspaceDetails,
+ "UserDefinedFunction": UserDefinedFunction,
+ "UserDefinedFunctionDetails": UserDefinedFunctionDetails,
+ "UserDefinedFunctionSummary": UserDefinedFunctionSummary,
+ "UserDefinedFunctionSummaryCollection": UserDefinedFunctionSummaryCollection,
+ "UserDefinedFunctionValidation": UserDefinedFunctionValidation,
+ "UserDefinedFunctionValidationSummary": UserDefinedFunctionValidationSummary,
+ "UserDefinedFunctionValidationSummaryCollection": UserDefinedFunctionValidationSummaryCollection,
"ValidationMessage": ValidationMessage,
"Variable": Variable,
+ "WeeklyFrequencyDetails": WeeklyFrequencyDetails,
"WorkRequest": WorkRequest,
"WorkRequestError": WorkRequestError,
"WorkRequestLogEntry": WorkRequestLogEntry,
diff --git a/src/oci/data_integration/models/abstract_frequency_details.py b/src/oci/data_integration/models/abstract_frequency_details.py
index 306794f5c6..2813d0ea47 100644
--- a/src/oci/data_integration/models/abstract_frequency_details.py
+++ b/src/oci/data_integration/models/abstract_frequency_details.py
@@ -25,6 +25,18 @@ class AbstractFrequencyDetails(object):
#: This constant has a value of "MONTHLY"
MODEL_TYPE_MONTHLY = "MONTHLY"
+ #: A constant which can be used with the model_type property of a AbstractFrequencyDetails.
+ #: This constant has a value of "WEEKLY"
+ MODEL_TYPE_WEEKLY = "WEEKLY"
+
+ #: A constant which can be used with the model_type property of a AbstractFrequencyDetails.
+ #: This constant has a value of "MONTHLY_RULE"
+ MODEL_TYPE_MONTHLY_RULE = "MONTHLY_RULE"
+
+ #: A constant which can be used with the model_type property of a AbstractFrequencyDetails.
+ #: This constant has a value of "CUSTOM"
+ MODEL_TYPE_CUSTOM = "CUSTOM"
+
#: A constant which can be used with the frequency property of a AbstractFrequencyDetails.
#: This constant has a value of "HOURLY"
FREQUENCY_HOURLY = "HOURLY"
@@ -37,26 +49,37 @@ class AbstractFrequencyDetails(object):
#: This constant has a value of "MONTHLY"
FREQUENCY_MONTHLY = "MONTHLY"
+ #: A constant which can be used with the frequency property of a AbstractFrequencyDetails.
+ #: This constant has a value of "WEEKLY"
+ FREQUENCY_WEEKLY = "WEEKLY"
+
+ #: A constant which can be used with the frequency property of a AbstractFrequencyDetails.
+ #: This constant has a value of "CUSTOM"
+ FREQUENCY_CUSTOM = "CUSTOM"
+
def __init__(self, **kwargs):
"""
Initializes a new AbstractFrequencyDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
to a service operations then you should favor using a subclass over the base class:
* :class:`~oci.data_integration.models.MonthlyFrequencyDetails`
+ * :class:`~oci.data_integration.models.CustomFrequencyDetails`
* :class:`~oci.data_integration.models.DailyFrequencyDetails`
+ * :class:`~oci.data_integration.models.WeeklyFrequencyDetails`
+ * :class:`~oci.data_integration.models.MonthlyRuleFrequencyDetails`
* :class:`~oci.data_integration.models.HourlyFrequencyDetails`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param model_type:
The value to assign to the model_type property of this AbstractFrequencyDetails.
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
:param frequency:
The value to assign to the frequency property of this AbstractFrequencyDetails.
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type frequency: str
@@ -85,9 +108,18 @@ def get_subtype(object_dictionary):
if type == 'MONTHLY':
return 'MonthlyFrequencyDetails'
+ if type == 'CUSTOM':
+ return 'CustomFrequencyDetails'
+
if type == 'DAILY':
return 'DailyFrequencyDetails'
+ if type == 'WEEKLY':
+ return 'WeeklyFrequencyDetails'
+
+ if type == 'MONTHLY_RULE':
+ return 'MonthlyRuleFrequencyDetails'
+
if type == 'HOURLY':
return 'HourlyFrequencyDetails'
else:
@@ -99,7 +131,7 @@ def model_type(self):
**[Required]** Gets the model_type of this AbstractFrequencyDetails.
The type of the model
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -118,7 +150,7 @@ def model_type(self, model_type):
:param model_type: The model_type of this AbstractFrequencyDetails.
:type: str
"""
- allowed_values = ["HOURLY", "DAILY", "MONTHLY"]
+ allowed_values = ["HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM"]
if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
model_type = 'UNKNOWN_ENUM_VALUE'
self._model_type = model_type
@@ -129,7 +161,7 @@ def frequency(self):
Gets the frequency of this AbstractFrequencyDetails.
the frequency of the schedule.
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -148,7 +180,7 @@ def frequency(self, frequency):
:param frequency: The frequency of this AbstractFrequencyDetails.
:type: str
"""
- allowed_values = ["HOURLY", "DAILY", "MONTHLY"]
+ allowed_values = ["HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM"]
if not value_allowed_none_or_none_sentinel(frequency, allowed_values):
frequency = 'UNKNOWN_ENUM_VALUE'
self._frequency = frequency
diff --git a/src/oci/data_integration/models/bicc_read_attributes.py b/src/oci/data_integration/models/bicc_read_attributes.py
index 9097865273..1922741b9c 100644
--- a/src/oci/data_integration/models/bicc_read_attributes.py
+++ b/src/oci/data_integration/models/bicc_read_attributes.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class BiccReadAttributes(AbstractReadAttribute):
"""
- Properties to configure reading from an Oracle Database.
+ Properties to configure reading from BICC.
"""
#: A constant which can be used with the extract_strategy property of a BiccReadAttributes.
diff --git a/src/oci/data_integration/models/cancel_rest_call_config.py b/src/oci/data_integration/models/cancel_rest_call_config.py
new file mode 100644
index 0000000000..663c451b42
--- /dev/null
+++ b/src/oci/data_integration/models/cancel_rest_call_config.py
@@ -0,0 +1,157 @@
+# 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 CancelRestCallConfig(object):
+ """
+ The REST API configuration for cancelling the task.
+ """
+
+ #: A constant which can be used with the method_type property of a CancelRestCallConfig.
+ #: This constant has a value of "GET"
+ METHOD_TYPE_GET = "GET"
+
+ #: A constant which can be used with the method_type property of a CancelRestCallConfig.
+ #: This constant has a value of "POST"
+ METHOD_TYPE_POST = "POST"
+
+ #: A constant which can be used with the method_type property of a CancelRestCallConfig.
+ #: This constant has a value of "PATCH"
+ METHOD_TYPE_PATCH = "PATCH"
+
+ #: A constant which can be used with the method_type property of a CancelRestCallConfig.
+ #: This constant has a value of "DELETE"
+ METHOD_TYPE_DELETE = "DELETE"
+
+ #: A constant which can be used with the method_type property of a CancelRestCallConfig.
+ #: This constant has a value of "PUT"
+ METHOD_TYPE_PUT = "PUT"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CancelRestCallConfig object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param method_type:
+ The value to assign to the method_type property of this CancelRestCallConfig.
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
+ :type method_type: str
+
+ :param request_headers:
+ The value to assign to the request_headers property of this CancelRestCallConfig.
+ :type request_headers: dict(str, str)
+
+ :param config_values:
+ The value to assign to the config_values property of this CancelRestCallConfig.
+ :type config_values: oci.data_integration.models.ConfigValues
+
+ """
+ self.swagger_types = {
+ 'method_type': 'str',
+ 'request_headers': 'dict(str, str)',
+ 'config_values': 'ConfigValues'
+ }
+
+ self.attribute_map = {
+ 'method_type': 'methodType',
+ 'request_headers': 'requestHeaders',
+ 'config_values': 'configValues'
+ }
+
+ self._method_type = None
+ self._request_headers = None
+ self._config_values = None
+
+ @property
+ def method_type(self):
+ """
+ Gets the method_type of this CancelRestCallConfig.
+ The REST method to use.
+
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
+
+
+ :return: The method_type of this CancelRestCallConfig.
+ :rtype: str
+ """
+ return self._method_type
+
+ @method_type.setter
+ def method_type(self, method_type):
+ """
+ Sets the method_type of this CancelRestCallConfig.
+ The REST method to use.
+
+
+ :param method_type: The method_type of this CancelRestCallConfig.
+ :type: str
+ """
+ allowed_values = ["GET", "POST", "PATCH", "DELETE", "PUT"]
+ if not value_allowed_none_or_none_sentinel(method_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `method_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._method_type = method_type
+
+ @property
+ def request_headers(self):
+ """
+ Gets the request_headers of this CancelRestCallConfig.
+ The headers for the REST call.
+
+
+ :return: The request_headers of this CancelRestCallConfig.
+ :rtype: dict(str, str)
+ """
+ return self._request_headers
+
+ @request_headers.setter
+ def request_headers(self, request_headers):
+ """
+ Sets the request_headers of this CancelRestCallConfig.
+ The headers for the REST call.
+
+
+ :param request_headers: The request_headers of this CancelRestCallConfig.
+ :type: dict(str, str)
+ """
+ self._request_headers = request_headers
+
+ @property
+ def config_values(self):
+ """
+ Gets the config_values of this CancelRestCallConfig.
+
+ :return: The config_values of this CancelRestCallConfig.
+ :rtype: oci.data_integration.models.ConfigValues
+ """
+ return self._config_values
+
+ @config_values.setter
+ def config_values(self, config_values):
+ """
+ Sets the config_values of this CancelRestCallConfig.
+
+ :param config_values: The config_values of this CancelRestCallConfig.
+ :type: oci.data_integration.models.ConfigValues
+ """
+ self._config_values = config_values
+
+ 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/data_integration/models/configured_type.py b/src/oci/data_integration/models/configured_type.py
index 011e223446..f648d07c0d 100644
--- a/src/oci/data_integration/models/configured_type.py
+++ b/src/oci/data_integration/models/configured_type.py
@@ -21,7 +21,8 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this ConfiguredType.
- Allowed values for this property are: "DYNAMIC_TYPE", "STRUCTURED_TYPE", "DATA_TYPE", "JAVA_TYPE", "CONFIGURED_TYPE", "COMPOSITE_TYPE", "DERIVED_TYPE"
+ Allowed values for this property are: "DYNAMIC_TYPE", "STRUCTURED_TYPE", "DATA_TYPE", "JAVA_TYPE", "CONFIGURED_TYPE", "COMPOSITE_TYPE", "DERIVED_TYPE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
:param key:
diff --git a/src/oci/data_integration/models/connection_from_adwc.py b/src/oci/data_integration/models/connection_from_adwc.py
index b091cc3fac..8e56c66779 100644
--- a/src/oci/data_integration/models/connection_from_adwc.py
+++ b/src/oci/data_integration/models/connection_from_adwc.py
@@ -76,6 +76,14 @@ def __init__(self, **kwargs):
The value to assign to the key_map property of this ConnectionFromAdwc.
:type key_map: dict(str, str)
+ :param tns_alias:
+ The value to assign to the tns_alias property of this ConnectionFromAdwc.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this ConnectionFromAdwc.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this ConnectionFromAdwc.
:type username: str
@@ -104,6 +112,8 @@ def __init__(self, **kwargs):
'is_default': 'bool',
'metadata': 'ObjectMetadata',
'key_map': 'dict(str, str)',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -124,6 +134,8 @@ def __init__(self, **kwargs):
'is_default': 'isDefault',
'metadata': 'metadata',
'key_map': 'keyMap',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -143,11 +155,61 @@ def __init__(self, **kwargs):
self._is_default = None
self._metadata = None
self._key_map = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ADWC_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this ConnectionFromAdwc.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :return: The tns_alias of this ConnectionFromAdwc.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this ConnectionFromAdwc.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :param tns_alias: The tns_alias of this ConnectionFromAdwc.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this ConnectionFromAdwc.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this ConnectionFromAdwc.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this ConnectionFromAdwc.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this ConnectionFromAdwc.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/connection_from_adwc_details.py b/src/oci/data_integration/models/connection_from_adwc_details.py
index 878aa5e9fe..dbeb183f78 100644
--- a/src/oci/data_integration/models/connection_from_adwc_details.py
+++ b/src/oci/data_integration/models/connection_from_adwc_details.py
@@ -72,6 +72,14 @@ def __init__(self, **kwargs):
The value to assign to the metadata property of this ConnectionFromAdwcDetails.
:type metadata: oci.data_integration.models.ObjectMetadata
+ :param tns_alias:
+ The value to assign to the tns_alias property of this ConnectionFromAdwcDetails.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this ConnectionFromAdwcDetails.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this ConnectionFromAdwcDetails.
:type username: str
@@ -99,6 +107,8 @@ def __init__(self, **kwargs):
'connection_properties': 'list[ConnectionProperty]',
'is_default': 'bool',
'metadata': 'ObjectMetadata',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -118,6 +128,8 @@ def __init__(self, **kwargs):
'connection_properties': 'connectionProperties',
'is_default': 'isDefault',
'metadata': 'metadata',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -136,11 +148,61 @@ def __init__(self, **kwargs):
self._connection_properties = None
self._is_default = None
self._metadata = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ADWC_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this ConnectionFromAdwcDetails.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :return: The tns_alias of this ConnectionFromAdwcDetails.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this ConnectionFromAdwcDetails.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :param tns_alias: The tns_alias of this ConnectionFromAdwcDetails.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this ConnectionFromAdwcDetails.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this ConnectionFromAdwcDetails.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this ConnectionFromAdwcDetails.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this ConnectionFromAdwcDetails.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/connection_from_atp.py b/src/oci/data_integration/models/connection_from_atp.py
index ad16d5f5ac..df8ce765db 100644
--- a/src/oci/data_integration/models/connection_from_atp.py
+++ b/src/oci/data_integration/models/connection_from_atp.py
@@ -76,6 +76,14 @@ def __init__(self, **kwargs):
The value to assign to the key_map property of this ConnectionFromAtp.
:type key_map: dict(str, str)
+ :param tns_alias:
+ The value to assign to the tns_alias property of this ConnectionFromAtp.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this ConnectionFromAtp.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this ConnectionFromAtp.
:type username: str
@@ -104,6 +112,8 @@ def __init__(self, **kwargs):
'is_default': 'bool',
'metadata': 'ObjectMetadata',
'key_map': 'dict(str, str)',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -124,6 +134,8 @@ def __init__(self, **kwargs):
'is_default': 'isDefault',
'metadata': 'metadata',
'key_map': 'keyMap',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -143,11 +155,61 @@ def __init__(self, **kwargs):
self._is_default = None
self._metadata = None
self._key_map = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ATP_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this ConnectionFromAtp.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :return: The tns_alias of this ConnectionFromAtp.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this ConnectionFromAtp.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :param tns_alias: The tns_alias of this ConnectionFromAtp.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this ConnectionFromAtp.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this ConnectionFromAtp.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this ConnectionFromAtp.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this ConnectionFromAtp.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/connection_from_atp_details.py b/src/oci/data_integration/models/connection_from_atp_details.py
index 8b3ec51fd2..168094c62d 100644
--- a/src/oci/data_integration/models/connection_from_atp_details.py
+++ b/src/oci/data_integration/models/connection_from_atp_details.py
@@ -72,6 +72,14 @@ def __init__(self, **kwargs):
The value to assign to the metadata property of this ConnectionFromAtpDetails.
:type metadata: oci.data_integration.models.ObjectMetadata
+ :param tns_alias:
+ The value to assign to the tns_alias property of this ConnectionFromAtpDetails.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this ConnectionFromAtpDetails.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this ConnectionFromAtpDetails.
:type username: str
@@ -99,6 +107,8 @@ def __init__(self, **kwargs):
'connection_properties': 'list[ConnectionProperty]',
'is_default': 'bool',
'metadata': 'ObjectMetadata',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -118,6 +128,8 @@ def __init__(self, **kwargs):
'connection_properties': 'connectionProperties',
'is_default': 'isDefault',
'metadata': 'metadata',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -136,11 +148,61 @@ def __init__(self, **kwargs):
self._connection_properties = None
self._is_default = None
self._metadata = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ATP_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this ConnectionFromAtpDetails.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :return: The tns_alias of this ConnectionFromAtpDetails.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this ConnectionFromAtpDetails.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :param tns_alias: The tns_alias of this ConnectionFromAtpDetails.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this ConnectionFromAtpDetails.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this ConnectionFromAtpDetails.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this ConnectionFromAtpDetails.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this ConnectionFromAtpDetails.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/connection_from_bicc.py b/src/oci/data_integration/models/connection_from_bicc.py
index 18321eaa6d..e911d564cf 100644
--- a/src/oci/data_integration/models/connection_from_bicc.py
+++ b/src/oci/data_integration/models/connection_from_bicc.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class ConnectionFromBICC(Connection):
"""
- The connection details for an Oracle Database data asset.
+ The connection details for a FUSION_APP BICC Connection.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/data_integration/models/connection_from_bicc_details.py b/src/oci/data_integration/models/connection_from_bicc_details.py
index 52de5fa10f..0b0cc778ae 100644
--- a/src/oci/data_integration/models/connection_from_bicc_details.py
+++ b/src/oci/data_integration/models/connection_from_bicc_details.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class ConnectionFromBICCDetails(ConnectionDetails):
"""
- The connection details for an Oracle Database data asset.
+ The connection details for a FUSION_APP BICC connection.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/data_integration/models/connection_summary_from_adwc.py b/src/oci/data_integration/models/connection_summary_from_adwc.py
index 1b45189fa5..1056fd88f6 100644
--- a/src/oci/data_integration/models/connection_summary_from_adwc.py
+++ b/src/oci/data_integration/models/connection_summary_from_adwc.py
@@ -76,6 +76,14 @@ def __init__(self, **kwargs):
The value to assign to the key_map property of this ConnectionSummaryFromAdwc.
:type key_map: dict(str, str)
+ :param tns_alias:
+ The value to assign to the tns_alias property of this ConnectionSummaryFromAdwc.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this ConnectionSummaryFromAdwc.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this ConnectionSummaryFromAdwc.
:type username: str
@@ -104,6 +112,8 @@ def __init__(self, **kwargs):
'is_default': 'bool',
'metadata': 'ObjectMetadata',
'key_map': 'dict(str, str)',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -124,6 +134,8 @@ def __init__(self, **kwargs):
'is_default': 'isDefault',
'metadata': 'metadata',
'key_map': 'keyMap',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -143,11 +155,61 @@ def __init__(self, **kwargs):
self._is_default = None
self._metadata = None
self._key_map = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ADWC_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this ConnectionSummaryFromAdwc.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :return: The tns_alias of this ConnectionSummaryFromAdwc.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this ConnectionSummaryFromAdwc.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :param tns_alias: The tns_alias of this ConnectionSummaryFromAdwc.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this ConnectionSummaryFromAdwc.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this ConnectionSummaryFromAdwc.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this ConnectionSummaryFromAdwc.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this ConnectionSummaryFromAdwc.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/connection_summary_from_atp.py b/src/oci/data_integration/models/connection_summary_from_atp.py
index 56a8562f4d..737c88f90e 100644
--- a/src/oci/data_integration/models/connection_summary_from_atp.py
+++ b/src/oci/data_integration/models/connection_summary_from_atp.py
@@ -76,6 +76,14 @@ def __init__(self, **kwargs):
The value to assign to the key_map property of this ConnectionSummaryFromAtp.
:type key_map: dict(str, str)
+ :param tns_alias:
+ The value to assign to the tns_alias property of this ConnectionSummaryFromAtp.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this ConnectionSummaryFromAtp.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this ConnectionSummaryFromAtp.
:type username: str
@@ -104,6 +112,8 @@ def __init__(self, **kwargs):
'is_default': 'bool',
'metadata': 'ObjectMetadata',
'key_map': 'dict(str, str)',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -124,6 +134,8 @@ def __init__(self, **kwargs):
'is_default': 'isDefault',
'metadata': 'metadata',
'key_map': 'keyMap',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -143,11 +155,61 @@ def __init__(self, **kwargs):
self._is_default = None
self._metadata = None
self._key_map = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ATP_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this ConnectionSummaryFromAtp.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :return: The tns_alias of this ConnectionSummaryFromAtp.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this ConnectionSummaryFromAtp.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :param tns_alias: The tns_alias of this ConnectionSummaryFromAtp.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this ConnectionSummaryFromAtp.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this ConnectionSummaryFromAtp.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this ConnectionSummaryFromAtp.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this ConnectionSummaryFromAtp.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/connection_summary_from_bicc.py b/src/oci/data_integration/models/connection_summary_from_bicc.py
index 6449423728..8383c37300 100644
--- a/src/oci/data_integration/models/connection_summary_from_bicc.py
+++ b/src/oci/data_integration/models/connection_summary_from_bicc.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class ConnectionSummaryFromBICC(ConnectionSummary):
"""
- The connection summary details for an Oracle Database data asset.
+ The connection summary details for a FUSION_APP BICC connection.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/data_integration/models/count_statistic_summary.py b/src/oci/data_integration/models/count_statistic_summary.py
index 18fc86c0bc..8c36b7c8e1 100644
--- a/src/oci/data_integration/models/count_statistic_summary.py
+++ b/src/oci/data_integration/models/count_statistic_summary.py
@@ -41,6 +41,14 @@ class CountStatisticSummary(object):
#: This constant has a value of "APPLICATION"
OBJECT_TYPE_APPLICATION = "APPLICATION"
+ #: A constant which can be used with the object_type property of a CountStatisticSummary.
+ #: This constant has a value of "FUNCTION_LIBRARY"
+ OBJECT_TYPE_FUNCTION_LIBRARY = "FUNCTION_LIBRARY"
+
+ #: A constant which can be used with the object_type property of a CountStatisticSummary.
+ #: This constant has a value of "USER_DEFINED_FUNCTION"
+ OBJECT_TYPE_USER_DEFINED_FUNCTION = "USER_DEFINED_FUNCTION"
+
def __init__(self, **kwargs):
"""
Initializes a new CountStatisticSummary object with values from keyword arguments.
@@ -48,7 +56,7 @@ def __init__(self, **kwargs):
:param object_type:
The value to assign to the object_type property of this CountStatisticSummary.
- Allowed values for this property are: "PROJECT", "FOLDER", "DATA_FLOW", "DATA_ASSET", "CONNECTION", "TASK", "APPLICATION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "PROJECT", "FOLDER", "DATA_FLOW", "DATA_ASSET", "CONNECTION", "TASK", "APPLICATION", "FUNCTION_LIBRARY", "USER_DEFINED_FUNCTION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type object_type: str
@@ -76,7 +84,7 @@ def object_type(self):
Gets the object_type of this CountStatisticSummary.
The type of object for the count statistic object.
- Allowed values for this property are: "PROJECT", "FOLDER", "DATA_FLOW", "DATA_ASSET", "CONNECTION", "TASK", "APPLICATION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "PROJECT", "FOLDER", "DATA_FLOW", "DATA_ASSET", "CONNECTION", "TASK", "APPLICATION", "FUNCTION_LIBRARY", "USER_DEFINED_FUNCTION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -95,7 +103,7 @@ def object_type(self, object_type):
:param object_type: The object_type of this CountStatisticSummary.
:type: str
"""
- allowed_values = ["PROJECT", "FOLDER", "DATA_FLOW", "DATA_ASSET", "CONNECTION", "TASK", "APPLICATION"]
+ allowed_values = ["PROJECT", "FOLDER", "DATA_FLOW", "DATA_ASSET", "CONNECTION", "TASK", "APPLICATION", "FUNCTION_LIBRARY", "USER_DEFINED_FUNCTION"]
if not value_allowed_none_or_none_sentinel(object_type, allowed_values):
object_type = 'UNKNOWN_ENUM_VALUE'
self._object_type = object_type
diff --git a/src/oci/data_integration/models/create_connection_from_adwc.py b/src/oci/data_integration/models/create_connection_from_adwc.py
index ebd53e1d13..33a6c24184 100644
--- a/src/oci/data_integration/models/create_connection_from_adwc.py
+++ b/src/oci/data_integration/models/create_connection_from_adwc.py
@@ -60,6 +60,14 @@ def __init__(self, **kwargs):
The value to assign to the registry_metadata property of this CreateConnectionFromAdwc.
:type registry_metadata: oci.data_integration.models.RegistryMetadata
+ :param tns_alias:
+ The value to assign to the tns_alias property of this CreateConnectionFromAdwc.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this CreateConnectionFromAdwc.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this CreateConnectionFromAdwc.
:type username: str
@@ -84,6 +92,8 @@ def __init__(self, **kwargs):
'identifier': 'str',
'connection_properties': 'list[ConnectionProperty]',
'registry_metadata': 'RegistryMetadata',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -100,6 +110,8 @@ def __init__(self, **kwargs):
'identifier': 'identifier',
'connection_properties': 'connectionProperties',
'registry_metadata': 'registryMetadata',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -115,11 +127,61 @@ def __init__(self, **kwargs):
self._identifier = None
self._connection_properties = None
self._registry_metadata = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ADWC_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this CreateConnectionFromAdwc.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :return: The tns_alias of this CreateConnectionFromAdwc.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this CreateConnectionFromAdwc.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :param tns_alias: The tns_alias of this CreateConnectionFromAdwc.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this CreateConnectionFromAdwc.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this CreateConnectionFromAdwc.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this CreateConnectionFromAdwc.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this CreateConnectionFromAdwc.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/create_connection_from_atp.py b/src/oci/data_integration/models/create_connection_from_atp.py
index f838f23769..df37d18d18 100644
--- a/src/oci/data_integration/models/create_connection_from_atp.py
+++ b/src/oci/data_integration/models/create_connection_from_atp.py
@@ -60,6 +60,14 @@ def __init__(self, **kwargs):
The value to assign to the registry_metadata property of this CreateConnectionFromAtp.
:type registry_metadata: oci.data_integration.models.RegistryMetadata
+ :param tns_alias:
+ The value to assign to the tns_alias property of this CreateConnectionFromAtp.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this CreateConnectionFromAtp.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this CreateConnectionFromAtp.
:type username: str
@@ -84,6 +92,8 @@ def __init__(self, **kwargs):
'identifier': 'str',
'connection_properties': 'list[ConnectionProperty]',
'registry_metadata': 'RegistryMetadata',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -100,6 +110,8 @@ def __init__(self, **kwargs):
'identifier': 'identifier',
'connection_properties': 'connectionProperties',
'registry_metadata': 'registryMetadata',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -115,11 +127,61 @@ def __init__(self, **kwargs):
self._identifier = None
self._connection_properties = None
self._registry_metadata = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ATP_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this CreateConnectionFromAtp.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :return: The tns_alias of this CreateConnectionFromAtp.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this CreateConnectionFromAtp.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :param tns_alias: The tns_alias of this CreateConnectionFromAtp.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this CreateConnectionFromAtp.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this CreateConnectionFromAtp.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this CreateConnectionFromAtp.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this CreateConnectionFromAtp.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/create_connection_from_bicc.py b/src/oci/data_integration/models/create_connection_from_bicc.py
index 388aaa69a3..0961c5668e 100644
--- a/src/oci/data_integration/models/create_connection_from_bicc.py
+++ b/src/oci/data_integration/models/create_connection_from_bicc.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class CreateConnectionFromBICC(CreateConnectionDetails):
"""
- The details to create an Oracle Database data asset connection.
+ The connection summary details for a FUSION_APP BICC connection.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/data_integration/models/create_data_asset_from_fusion_app.py b/src/oci/data_integration/models/create_data_asset_from_fusion_app.py
index af4a01d997..bbd994ef2d 100644
--- a/src/oci/data_integration/models/create_data_asset_from_fusion_app.py
+++ b/src/oci/data_integration/models/create_data_asset_from_fusion_app.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class CreateDataAssetFromFusionApp(CreateDataAssetDetails):
"""
- Details for the MYSQL data asset type.
+ Details for the FUSION_APP data asset type.
"""
def __init__(self, **kwargs):
@@ -117,7 +117,7 @@ def __init__(self, **kwargs):
def service_url(self):
"""
Gets the service_url of this CreateDataAssetFromFusionApp.
- The service url of the Bi Server.
+ The generic JDBC host name.
:return: The service_url of this CreateDataAssetFromFusionApp.
@@ -129,7 +129,7 @@ def service_url(self):
def service_url(self, service_url):
"""
Sets the service_url of this CreateDataAssetFromFusionApp.
- The service url of the Bi Server.
+ The generic JDBC host name.
:param service_url: The service_url of this CreateDataAssetFromFusionApp.
diff --git a/src/oci/data_integration/models/create_data_asset_from_object_storage.py b/src/oci/data_integration/models/create_data_asset_from_object_storage.py
index e17a236bb0..c371f88159 100644
--- a/src/oci/data_integration/models/create_data_asset_from_object_storage.py
+++ b/src/oci/data_integration/models/create_data_asset_from_object_storage.py
@@ -60,6 +60,10 @@ def __init__(self, **kwargs):
The value to assign to the registry_metadata property of this CreateDataAssetFromObjectStorage.
:type registry_metadata: oci.data_integration.models.RegistryMetadata
+ :param oci_region:
+ The value to assign to the oci_region property of this CreateDataAssetFromObjectStorage.
+ :type oci_region: str
+
:param url:
The value to assign to the url property of this CreateDataAssetFromObjectStorage.
:type url: str
@@ -88,6 +92,7 @@ def __init__(self, **kwargs):
'external_key': 'str',
'asset_properties': 'dict(str, str)',
'registry_metadata': 'RegistryMetadata',
+ 'oci_region': 'str',
'url': 'str',
'tenancy_id': 'str',
'namespace': 'str',
@@ -105,6 +110,7 @@ def __init__(self, **kwargs):
'external_key': 'externalKey',
'asset_properties': 'assetProperties',
'registry_metadata': 'registryMetadata',
+ 'oci_region': 'ociRegion',
'url': 'url',
'tenancy_id': 'tenancyId',
'namespace': 'namespace',
@@ -121,12 +127,37 @@ def __init__(self, **kwargs):
self._external_key = None
self._asset_properties = None
self._registry_metadata = None
+ self._oci_region = None
self._url = None
self._tenancy_id = None
self._namespace = None
self._default_connection = None
self._model_type = 'ORACLE_OBJECT_STORAGE_DATA_ASSET'
+ @property
+ def oci_region(self):
+ """
+ Gets the oci_region of this CreateDataAssetFromObjectStorage.
+ The Oracle Object storage Region ie. us-ashburn-1
+
+
+ :return: The oci_region of this CreateDataAssetFromObjectStorage.
+ :rtype: str
+ """
+ return self._oci_region
+
+ @oci_region.setter
+ def oci_region(self, oci_region):
+ """
+ Sets the oci_region of this CreateDataAssetFromObjectStorage.
+ The Oracle Object storage Region ie. us-ashburn-1
+
+
+ :param oci_region: The oci_region of this CreateDataAssetFromObjectStorage.
+ :type: str
+ """
+ self._oci_region = oci_region
+
@property
def url(self):
"""
diff --git a/src/oci/data_integration/models/create_entity_shape_details.py b/src/oci/data_integration/models/create_entity_shape_details.py
index 318f19226a..5281c3ba78 100644
--- a/src/oci/data_integration/models/create_entity_shape_details.py
+++ b/src/oci/data_integration/models/create_entity_shape_details.py
@@ -17,18 +17,23 @@ class CreateEntityShapeDetails(object):
#: This constant has a value of "FILE_ENTITY"
MODEL_TYPE_FILE_ENTITY = "FILE_ENTITY"
+ #: A constant which can be used with the model_type property of a CreateEntityShapeDetails.
+ #: This constant has a value of "SQL_ENTITY"
+ MODEL_TYPE_SQL_ENTITY = "SQL_ENTITY"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateEntityShapeDetails object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
to a service operations then you should favor using a subclass over the base class:
+ * :class:`~oci.data_integration.models.CreateEntityShapeFromSQL`
* :class:`~oci.data_integration.models.CreateEntityShapeFromFile`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param model_type:
The value to assign to the model_type property of this CreateEntityShapeDetails.
- Allowed values for this property are: "FILE_ENTITY"
+ Allowed values for this property are: "FILE_ENTITY", "SQL_ENTITY"
:type model_type: str
"""
@@ -50,6 +55,9 @@ def get_subtype(object_dictionary):
"""
type = object_dictionary['modelType']
+ if type == 'SQL_ENTITY':
+ return 'CreateEntityShapeFromSQL'
+
if type == 'FILE_ENTITY':
return 'CreateEntityShapeFromFile'
else:
@@ -61,7 +69,7 @@ def model_type(self):
**[Required]** Gets the model_type of this CreateEntityShapeDetails.
The data entity type.
- Allowed values for this property are: "FILE_ENTITY"
+ Allowed values for this property are: "FILE_ENTITY", "SQL_ENTITY"
:return: The model_type of this CreateEntityShapeDetails.
@@ -79,7 +87,7 @@ def model_type(self, model_type):
:param model_type: The model_type of this CreateEntityShapeDetails.
:type: str
"""
- allowed_values = ["FILE_ENTITY"]
+ allowed_values = ["FILE_ENTITY", "SQL_ENTITY"]
if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
raise ValueError(
"Invalid value for `model_type`, must be None or one of {0}"
diff --git a/src/oci/data_integration/models/create_entity_shape_from_file.py b/src/oci/data_integration/models/create_entity_shape_from_file.py
index e8e2ad26c3..dca1c54afa 100644
--- a/src/oci/data_integration/models/create_entity_shape_from_file.py
+++ b/src/oci/data_integration/models/create_entity_shape_from_file.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this CreateEntityShapeFromFile.
- Allowed values for this property are: "FILE_ENTITY"
+ Allowed values for this property are: "FILE_ENTITY", "SQL_ENTITY"
:type model_type: str
:param key:
diff --git a/src/oci/data_integration/models/create_entity_shape_from_sql.py b/src/oci/data_integration/models/create_entity_shape_from_sql.py
new file mode 100644
index 0000000000..d4ecc942a9
--- /dev/null
+++ b/src/oci/data_integration/models/create_entity_shape_from_sql.py
@@ -0,0 +1,620 @@
+# 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 .create_entity_shape_details import CreateEntityShapeDetails
+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 CreateEntityShapeFromSQL(CreateEntityShapeDetails):
+ """
+ The SQL entity details.
+ """
+
+ #: A constant which can be used with the entity_type property of a CreateEntityShapeFromSQL.
+ #: This constant has a value of "TABLE"
+ ENTITY_TYPE_TABLE = "TABLE"
+
+ #: A constant which can be used with the entity_type property of a CreateEntityShapeFromSQL.
+ #: This constant has a value of "VIEW"
+ ENTITY_TYPE_VIEW = "VIEW"
+
+ #: A constant which can be used with the entity_type property of a CreateEntityShapeFromSQL.
+ #: This constant has a value of "FILE"
+ ENTITY_TYPE_FILE = "FILE"
+
+ #: A constant which can be used with the entity_type property of a CreateEntityShapeFromSQL.
+ #: This constant has a value of "SQL"
+ ENTITY_TYPE_SQL = "SQL"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateEntityShapeFromSQL object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.CreateEntityShapeFromSQL.model_type` attribute
+ of this class is ``SQL_ENTITY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param model_type:
+ The value to assign to the model_type property of this CreateEntityShapeFromSQL.
+ Allowed values for this property are: "FILE_ENTITY", "SQL_ENTITY"
+ :type model_type: str
+
+ :param key:
+ The value to assign to the key property of this CreateEntityShapeFromSQL.
+ :type key: str
+
+ :param model_version:
+ The value to assign to the model_version property of this CreateEntityShapeFromSQL.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this CreateEntityShapeFromSQL.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this CreateEntityShapeFromSQL.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CreateEntityShapeFromSQL.
+ :type description: str
+
+ :param object_version:
+ The value to assign to the object_version property of this CreateEntityShapeFromSQL.
+ :type object_version: int
+
+ :param external_key:
+ The value to assign to the external_key property of this CreateEntityShapeFromSQL.
+ :type external_key: str
+
+ :param shape:
+ The value to assign to the shape property of this CreateEntityShapeFromSQL.
+ :type shape: oci.data_integration.models.Shape
+
+ :param shape_id:
+ The value to assign to the shape_id property of this CreateEntityShapeFromSQL.
+ :type shape_id: str
+
+ :param entity_type:
+ The value to assign to the entity_type property of this CreateEntityShapeFromSQL.
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL"
+ :type entity_type: str
+
+ :param other_type_label:
+ The value to assign to the other_type_label property of this CreateEntityShapeFromSQL.
+ :type other_type_label: str
+
+ :param unique_keys:
+ The value to assign to the unique_keys property of this CreateEntityShapeFromSQL.
+ :type unique_keys: list[oci.data_integration.models.UniqueKey]
+
+ :param foreign_keys:
+ The value to assign to the foreign_keys property of this CreateEntityShapeFromSQL.
+ :type foreign_keys: list[oci.data_integration.models.ForeignKey]
+
+ :param resource_name:
+ The value to assign to the resource_name property of this CreateEntityShapeFromSQL.
+ :type resource_name: str
+
+ :param data_format:
+ The value to assign to the data_format property of this CreateEntityShapeFromSQL.
+ :type data_format: oci.data_integration.models.DataFormat
+
+ :param object_status:
+ The value to assign to the object_status property of this CreateEntityShapeFromSQL.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this CreateEntityShapeFromSQL.
+ :type identifier: str
+
+ :param sql_query:
+ The value to assign to the sql_query property of this CreateEntityShapeFromSQL.
+ :type sql_query: str
+
+ """
+ self.swagger_types = {
+ 'model_type': 'str',
+ 'key': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'description': 'str',
+ 'object_version': 'int',
+ 'external_key': 'str',
+ 'shape': 'Shape',
+ 'shape_id': 'str',
+ 'entity_type': 'str',
+ 'other_type_label': 'str',
+ 'unique_keys': 'list[UniqueKey]',
+ 'foreign_keys': 'list[ForeignKey]',
+ 'resource_name': 'str',
+ 'data_format': 'DataFormat',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'sql_query': 'str'
+ }
+
+ self.attribute_map = {
+ 'model_type': 'modelType',
+ 'key': 'key',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'description': 'description',
+ 'object_version': 'objectVersion',
+ 'external_key': 'externalKey',
+ 'shape': 'shape',
+ 'shape_id': 'shapeId',
+ 'entity_type': 'entityType',
+ 'other_type_label': 'otherTypeLabel',
+ 'unique_keys': 'uniqueKeys',
+ 'foreign_keys': 'foreignKeys',
+ 'resource_name': 'resourceName',
+ 'data_format': 'dataFormat',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'sql_query': 'sqlQuery'
+ }
+
+ self._model_type = None
+ self._key = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._description = None
+ self._object_version = None
+ self._external_key = None
+ self._shape = None
+ self._shape_id = None
+ self._entity_type = None
+ self._other_type_label = None
+ self._unique_keys = None
+ self._foreign_keys = None
+ self._resource_name = None
+ self._data_format = None
+ self._object_status = None
+ self._identifier = None
+ self._sql_query = None
+ self._model_type = 'SQL_ENTITY'
+
+ @property
+ def key(self):
+ """
+ Gets the key of this CreateEntityShapeFromSQL.
+ The object key.
+
+
+ :return: The key of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this CreateEntityShapeFromSQL.
+ The object key.
+
+
+ :param key: The key of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this CreateEntityShapeFromSQL.
+ The object's model version.
+
+
+ :return: The model_version of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this CreateEntityShapeFromSQL.
+ The object's model version.
+
+
+ :param model_version: The model_version of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this CreateEntityShapeFromSQL.
+
+ :return: The parent_ref of this CreateEntityShapeFromSQL.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this CreateEntityShapeFromSQL.
+
+ :param parent_ref: The parent_ref of this CreateEntityShapeFromSQL.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this CreateEntityShapeFromSQL.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CreateEntityShapeFromSQL.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CreateEntityShapeFromSQL.
+ Detailed description for the object.
+
+
+ :return: The description of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateEntityShapeFromSQL.
+ Detailed description for the object.
+
+
+ :param description: The description of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this CreateEntityShapeFromSQL.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this CreateEntityShapeFromSQL.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this CreateEntityShapeFromSQL.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this CreateEntityShapeFromSQL.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def external_key(self):
+ """
+ Gets the external_key of this CreateEntityShapeFromSQL.
+ The external key for the object.
+
+
+ :return: The external_key of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._external_key
+
+ @external_key.setter
+ def external_key(self, external_key):
+ """
+ Sets the external_key of this CreateEntityShapeFromSQL.
+ The external key for the object.
+
+
+ :param external_key: The external_key of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._external_key = external_key
+
+ @property
+ def shape(self):
+ """
+ Gets the shape of this CreateEntityShapeFromSQL.
+
+ :return: The shape of this CreateEntityShapeFromSQL.
+ :rtype: oci.data_integration.models.Shape
+ """
+ return self._shape
+
+ @shape.setter
+ def shape(self, shape):
+ """
+ Sets the shape of this CreateEntityShapeFromSQL.
+
+ :param shape: The shape of this CreateEntityShapeFromSQL.
+ :type: oci.data_integration.models.Shape
+ """
+ self._shape = shape
+
+ @property
+ def shape_id(self):
+ """
+ Gets the shape_id of this CreateEntityShapeFromSQL.
+ The shape ID.
+
+
+ :return: The shape_id of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._shape_id
+
+ @shape_id.setter
+ def shape_id(self, shape_id):
+ """
+ Sets the shape_id of this CreateEntityShapeFromSQL.
+ The shape ID.
+
+
+ :param shape_id: The shape_id of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._shape_id = shape_id
+
+ @property
+ def entity_type(self):
+ """
+ Gets the entity_type of this CreateEntityShapeFromSQL.
+ The entity type.
+
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL"
+
+
+ :return: The entity_type of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._entity_type
+
+ @entity_type.setter
+ def entity_type(self, entity_type):
+ """
+ Sets the entity_type of this CreateEntityShapeFromSQL.
+ The entity type.
+
+
+ :param entity_type: The entity_type of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ allowed_values = ["TABLE", "VIEW", "FILE", "SQL"]
+ if not value_allowed_none_or_none_sentinel(entity_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `entity_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._entity_type = entity_type
+
+ @property
+ def other_type_label(self):
+ """
+ Gets the other_type_label of this CreateEntityShapeFromSQL.
+ Specifies other type label.
+
+
+ :return: The other_type_label of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._other_type_label
+
+ @other_type_label.setter
+ def other_type_label(self, other_type_label):
+ """
+ Sets the other_type_label of this CreateEntityShapeFromSQL.
+ Specifies other type label.
+
+
+ :param other_type_label: The other_type_label of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._other_type_label = other_type_label
+
+ @property
+ def unique_keys(self):
+ """
+ Gets the unique_keys of this CreateEntityShapeFromSQL.
+ An array of unique keys.
+
+
+ :return: The unique_keys of this CreateEntityShapeFromSQL.
+ :rtype: list[oci.data_integration.models.UniqueKey]
+ """
+ return self._unique_keys
+
+ @unique_keys.setter
+ def unique_keys(self, unique_keys):
+ """
+ Sets the unique_keys of this CreateEntityShapeFromSQL.
+ An array of unique keys.
+
+
+ :param unique_keys: The unique_keys of this CreateEntityShapeFromSQL.
+ :type: list[oci.data_integration.models.UniqueKey]
+ """
+ self._unique_keys = unique_keys
+
+ @property
+ def foreign_keys(self):
+ """
+ Gets the foreign_keys of this CreateEntityShapeFromSQL.
+ An array of foreign keys.
+
+
+ :return: The foreign_keys of this CreateEntityShapeFromSQL.
+ :rtype: list[oci.data_integration.models.ForeignKey]
+ """
+ return self._foreign_keys
+
+ @foreign_keys.setter
+ def foreign_keys(self, foreign_keys):
+ """
+ Sets the foreign_keys of this CreateEntityShapeFromSQL.
+ An array of foreign keys.
+
+
+ :param foreign_keys: The foreign_keys of this CreateEntityShapeFromSQL.
+ :type: list[oci.data_integration.models.ForeignKey]
+ """
+ self._foreign_keys = foreign_keys
+
+ @property
+ def resource_name(self):
+ """
+ Gets the resource_name of this CreateEntityShapeFromSQL.
+ The resource name.
+
+
+ :return: The resource_name of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this CreateEntityShapeFromSQL.
+ The resource name.
+
+
+ :param resource_name: The resource_name of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def data_format(self):
+ """
+ Gets the data_format of this CreateEntityShapeFromSQL.
+
+ :return: The data_format of this CreateEntityShapeFromSQL.
+ :rtype: oci.data_integration.models.DataFormat
+ """
+ return self._data_format
+
+ @data_format.setter
+ def data_format(self, data_format):
+ """
+ Sets the data_format of this CreateEntityShapeFromSQL.
+
+ :param data_format: The data_format of this CreateEntityShapeFromSQL.
+ :type: oci.data_integration.models.DataFormat
+ """
+ self._data_format = data_format
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this CreateEntityShapeFromSQL.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this CreateEntityShapeFromSQL.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this CreateEntityShapeFromSQL.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this CreateEntityShapeFromSQL.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this CreateEntityShapeFromSQL.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this CreateEntityShapeFromSQL.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def sql_query(self):
+ """
+ Gets the sql_query of this CreateEntityShapeFromSQL.
+ sqlQuery
+
+
+ :return: The sql_query of this CreateEntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._sql_query
+
+ @sql_query.setter
+ def sql_query(self, sql_query):
+ """
+ Sets the sql_query of this CreateEntityShapeFromSQL.
+ sqlQuery
+
+
+ :param sql_query: The sql_query of this CreateEntityShapeFromSQL.
+ :type: str
+ """
+ self._sql_query = sql_query
+
+ 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/data_integration/models/create_function_library_details.py b/src/oci/data_integration/models/create_function_library_details.py
new file mode 100644
index 0000000000..7b4ec5cb2f
--- /dev/null
+++ b/src/oci/data_integration/models/create_function_library_details.py
@@ -0,0 +1,283 @@
+# 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 CreateFunctionLibraryDetails(object):
+ """
+ The properties used in FunctionLibrary create operations.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateFunctionLibraryDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this CreateFunctionLibraryDetails.
+ :type key: str
+
+ :param model_version:
+ The value to assign to the model_version property of this CreateFunctionLibraryDetails.
+ :type model_version: str
+
+ :param name:
+ The value to assign to the name property of this CreateFunctionLibraryDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this CreateFunctionLibraryDetails.
+ :type description: str
+
+ :param category_name:
+ The value to assign to the category_name property of this CreateFunctionLibraryDetails.
+ :type category_name: str
+
+ :param object_status:
+ The value to assign to the object_status property of this CreateFunctionLibraryDetails.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this CreateFunctionLibraryDetails.
+ :type identifier: str
+
+ :param registry_metadata:
+ The value to assign to the registry_metadata property of this CreateFunctionLibraryDetails.
+ :type registry_metadata: oci.data_integration.models.RegistryMetadata
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_version': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'category_name': 'str',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'registry_metadata': 'RegistryMetadata'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_version': 'modelVersion',
+ 'name': 'name',
+ 'description': 'description',
+ 'category_name': 'categoryName',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'registry_metadata': 'registryMetadata'
+ }
+
+ self._key = None
+ self._model_version = None
+ self._name = None
+ self._description = None
+ self._category_name = None
+ self._object_status = None
+ self._identifier = None
+ self._registry_metadata = None
+
+ @property
+ def key(self):
+ """
+ Gets the key of this CreateFunctionLibraryDetails.
+ Currently not used on FunctionLibrary creation. Reserved for future.
+
+
+ :return: The key of this CreateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this CreateFunctionLibraryDetails.
+ Currently not used on FunctionLibrary creation. Reserved for future.
+
+
+ :param key: The key of this CreateFunctionLibraryDetails.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this CreateFunctionLibraryDetails.
+ The model version of an object.
+
+
+ :return: The model_version of this CreateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this CreateFunctionLibraryDetails.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this CreateFunctionLibraryDetails.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CreateFunctionLibraryDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this CreateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CreateFunctionLibraryDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this CreateFunctionLibraryDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CreateFunctionLibraryDetails.
+ A user defined description for the FunctionLibrary.
+
+
+ :return: The description of this CreateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateFunctionLibraryDetails.
+ A user defined description for the FunctionLibrary.
+
+
+ :param description: The description of this CreateFunctionLibraryDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def category_name(self):
+ """
+ Gets the category_name of this CreateFunctionLibraryDetails.
+ The category name.
+
+
+ :return: The category_name of this CreateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._category_name
+
+ @category_name.setter
+ def category_name(self, category_name):
+ """
+ Sets the category_name of this CreateFunctionLibraryDetails.
+ The category name.
+
+
+ :param category_name: The category_name of this CreateFunctionLibraryDetails.
+ :type: str
+ """
+ self._category_name = category_name
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this CreateFunctionLibraryDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this CreateFunctionLibraryDetails.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this CreateFunctionLibraryDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this CreateFunctionLibraryDetails.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ **[Required]** Gets the identifier of this CreateFunctionLibraryDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this CreateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this CreateFunctionLibraryDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this CreateFunctionLibraryDetails.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def registry_metadata(self):
+ """
+ **[Required]** Gets the registry_metadata of this CreateFunctionLibraryDetails.
+
+ :return: The registry_metadata of this CreateFunctionLibraryDetails.
+ :rtype: oci.data_integration.models.RegistryMetadata
+ """
+ return self._registry_metadata
+
+ @registry_metadata.setter
+ def registry_metadata(self, registry_metadata):
+ """
+ Sets the registry_metadata of this CreateFunctionLibraryDetails.
+
+ :param registry_metadata: The registry_metadata of this CreateFunctionLibraryDetails.
+ :type: oci.data_integration.models.RegistryMetadata
+ """
+ self._registry_metadata = registry_metadata
+
+ 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/data_integration/models/create_task_from_rest_task.py b/src/oci/data_integration/models/create_task_from_rest_task.py
index 58259f69a8..e8f16acfb1 100644
--- a/src/oci/data_integration/models/create_task_from_rest_task.py
+++ b/src/oci/data_integration/models/create_task_from_rest_task.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class CreateTaskFromRestTask(CreateTaskDetails):
"""
- The information about the Generic REST task.
+ The information about the Generic REST task. The endpoint and cancelEndpoint properties are deprecated, use the properties executeRestCallConfig, cancelRestCallConfig and pollRestCallConfig for execute, cancel and polling of the calls.
"""
#: A constant which can be used with the method_type property of a CreateTaskFromRestTask.
@@ -41,6 +41,10 @@ class CreateTaskFromRestTask(CreateTaskDetails):
#: This constant has a value of "ASYNC_OCI_WORKREQUEST"
API_CALL_MODE_ASYNC_OCI_WORKREQUEST = "ASYNC_OCI_WORKREQUEST"
+ #: A constant which can be used with the api_call_mode property of a CreateTaskFromRestTask.
+ #: This constant has a value of "ASYNC_GENERIC"
+ API_CALL_MODE_ASYNC_GENERIC = "ASYNC_GENERIC"
+
#: A constant which can be used with the cancel_method_type property of a CreateTaskFromRestTask.
#: This constant has a value of "GET"
CANCEL_METHOD_TYPE_GET = "GET"
@@ -147,7 +151,7 @@ def __init__(self, **kwargs):
:param api_call_mode:
The value to assign to the api_call_mode property of this CreateTaskFromRestTask.
- Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"
+ Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC"
:type api_call_mode: str
:param cancel_endpoint:
@@ -159,6 +163,14 @@ def __init__(self, **kwargs):
Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
:type cancel_method_type: str
+ :param execute_rest_call_config:
+ The value to assign to the execute_rest_call_config property of this CreateTaskFromRestTask.
+ :type execute_rest_call_config: oci.data_integration.models.ExecuteRestCallConfig
+
+ :param cancel_rest_call_config:
+ The value to assign to the cancel_rest_call_config property of this CreateTaskFromRestTask.
+ :type cancel_rest_call_config: oci.data_integration.models.CancelRestCallConfig
+
"""
self.swagger_types = {
'model_type': 'str',
@@ -182,7 +194,9 @@ def __init__(self, **kwargs):
'json_data': 'str',
'api_call_mode': 'str',
'cancel_endpoint': 'Expression',
- 'cancel_method_type': 'str'
+ 'cancel_method_type': 'str',
+ 'execute_rest_call_config': 'ExecuteRestCallConfig',
+ 'cancel_rest_call_config': 'CancelRestCallConfig'
}
self.attribute_map = {
@@ -207,7 +221,9 @@ def __init__(self, **kwargs):
'json_data': 'jsonData',
'api_call_mode': 'apiCallMode',
'cancel_endpoint': 'cancelEndpoint',
- 'cancel_method_type': 'cancelMethodType'
+ 'cancel_method_type': 'cancelMethodType',
+ 'execute_rest_call_config': 'executeRestCallConfig',
+ 'cancel_rest_call_config': 'cancelRestCallConfig'
}
self._model_type = None
@@ -232,6 +248,8 @@ def __init__(self, **kwargs):
self._api_call_mode = None
self._cancel_endpoint = None
self._cancel_method_type = None
+ self._execute_rest_call_config = None
+ self._cancel_rest_call_config = None
self._model_type = 'REST_TASK'
@property
@@ -278,7 +296,7 @@ def endpoint(self, endpoint):
def method_type(self):
"""
Gets the method_type of this CreateTaskFromRestTask.
- The REST method to use.
+ The REST method to use. This property is deprecated, use ExecuteRestCallConfig's methodType property instead.
Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
@@ -292,7 +310,7 @@ def method_type(self):
def method_type(self, method_type):
"""
Sets the method_type of this CreateTaskFromRestTask.
- The REST method to use.
+ The REST method to use. This property is deprecated, use ExecuteRestCallConfig's methodType property instead.
:param method_type: The method_type of this CreateTaskFromRestTask.
@@ -310,8 +328,6 @@ def method_type(self, method_type):
def headers(self):
"""
Gets the headers of this CreateTaskFromRestTask.
- The headers for the REST call.
-
:return: The headers of this CreateTaskFromRestTask.
:rtype: object
@@ -322,8 +338,6 @@ def headers(self):
def headers(self, headers):
"""
Sets the headers of this CreateTaskFromRestTask.
- The headers for the REST call.
-
:param headers: The headers of this CreateTaskFromRestTask.
:type: object
@@ -334,7 +348,7 @@ def headers(self, headers):
def json_data(self):
"""
Gets the json_data of this CreateTaskFromRestTask.
- JSON data for payload body.
+ JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig's payload config param instead.
:return: The json_data of this CreateTaskFromRestTask.
@@ -346,7 +360,7 @@ def json_data(self):
def json_data(self, json_data):
"""
Sets the json_data of this CreateTaskFromRestTask.
- JSON data for payload body.
+ JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig's payload config param instead.
:param json_data: The json_data of this CreateTaskFromRestTask.
@@ -358,9 +372,9 @@ def json_data(self, json_data):
def api_call_mode(self):
"""
Gets the api_call_mode of this CreateTaskFromRestTask.
- The invocation type to be used for Generic REST invocation.
+ The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
- Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"
+ Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC"
:return: The api_call_mode of this CreateTaskFromRestTask.
@@ -372,13 +386,13 @@ def api_call_mode(self):
def api_call_mode(self, api_call_mode):
"""
Sets the api_call_mode of this CreateTaskFromRestTask.
- The invocation type to be used for Generic REST invocation.
+ The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
:param api_call_mode: The api_call_mode of this CreateTaskFromRestTask.
:type: str
"""
- allowed_values = ["SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"]
+ allowed_values = ["SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC"]
if not value_allowed_none_or_none_sentinel(api_call_mode, allowed_values):
raise ValueError(
"Invalid value for `api_call_mode`, must be None or one of {0}"
@@ -438,6 +452,46 @@ def cancel_method_type(self, cancel_method_type):
)
self._cancel_method_type = cancel_method_type
+ @property
+ def execute_rest_call_config(self):
+ """
+ Gets the execute_rest_call_config of this CreateTaskFromRestTask.
+
+ :return: The execute_rest_call_config of this CreateTaskFromRestTask.
+ :rtype: oci.data_integration.models.ExecuteRestCallConfig
+ """
+ return self._execute_rest_call_config
+
+ @execute_rest_call_config.setter
+ def execute_rest_call_config(self, execute_rest_call_config):
+ """
+ Sets the execute_rest_call_config of this CreateTaskFromRestTask.
+
+ :param execute_rest_call_config: The execute_rest_call_config of this CreateTaskFromRestTask.
+ :type: oci.data_integration.models.ExecuteRestCallConfig
+ """
+ self._execute_rest_call_config = execute_rest_call_config
+
+ @property
+ def cancel_rest_call_config(self):
+ """
+ Gets the cancel_rest_call_config of this CreateTaskFromRestTask.
+
+ :return: The cancel_rest_call_config of this CreateTaskFromRestTask.
+ :rtype: oci.data_integration.models.CancelRestCallConfig
+ """
+ return self._cancel_rest_call_config
+
+ @cancel_rest_call_config.setter
+ def cancel_rest_call_config(self, cancel_rest_call_config):
+ """
+ Sets the cancel_rest_call_config of this CreateTaskFromRestTask.
+
+ :param cancel_rest_call_config: The cancel_rest_call_config of this CreateTaskFromRestTask.
+ :type: oci.data_integration.models.CancelRestCallConfig
+ """
+ self._cancel_rest_call_config = cancel_rest_call_config
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_integration/models/create_task_run_details.py b/src/oci/data_integration/models/create_task_run_details.py
index 65a7c675a3..ad2de4ec41 100644
--- a/src/oci/data_integration/models/create_task_run_details.py
+++ b/src/oci/data_integration/models/create_task_run_details.py
@@ -13,6 +13,18 @@ class CreateTaskRunDetails(object):
The properties used in task run create operations.
"""
+ #: A constant which can be used with the re_run_type property of a CreateTaskRunDetails.
+ #: This constant has a value of "BEGINNING"
+ RE_RUN_TYPE_BEGINNING = "BEGINNING"
+
+ #: A constant which can be used with the re_run_type property of a CreateTaskRunDetails.
+ #: This constant has a value of "FAILED"
+ RE_RUN_TYPE_FAILED = "FAILED"
+
+ #: A constant which can be used with the re_run_type property of a CreateTaskRunDetails.
+ #: This constant has a value of "STEP"
+ RE_RUN_TYPE_STEP = "STEP"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateTaskRunDetails object with values from keyword arguments.
@@ -50,6 +62,19 @@ def __init__(self, **kwargs):
The value to assign to the task_schedule_key property of this CreateTaskRunDetails.
:type task_schedule_key: str
+ :param ref_task_run_id:
+ The value to assign to the ref_task_run_id property of this CreateTaskRunDetails.
+ :type ref_task_run_id: str
+
+ :param re_run_type:
+ The value to assign to the re_run_type property of this CreateTaskRunDetails.
+ Allowed values for this property are: "BEGINNING", "FAILED", "STEP"
+ :type re_run_type: str
+
+ :param step_id:
+ The value to assign to the step_id property of this CreateTaskRunDetails.
+ :type step_id: str
+
:param registry_metadata:
The value to assign to the registry_metadata property of this CreateTaskRunDetails.
:type registry_metadata: oci.data_integration.models.RegistryMetadata
@@ -64,6 +89,9 @@ def __init__(self, **kwargs):
'config_provider': 'CreateConfigProvider',
'identifier': 'str',
'task_schedule_key': 'str',
+ 'ref_task_run_id': 'str',
+ 're_run_type': 'str',
+ 'step_id': 'str',
'registry_metadata': 'RegistryMetadata'
}
@@ -76,6 +104,9 @@ def __init__(self, **kwargs):
'config_provider': 'configProvider',
'identifier': 'identifier',
'task_schedule_key': 'taskScheduleKey',
+ 'ref_task_run_id': 'refTaskRunId',
+ 're_run_type': 'reRunType',
+ 'step_id': 'stepId',
'registry_metadata': 'registryMetadata'
}
@@ -87,6 +118,9 @@ def __init__(self, **kwargs):
self._config_provider = None
self._identifier = None
self._task_schedule_key = None
+ self._ref_task_run_id = None
+ self._re_run_type = None
+ self._step_id = None
self._registry_metadata = None
@property
@@ -277,6 +311,86 @@ def task_schedule_key(self, task_schedule_key):
"""
self._task_schedule_key = task_schedule_key
+ @property
+ def ref_task_run_id(self):
+ """
+ Gets the ref_task_run_id of this CreateTaskRunDetails.
+ Reference Task Run Id to be used for re-run
+
+
+ :return: The ref_task_run_id of this CreateTaskRunDetails.
+ :rtype: str
+ """
+ return self._ref_task_run_id
+
+ @ref_task_run_id.setter
+ def ref_task_run_id(self, ref_task_run_id):
+ """
+ Sets the ref_task_run_id of this CreateTaskRunDetails.
+ Reference Task Run Id to be used for re-run
+
+
+ :param ref_task_run_id: The ref_task_run_id of this CreateTaskRunDetails.
+ :type: str
+ """
+ self._ref_task_run_id = ref_task_run_id
+
+ @property
+ def re_run_type(self):
+ """
+ Gets the re_run_type of this CreateTaskRunDetails.
+ Supported re-run types
+
+ Allowed values for this property are: "BEGINNING", "FAILED", "STEP"
+
+
+ :return: The re_run_type of this CreateTaskRunDetails.
+ :rtype: str
+ """
+ return self._re_run_type
+
+ @re_run_type.setter
+ def re_run_type(self, re_run_type):
+ """
+ Sets the re_run_type of this CreateTaskRunDetails.
+ Supported re-run types
+
+
+ :param re_run_type: The re_run_type of this CreateTaskRunDetails.
+ :type: str
+ """
+ allowed_values = ["BEGINNING", "FAILED", "STEP"]
+ if not value_allowed_none_or_none_sentinel(re_run_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `re_run_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._re_run_type = re_run_type
+
+ @property
+ def step_id(self):
+ """
+ Gets the step_id of this CreateTaskRunDetails.
+ Step Id for running from a certain step.
+
+
+ :return: The step_id of this CreateTaskRunDetails.
+ :rtype: str
+ """
+ return self._step_id
+
+ @step_id.setter
+ def step_id(self, step_id):
+ """
+ Sets the step_id of this CreateTaskRunDetails.
+ Step Id for running from a certain step.
+
+
+ :param step_id: The step_id of this CreateTaskRunDetails.
+ :type: str
+ """
+ self._step_id = step_id
+
@property
def registry_metadata(self):
"""
diff --git a/src/oci/data_integration/models/create_user_defined_function_details.py b/src/oci/data_integration/models/create_user_defined_function_details.py
new file mode 100644
index 0000000000..e9341f5ae3
--- /dev/null
+++ b/src/oci/data_integration/models/create_user_defined_function_details.py
@@ -0,0 +1,337 @@
+# 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 CreateUserDefinedFunctionDetails(object):
+ """
+ Properties used in user defined function create operations.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateUserDefinedFunctionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this CreateUserDefinedFunctionDetails.
+ :type key: str
+
+ :param model_version:
+ The value to assign to the model_version property of this CreateUserDefinedFunctionDetails.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this CreateUserDefinedFunctionDetails.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this CreateUserDefinedFunctionDetails.
+ :type name: str
+
+ :param identifier:
+ The value to assign to the identifier property of this CreateUserDefinedFunctionDetails.
+ :type identifier: str
+
+ :param signatures:
+ The value to assign to the signatures property of this CreateUserDefinedFunctionDetails.
+ :type signatures: list[oci.data_integration.models.FunctionSignature]
+
+ :param expr:
+ The value to assign to the expr property of this CreateUserDefinedFunctionDetails.
+ :type expr: oci.data_integration.models.Expression
+
+ :param description:
+ The value to assign to the description property of this CreateUserDefinedFunctionDetails.
+ :type description: str
+
+ :param object_status:
+ The value to assign to the object_status property of this CreateUserDefinedFunctionDetails.
+ :type object_status: int
+
+ :param registry_metadata:
+ The value to assign to the registry_metadata property of this CreateUserDefinedFunctionDetails.
+ :type registry_metadata: oci.data_integration.models.RegistryMetadata
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'identifier': 'str',
+ 'signatures': 'list[FunctionSignature]',
+ 'expr': 'Expression',
+ 'description': 'str',
+ 'object_status': 'int',
+ 'registry_metadata': 'RegistryMetadata'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'identifier': 'identifier',
+ 'signatures': 'signatures',
+ 'expr': 'expr',
+ 'description': 'description',
+ 'object_status': 'objectStatus',
+ 'registry_metadata': 'registryMetadata'
+ }
+
+ self._key = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._identifier = None
+ self._signatures = None
+ self._expr = None
+ self._description = None
+ self._object_status = None
+ self._registry_metadata = None
+
+ @property
+ def key(self):
+ """
+ Gets the key of this CreateUserDefinedFunctionDetails.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :return: The key of this CreateUserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this CreateUserDefinedFunctionDetails.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :param key: The key of this CreateUserDefinedFunctionDetails.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this CreateUserDefinedFunctionDetails.
+ The model version of an object.
+
+
+ :return: The model_version of this CreateUserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this CreateUserDefinedFunctionDetails.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this CreateUserDefinedFunctionDetails.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this CreateUserDefinedFunctionDetails.
+
+ :return: The parent_ref of this CreateUserDefinedFunctionDetails.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this CreateUserDefinedFunctionDetails.
+
+ :param parent_ref: The parent_ref of this CreateUserDefinedFunctionDetails.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this CreateUserDefinedFunctionDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this CreateUserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CreateUserDefinedFunctionDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this CreateUserDefinedFunctionDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def identifier(self):
+ """
+ **[Required]** Gets the identifier of this CreateUserDefinedFunctionDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this CreateUserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this CreateUserDefinedFunctionDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this CreateUserDefinedFunctionDetails.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def signatures(self):
+ """
+ Gets the signatures of this CreateUserDefinedFunctionDetails.
+ An array of function signature.
+
+
+ :return: The signatures of this CreateUserDefinedFunctionDetails.
+ :rtype: list[oci.data_integration.models.FunctionSignature]
+ """
+ return self._signatures
+
+ @signatures.setter
+ def signatures(self, signatures):
+ """
+ Sets the signatures of this CreateUserDefinedFunctionDetails.
+ An array of function signature.
+
+
+ :param signatures: The signatures of this CreateUserDefinedFunctionDetails.
+ :type: list[oci.data_integration.models.FunctionSignature]
+ """
+ self._signatures = signatures
+
+ @property
+ def expr(self):
+ """
+ Gets the expr of this CreateUserDefinedFunctionDetails.
+
+ :return: The expr of this CreateUserDefinedFunctionDetails.
+ :rtype: oci.data_integration.models.Expression
+ """
+ return self._expr
+
+ @expr.setter
+ def expr(self, expr):
+ """
+ Sets the expr of this CreateUserDefinedFunctionDetails.
+
+ :param expr: The expr of this CreateUserDefinedFunctionDetails.
+ :type: oci.data_integration.models.Expression
+ """
+ self._expr = expr
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CreateUserDefinedFunctionDetails.
+ Detailed description for the object.
+
+
+ :return: The description of this CreateUserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateUserDefinedFunctionDetails.
+ Detailed description for the object.
+
+
+ :param description: The description of this CreateUserDefinedFunctionDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this CreateUserDefinedFunctionDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this CreateUserDefinedFunctionDetails.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this CreateUserDefinedFunctionDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this CreateUserDefinedFunctionDetails.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def registry_metadata(self):
+ """
+ **[Required]** Gets the registry_metadata of this CreateUserDefinedFunctionDetails.
+
+ :return: The registry_metadata of this CreateUserDefinedFunctionDetails.
+ :rtype: oci.data_integration.models.RegistryMetadata
+ """
+ return self._registry_metadata
+
+ @registry_metadata.setter
+ def registry_metadata(self, registry_metadata):
+ """
+ Sets the registry_metadata of this CreateUserDefinedFunctionDetails.
+
+ :param registry_metadata: The registry_metadata of this CreateUserDefinedFunctionDetails.
+ :type: oci.data_integration.models.RegistryMetadata
+ """
+ self._registry_metadata = registry_metadata
+
+ 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/data_integration/models/create_user_defined_function_validation_details.py b/src/oci/data_integration/models/create_user_defined_function_validation_details.py
new file mode 100644
index 0000000000..68f4211b39
--- /dev/null
+++ b/src/oci/data_integration/models/create_user_defined_function_validation_details.py
@@ -0,0 +1,443 @@
+# 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 CreateUserDefinedFunctionValidationDetails(object):
+ """
+ The properties used in create UserDefinedFunction validation operations.
+ """
+
+ #: A constant which can be used with the model_type property of a CreateUserDefinedFunctionValidationDetails.
+ #: This constant has a value of "DIS_USER_DEFINED_FUNCTION"
+ MODEL_TYPE_DIS_USER_DEFINED_FUNCTION = "DIS_USER_DEFINED_FUNCTION"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateUserDefinedFunctionValidationDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this CreateUserDefinedFunctionValidationDetails.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this CreateUserDefinedFunctionValidationDetails.
+ Allowed values for this property are: "DIS_USER_DEFINED_FUNCTION"
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this CreateUserDefinedFunctionValidationDetails.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this CreateUserDefinedFunctionValidationDetails.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this CreateUserDefinedFunctionValidationDetails.
+ :type name: str
+
+ :param identifier:
+ The value to assign to the identifier property of this CreateUserDefinedFunctionValidationDetails.
+ :type identifier: str
+
+ :param object_version:
+ The value to assign to the object_version property of this CreateUserDefinedFunctionValidationDetails.
+ :type object_version: int
+
+ :param signatures:
+ The value to assign to the signatures property of this CreateUserDefinedFunctionValidationDetails.
+ :type signatures: list[oci.data_integration.models.FunctionSignature]
+
+ :param expr:
+ The value to assign to the expr property of this CreateUserDefinedFunctionValidationDetails.
+ :type expr: oci.data_integration.models.Expression
+
+ :param description:
+ The value to assign to the description property of this CreateUserDefinedFunctionValidationDetails.
+ :type description: str
+
+ :param object_status:
+ The value to assign to the object_status property of this CreateUserDefinedFunctionValidationDetails.
+ :type object_status: int
+
+ :param metadata:
+ The value to assign to the metadata property of this CreateUserDefinedFunctionValidationDetails.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ :param key_map:
+ The value to assign to the key_map property of this CreateUserDefinedFunctionValidationDetails.
+ :type key_map: dict(str, str)
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'identifier': 'str',
+ 'object_version': 'int',
+ 'signatures': 'list[FunctionSignature]',
+ 'expr': 'Expression',
+ 'description': 'str',
+ 'object_status': 'int',
+ 'metadata': 'ObjectMetadata',
+ 'key_map': 'dict(str, str)'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'identifier': 'identifier',
+ 'object_version': 'objectVersion',
+ 'signatures': 'signatures',
+ 'expr': 'expr',
+ 'description': 'description',
+ 'object_status': 'objectStatus',
+ 'metadata': 'metadata',
+ 'key_map': 'keyMap'
+ }
+
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._identifier = None
+ self._object_version = None
+ self._signatures = None
+ self._expr = None
+ self._description = None
+ self._object_status = None
+ self._metadata = None
+ self._key_map = None
+
+ @property
+ def key(self):
+ """
+ Gets the key of this CreateUserDefinedFunctionValidationDetails.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :return: The key of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this CreateUserDefinedFunctionValidationDetails.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :param key: The key of this CreateUserDefinedFunctionValidationDetails.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ Gets the model_type of this CreateUserDefinedFunctionValidationDetails.
+ The type of the object.
+
+ Allowed values for this property are: "DIS_USER_DEFINED_FUNCTION"
+
+
+ :return: The model_type of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this CreateUserDefinedFunctionValidationDetails.
+ The type of the object.
+
+
+ :param model_type: The model_type of this CreateUserDefinedFunctionValidationDetails.
+ :type: str
+ """
+ allowed_values = ["DIS_USER_DEFINED_FUNCTION"]
+ if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `model_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this CreateUserDefinedFunctionValidationDetails.
+ The model version of an object.
+
+
+ :return: The model_version of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this CreateUserDefinedFunctionValidationDetails.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this CreateUserDefinedFunctionValidationDetails.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this CreateUserDefinedFunctionValidationDetails.
+
+ :return: The parent_ref of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this CreateUserDefinedFunctionValidationDetails.
+
+ :param parent_ref: The parent_ref of this CreateUserDefinedFunctionValidationDetails.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this CreateUserDefinedFunctionValidationDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this CreateUserDefinedFunctionValidationDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this CreateUserDefinedFunctionValidationDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this CreateUserDefinedFunctionValidationDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this CreateUserDefinedFunctionValidationDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this CreateUserDefinedFunctionValidationDetails.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this CreateUserDefinedFunctionValidationDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this CreateUserDefinedFunctionValidationDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this CreateUserDefinedFunctionValidationDetails.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def signatures(self):
+ """
+ Gets the signatures of this CreateUserDefinedFunctionValidationDetails.
+ An array of function signature.
+
+
+ :return: The signatures of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: list[oci.data_integration.models.FunctionSignature]
+ """
+ return self._signatures
+
+ @signatures.setter
+ def signatures(self, signatures):
+ """
+ Sets the signatures of this CreateUserDefinedFunctionValidationDetails.
+ An array of function signature.
+
+
+ :param signatures: The signatures of this CreateUserDefinedFunctionValidationDetails.
+ :type: list[oci.data_integration.models.FunctionSignature]
+ """
+ self._signatures = signatures
+
+ @property
+ def expr(self):
+ """
+ Gets the expr of this CreateUserDefinedFunctionValidationDetails.
+
+ :return: The expr of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: oci.data_integration.models.Expression
+ """
+ return self._expr
+
+ @expr.setter
+ def expr(self, expr):
+ """
+ Sets the expr of this CreateUserDefinedFunctionValidationDetails.
+
+ :param expr: The expr of this CreateUserDefinedFunctionValidationDetails.
+ :type: oci.data_integration.models.Expression
+ """
+ self._expr = expr
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CreateUserDefinedFunctionValidationDetails.
+ Detailed description for the object.
+
+
+ :return: The description of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateUserDefinedFunctionValidationDetails.
+ Detailed description for the object.
+
+
+ :param description: The description of this CreateUserDefinedFunctionValidationDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this CreateUserDefinedFunctionValidationDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this CreateUserDefinedFunctionValidationDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this CreateUserDefinedFunctionValidationDetails.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def metadata(self):
+ """
+ Gets the metadata of this CreateUserDefinedFunctionValidationDetails.
+
+ :return: The metadata of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: oci.data_integration.models.ObjectMetadata
+ """
+ return self._metadata
+
+ @metadata.setter
+ def metadata(self, metadata):
+ """
+ Sets the metadata of this CreateUserDefinedFunctionValidationDetails.
+
+ :param metadata: The metadata of this CreateUserDefinedFunctionValidationDetails.
+ :type: oci.data_integration.models.ObjectMetadata
+ """
+ self._metadata = metadata
+
+ @property
+ def key_map(self):
+ """
+ Gets the key_map of this CreateUserDefinedFunctionValidationDetails.
+ A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :return: The key_map of this CreateUserDefinedFunctionValidationDetails.
+ :rtype: dict(str, str)
+ """
+ return self._key_map
+
+ @key_map.setter
+ def key_map(self, key_map):
+ """
+ Sets the key_map of this CreateUserDefinedFunctionValidationDetails.
+ A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :param key_map: The key_map of this CreateUserDefinedFunctionValidationDetails.
+ :type: dict(str, str)
+ """
+ self._key_map = key_map
+
+ 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/data_integration/models/custom_frequency_details.py b/src/oci/data_integration/models/custom_frequency_details.py
new file mode 100644
index 0000000000..8da87f1642
--- /dev/null
+++ b/src/oci/data_integration/models/custom_frequency_details.py
@@ -0,0 +1,88 @@
+# 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 .abstract_frequency_details import AbstractFrequencyDetails
+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 CustomFrequencyDetails(AbstractFrequencyDetails):
+ """
+ Frequency details model to set cron-based frequency
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CustomFrequencyDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.CustomFrequencyDetails.model_type` attribute
+ of this class is ``CUSTOM`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param model_type:
+ The value to assign to the model_type property of this CustomFrequencyDetails.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM"
+ :type model_type: str
+
+ :param frequency:
+ The value to assign to the frequency property of this CustomFrequencyDetails.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM"
+ :type frequency: str
+
+ :param custom_expression:
+ The value to assign to the custom_expression property of this CustomFrequencyDetails.
+ :type custom_expression: str
+
+ """
+ self.swagger_types = {
+ 'model_type': 'str',
+ 'frequency': 'str',
+ 'custom_expression': 'str'
+ }
+
+ self.attribute_map = {
+ 'model_type': 'modelType',
+ 'frequency': 'frequency',
+ 'custom_expression': 'customExpression'
+ }
+
+ self._model_type = None
+ self._frequency = None
+ self._custom_expression = None
+ self._model_type = 'CUSTOM'
+
+ @property
+ def custom_expression(self):
+ """
+ Gets the custom_expression of this CustomFrequencyDetails.
+ This holds the complete cron expression for this schedule, for example, 10 0/5 * * * ? that fires every 5 minutes, at 10 seconds after the minute (i.e. 10:00:10 am, 10:05:10 am, etc.)
+
+
+ :return: The custom_expression of this CustomFrequencyDetails.
+ :rtype: str
+ """
+ return self._custom_expression
+
+ @custom_expression.setter
+ def custom_expression(self, custom_expression):
+ """
+ Sets the custom_expression of this CustomFrequencyDetails.
+ This holds the complete cron expression for this schedule, for example, 10 0/5 * * * ? that fires every 5 minutes, at 10 seconds after the minute (i.e. 10:00:10 am, 10:05:10 am, etc.)
+
+
+ :param custom_expression: The custom_expression of this CustomFrequencyDetails.
+ :type: str
+ """
+ self._custom_expression = custom_expression
+
+ 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/data_integration/models/daily_frequency_details.py b/src/oci/data_integration/models/daily_frequency_details.py
index a7628b78a8..2e5fcaa206 100644
--- a/src/oci/data_integration/models/daily_frequency_details.py
+++ b/src/oci/data_integration/models/daily_frequency_details.py
@@ -21,12 +21,12 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DailyFrequencyDetails.
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY"
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM"
:type model_type: str
:param frequency:
The value to assign to the frequency property of this DailyFrequencyDetails.
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY"
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM"
:type frequency: str
:param interval:
diff --git a/src/oci/data_integration/models/data_asset_from_fusion_app.py b/src/oci/data_integration/models/data_asset_from_fusion_app.py
index 0b8b70a237..5f3f26bbbc 100644
--- a/src/oci/data_integration/models/data_asset_from_fusion_app.py
+++ b/src/oci/data_integration/models/data_asset_from_fusion_app.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class DataAssetFromFusionApp(DataAsset):
"""
- Details for the MYSQL data asset type.
+ Details for the FUSION_APP data asset type.
"""
def __init__(self, **kwargs):
@@ -145,7 +145,7 @@ def __init__(self, **kwargs):
def service_url(self):
"""
Gets the service_url of this DataAssetFromFusionApp.
- The service url of the Bi Server.
+ The service url of the BI Server.
:return: The service_url of this DataAssetFromFusionApp.
@@ -157,7 +157,7 @@ def service_url(self):
def service_url(self, service_url):
"""
Sets the service_url of this DataAssetFromFusionApp.
- The service url of the Bi Server.
+ The service url of the BI Server.
:param service_url: The service_url of this DataAssetFromFusionApp.
diff --git a/src/oci/data_integration/models/data_asset_from_object_storage_details.py b/src/oci/data_integration/models/data_asset_from_object_storage_details.py
index a04b3bc2e5..90405a88f3 100644
--- a/src/oci/data_integration/models/data_asset_from_object_storage_details.py
+++ b/src/oci/data_integration/models/data_asset_from_object_storage_details.py
@@ -76,6 +76,10 @@ def __init__(self, **kwargs):
The value to assign to the key_map property of this DataAssetFromObjectStorageDetails.
:type key_map: dict(str, str)
+ :param oci_region:
+ The value to assign to the oci_region property of this DataAssetFromObjectStorageDetails.
+ :type oci_region: str
+
:param url:
The value to assign to the url property of this DataAssetFromObjectStorageDetails.
:type url: str
@@ -108,6 +112,7 @@ def __init__(self, **kwargs):
'parent_ref': 'ParentReference',
'metadata': 'ObjectMetadata',
'key_map': 'dict(str, str)',
+ 'oci_region': 'str',
'url': 'str',
'tenancy_id': 'str',
'namespace': 'str',
@@ -129,6 +134,7 @@ def __init__(self, **kwargs):
'parent_ref': 'parentRef',
'metadata': 'metadata',
'key_map': 'keyMap',
+ 'oci_region': 'ociRegion',
'url': 'url',
'tenancy_id': 'tenancyId',
'namespace': 'namespace',
@@ -149,12 +155,37 @@ def __init__(self, **kwargs):
self._parent_ref = None
self._metadata = None
self._key_map = None
+ self._oci_region = None
self._url = None
self._tenancy_id = None
self._namespace = None
self._default_connection = None
self._model_type = 'ORACLE_OBJECT_STORAGE_DATA_ASSET'
+ @property
+ def oci_region(self):
+ """
+ Gets the oci_region of this DataAssetFromObjectStorageDetails.
+ The Oracle Object storage Region ie. us-ashburn-1
+
+
+ :return: The oci_region of this DataAssetFromObjectStorageDetails.
+ :rtype: str
+ """
+ return self._oci_region
+
+ @oci_region.setter
+ def oci_region(self, oci_region):
+ """
+ Sets the oci_region of this DataAssetFromObjectStorageDetails.
+ The Oracle Object storage Region ie. us-ashburn-1
+
+
+ :param oci_region: The oci_region of this DataAssetFromObjectStorageDetails.
+ :type: str
+ """
+ self._oci_region = oci_region
+
@property
def url(self):
"""
diff --git a/src/oci/data_integration/models/data_asset_summary_from_object_storage.py b/src/oci/data_integration/models/data_asset_summary_from_object_storage.py
index d31038c979..167797f95f 100644
--- a/src/oci/data_integration/models/data_asset_summary_from_object_storage.py
+++ b/src/oci/data_integration/models/data_asset_summary_from_object_storage.py
@@ -72,6 +72,10 @@ def __init__(self, **kwargs):
The value to assign to the metadata property of this DataAssetSummaryFromObjectStorage.
:type metadata: oci.data_integration.models.ObjectMetadata
+ :param oci_region:
+ The value to assign to the oci_region property of this DataAssetSummaryFromObjectStorage.
+ :type oci_region: str
+
:param url:
The value to assign to the url property of this DataAssetSummaryFromObjectStorage.
:type url: str
@@ -103,6 +107,7 @@ def __init__(self, **kwargs):
'object_version': 'int',
'parent_ref': 'ParentReference',
'metadata': 'ObjectMetadata',
+ 'oci_region': 'str',
'url': 'str',
'tenancy_id': 'str',
'namespace': 'str',
@@ -123,6 +128,7 @@ def __init__(self, **kwargs):
'object_version': 'objectVersion',
'parent_ref': 'parentRef',
'metadata': 'metadata',
+ 'oci_region': 'ociRegion',
'url': 'url',
'tenancy_id': 'tenancyId',
'namespace': 'namespace',
@@ -142,12 +148,37 @@ def __init__(self, **kwargs):
self._object_version = None
self._parent_ref = None
self._metadata = None
+ self._oci_region = None
self._url = None
self._tenancy_id = None
self._namespace = None
self._default_connection = None
self._model_type = 'ORACLE_OBJECT_STORAGE_DATA_ASSET'
+ @property
+ def oci_region(self):
+ """
+ Gets the oci_region of this DataAssetSummaryFromObjectStorage.
+ The Oracle Object storage Region ie. us-ashburn-1
+
+
+ :return: The oci_region of this DataAssetSummaryFromObjectStorage.
+ :rtype: str
+ """
+ return self._oci_region
+
+ @oci_region.setter
+ def oci_region(self, oci_region):
+ """
+ Sets the oci_region of this DataAssetSummaryFromObjectStorage.
+ The Oracle Object storage Region ie. us-ashburn-1
+
+
+ :param oci_region: The oci_region of this DataAssetSummaryFromObjectStorage.
+ :type: str
+ """
+ self._oci_region = oci_region
+
@property
def url(self):
"""
diff --git a/src/oci/data_integration/models/data_entity.py b/src/oci/data_integration/models/data_entity.py
index 7abe5cffc3..03f2fc94cb 100644
--- a/src/oci/data_integration/models/data_entity.py
+++ b/src/oci/data_integration/models/data_entity.py
@@ -25,6 +25,10 @@ class DataEntity(object):
#: This constant has a value of "FILE_ENTITY"
MODEL_TYPE_FILE_ENTITY = "FILE_ENTITY"
+ #: A constant which can be used with the model_type property of a DataEntity.
+ #: This constant has a value of "SQL_ENTITY"
+ MODEL_TYPE_SQL_ENTITY = "SQL_ENTITY"
+
#: A constant which can be used with the model_type property of a DataEntity.
#: This constant has a value of "DATA_STORE_ENTITY"
MODEL_TYPE_DATA_STORE_ENTITY = "DATA_STORE_ENTITY"
@@ -37,13 +41,14 @@ def __init__(self, **kwargs):
* :class:`~oci.data_integration.models.DataEntityFromTable`
* :class:`~oci.data_integration.models.DataEntityFromDataStore`
* :class:`~oci.data_integration.models.DataEntityFromView`
+ * :class:`~oci.data_integration.models.DataEntityFromSql`
* :class:`~oci.data_integration.models.DataEntityFromFile`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param model_type:
The value to assign to the model_type property of this DataEntity.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
@@ -82,6 +87,9 @@ def get_subtype(object_dictionary):
if type == 'VIEW_ENTITY':
return 'DataEntityFromView'
+ if type == 'SQL_ENTITY':
+ return 'DataEntityFromSql'
+
if type == 'FILE_ENTITY':
return 'DataEntityFromFile'
else:
@@ -93,7 +101,7 @@ def model_type(self):
**[Required]** Gets the model_type of this DataEntity.
The data entity type.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -112,7 +120,7 @@ def model_type(self, model_type):
:param model_type: The model_type of this DataEntity.
:type: str
"""
- allowed_values = ["VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY"]
+ allowed_values = ["VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"]
if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
model_type = 'UNKNOWN_ENUM_VALUE'
self._model_type = model_type
diff --git a/src/oci/data_integration/models/data_entity_details.py b/src/oci/data_integration/models/data_entity_details.py
index e08577f393..0b5cb33bfb 100644
--- a/src/oci/data_integration/models/data_entity_details.py
+++ b/src/oci/data_integration/models/data_entity_details.py
@@ -25,6 +25,10 @@ class DataEntityDetails(object):
#: This constant has a value of "FILE_ENTITY"
MODEL_TYPE_FILE_ENTITY = "FILE_ENTITY"
+ #: A constant which can be used with the model_type property of a DataEntityDetails.
+ #: This constant has a value of "SQL_ENTITY"
+ MODEL_TYPE_SQL_ENTITY = "SQL_ENTITY"
+
#: A constant which can be used with the model_type property of a DataEntityDetails.
#: This constant has a value of "DATA_STORE_ENTITY"
MODEL_TYPE_DATA_STORE_ENTITY = "DATA_STORE_ENTITY"
@@ -36,6 +40,7 @@ def __init__(self, **kwargs):
* :class:`~oci.data_integration.models.DataEntityFromFileEntityDetails`
* :class:`~oci.data_integration.models.DataEntityFromViewEntityDetails`
+ * :class:`~oci.data_integration.models.DataEntityFromSqlEntityDetails`
* :class:`~oci.data_integration.models.DataEntityFromDataStoreEntityDetails`
* :class:`~oci.data_integration.models.DataEntityFromTableEntityDetails`
@@ -43,7 +48,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntityDetails.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY"
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"
:type model_type: str
"""
@@ -71,6 +76,9 @@ def get_subtype(object_dictionary):
if type == 'VIEW_ENTITY':
return 'DataEntityFromViewEntityDetails'
+ if type == 'SQL_ENTITY':
+ return 'DataEntityFromSqlEntityDetails'
+
if type == 'DATA_STORE_ENTITY':
return 'DataEntityFromDataStoreEntityDetails'
@@ -85,7 +93,7 @@ def model_type(self):
**[Required]** Gets the model_type of this DataEntityDetails.
The data entity type.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY"
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"
:return: The model_type of this DataEntityDetails.
@@ -103,7 +111,7 @@ def model_type(self, model_type):
:param model_type: The model_type of this DataEntityDetails.
:type: str
"""
- allowed_values = ["VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY"]
+ allowed_values = ["VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"]
if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
raise ValueError(
"Invalid value for `model_type`, must be None or one of {0}"
diff --git a/src/oci/data_integration/models/data_entity_from_data_store.py b/src/oci/data_integration/models/data_entity_from_data_store.py
index 5256c99524..24b884ba6e 100644
--- a/src/oci/data_integration/models/data_entity_from_data_store.py
+++ b/src/oci/data_integration/models/data_entity_from_data_store.py
@@ -49,7 +49,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntityFromDataStore.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
diff --git a/src/oci/data_integration/models/data_entity_from_data_store_entity_details.py b/src/oci/data_integration/models/data_entity_from_data_store_entity_details.py
index 2c3222013b..86f0fdc7d0 100644
--- a/src/oci/data_integration/models/data_entity_from_data_store_entity_details.py
+++ b/src/oci/data_integration/models/data_entity_from_data_store_entity_details.py
@@ -49,7 +49,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntityFromDataStoreEntityDetails.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY"
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"
:type model_type: str
:param key:
diff --git a/src/oci/data_integration/models/data_entity_from_file.py b/src/oci/data_integration/models/data_entity_from_file.py
index a4abc1fd34..7371cdde1c 100644
--- a/src/oci/data_integration/models/data_entity_from_file.py
+++ b/src/oci/data_integration/models/data_entity_from_file.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntityFromFile.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
diff --git a/src/oci/data_integration/models/data_entity_from_file_entity_details.py b/src/oci/data_integration/models/data_entity_from_file_entity_details.py
index 5be436b059..d376047123 100644
--- a/src/oci/data_integration/models/data_entity_from_file_entity_details.py
+++ b/src/oci/data_integration/models/data_entity_from_file_entity_details.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntityFromFileEntityDetails.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY"
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"
:type model_type: str
:param key:
diff --git a/src/oci/data_integration/models/data_entity_from_sql.py b/src/oci/data_integration/models/data_entity_from_sql.py
new file mode 100644
index 0000000000..ea0b117a1d
--- /dev/null
+++ b/src/oci/data_integration/models/data_entity_from_sql.py
@@ -0,0 +1,600 @@
+# 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 .data_entity import DataEntity
+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 DataEntityFromSql(DataEntity):
+ """
+ The sql entity data entity details.
+ """
+
+ #: A constant which can be used with the entity_type property of a DataEntityFromSql.
+ #: This constant has a value of "TABLE"
+ ENTITY_TYPE_TABLE = "TABLE"
+
+ #: A constant which can be used with the entity_type property of a DataEntityFromSql.
+ #: This constant has a value of "VIEW"
+ ENTITY_TYPE_VIEW = "VIEW"
+
+ #: A constant which can be used with the entity_type property of a DataEntityFromSql.
+ #: This constant has a value of "FILE"
+ ENTITY_TYPE_FILE = "FILE"
+
+ #: A constant which can be used with the entity_type property of a DataEntityFromSql.
+ #: This constant has a value of "SQL"
+ ENTITY_TYPE_SQL = "SQL"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new DataEntityFromSql object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.DataEntityFromSql.model_type` attribute
+ of this class is ``SQL_ENTITY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param model_type:
+ The value to assign to the model_type property of this DataEntityFromSql.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param metadata:
+ The value to assign to the metadata property of this DataEntityFromSql.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ :param key:
+ The value to assign to the key property of this DataEntityFromSql.
+ :type key: str
+
+ :param model_version:
+ The value to assign to the model_version property of this DataEntityFromSql.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this DataEntityFromSql.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this DataEntityFromSql.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this DataEntityFromSql.
+ :type description: str
+
+ :param object_version:
+ The value to assign to the object_version property of this DataEntityFromSql.
+ :type object_version: int
+
+ :param external_key:
+ The value to assign to the external_key property of this DataEntityFromSql.
+ :type external_key: str
+
+ :param shape:
+ The value to assign to the shape property of this DataEntityFromSql.
+ :type shape: oci.data_integration.models.Shape
+
+ :param shape_id:
+ The value to assign to the shape_id property of this DataEntityFromSql.
+ :type shape_id: str
+
+ :param entity_type:
+ The value to assign to the entity_type property of this DataEntityFromSql.
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type entity_type: str
+
+ :param other_type_label:
+ The value to assign to the other_type_label property of this DataEntityFromSql.
+ :type other_type_label: str
+
+ :param unique_keys:
+ The value to assign to the unique_keys property of this DataEntityFromSql.
+ :type unique_keys: list[oci.data_integration.models.UniqueKey]
+
+ :param foreign_keys:
+ The value to assign to the foreign_keys property of this DataEntityFromSql.
+ :type foreign_keys: list[oci.data_integration.models.ForeignKey]
+
+ :param resource_name:
+ The value to assign to the resource_name property of this DataEntityFromSql.
+ :type resource_name: str
+
+ :param object_status:
+ The value to assign to the object_status property of this DataEntityFromSql.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this DataEntityFromSql.
+ :type identifier: str
+
+ :param sql_query:
+ The value to assign to the sql_query property of this DataEntityFromSql.
+ :type sql_query: str
+
+ """
+ self.swagger_types = {
+ 'model_type': 'str',
+ 'metadata': 'ObjectMetadata',
+ 'key': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'description': 'str',
+ 'object_version': 'int',
+ 'external_key': 'str',
+ 'shape': 'Shape',
+ 'shape_id': 'str',
+ 'entity_type': 'str',
+ 'other_type_label': 'str',
+ 'unique_keys': 'list[UniqueKey]',
+ 'foreign_keys': 'list[ForeignKey]',
+ 'resource_name': 'str',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'sql_query': 'str'
+ }
+
+ self.attribute_map = {
+ 'model_type': 'modelType',
+ 'metadata': 'metadata',
+ 'key': 'key',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'description': 'description',
+ 'object_version': 'objectVersion',
+ 'external_key': 'externalKey',
+ 'shape': 'shape',
+ 'shape_id': 'shapeId',
+ 'entity_type': 'entityType',
+ 'other_type_label': 'otherTypeLabel',
+ 'unique_keys': 'uniqueKeys',
+ 'foreign_keys': 'foreignKeys',
+ 'resource_name': 'resourceName',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'sql_query': 'sqlQuery'
+ }
+
+ self._model_type = None
+ self._metadata = None
+ self._key = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._description = None
+ self._object_version = None
+ self._external_key = None
+ self._shape = None
+ self._shape_id = None
+ self._entity_type = None
+ self._other_type_label = None
+ self._unique_keys = None
+ self._foreign_keys = None
+ self._resource_name = None
+ self._object_status = None
+ self._identifier = None
+ self._sql_query = None
+ self._model_type = 'SQL_ENTITY'
+
+ @property
+ def key(self):
+ """
+ Gets the key of this DataEntityFromSql.
+ The object key.
+
+
+ :return: The key of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this DataEntityFromSql.
+ The object key.
+
+
+ :param key: The key of this DataEntityFromSql.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this DataEntityFromSql.
+ The object's model version.
+
+
+ :return: The model_version of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this DataEntityFromSql.
+ The object's model version.
+
+
+ :param model_version: The model_version of this DataEntityFromSql.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this DataEntityFromSql.
+
+ :return: The parent_ref of this DataEntityFromSql.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this DataEntityFromSql.
+
+ :param parent_ref: The parent_ref of this DataEntityFromSql.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this DataEntityFromSql.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this DataEntityFromSql.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this DataEntityFromSql.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this DataEntityFromSql.
+ Detailed description for the object.
+
+
+ :return: The description of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this DataEntityFromSql.
+ Detailed description for the object.
+
+
+ :param description: The description of this DataEntityFromSql.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this DataEntityFromSql.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this DataEntityFromSql.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this DataEntityFromSql.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this DataEntityFromSql.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def external_key(self):
+ """
+ Gets the external_key of this DataEntityFromSql.
+ The external key for the object
+
+
+ :return: The external_key of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._external_key
+
+ @external_key.setter
+ def external_key(self, external_key):
+ """
+ Sets the external_key of this DataEntityFromSql.
+ The external key for the object
+
+
+ :param external_key: The external_key of this DataEntityFromSql.
+ :type: str
+ """
+ self._external_key = external_key
+
+ @property
+ def shape(self):
+ """
+ Gets the shape of this DataEntityFromSql.
+
+ :return: The shape of this DataEntityFromSql.
+ :rtype: oci.data_integration.models.Shape
+ """
+ return self._shape
+
+ @shape.setter
+ def shape(self, shape):
+ """
+ Sets the shape of this DataEntityFromSql.
+
+ :param shape: The shape of this DataEntityFromSql.
+ :type: oci.data_integration.models.Shape
+ """
+ self._shape = shape
+
+ @property
+ def shape_id(self):
+ """
+ Gets the shape_id of this DataEntityFromSql.
+ The shape ID.
+
+
+ :return: The shape_id of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._shape_id
+
+ @shape_id.setter
+ def shape_id(self, shape_id):
+ """
+ Sets the shape_id of this DataEntityFromSql.
+ The shape ID.
+
+
+ :param shape_id: The shape_id of this DataEntityFromSql.
+ :type: str
+ """
+ self._shape_id = shape_id
+
+ @property
+ def entity_type(self):
+ """
+ Gets the entity_type of this DataEntityFromSql.
+ The entity type.
+
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The entity_type of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._entity_type
+
+ @entity_type.setter
+ def entity_type(self, entity_type):
+ """
+ Sets the entity_type of this DataEntityFromSql.
+ The entity type.
+
+
+ :param entity_type: The entity_type of this DataEntityFromSql.
+ :type: str
+ """
+ allowed_values = ["TABLE", "VIEW", "FILE", "SQL"]
+ if not value_allowed_none_or_none_sentinel(entity_type, allowed_values):
+ entity_type = 'UNKNOWN_ENUM_VALUE'
+ self._entity_type = entity_type
+
+ @property
+ def other_type_label(self):
+ """
+ Gets the other_type_label of this DataEntityFromSql.
+ Specifies other type label.
+
+
+ :return: The other_type_label of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._other_type_label
+
+ @other_type_label.setter
+ def other_type_label(self, other_type_label):
+ """
+ Sets the other_type_label of this DataEntityFromSql.
+ Specifies other type label.
+
+
+ :param other_type_label: The other_type_label of this DataEntityFromSql.
+ :type: str
+ """
+ self._other_type_label = other_type_label
+
+ @property
+ def unique_keys(self):
+ """
+ Gets the unique_keys of this DataEntityFromSql.
+ An array of unique keys.
+
+
+ :return: The unique_keys of this DataEntityFromSql.
+ :rtype: list[oci.data_integration.models.UniqueKey]
+ """
+ return self._unique_keys
+
+ @unique_keys.setter
+ def unique_keys(self, unique_keys):
+ """
+ Sets the unique_keys of this DataEntityFromSql.
+ An array of unique keys.
+
+
+ :param unique_keys: The unique_keys of this DataEntityFromSql.
+ :type: list[oci.data_integration.models.UniqueKey]
+ """
+ self._unique_keys = unique_keys
+
+ @property
+ def foreign_keys(self):
+ """
+ Gets the foreign_keys of this DataEntityFromSql.
+ An array of foreign keys.
+
+
+ :return: The foreign_keys of this DataEntityFromSql.
+ :rtype: list[oci.data_integration.models.ForeignKey]
+ """
+ return self._foreign_keys
+
+ @foreign_keys.setter
+ def foreign_keys(self, foreign_keys):
+ """
+ Sets the foreign_keys of this DataEntityFromSql.
+ An array of foreign keys.
+
+
+ :param foreign_keys: The foreign_keys of this DataEntityFromSql.
+ :type: list[oci.data_integration.models.ForeignKey]
+ """
+ self._foreign_keys = foreign_keys
+
+ @property
+ def resource_name(self):
+ """
+ Gets the resource_name of this DataEntityFromSql.
+ The resource name.
+
+
+ :return: The resource_name of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this DataEntityFromSql.
+ The resource name.
+
+
+ :param resource_name: The resource_name of this DataEntityFromSql.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this DataEntityFromSql.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this DataEntityFromSql.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this DataEntityFromSql.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this DataEntityFromSql.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this DataEntityFromSql.
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this DataEntityFromSql.
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this DataEntityFromSql.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def sql_query(self):
+ """
+ Gets the sql_query of this DataEntityFromSql.
+ sqlQuery
+
+
+ :return: The sql_query of this DataEntityFromSql.
+ :rtype: str
+ """
+ return self._sql_query
+
+ @sql_query.setter
+ def sql_query(self, sql_query):
+ """
+ Sets the sql_query of this DataEntityFromSql.
+ sqlQuery
+
+
+ :param sql_query: The sql_query of this DataEntityFromSql.
+ :type: str
+ """
+ self._sql_query = sql_query
+
+ 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/data_integration/models/data_entity_from_sql_entity_details.py b/src/oci/data_integration/models/data_entity_from_sql_entity_details.py
new file mode 100644
index 0000000000..88c6a48592
--- /dev/null
+++ b/src/oci/data_integration/models/data_entity_from_sql_entity_details.py
@@ -0,0 +1,593 @@
+# 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 .data_entity_details import DataEntityDetails
+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 DataEntityFromSqlEntityDetails(DataEntityDetails):
+ """
+ The sql entity data entity details.
+ """
+
+ #: A constant which can be used with the entity_type property of a DataEntityFromSqlEntityDetails.
+ #: This constant has a value of "TABLE"
+ ENTITY_TYPE_TABLE = "TABLE"
+
+ #: A constant which can be used with the entity_type property of a DataEntityFromSqlEntityDetails.
+ #: This constant has a value of "VIEW"
+ ENTITY_TYPE_VIEW = "VIEW"
+
+ #: A constant which can be used with the entity_type property of a DataEntityFromSqlEntityDetails.
+ #: This constant has a value of "FILE"
+ ENTITY_TYPE_FILE = "FILE"
+
+ #: A constant which can be used with the entity_type property of a DataEntityFromSqlEntityDetails.
+ #: This constant has a value of "SQL"
+ ENTITY_TYPE_SQL = "SQL"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new DataEntityFromSqlEntityDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.DataEntityFromSqlEntityDetails.model_type` attribute
+ of this class is ``SQL_ENTITY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param model_type:
+ The value to assign to the model_type property of this DataEntityFromSqlEntityDetails.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"
+ :type model_type: str
+
+ :param key:
+ The value to assign to the key property of this DataEntityFromSqlEntityDetails.
+ :type key: str
+
+ :param model_version:
+ The value to assign to the model_version property of this DataEntityFromSqlEntityDetails.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this DataEntityFromSqlEntityDetails.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this DataEntityFromSqlEntityDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this DataEntityFromSqlEntityDetails.
+ :type description: str
+
+ :param object_version:
+ The value to assign to the object_version property of this DataEntityFromSqlEntityDetails.
+ :type object_version: int
+
+ :param external_key:
+ The value to assign to the external_key property of this DataEntityFromSqlEntityDetails.
+ :type external_key: str
+
+ :param shape:
+ The value to assign to the shape property of this DataEntityFromSqlEntityDetails.
+ :type shape: oci.data_integration.models.Shape
+
+ :param shape_id:
+ The value to assign to the shape_id property of this DataEntityFromSqlEntityDetails.
+ :type shape_id: str
+
+ :param entity_type:
+ The value to assign to the entity_type property of this DataEntityFromSqlEntityDetails.
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL"
+ :type entity_type: str
+
+ :param other_type_label:
+ The value to assign to the other_type_label property of this DataEntityFromSqlEntityDetails.
+ :type other_type_label: str
+
+ :param unique_keys:
+ The value to assign to the unique_keys property of this DataEntityFromSqlEntityDetails.
+ :type unique_keys: list[oci.data_integration.models.UniqueKey]
+
+ :param foreign_keys:
+ The value to assign to the foreign_keys property of this DataEntityFromSqlEntityDetails.
+ :type foreign_keys: list[oci.data_integration.models.ForeignKey]
+
+ :param resource_name:
+ The value to assign to the resource_name property of this DataEntityFromSqlEntityDetails.
+ :type resource_name: str
+
+ :param object_status:
+ The value to assign to the object_status property of this DataEntityFromSqlEntityDetails.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this DataEntityFromSqlEntityDetails.
+ :type identifier: str
+
+ :param sql_query:
+ The value to assign to the sql_query property of this DataEntityFromSqlEntityDetails.
+ :type sql_query: str
+
+ """
+ self.swagger_types = {
+ 'model_type': 'str',
+ 'key': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'description': 'str',
+ 'object_version': 'int',
+ 'external_key': 'str',
+ 'shape': 'Shape',
+ 'shape_id': 'str',
+ 'entity_type': 'str',
+ 'other_type_label': 'str',
+ 'unique_keys': 'list[UniqueKey]',
+ 'foreign_keys': 'list[ForeignKey]',
+ 'resource_name': 'str',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'sql_query': 'str'
+ }
+
+ self.attribute_map = {
+ 'model_type': 'modelType',
+ 'key': 'key',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'description': 'description',
+ 'object_version': 'objectVersion',
+ 'external_key': 'externalKey',
+ 'shape': 'shape',
+ 'shape_id': 'shapeId',
+ 'entity_type': 'entityType',
+ 'other_type_label': 'otherTypeLabel',
+ 'unique_keys': 'uniqueKeys',
+ 'foreign_keys': 'foreignKeys',
+ 'resource_name': 'resourceName',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'sql_query': 'sqlQuery'
+ }
+
+ self._model_type = None
+ self._key = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._description = None
+ self._object_version = None
+ self._external_key = None
+ self._shape = None
+ self._shape_id = None
+ self._entity_type = None
+ self._other_type_label = None
+ self._unique_keys = None
+ self._foreign_keys = None
+ self._resource_name = None
+ self._object_status = None
+ self._identifier = None
+ self._sql_query = None
+ self._model_type = 'SQL_ENTITY'
+
+ @property
+ def key(self):
+ """
+ Gets the key of this DataEntityFromSqlEntityDetails.
+ The object key.
+
+
+ :return: The key of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this DataEntityFromSqlEntityDetails.
+ The object key.
+
+
+ :param key: The key of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this DataEntityFromSqlEntityDetails.
+ The object's model version.
+
+
+ :return: The model_version of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this DataEntityFromSqlEntityDetails.
+ The object's model version.
+
+
+ :param model_version: The model_version of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this DataEntityFromSqlEntityDetails.
+
+ :return: The parent_ref of this DataEntityFromSqlEntityDetails.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this DataEntityFromSqlEntityDetails.
+
+ :param parent_ref: The parent_ref of this DataEntityFromSqlEntityDetails.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this DataEntityFromSqlEntityDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this DataEntityFromSqlEntityDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this DataEntityFromSqlEntityDetails.
+ Detailed description for the object.
+
+
+ :return: The description of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this DataEntityFromSqlEntityDetails.
+ Detailed description for the object.
+
+
+ :param description: The description of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this DataEntityFromSqlEntityDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this DataEntityFromSqlEntityDetails.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this DataEntityFromSqlEntityDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this DataEntityFromSqlEntityDetails.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def external_key(self):
+ """
+ Gets the external_key of this DataEntityFromSqlEntityDetails.
+ The external key for the object
+
+
+ :return: The external_key of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._external_key
+
+ @external_key.setter
+ def external_key(self, external_key):
+ """
+ Sets the external_key of this DataEntityFromSqlEntityDetails.
+ The external key for the object
+
+
+ :param external_key: The external_key of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._external_key = external_key
+
+ @property
+ def shape(self):
+ """
+ Gets the shape of this DataEntityFromSqlEntityDetails.
+
+ :return: The shape of this DataEntityFromSqlEntityDetails.
+ :rtype: oci.data_integration.models.Shape
+ """
+ return self._shape
+
+ @shape.setter
+ def shape(self, shape):
+ """
+ Sets the shape of this DataEntityFromSqlEntityDetails.
+
+ :param shape: The shape of this DataEntityFromSqlEntityDetails.
+ :type: oci.data_integration.models.Shape
+ """
+ self._shape = shape
+
+ @property
+ def shape_id(self):
+ """
+ Gets the shape_id of this DataEntityFromSqlEntityDetails.
+ The shape ID.
+
+
+ :return: The shape_id of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._shape_id
+
+ @shape_id.setter
+ def shape_id(self, shape_id):
+ """
+ Sets the shape_id of this DataEntityFromSqlEntityDetails.
+ The shape ID.
+
+
+ :param shape_id: The shape_id of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._shape_id = shape_id
+
+ @property
+ def entity_type(self):
+ """
+ Gets the entity_type of this DataEntityFromSqlEntityDetails.
+ The entity type.
+
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL"
+
+
+ :return: The entity_type of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._entity_type
+
+ @entity_type.setter
+ def entity_type(self, entity_type):
+ """
+ Sets the entity_type of this DataEntityFromSqlEntityDetails.
+ The entity type.
+
+
+ :param entity_type: The entity_type of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ allowed_values = ["TABLE", "VIEW", "FILE", "SQL"]
+ if not value_allowed_none_or_none_sentinel(entity_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `entity_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._entity_type = entity_type
+
+ @property
+ def other_type_label(self):
+ """
+ Gets the other_type_label of this DataEntityFromSqlEntityDetails.
+ Specifies other type labels.
+
+
+ :return: The other_type_label of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._other_type_label
+
+ @other_type_label.setter
+ def other_type_label(self, other_type_label):
+ """
+ Sets the other_type_label of this DataEntityFromSqlEntityDetails.
+ Specifies other type labels.
+
+
+ :param other_type_label: The other_type_label of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._other_type_label = other_type_label
+
+ @property
+ def unique_keys(self):
+ """
+ Gets the unique_keys of this DataEntityFromSqlEntityDetails.
+ An array of unique keys.
+
+
+ :return: The unique_keys of this DataEntityFromSqlEntityDetails.
+ :rtype: list[oci.data_integration.models.UniqueKey]
+ """
+ return self._unique_keys
+
+ @unique_keys.setter
+ def unique_keys(self, unique_keys):
+ """
+ Sets the unique_keys of this DataEntityFromSqlEntityDetails.
+ An array of unique keys.
+
+
+ :param unique_keys: The unique_keys of this DataEntityFromSqlEntityDetails.
+ :type: list[oci.data_integration.models.UniqueKey]
+ """
+ self._unique_keys = unique_keys
+
+ @property
+ def foreign_keys(self):
+ """
+ Gets the foreign_keys of this DataEntityFromSqlEntityDetails.
+ An array of foreign keys.
+
+
+ :return: The foreign_keys of this DataEntityFromSqlEntityDetails.
+ :rtype: list[oci.data_integration.models.ForeignKey]
+ """
+ return self._foreign_keys
+
+ @foreign_keys.setter
+ def foreign_keys(self, foreign_keys):
+ """
+ Sets the foreign_keys of this DataEntityFromSqlEntityDetails.
+ An array of foreign keys.
+
+
+ :param foreign_keys: The foreign_keys of this DataEntityFromSqlEntityDetails.
+ :type: list[oci.data_integration.models.ForeignKey]
+ """
+ self._foreign_keys = foreign_keys
+
+ @property
+ def resource_name(self):
+ """
+ Gets the resource_name of this DataEntityFromSqlEntityDetails.
+ The resource name.
+
+
+ :return: The resource_name of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this DataEntityFromSqlEntityDetails.
+ The resource name.
+
+
+ :param resource_name: The resource_name of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this DataEntityFromSqlEntityDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this DataEntityFromSqlEntityDetails.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this DataEntityFromSqlEntityDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this DataEntityFromSqlEntityDetails.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this DataEntityFromSqlEntityDetails.
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this DataEntityFromSqlEntityDetails.
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def sql_query(self):
+ """
+ Gets the sql_query of this DataEntityFromSqlEntityDetails.
+ sqlQuery
+
+
+ :return: The sql_query of this DataEntityFromSqlEntityDetails.
+ :rtype: str
+ """
+ return self._sql_query
+
+ @sql_query.setter
+ def sql_query(self, sql_query):
+ """
+ Sets the sql_query of this DataEntityFromSqlEntityDetails.
+ sqlQuery
+
+
+ :param sql_query: The sql_query of this DataEntityFromSqlEntityDetails.
+ :type: str
+ """
+ self._sql_query = sql_query
+
+ 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/data_integration/models/data_entity_from_table.py b/src/oci/data_integration/models/data_entity_from_table.py
index 1098ff9229..056fc5fdaf 100644
--- a/src/oci/data_integration/models/data_entity_from_table.py
+++ b/src/oci/data_integration/models/data_entity_from_table.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntityFromTable.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
diff --git a/src/oci/data_integration/models/data_entity_from_table_entity_details.py b/src/oci/data_integration/models/data_entity_from_table_entity_details.py
index 0915cd3d9f..8cddb423ab 100644
--- a/src/oci/data_integration/models/data_entity_from_table_entity_details.py
+++ b/src/oci/data_integration/models/data_entity_from_table_entity_details.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntityFromTableEntityDetails.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY"
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"
:type model_type: str
:param key:
diff --git a/src/oci/data_integration/models/data_entity_from_view.py b/src/oci/data_integration/models/data_entity_from_view.py
index 04ec657cd9..40a8e9d77b 100644
--- a/src/oci/data_integration/models/data_entity_from_view.py
+++ b/src/oci/data_integration/models/data_entity_from_view.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntityFromView.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
diff --git a/src/oci/data_integration/models/data_entity_from_view_entity_details.py b/src/oci/data_integration/models/data_entity_from_view_entity_details.py
index e451d560c6..1b8193409a 100644
--- a/src/oci/data_integration/models/data_entity_from_view_entity_details.py
+++ b/src/oci/data_integration/models/data_entity_from_view_entity_details.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntityFromViewEntityDetails.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY"
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"
:type model_type: str
:param key:
diff --git a/src/oci/data_integration/models/data_entity_summary.py b/src/oci/data_integration/models/data_entity_summary.py
index ddfe0156b7..dc2af111eb 100644
--- a/src/oci/data_integration/models/data_entity_summary.py
+++ b/src/oci/data_integration/models/data_entity_summary.py
@@ -25,6 +25,10 @@ class DataEntitySummary(object):
#: This constant has a value of "FILE_ENTITY"
MODEL_TYPE_FILE_ENTITY = "FILE_ENTITY"
+ #: A constant which can be used with the model_type property of a DataEntitySummary.
+ #: This constant has a value of "SQL_ENTITY"
+ MODEL_TYPE_SQL_ENTITY = "SQL_ENTITY"
+
#: A constant which can be used with the model_type property of a DataEntitySummary.
#: This constant has a value of "DATA_STORE_ENTITY"
MODEL_TYPE_DATA_STORE_ENTITY = "DATA_STORE_ENTITY"
@@ -37,13 +41,14 @@ def __init__(self, **kwargs):
* :class:`~oci.data_integration.models.DataEntitySummaryFromFile`
* :class:`~oci.data_integration.models.DataEntitySummaryFromTable`
* :class:`~oci.data_integration.models.DataEntitySummaryFromDataStore`
+ * :class:`~oci.data_integration.models.DataEntitySummaryFromSql`
* :class:`~oci.data_integration.models.DataEntitySummaryFromView`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param model_type:
The value to assign to the model_type property of this DataEntitySummary.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
@@ -82,6 +87,9 @@ def get_subtype(object_dictionary):
if type == 'DATA_STORE_ENTITY':
return 'DataEntitySummaryFromDataStore'
+ if type == 'SQL_ENTITY':
+ return 'DataEntitySummaryFromSql'
+
if type == 'VIEW_ENTITY':
return 'DataEntitySummaryFromView'
else:
@@ -93,7 +101,7 @@ def model_type(self):
**[Required]** Gets the model_type of this DataEntitySummary.
The data entity type.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -112,7 +120,7 @@ def model_type(self, model_type):
:param model_type: The model_type of this DataEntitySummary.
:type: str
"""
- allowed_values = ["VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY"]
+ allowed_values = ["VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY"]
if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
model_type = 'UNKNOWN_ENUM_VALUE'
self._model_type = model_type
diff --git a/src/oci/data_integration/models/data_entity_summary_from_data_store.py b/src/oci/data_integration/models/data_entity_summary_from_data_store.py
index 0c62c747b9..71e5bb1ede 100644
--- a/src/oci/data_integration/models/data_entity_summary_from_data_store.py
+++ b/src/oci/data_integration/models/data_entity_summary_from_data_store.py
@@ -49,7 +49,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntitySummaryFromDataStore.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
diff --git a/src/oci/data_integration/models/data_entity_summary_from_file.py b/src/oci/data_integration/models/data_entity_summary_from_file.py
index 2470182ac2..d4c7aadbf0 100644
--- a/src/oci/data_integration/models/data_entity_summary_from_file.py
+++ b/src/oci/data_integration/models/data_entity_summary_from_file.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntitySummaryFromFile.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
diff --git a/src/oci/data_integration/models/data_entity_summary_from_sql.py b/src/oci/data_integration/models/data_entity_summary_from_sql.py
new file mode 100644
index 0000000000..83f4f9b416
--- /dev/null
+++ b/src/oci/data_integration/models/data_entity_summary_from_sql.py
@@ -0,0 +1,600 @@
+# 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 .data_entity_summary import DataEntitySummary
+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 DataEntitySummaryFromSql(DataEntitySummary):
+ """
+ The sql entity data entity details.
+ """
+
+ #: A constant which can be used with the entity_type property of a DataEntitySummaryFromSql.
+ #: This constant has a value of "TABLE"
+ ENTITY_TYPE_TABLE = "TABLE"
+
+ #: A constant which can be used with the entity_type property of a DataEntitySummaryFromSql.
+ #: This constant has a value of "VIEW"
+ ENTITY_TYPE_VIEW = "VIEW"
+
+ #: A constant which can be used with the entity_type property of a DataEntitySummaryFromSql.
+ #: This constant has a value of "FILE"
+ ENTITY_TYPE_FILE = "FILE"
+
+ #: A constant which can be used with the entity_type property of a DataEntitySummaryFromSql.
+ #: This constant has a value of "SQL"
+ ENTITY_TYPE_SQL = "SQL"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new DataEntitySummaryFromSql object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.DataEntitySummaryFromSql.model_type` attribute
+ of this class is ``SQL_ENTITY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param model_type:
+ The value to assign to the model_type property of this DataEntitySummaryFromSql.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param metadata:
+ The value to assign to the metadata property of this DataEntitySummaryFromSql.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ :param key:
+ The value to assign to the key property of this DataEntitySummaryFromSql.
+ :type key: str
+
+ :param model_version:
+ The value to assign to the model_version property of this DataEntitySummaryFromSql.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this DataEntitySummaryFromSql.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this DataEntitySummaryFromSql.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this DataEntitySummaryFromSql.
+ :type description: str
+
+ :param object_version:
+ The value to assign to the object_version property of this DataEntitySummaryFromSql.
+ :type object_version: int
+
+ :param external_key:
+ The value to assign to the external_key property of this DataEntitySummaryFromSql.
+ :type external_key: str
+
+ :param shape:
+ The value to assign to the shape property of this DataEntitySummaryFromSql.
+ :type shape: oci.data_integration.models.Shape
+
+ :param shape_id:
+ The value to assign to the shape_id property of this DataEntitySummaryFromSql.
+ :type shape_id: str
+
+ :param entity_type:
+ The value to assign to the entity_type property of this DataEntitySummaryFromSql.
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type entity_type: str
+
+ :param other_type_label:
+ The value to assign to the other_type_label property of this DataEntitySummaryFromSql.
+ :type other_type_label: str
+
+ :param unique_keys:
+ The value to assign to the unique_keys property of this DataEntitySummaryFromSql.
+ :type unique_keys: list[oci.data_integration.models.UniqueKey]
+
+ :param foreign_keys:
+ The value to assign to the foreign_keys property of this DataEntitySummaryFromSql.
+ :type foreign_keys: list[oci.data_integration.models.ForeignKey]
+
+ :param resource_name:
+ The value to assign to the resource_name property of this DataEntitySummaryFromSql.
+ :type resource_name: str
+
+ :param object_status:
+ The value to assign to the object_status property of this DataEntitySummaryFromSql.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this DataEntitySummaryFromSql.
+ :type identifier: str
+
+ :param sql_query:
+ The value to assign to the sql_query property of this DataEntitySummaryFromSql.
+ :type sql_query: str
+
+ """
+ self.swagger_types = {
+ 'model_type': 'str',
+ 'metadata': 'ObjectMetadata',
+ 'key': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'description': 'str',
+ 'object_version': 'int',
+ 'external_key': 'str',
+ 'shape': 'Shape',
+ 'shape_id': 'str',
+ 'entity_type': 'str',
+ 'other_type_label': 'str',
+ 'unique_keys': 'list[UniqueKey]',
+ 'foreign_keys': 'list[ForeignKey]',
+ 'resource_name': 'str',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'sql_query': 'str'
+ }
+
+ self.attribute_map = {
+ 'model_type': 'modelType',
+ 'metadata': 'metadata',
+ 'key': 'key',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'description': 'description',
+ 'object_version': 'objectVersion',
+ 'external_key': 'externalKey',
+ 'shape': 'shape',
+ 'shape_id': 'shapeId',
+ 'entity_type': 'entityType',
+ 'other_type_label': 'otherTypeLabel',
+ 'unique_keys': 'uniqueKeys',
+ 'foreign_keys': 'foreignKeys',
+ 'resource_name': 'resourceName',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'sql_query': 'sqlQuery'
+ }
+
+ self._model_type = None
+ self._metadata = None
+ self._key = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._description = None
+ self._object_version = None
+ self._external_key = None
+ self._shape = None
+ self._shape_id = None
+ self._entity_type = None
+ self._other_type_label = None
+ self._unique_keys = None
+ self._foreign_keys = None
+ self._resource_name = None
+ self._object_status = None
+ self._identifier = None
+ self._sql_query = None
+ self._model_type = 'SQL_ENTITY'
+
+ @property
+ def key(self):
+ """
+ Gets the key of this DataEntitySummaryFromSql.
+ The object key.
+
+
+ :return: The key of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this DataEntitySummaryFromSql.
+ The object key.
+
+
+ :param key: The key of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this DataEntitySummaryFromSql.
+ The object's model version.
+
+
+ :return: The model_version of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this DataEntitySummaryFromSql.
+ The object's model version.
+
+
+ :param model_version: The model_version of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this DataEntitySummaryFromSql.
+
+ :return: The parent_ref of this DataEntitySummaryFromSql.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this DataEntitySummaryFromSql.
+
+ :param parent_ref: The parent_ref of this DataEntitySummaryFromSql.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this DataEntitySummaryFromSql.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this DataEntitySummaryFromSql.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this DataEntitySummaryFromSql.
+ Detailed description for the object.
+
+
+ :return: The description of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this DataEntitySummaryFromSql.
+ Detailed description for the object.
+
+
+ :param description: The description of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this DataEntitySummaryFromSql.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this DataEntitySummaryFromSql.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this DataEntitySummaryFromSql.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this DataEntitySummaryFromSql.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def external_key(self):
+ """
+ Gets the external_key of this DataEntitySummaryFromSql.
+ The external key for the object
+
+
+ :return: The external_key of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._external_key
+
+ @external_key.setter
+ def external_key(self, external_key):
+ """
+ Sets the external_key of this DataEntitySummaryFromSql.
+ The external key for the object
+
+
+ :param external_key: The external_key of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._external_key = external_key
+
+ @property
+ def shape(self):
+ """
+ Gets the shape of this DataEntitySummaryFromSql.
+
+ :return: The shape of this DataEntitySummaryFromSql.
+ :rtype: oci.data_integration.models.Shape
+ """
+ return self._shape
+
+ @shape.setter
+ def shape(self, shape):
+ """
+ Sets the shape of this DataEntitySummaryFromSql.
+
+ :param shape: The shape of this DataEntitySummaryFromSql.
+ :type: oci.data_integration.models.Shape
+ """
+ self._shape = shape
+
+ @property
+ def shape_id(self):
+ """
+ Gets the shape_id of this DataEntitySummaryFromSql.
+ The shape ID.
+
+
+ :return: The shape_id of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._shape_id
+
+ @shape_id.setter
+ def shape_id(self, shape_id):
+ """
+ Sets the shape_id of this DataEntitySummaryFromSql.
+ The shape ID.
+
+
+ :param shape_id: The shape_id of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._shape_id = shape_id
+
+ @property
+ def entity_type(self):
+ """
+ Gets the entity_type of this DataEntitySummaryFromSql.
+ The entity type.
+
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The entity_type of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._entity_type
+
+ @entity_type.setter
+ def entity_type(self, entity_type):
+ """
+ Sets the entity_type of this DataEntitySummaryFromSql.
+ The entity type.
+
+
+ :param entity_type: The entity_type of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ allowed_values = ["TABLE", "VIEW", "FILE", "SQL"]
+ if not value_allowed_none_or_none_sentinel(entity_type, allowed_values):
+ entity_type = 'UNKNOWN_ENUM_VALUE'
+ self._entity_type = entity_type
+
+ @property
+ def other_type_label(self):
+ """
+ Gets the other_type_label of this DataEntitySummaryFromSql.
+ Specifies other type label.
+
+
+ :return: The other_type_label of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._other_type_label
+
+ @other_type_label.setter
+ def other_type_label(self, other_type_label):
+ """
+ Sets the other_type_label of this DataEntitySummaryFromSql.
+ Specifies other type label.
+
+
+ :param other_type_label: The other_type_label of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._other_type_label = other_type_label
+
+ @property
+ def unique_keys(self):
+ """
+ Gets the unique_keys of this DataEntitySummaryFromSql.
+ An array of unique keys.
+
+
+ :return: The unique_keys of this DataEntitySummaryFromSql.
+ :rtype: list[oci.data_integration.models.UniqueKey]
+ """
+ return self._unique_keys
+
+ @unique_keys.setter
+ def unique_keys(self, unique_keys):
+ """
+ Sets the unique_keys of this DataEntitySummaryFromSql.
+ An array of unique keys.
+
+
+ :param unique_keys: The unique_keys of this DataEntitySummaryFromSql.
+ :type: list[oci.data_integration.models.UniqueKey]
+ """
+ self._unique_keys = unique_keys
+
+ @property
+ def foreign_keys(self):
+ """
+ Gets the foreign_keys of this DataEntitySummaryFromSql.
+ An array of foreign keys.
+
+
+ :return: The foreign_keys of this DataEntitySummaryFromSql.
+ :rtype: list[oci.data_integration.models.ForeignKey]
+ """
+ return self._foreign_keys
+
+ @foreign_keys.setter
+ def foreign_keys(self, foreign_keys):
+ """
+ Sets the foreign_keys of this DataEntitySummaryFromSql.
+ An array of foreign keys.
+
+
+ :param foreign_keys: The foreign_keys of this DataEntitySummaryFromSql.
+ :type: list[oci.data_integration.models.ForeignKey]
+ """
+ self._foreign_keys = foreign_keys
+
+ @property
+ def resource_name(self):
+ """
+ Gets the resource_name of this DataEntitySummaryFromSql.
+ The resource name.
+
+
+ :return: The resource_name of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this DataEntitySummaryFromSql.
+ The resource name.
+
+
+ :param resource_name: The resource_name of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this DataEntitySummaryFromSql.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this DataEntitySummaryFromSql.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this DataEntitySummaryFromSql.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this DataEntitySummaryFromSql.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this DataEntitySummaryFromSql.
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this DataEntitySummaryFromSql.
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def sql_query(self):
+ """
+ Gets the sql_query of this DataEntitySummaryFromSql.
+ sqlQuery
+
+
+ :return: The sql_query of this DataEntitySummaryFromSql.
+ :rtype: str
+ """
+ return self._sql_query
+
+ @sql_query.setter
+ def sql_query(self, sql_query):
+ """
+ Sets the sql_query of this DataEntitySummaryFromSql.
+ sqlQuery
+
+
+ :param sql_query: The sql_query of this DataEntitySummaryFromSql.
+ :type: str
+ """
+ self._sql_query = sql_query
+
+ 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/data_integration/models/data_entity_summary_from_table.py b/src/oci/data_integration/models/data_entity_summary_from_table.py
index 52712e85a7..ed312de316 100644
--- a/src/oci/data_integration/models/data_entity_summary_from_table.py
+++ b/src/oci/data_integration/models/data_entity_summary_from_table.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntitySummaryFromTable.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
diff --git a/src/oci/data_integration/models/data_entity_summary_from_view.py b/src/oci/data_integration/models/data_entity_summary_from_view.py
index d6d321ded2..ffe25113b4 100644
--- a/src/oci/data_integration/models/data_entity_summary_from_view.py
+++ b/src/oci/data_integration/models/data_entity_summary_from_view.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this DataEntitySummaryFromView.
- Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VIEW_ENTITY", "TABLE_ENTITY", "FILE_ENTITY", "SQL_ENTITY", "DATA_STORE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
diff --git a/src/oci/data_integration/models/derived_field.py b/src/oci/data_integration/models/derived_field.py
index 748bf77da8..f5af96458d 100644
--- a/src/oci/data_integration/models/derived_field.py
+++ b/src/oci/data_integration/models/derived_field.py
@@ -60,6 +60,10 @@ def __init__(self, **kwargs):
The value to assign to the type property of this DerivedField.
:type type: str
+ :param is_use_inferred_type:
+ The value to assign to the is_use_inferred_type property of this DerivedField.
+ :type is_use_inferred_type: bool
+
:param labels:
The value to assign to the labels property of this DerivedField.
:type labels: list[str]
@@ -76,6 +80,7 @@ def __init__(self, **kwargs):
'description': 'str',
'expr': 'Expression',
'type': 'str',
+ 'is_use_inferred_type': 'bool',
'labels': 'list[str]'
}
@@ -90,6 +95,7 @@ def __init__(self, **kwargs):
'description': 'description',
'expr': 'expr',
'type': 'type',
+ 'is_use_inferred_type': 'isUseInferredType',
'labels': 'labels'
}
@@ -103,6 +109,7 @@ def __init__(self, **kwargs):
self._description = None
self._expr = None
self._type = None
+ self._is_use_inferred_type = None
self._labels = None
self._model_type = 'DERIVED_FIELD'
@@ -150,6 +157,30 @@ def type(self, type):
"""
self._type = type
+ @property
+ def is_use_inferred_type(self):
+ """
+ Gets the is_use_inferred_type of this DerivedField.
+ Specifies whether to use inferred expression output type as output type of the derived field. Default value of this flag is false.
+
+
+ :return: The is_use_inferred_type of this DerivedField.
+ :rtype: bool
+ """
+ return self._is_use_inferred_type
+
+ @is_use_inferred_type.setter
+ def is_use_inferred_type(self, is_use_inferred_type):
+ """
+ Sets the is_use_inferred_type of this DerivedField.
+ Specifies whether to use inferred expression output type as output type of the derived field. Default value of this flag is false.
+
+
+ :param is_use_inferred_type: The is_use_inferred_type of this DerivedField.
+ :type: bool
+ """
+ self._is_use_inferred_type = is_use_inferred_type
+
@property
def labels(self):
"""
diff --git a/src/oci/data_integration/models/entity_shape.py b/src/oci/data_integration/models/entity_shape.py
index 337e4f2d57..f6f67e0c79 100644
--- a/src/oci/data_integration/models/entity_shape.py
+++ b/src/oci/data_integration/models/entity_shape.py
@@ -17,18 +17,23 @@ class EntityShape(object):
#: This constant has a value of "FILE_ENTITY"
MODEL_TYPE_FILE_ENTITY = "FILE_ENTITY"
+ #: A constant which can be used with the model_type property of a EntityShape.
+ #: This constant has a value of "SQL_ENTITY"
+ MODEL_TYPE_SQL_ENTITY = "SQL_ENTITY"
+
def __init__(self, **kwargs):
"""
Initializes a new EntityShape object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
to a service operations then you should favor using a subclass over the base class:
+ * :class:`~oci.data_integration.models.EntityShapeFromSQL`
* :class:`~oci.data_integration.models.EntityShapeFromFile`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
:param model_type:
The value to assign to the model_type property of this EntityShape.
- Allowed values for this property are: "FILE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "FILE_ENTITY", "SQL_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
@@ -58,6 +63,9 @@ def get_subtype(object_dictionary):
"""
type = object_dictionary['modelType']
+ if type == 'SQL_ENTITY':
+ return 'EntityShapeFromSQL'
+
if type == 'FILE_ENTITY':
return 'EntityShapeFromFile'
else:
@@ -69,7 +77,7 @@ def model_type(self):
**[Required]** Gets the model_type of this EntityShape.
The data entity type.
- Allowed values for this property are: "FILE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "FILE_ENTITY", "SQL_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -88,7 +96,7 @@ def model_type(self, model_type):
:param model_type: The model_type of this EntityShape.
:type: str
"""
- allowed_values = ["FILE_ENTITY"]
+ allowed_values = ["FILE_ENTITY", "SQL_ENTITY"]
if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
model_type = 'UNKNOWN_ENUM_VALUE'
self._model_type = model_type
diff --git a/src/oci/data_integration/models/entity_shape_from_file.py b/src/oci/data_integration/models/entity_shape_from_file.py
index b768e178a3..62ff9fbb5e 100644
--- a/src/oci/data_integration/models/entity_shape_from_file.py
+++ b/src/oci/data_integration/models/entity_shape_from_file.py
@@ -45,7 +45,7 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this EntityShapeFromFile.
- Allowed values for this property are: "FILE_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "FILE_ENTITY", "SQL_ENTITY", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
diff --git a/src/oci/data_integration/models/entity_shape_from_sql.py b/src/oci/data_integration/models/entity_shape_from_sql.py
new file mode 100644
index 0000000000..4fa6d4b207
--- /dev/null
+++ b/src/oci/data_integration/models/entity_shape_from_sql.py
@@ -0,0 +1,627 @@
+# 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 .entity_shape import EntityShape
+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 EntityShapeFromSQL(EntityShape):
+ """
+ The SQL entity details.
+ """
+
+ #: A constant which can be used with the entity_type property of a EntityShapeFromSQL.
+ #: This constant has a value of "TABLE"
+ ENTITY_TYPE_TABLE = "TABLE"
+
+ #: A constant which can be used with the entity_type property of a EntityShapeFromSQL.
+ #: This constant has a value of "VIEW"
+ ENTITY_TYPE_VIEW = "VIEW"
+
+ #: A constant which can be used with the entity_type property of a EntityShapeFromSQL.
+ #: This constant has a value of "FILE"
+ ENTITY_TYPE_FILE = "FILE"
+
+ #: A constant which can be used with the entity_type property of a EntityShapeFromSQL.
+ #: This constant has a value of "SQL"
+ ENTITY_TYPE_SQL = "SQL"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new EntityShapeFromSQL object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.EntityShapeFromSQL.model_type` attribute
+ of this class is ``SQL_ENTITY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param model_type:
+ The value to assign to the model_type property of this EntityShapeFromSQL.
+ Allowed values for this property are: "FILE_ENTITY", "SQL_ENTITY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param metadata:
+ The value to assign to the metadata property of this EntityShapeFromSQL.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ :param key:
+ The value to assign to the key property of this EntityShapeFromSQL.
+ :type key: str
+
+ :param model_version:
+ The value to assign to the model_version property of this EntityShapeFromSQL.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this EntityShapeFromSQL.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this EntityShapeFromSQL.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this EntityShapeFromSQL.
+ :type description: str
+
+ :param object_version:
+ The value to assign to the object_version property of this EntityShapeFromSQL.
+ :type object_version: int
+
+ :param external_key:
+ The value to assign to the external_key property of this EntityShapeFromSQL.
+ :type external_key: str
+
+ :param shape:
+ The value to assign to the shape property of this EntityShapeFromSQL.
+ :type shape: oci.data_integration.models.Shape
+
+ :param shape_id:
+ The value to assign to the shape_id property of this EntityShapeFromSQL.
+ :type shape_id: str
+
+ :param entity_type:
+ The value to assign to the entity_type property of this EntityShapeFromSQL.
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type entity_type: str
+
+ :param other_type_label:
+ The value to assign to the other_type_label property of this EntityShapeFromSQL.
+ :type other_type_label: str
+
+ :param unique_keys:
+ The value to assign to the unique_keys property of this EntityShapeFromSQL.
+ :type unique_keys: list[oci.data_integration.models.UniqueKey]
+
+ :param foreign_keys:
+ The value to assign to the foreign_keys property of this EntityShapeFromSQL.
+ :type foreign_keys: list[oci.data_integration.models.ForeignKey]
+
+ :param resource_name:
+ The value to assign to the resource_name property of this EntityShapeFromSQL.
+ :type resource_name: str
+
+ :param data_format:
+ The value to assign to the data_format property of this EntityShapeFromSQL.
+ :type data_format: oci.data_integration.models.DataFormat
+
+ :param object_status:
+ The value to assign to the object_status property of this EntityShapeFromSQL.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this EntityShapeFromSQL.
+ :type identifier: str
+
+ :param sql_query:
+ The value to assign to the sql_query property of this EntityShapeFromSQL.
+ :type sql_query: str
+
+ """
+ self.swagger_types = {
+ 'model_type': 'str',
+ 'metadata': 'ObjectMetadata',
+ 'key': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'description': 'str',
+ 'object_version': 'int',
+ 'external_key': 'str',
+ 'shape': 'Shape',
+ 'shape_id': 'str',
+ 'entity_type': 'str',
+ 'other_type_label': 'str',
+ 'unique_keys': 'list[UniqueKey]',
+ 'foreign_keys': 'list[ForeignKey]',
+ 'resource_name': 'str',
+ 'data_format': 'DataFormat',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'sql_query': 'str'
+ }
+
+ self.attribute_map = {
+ 'model_type': 'modelType',
+ 'metadata': 'metadata',
+ 'key': 'key',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'description': 'description',
+ 'object_version': 'objectVersion',
+ 'external_key': 'externalKey',
+ 'shape': 'shape',
+ 'shape_id': 'shapeId',
+ 'entity_type': 'entityType',
+ 'other_type_label': 'otherTypeLabel',
+ 'unique_keys': 'uniqueKeys',
+ 'foreign_keys': 'foreignKeys',
+ 'resource_name': 'resourceName',
+ 'data_format': 'dataFormat',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'sql_query': 'sqlQuery'
+ }
+
+ self._model_type = None
+ self._metadata = None
+ self._key = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._description = None
+ self._object_version = None
+ self._external_key = None
+ self._shape = None
+ self._shape_id = None
+ self._entity_type = None
+ self._other_type_label = None
+ self._unique_keys = None
+ self._foreign_keys = None
+ self._resource_name = None
+ self._data_format = None
+ self._object_status = None
+ self._identifier = None
+ self._sql_query = None
+ self._model_type = 'SQL_ENTITY'
+
+ @property
+ def key(self):
+ """
+ Gets the key of this EntityShapeFromSQL.
+ The object key.
+
+
+ :return: The key of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this EntityShapeFromSQL.
+ The object key.
+
+
+ :param key: The key of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this EntityShapeFromSQL.
+ The object's model version.
+
+
+ :return: The model_version of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this EntityShapeFromSQL.
+ The object's model version.
+
+
+ :param model_version: The model_version of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this EntityShapeFromSQL.
+
+ :return: The parent_ref of this EntityShapeFromSQL.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this EntityShapeFromSQL.
+
+ :param parent_ref: The parent_ref of this EntityShapeFromSQL.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this EntityShapeFromSQL.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this EntityShapeFromSQL.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this EntityShapeFromSQL.
+ Detailed description for the object.
+
+
+ :return: The description of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this EntityShapeFromSQL.
+ Detailed description for the object.
+
+
+ :param description: The description of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this EntityShapeFromSQL.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this EntityShapeFromSQL.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this EntityShapeFromSQL.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this EntityShapeFromSQL.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def external_key(self):
+ """
+ Gets the external_key of this EntityShapeFromSQL.
+ The external key for the object.
+
+
+ :return: The external_key of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._external_key
+
+ @external_key.setter
+ def external_key(self, external_key):
+ """
+ Sets the external_key of this EntityShapeFromSQL.
+ The external key for the object.
+
+
+ :param external_key: The external_key of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._external_key = external_key
+
+ @property
+ def shape(self):
+ """
+ Gets the shape of this EntityShapeFromSQL.
+
+ :return: The shape of this EntityShapeFromSQL.
+ :rtype: oci.data_integration.models.Shape
+ """
+ return self._shape
+
+ @shape.setter
+ def shape(self, shape):
+ """
+ Sets the shape of this EntityShapeFromSQL.
+
+ :param shape: The shape of this EntityShapeFromSQL.
+ :type: oci.data_integration.models.Shape
+ """
+ self._shape = shape
+
+ @property
+ def shape_id(self):
+ """
+ Gets the shape_id of this EntityShapeFromSQL.
+ The shape ID.
+
+
+ :return: The shape_id of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._shape_id
+
+ @shape_id.setter
+ def shape_id(self, shape_id):
+ """
+ Sets the shape_id of this EntityShapeFromSQL.
+ The shape ID.
+
+
+ :param shape_id: The shape_id of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._shape_id = shape_id
+
+ @property
+ def entity_type(self):
+ """
+ Gets the entity_type of this EntityShapeFromSQL.
+ The entity type.
+
+ Allowed values for this property are: "TABLE", "VIEW", "FILE", "SQL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The entity_type of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._entity_type
+
+ @entity_type.setter
+ def entity_type(self, entity_type):
+ """
+ Sets the entity_type of this EntityShapeFromSQL.
+ The entity type.
+
+
+ :param entity_type: The entity_type of this EntityShapeFromSQL.
+ :type: str
+ """
+ allowed_values = ["TABLE", "VIEW", "FILE", "SQL"]
+ if not value_allowed_none_or_none_sentinel(entity_type, allowed_values):
+ entity_type = 'UNKNOWN_ENUM_VALUE'
+ self._entity_type = entity_type
+
+ @property
+ def other_type_label(self):
+ """
+ Gets the other_type_label of this EntityShapeFromSQL.
+ Specifies other type label.
+
+
+ :return: The other_type_label of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._other_type_label
+
+ @other_type_label.setter
+ def other_type_label(self, other_type_label):
+ """
+ Sets the other_type_label of this EntityShapeFromSQL.
+ Specifies other type label.
+
+
+ :param other_type_label: The other_type_label of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._other_type_label = other_type_label
+
+ @property
+ def unique_keys(self):
+ """
+ Gets the unique_keys of this EntityShapeFromSQL.
+ An array of unique keys.
+
+
+ :return: The unique_keys of this EntityShapeFromSQL.
+ :rtype: list[oci.data_integration.models.UniqueKey]
+ """
+ return self._unique_keys
+
+ @unique_keys.setter
+ def unique_keys(self, unique_keys):
+ """
+ Sets the unique_keys of this EntityShapeFromSQL.
+ An array of unique keys.
+
+
+ :param unique_keys: The unique_keys of this EntityShapeFromSQL.
+ :type: list[oci.data_integration.models.UniqueKey]
+ """
+ self._unique_keys = unique_keys
+
+ @property
+ def foreign_keys(self):
+ """
+ Gets the foreign_keys of this EntityShapeFromSQL.
+ An array of foreign keys.
+
+
+ :return: The foreign_keys of this EntityShapeFromSQL.
+ :rtype: list[oci.data_integration.models.ForeignKey]
+ """
+ return self._foreign_keys
+
+ @foreign_keys.setter
+ def foreign_keys(self, foreign_keys):
+ """
+ Sets the foreign_keys of this EntityShapeFromSQL.
+ An array of foreign keys.
+
+
+ :param foreign_keys: The foreign_keys of this EntityShapeFromSQL.
+ :type: list[oci.data_integration.models.ForeignKey]
+ """
+ self._foreign_keys = foreign_keys
+
+ @property
+ def resource_name(self):
+ """
+ Gets the resource_name of this EntityShapeFromSQL.
+ The resource name.
+
+
+ :return: The resource_name of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this EntityShapeFromSQL.
+ The resource name.
+
+
+ :param resource_name: The resource_name of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def data_format(self):
+ """
+ Gets the data_format of this EntityShapeFromSQL.
+
+ :return: The data_format of this EntityShapeFromSQL.
+ :rtype: oci.data_integration.models.DataFormat
+ """
+ return self._data_format
+
+ @data_format.setter
+ def data_format(self, data_format):
+ """
+ Sets the data_format of this EntityShapeFromSQL.
+
+ :param data_format: The data_format of this EntityShapeFromSQL.
+ :type: oci.data_integration.models.DataFormat
+ """
+ self._data_format = data_format
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this EntityShapeFromSQL.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this EntityShapeFromSQL.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this EntityShapeFromSQL.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this EntityShapeFromSQL.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this EntityShapeFromSQL.
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this EntityShapeFromSQL.
+ Value can only contain upper case letters, underscore and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def sql_query(self):
+ """
+ Gets the sql_query of this EntityShapeFromSQL.
+ sqlQuery
+
+
+ :return: The sql_query of this EntityShapeFromSQL.
+ :rtype: str
+ """
+ return self._sql_query
+
+ @sql_query.setter
+ def sql_query(self, sql_query):
+ """
+ Sets the sql_query of this EntityShapeFromSQL.
+ sqlQuery
+
+
+ :param sql_query: The sql_query of this EntityShapeFromSQL.
+ :type: str
+ """
+ self._sql_query = sql_query
+
+ 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/data_integration/models/execute_rest_call_config.py b/src/oci/data_integration/models/execute_rest_call_config.py
new file mode 100644
index 0000000000..f82553d0aa
--- /dev/null
+++ b/src/oci/data_integration/models/execute_rest_call_config.py
@@ -0,0 +1,156 @@
+# 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 ExecuteRestCallConfig(object):
+ """
+ The REST API configuration for execution.
+ """
+
+ #: A constant which can be used with the method_type property of a ExecuteRestCallConfig.
+ #: This constant has a value of "GET"
+ METHOD_TYPE_GET = "GET"
+
+ #: A constant which can be used with the method_type property of a ExecuteRestCallConfig.
+ #: This constant has a value of "POST"
+ METHOD_TYPE_POST = "POST"
+
+ #: A constant which can be used with the method_type property of a ExecuteRestCallConfig.
+ #: This constant has a value of "PATCH"
+ METHOD_TYPE_PATCH = "PATCH"
+
+ #: A constant which can be used with the method_type property of a ExecuteRestCallConfig.
+ #: This constant has a value of "DELETE"
+ METHOD_TYPE_DELETE = "DELETE"
+
+ #: A constant which can be used with the method_type property of a ExecuteRestCallConfig.
+ #: This constant has a value of "PUT"
+ METHOD_TYPE_PUT = "PUT"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ExecuteRestCallConfig object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param method_type:
+ The value to assign to the method_type property of this ExecuteRestCallConfig.
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type method_type: str
+
+ :param request_headers:
+ The value to assign to the request_headers property of this ExecuteRestCallConfig.
+ :type request_headers: dict(str, str)
+
+ :param config_values:
+ The value to assign to the config_values property of this ExecuteRestCallConfig.
+ :type config_values: oci.data_integration.models.ConfigValues
+
+ """
+ self.swagger_types = {
+ 'method_type': 'str',
+ 'request_headers': 'dict(str, str)',
+ 'config_values': 'ConfigValues'
+ }
+
+ self.attribute_map = {
+ 'method_type': 'methodType',
+ 'request_headers': 'requestHeaders',
+ 'config_values': 'configValues'
+ }
+
+ self._method_type = None
+ self._request_headers = None
+ self._config_values = None
+
+ @property
+ def method_type(self):
+ """
+ Gets the method_type of this ExecuteRestCallConfig.
+ The REST method to use.
+
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The method_type of this ExecuteRestCallConfig.
+ :rtype: str
+ """
+ return self._method_type
+
+ @method_type.setter
+ def method_type(self, method_type):
+ """
+ Sets the method_type of this ExecuteRestCallConfig.
+ The REST method to use.
+
+
+ :param method_type: The method_type of this ExecuteRestCallConfig.
+ :type: str
+ """
+ allowed_values = ["GET", "POST", "PATCH", "DELETE", "PUT"]
+ if not value_allowed_none_or_none_sentinel(method_type, allowed_values):
+ method_type = 'UNKNOWN_ENUM_VALUE'
+ self._method_type = method_type
+
+ @property
+ def request_headers(self):
+ """
+ Gets the request_headers of this ExecuteRestCallConfig.
+ The headers for the REST call.
+
+
+ :return: The request_headers of this ExecuteRestCallConfig.
+ :rtype: dict(str, str)
+ """
+ return self._request_headers
+
+ @request_headers.setter
+ def request_headers(self, request_headers):
+ """
+ Sets the request_headers of this ExecuteRestCallConfig.
+ The headers for the REST call.
+
+
+ :param request_headers: The request_headers of this ExecuteRestCallConfig.
+ :type: dict(str, str)
+ """
+ self._request_headers = request_headers
+
+ @property
+ def config_values(self):
+ """
+ Gets the config_values of this ExecuteRestCallConfig.
+
+ :return: The config_values of this ExecuteRestCallConfig.
+ :rtype: oci.data_integration.models.ConfigValues
+ """
+ return self._config_values
+
+ @config_values.setter
+ def config_values(self, config_values):
+ """
+ Sets the config_values of this ExecuteRestCallConfig.
+
+ :param config_values: The config_values of this ExecuteRestCallConfig.
+ :type: oci.data_integration.models.ConfigValues
+ """
+ self._config_values = config_values
+
+ 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/data_integration/models/function_library.py b/src/oci/data_integration/models/function_library.py
new file mode 100644
index 0000000000..e48609f30a
--- /dev/null
+++ b/src/oci/data_integration/models/function_library.py
@@ -0,0 +1,415 @@
+# 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 FunctionLibrary(object):
+ """
+ The FunctionLibrary type contains the audit summary information and the definition of the FunctionLibrary.
+ """
+
+ #: A constant which can be used with the model_type property of a FunctionLibrary.
+ #: This constant has a value of "FUNCTION_LIBRARY"
+ MODEL_TYPE_FUNCTION_LIBRARY = "FUNCTION_LIBRARY"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new FunctionLibrary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this FunctionLibrary.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this FunctionLibrary.
+ Allowed values for this property are: "FUNCTION_LIBRARY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this FunctionLibrary.
+ :type model_version: str
+
+ :param name:
+ The value to assign to the name property of this FunctionLibrary.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this FunctionLibrary.
+ :type description: str
+
+ :param category_name:
+ The value to assign to the category_name property of this FunctionLibrary.
+ :type category_name: str
+
+ :param object_status:
+ The value to assign to the object_status property of this FunctionLibrary.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this FunctionLibrary.
+ :type identifier: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this FunctionLibrary.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param object_version:
+ The value to assign to the object_version property of this FunctionLibrary.
+ :type object_version: int
+
+ :param metadata:
+ The value to assign to the metadata property of this FunctionLibrary.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ :param key_map:
+ The value to assign to the key_map property of this FunctionLibrary.
+ :type key_map: dict(str, str)
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'category_name': 'str',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'parent_ref': 'ParentReference',
+ 'object_version': 'int',
+ 'metadata': 'ObjectMetadata',
+ 'key_map': 'dict(str, str)'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'name': 'name',
+ 'description': 'description',
+ 'category_name': 'categoryName',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'parent_ref': 'parentRef',
+ 'object_version': 'objectVersion',
+ 'metadata': 'metadata',
+ 'key_map': 'keyMap'
+ }
+
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._name = None
+ self._description = None
+ self._category_name = None
+ self._object_status = None
+ self._identifier = None
+ self._parent_ref = None
+ self._object_version = None
+ self._metadata = None
+ self._key_map = None
+
+ @property
+ def key(self):
+ """
+ Gets the key of this FunctionLibrary.
+ Generated key that can be used in API calls to identify FunctionLibrary.
+
+
+ :return: The key of this FunctionLibrary.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this FunctionLibrary.
+ Generated key that can be used in API calls to identify FunctionLibrary.
+
+
+ :param key: The key of this FunctionLibrary.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ Gets the model_type of this FunctionLibrary.
+ The type of the object.
+
+ Allowed values for this property are: "FUNCTION_LIBRARY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The model_type of this FunctionLibrary.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this FunctionLibrary.
+ The type of the object.
+
+
+ :param model_type: The model_type of this FunctionLibrary.
+ :type: str
+ """
+ allowed_values = ["FUNCTION_LIBRARY"]
+ if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
+ model_type = 'UNKNOWN_ENUM_VALUE'
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this FunctionLibrary.
+ The model version of an object.
+
+
+ :return: The model_version of this FunctionLibrary.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this FunctionLibrary.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this FunctionLibrary.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def name(self):
+ """
+ Gets the name of this FunctionLibrary.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this FunctionLibrary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this FunctionLibrary.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this FunctionLibrary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this FunctionLibrary.
+ A user defined description for the Function Library.
+
+
+ :return: The description of this FunctionLibrary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this FunctionLibrary.
+ A user defined description for the Function Library.
+
+
+ :param description: The description of this FunctionLibrary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def category_name(self):
+ """
+ Gets the category_name of this FunctionLibrary.
+ The category name.
+
+
+ :return: The category_name of this FunctionLibrary.
+ :rtype: str
+ """
+ return self._category_name
+
+ @category_name.setter
+ def category_name(self, category_name):
+ """
+ Sets the category_name of this FunctionLibrary.
+ The category name.
+
+
+ :param category_name: The category_name of this FunctionLibrary.
+ :type: str
+ """
+ self._category_name = category_name
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this FunctionLibrary.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this FunctionLibrary.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this FunctionLibrary.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this FunctionLibrary.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this FunctionLibrary.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this FunctionLibrary.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this FunctionLibrary.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this FunctionLibrary.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this FunctionLibrary.
+
+ :return: The parent_ref of this FunctionLibrary.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this FunctionLibrary.
+
+ :param parent_ref: The parent_ref of this FunctionLibrary.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this FunctionLibrary.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this FunctionLibrary.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this FunctionLibrary.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this FunctionLibrary.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def metadata(self):
+ """
+ Gets the metadata of this FunctionLibrary.
+
+ :return: The metadata of this FunctionLibrary.
+ :rtype: oci.data_integration.models.ObjectMetadata
+ """
+ return self._metadata
+
+ @metadata.setter
+ def metadata(self, metadata):
+ """
+ Sets the metadata of this FunctionLibrary.
+
+ :param metadata: The metadata of this FunctionLibrary.
+ :type: oci.data_integration.models.ObjectMetadata
+ """
+ self._metadata = metadata
+
+ @property
+ def key_map(self):
+ """
+ Gets the key_map of this FunctionLibrary.
+ A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :return: The key_map of this FunctionLibrary.
+ :rtype: dict(str, str)
+ """
+ return self._key_map
+
+ @key_map.setter
+ def key_map(self, key_map):
+ """
+ Sets the key_map of this FunctionLibrary.
+ A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :param key_map: The key_map of this FunctionLibrary.
+ :type: dict(str, str)
+ """
+ self._key_map = key_map
+
+ 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/data_integration/models/function_library_details.py b/src/oci/data_integration/models/function_library_details.py
new file mode 100644
index 0000000000..a01a71cb0e
--- /dev/null
+++ b/src/oci/data_integration/models/function_library_details.py
@@ -0,0 +1,385 @@
+# 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 FunctionLibraryDetails(object):
+ """
+ The details including name, description for the function library, which is a container for user defined functions.
+ """
+
+ #: A constant which can be used with the model_type property of a FunctionLibraryDetails.
+ #: This constant has a value of "FUNCTION_LIBRARY"
+ MODEL_TYPE_FUNCTION_LIBRARY = "FUNCTION_LIBRARY"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new FunctionLibraryDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this FunctionLibraryDetails.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this FunctionLibraryDetails.
+ Allowed values for this property are: "FUNCTION_LIBRARY"
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this FunctionLibraryDetails.
+ :type model_version: str
+
+ :param name:
+ The value to assign to the name property of this FunctionLibraryDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this FunctionLibraryDetails.
+ :type description: str
+
+ :param category_name:
+ The value to assign to the category_name property of this FunctionLibraryDetails.
+ :type category_name: str
+
+ :param object_status:
+ The value to assign to the object_status property of this FunctionLibraryDetails.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this FunctionLibraryDetails.
+ :type identifier: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this FunctionLibraryDetails.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param object_version:
+ The value to assign to the object_version property of this FunctionLibraryDetails.
+ :type object_version: int
+
+ :param registry_metadata:
+ The value to assign to the registry_metadata property of this FunctionLibraryDetails.
+ :type registry_metadata: oci.data_integration.models.RegistryMetadata
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'category_name': 'str',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'parent_ref': 'ParentReference',
+ 'object_version': 'int',
+ 'registry_metadata': 'RegistryMetadata'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'name': 'name',
+ 'description': 'description',
+ 'category_name': 'categoryName',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'parent_ref': 'parentRef',
+ 'object_version': 'objectVersion',
+ 'registry_metadata': 'registryMetadata'
+ }
+
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._name = None
+ self._description = None
+ self._category_name = None
+ self._object_status = None
+ self._identifier = None
+ self._parent_ref = None
+ self._object_version = None
+ self._registry_metadata = None
+
+ @property
+ def key(self):
+ """
+ **[Required]** Gets the key of this FunctionLibraryDetails.
+ Generated key that can be used in API calls to identify FunctionLibrary.
+
+
+ :return: The key of this FunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this FunctionLibraryDetails.
+ Generated key that can be used in API calls to identify FunctionLibrary.
+
+
+ :param key: The key of this FunctionLibraryDetails.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ **[Required]** Gets the model_type of this FunctionLibraryDetails.
+ The type of the object.
+
+ Allowed values for this property are: "FUNCTION_LIBRARY"
+
+
+ :return: The model_type of this FunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this FunctionLibraryDetails.
+ The type of the object.
+
+
+ :param model_type: The model_type of this FunctionLibraryDetails.
+ :type: str
+ """
+ allowed_values = ["FUNCTION_LIBRARY"]
+ if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `model_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this FunctionLibraryDetails.
+ The model version of an object.
+
+
+ :return: The model_version of this FunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this FunctionLibraryDetails.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this FunctionLibraryDetails.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def name(self):
+ """
+ Gets the name of this FunctionLibraryDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this FunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this FunctionLibraryDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this FunctionLibraryDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this FunctionLibraryDetails.
+ A user defined description for the FunctionLibrary.
+
+
+ :return: The description of this FunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this FunctionLibraryDetails.
+ A user defined description for the FunctionLibrary.
+
+
+ :param description: The description of this FunctionLibraryDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def category_name(self):
+ """
+ Gets the category_name of this FunctionLibraryDetails.
+ The category name.
+
+
+ :return: The category_name of this FunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._category_name
+
+ @category_name.setter
+ def category_name(self, category_name):
+ """
+ Sets the category_name of this FunctionLibraryDetails.
+ The category name.
+
+
+ :param category_name: The category_name of this FunctionLibraryDetails.
+ :type: str
+ """
+ self._category_name = category_name
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this FunctionLibraryDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this FunctionLibraryDetails.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this FunctionLibraryDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this FunctionLibraryDetails.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this FunctionLibraryDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this FunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this FunctionLibraryDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this FunctionLibraryDetails.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this FunctionLibraryDetails.
+
+ :return: The parent_ref of this FunctionLibraryDetails.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this FunctionLibraryDetails.
+
+ :param parent_ref: The parent_ref of this FunctionLibraryDetails.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def object_version(self):
+ """
+ **[Required]** Gets the object_version of this FunctionLibraryDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this FunctionLibraryDetails.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this FunctionLibraryDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this FunctionLibraryDetails.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def registry_metadata(self):
+ """
+ Gets the registry_metadata of this FunctionLibraryDetails.
+
+ :return: The registry_metadata of this FunctionLibraryDetails.
+ :rtype: oci.data_integration.models.RegistryMetadata
+ """
+ return self._registry_metadata
+
+ @registry_metadata.setter
+ def registry_metadata(self, registry_metadata):
+ """
+ Sets the registry_metadata of this FunctionLibraryDetails.
+
+ :param registry_metadata: The registry_metadata of this FunctionLibraryDetails.
+ :type: oci.data_integration.models.RegistryMetadata
+ """
+ self._registry_metadata = registry_metadata
+
+ 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/data_integration/models/function_library_summary.py b/src/oci/data_integration/models/function_library_summary.py
new file mode 100644
index 0000000000..4e21f1b462
--- /dev/null
+++ b/src/oci/data_integration/models/function_library_summary.py
@@ -0,0 +1,415 @@
+# 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 FunctionLibrarySummary(object):
+ """
+ The FunctionLibrary summary type contains the audit summary information and the definition of the Function Library.
+ """
+
+ #: A constant which can be used with the model_type property of a FunctionLibrarySummary.
+ #: This constant has a value of "FUNCTION_LIBRARY"
+ MODEL_TYPE_FUNCTION_LIBRARY = "FUNCTION_LIBRARY"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new FunctionLibrarySummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this FunctionLibrarySummary.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this FunctionLibrarySummary.
+ Allowed values for this property are: "FUNCTION_LIBRARY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this FunctionLibrarySummary.
+ :type model_version: str
+
+ :param name:
+ The value to assign to the name property of this FunctionLibrarySummary.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this FunctionLibrarySummary.
+ :type description: str
+
+ :param category_name:
+ The value to assign to the category_name property of this FunctionLibrarySummary.
+ :type category_name: str
+
+ :param object_status:
+ The value to assign to the object_status property of this FunctionLibrarySummary.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this FunctionLibrarySummary.
+ :type identifier: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this FunctionLibrarySummary.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param object_version:
+ The value to assign to the object_version property of this FunctionLibrarySummary.
+ :type object_version: int
+
+ :param metadata:
+ The value to assign to the metadata property of this FunctionLibrarySummary.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ :param key_map:
+ The value to assign to the key_map property of this FunctionLibrarySummary.
+ :type key_map: dict(str, str)
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'name': 'str',
+ 'description': 'str',
+ 'category_name': 'str',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'parent_ref': 'ParentReference',
+ 'object_version': 'int',
+ 'metadata': 'ObjectMetadata',
+ 'key_map': 'dict(str, str)'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'name': 'name',
+ 'description': 'description',
+ 'category_name': 'categoryName',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'parent_ref': 'parentRef',
+ 'object_version': 'objectVersion',
+ 'metadata': 'metadata',
+ 'key_map': 'keyMap'
+ }
+
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._name = None
+ self._description = None
+ self._category_name = None
+ self._object_status = None
+ self._identifier = None
+ self._parent_ref = None
+ self._object_version = None
+ self._metadata = None
+ self._key_map = None
+
+ @property
+ def key(self):
+ """
+ Gets the key of this FunctionLibrarySummary.
+ Generated key that can be used in API calls to identify FunctionLibrary.
+
+
+ :return: The key of this FunctionLibrarySummary.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this FunctionLibrarySummary.
+ Generated key that can be used in API calls to identify FunctionLibrary.
+
+
+ :param key: The key of this FunctionLibrarySummary.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ Gets the model_type of this FunctionLibrarySummary.
+ The type of the object.
+
+ Allowed values for this property are: "FUNCTION_LIBRARY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The model_type of this FunctionLibrarySummary.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this FunctionLibrarySummary.
+ The type of the object.
+
+
+ :param model_type: The model_type of this FunctionLibrarySummary.
+ :type: str
+ """
+ allowed_values = ["FUNCTION_LIBRARY"]
+ if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
+ model_type = 'UNKNOWN_ENUM_VALUE'
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this FunctionLibrarySummary.
+ The model version of an object.
+
+
+ :return: The model_version of this FunctionLibrarySummary.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this FunctionLibrarySummary.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this FunctionLibrarySummary.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def name(self):
+ """
+ Gets the name of this FunctionLibrarySummary.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this FunctionLibrarySummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this FunctionLibrarySummary.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this FunctionLibrarySummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this FunctionLibrarySummary.
+ A user defined description for the Function Library.
+
+
+ :return: The description of this FunctionLibrarySummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this FunctionLibrarySummary.
+ A user defined description for the Function Library.
+
+
+ :param description: The description of this FunctionLibrarySummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def category_name(self):
+ """
+ Gets the category_name of this FunctionLibrarySummary.
+ The category name.
+
+
+ :return: The category_name of this FunctionLibrarySummary.
+ :rtype: str
+ """
+ return self._category_name
+
+ @category_name.setter
+ def category_name(self, category_name):
+ """
+ Sets the category_name of this FunctionLibrarySummary.
+ The category name.
+
+
+ :param category_name: The category_name of this FunctionLibrarySummary.
+ :type: str
+ """
+ self._category_name = category_name
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this FunctionLibrarySummary.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this FunctionLibrarySummary.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this FunctionLibrarySummary.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this FunctionLibrarySummary.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this FunctionLibrarySummary.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this FunctionLibrarySummary.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this FunctionLibrarySummary.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this FunctionLibrarySummary.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this FunctionLibrarySummary.
+
+ :return: The parent_ref of this FunctionLibrarySummary.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this FunctionLibrarySummary.
+
+ :param parent_ref: The parent_ref of this FunctionLibrarySummary.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this FunctionLibrarySummary.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this FunctionLibrarySummary.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this FunctionLibrarySummary.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this FunctionLibrarySummary.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def metadata(self):
+ """
+ Gets the metadata of this FunctionLibrarySummary.
+
+ :return: The metadata of this FunctionLibrarySummary.
+ :rtype: oci.data_integration.models.ObjectMetadata
+ """
+ return self._metadata
+
+ @metadata.setter
+ def metadata(self, metadata):
+ """
+ Sets the metadata of this FunctionLibrarySummary.
+
+ :param metadata: The metadata of this FunctionLibrarySummary.
+ :type: oci.data_integration.models.ObjectMetadata
+ """
+ self._metadata = metadata
+
+ @property
+ def key_map(self):
+ """
+ Gets the key_map of this FunctionLibrarySummary.
+ A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :return: The key_map of this FunctionLibrarySummary.
+ :rtype: dict(str, str)
+ """
+ return self._key_map
+
+ @key_map.setter
+ def key_map(self, key_map):
+ """
+ Sets the key_map of this FunctionLibrarySummary.
+ A key map. If provided, the key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :param key_map: The key_map of this FunctionLibrarySummary.
+ :type: dict(str, str)
+ """
+ self._key_map = key_map
+
+ 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/data_integration/models/function_library_summary_collection.py b/src/oci/data_integration/models/function_library_summary_collection.py
new file mode 100644
index 0000000000..5c50bbcaec
--- /dev/null
+++ b/src/oci/data_integration/models/function_library_summary_collection.py
@@ -0,0 +1,70 @@
+# 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 FunctionLibrarySummaryCollection(object):
+ """
+ A collection of FunctionLibrary summaries. The collection can be lightweight details or full definitions.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new FunctionLibrarySummaryCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this FunctionLibrarySummaryCollection.
+ :type items: list[oci.data_integration.models.FunctionLibrarySummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[FunctionLibrarySummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this FunctionLibrarySummaryCollection.
+ The array of FunctionLibrary summaries.
+
+
+ :return: The items of this FunctionLibrarySummaryCollection.
+ :rtype: list[oci.data_integration.models.FunctionLibrarySummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this FunctionLibrarySummaryCollection.
+ The array of FunctionLibrary summaries.
+
+
+ :param items: The items of this FunctionLibrarySummaryCollection.
+ :type: list[oci.data_integration.models.FunctionLibrarySummary]
+ """
+ self._items = items
+
+ 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/data_integration/models/function_signature.py b/src/oci/data_integration/models/function_signature.py
new file mode 100644
index 0000000000..f1411fb7fd
--- /dev/null
+++ b/src/oci/data_integration/models/function_signature.py
@@ -0,0 +1,322 @@
+# 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 FunctionSignature(object):
+ """
+ The function signature can specify function paramaters and/or function return type.
+ """
+
+ #: A constant which can be used with the model_type property of a FunctionSignature.
+ #: This constant has a value of "DIS_FUNCTION_SIGNATURE"
+ MODEL_TYPE_DIS_FUNCTION_SIGNATURE = "DIS_FUNCTION_SIGNATURE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new FunctionSignature object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this FunctionSignature.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this FunctionSignature.
+ Allowed values for this property are: "DIS_FUNCTION_SIGNATURE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this FunctionSignature.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this FunctionSignature.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this FunctionSignature.
+ :type name: str
+
+ :param ret_type:
+ The value to assign to the ret_type property of this FunctionSignature.
+ :type ret_type: oci.data_integration.models.ConfiguredType
+
+ :param arguments:
+ The value to assign to the arguments property of this FunctionSignature.
+ :type arguments: list[oci.data_integration.models.TypedObject]
+
+ :param description:
+ The value to assign to the description property of this FunctionSignature.
+ :type description: str
+
+ :param object_status:
+ The value to assign to the object_status property of this FunctionSignature.
+ :type object_status: int
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'ret_type': 'ConfiguredType',
+ 'arguments': 'list[TypedObject]',
+ 'description': 'str',
+ 'object_status': 'int'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'ret_type': 'retType',
+ 'arguments': 'arguments',
+ 'description': 'description',
+ 'object_status': 'objectStatus'
+ }
+
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._ret_type = None
+ self._arguments = None
+ self._description = None
+ self._object_status = None
+
+ @property
+ def key(self):
+ """
+ Gets the key of this FunctionSignature.
+ The key of the object.
+
+
+ :return: The key of this FunctionSignature.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this FunctionSignature.
+ The key of the object.
+
+
+ :param key: The key of this FunctionSignature.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ Gets the model_type of this FunctionSignature.
+ The type of the object.
+
+ Allowed values for this property are: "DIS_FUNCTION_SIGNATURE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The model_type of this FunctionSignature.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this FunctionSignature.
+ The type of the object.
+
+
+ :param model_type: The model_type of this FunctionSignature.
+ :type: str
+ """
+ allowed_values = ["DIS_FUNCTION_SIGNATURE"]
+ if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
+ model_type = 'UNKNOWN_ENUM_VALUE'
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this FunctionSignature.
+ The model version of an object.
+
+
+ :return: The model_version of this FunctionSignature.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this FunctionSignature.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this FunctionSignature.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this FunctionSignature.
+
+ :return: The parent_ref of this FunctionSignature.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this FunctionSignature.
+
+ :param parent_ref: The parent_ref of this FunctionSignature.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this FunctionSignature.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this FunctionSignature.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this FunctionSignature.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this FunctionSignature.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def ret_type(self):
+ """
+ Gets the ret_type of this FunctionSignature.
+
+ :return: The ret_type of this FunctionSignature.
+ :rtype: oci.data_integration.models.ConfiguredType
+ """
+ return self._ret_type
+
+ @ret_type.setter
+ def ret_type(self, ret_type):
+ """
+ Sets the ret_type of this FunctionSignature.
+
+ :param ret_type: The ret_type of this FunctionSignature.
+ :type: oci.data_integration.models.ConfiguredType
+ """
+ self._ret_type = ret_type
+
+ @property
+ def arguments(self):
+ """
+ Gets the arguments of this FunctionSignature.
+ An array of function arguments.
+
+
+ :return: The arguments of this FunctionSignature.
+ :rtype: list[oci.data_integration.models.TypedObject]
+ """
+ return self._arguments
+
+ @arguments.setter
+ def arguments(self, arguments):
+ """
+ Sets the arguments of this FunctionSignature.
+ An array of function arguments.
+
+
+ :param arguments: The arguments of this FunctionSignature.
+ :type: list[oci.data_integration.models.TypedObject]
+ """
+ self._arguments = arguments
+
+ @property
+ def description(self):
+ """
+ Gets the description of this FunctionSignature.
+ Detailed description for the object.
+
+
+ :return: The description of this FunctionSignature.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this FunctionSignature.
+ Detailed description for the object.
+
+
+ :param description: The description of this FunctionSignature.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this FunctionSignature.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this FunctionSignature.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this FunctionSignature.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this FunctionSignature.
+ :type: int
+ """
+ self._object_status = object_status
+
+ 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/data_integration/models/hourly_frequency_details.py b/src/oci/data_integration/models/hourly_frequency_details.py
index 6593fa9924..99a273997b 100644
--- a/src/oci/data_integration/models/hourly_frequency_details.py
+++ b/src/oci/data_integration/models/hourly_frequency_details.py
@@ -21,12 +21,12 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this HourlyFrequencyDetails.
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY"
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM"
:type model_type: str
:param frequency:
The value to assign to the frequency property of this HourlyFrequencyDetails.
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY"
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM"
:type frequency: str
:param interval:
diff --git a/src/oci/data_integration/models/key_attribute.py b/src/oci/data_integration/models/key_attribute.py
index e1ec8d6c0f..a867f4d63b 100644
--- a/src/oci/data_integration/models/key_attribute.py
+++ b/src/oci/data_integration/models/key_attribute.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class KeyAttribute(object):
"""
- An attribute within a key.
+ An attribute within a key, the attribute property is being deprecated.
"""
def __init__(self, **kwargs):
@@ -22,6 +22,10 @@ def __init__(self, **kwargs):
The value to assign to the position property of this KeyAttribute.
:type position: int
+ :param shape_field:
+ The value to assign to the shape_field property of this KeyAttribute.
+ :type shape_field: oci.data_integration.models.ShapeField
+
:param attribute:
The value to assign to the attribute property of this KeyAttribute.
:type attribute: oci.data_integration.models.ShapeField
@@ -29,15 +33,18 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'position': 'int',
+ 'shape_field': 'ShapeField',
'attribute': 'ShapeField'
}
self.attribute_map = {
'position': 'position',
+ 'shape_field': 'shapeField',
'attribute': 'attribute'
}
self._position = None
+ self._shape_field = None
self._attribute = None
@property
@@ -64,6 +71,26 @@ def position(self, position):
"""
self._position = position
+ @property
+ def shape_field(self):
+ """
+ Gets the shape_field of this KeyAttribute.
+
+ :return: The shape_field of this KeyAttribute.
+ :rtype: oci.data_integration.models.ShapeField
+ """
+ return self._shape_field
+
+ @shape_field.setter
+ def shape_field(self, shape_field):
+ """
+ Sets the shape_field of this KeyAttribute.
+
+ :param shape_field: The shape_field of this KeyAttribute.
+ :type: oci.data_integration.models.ShapeField
+ """
+ self._shape_field = shape_field
+
@property
def attribute(self):
"""
diff --git a/src/oci/data_integration/models/monthly_frequency_details.py b/src/oci/data_integration/models/monthly_frequency_details.py
index 0f73b5f25b..61abedfa2c 100644
--- a/src/oci/data_integration/models/monthly_frequency_details.py
+++ b/src/oci/data_integration/models/monthly_frequency_details.py
@@ -21,12 +21,12 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this MonthlyFrequencyDetails.
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY"
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM"
:type model_type: str
:param frequency:
The value to assign to the frequency property of this MonthlyFrequencyDetails.
- Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY"
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM"
:type frequency: str
:param interval:
diff --git a/src/oci/data_integration/models/monthly_rule_frequency_details.py b/src/oci/data_integration/models/monthly_rule_frequency_details.py
new file mode 100644
index 0000000000..5b49b43fff
--- /dev/null
+++ b/src/oci/data_integration/models/monthly_rule_frequency_details.py
@@ -0,0 +1,247 @@
+# 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 .abstract_frequency_details import AbstractFrequencyDetails
+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 MonthlyRuleFrequencyDetails(AbstractFrequencyDetails):
+ """
+ Frequency Details model for monthly frequency based on week of month and day of week.
+ """
+
+ #: A constant which can be used with the week_of_month property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "FIRST"
+ WEEK_OF_MONTH_FIRST = "FIRST"
+
+ #: A constant which can be used with the week_of_month property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "SECOND"
+ WEEK_OF_MONTH_SECOND = "SECOND"
+
+ #: A constant which can be used with the week_of_month property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "THIRD"
+ WEEK_OF_MONTH_THIRD = "THIRD"
+
+ #: A constant which can be used with the week_of_month property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "FOURTH"
+ WEEK_OF_MONTH_FOURTH = "FOURTH"
+
+ #: A constant which can be used with the week_of_month property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "FIFTH"
+ WEEK_OF_MONTH_FIFTH = "FIFTH"
+
+ #: A constant which can be used with the week_of_month property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "LAST"
+ WEEK_OF_MONTH_LAST = "LAST"
+
+ #: A constant which can be used with the day_of_week property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "SUNDAY"
+ DAY_OF_WEEK_SUNDAY = "SUNDAY"
+
+ #: A constant which can be used with the day_of_week property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "MONDAY"
+ DAY_OF_WEEK_MONDAY = "MONDAY"
+
+ #: A constant which can be used with the day_of_week property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "TUESDAY"
+ DAY_OF_WEEK_TUESDAY = "TUESDAY"
+
+ #: A constant which can be used with the day_of_week property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "WEDNESDAY"
+ DAY_OF_WEEK_WEDNESDAY = "WEDNESDAY"
+
+ #: A constant which can be used with the day_of_week property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "THURSDAY"
+ DAY_OF_WEEK_THURSDAY = "THURSDAY"
+
+ #: A constant which can be used with the day_of_week property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "FRIDAY"
+ DAY_OF_WEEK_FRIDAY = "FRIDAY"
+
+ #: A constant which can be used with the day_of_week property of a MonthlyRuleFrequencyDetails.
+ #: This constant has a value of "SATURDAY"
+ DAY_OF_WEEK_SATURDAY = "SATURDAY"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new MonthlyRuleFrequencyDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.MonthlyRuleFrequencyDetails.model_type` attribute
+ of this class is ``MONTHLY_RULE`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param model_type:
+ The value to assign to the model_type property of this MonthlyRuleFrequencyDetails.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param frequency:
+ The value to assign to the frequency property of this MonthlyRuleFrequencyDetails.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type frequency: str
+
+ :param week_of_month:
+ The value to assign to the week_of_month property of this MonthlyRuleFrequencyDetails.
+ Allowed values for this property are: "FIRST", "SECOND", "THIRD", "FOURTH", "FIFTH", "LAST", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type week_of_month: str
+
+ :param interval:
+ The value to assign to the interval property of this MonthlyRuleFrequencyDetails.
+ :type interval: int
+
+ :param time:
+ The value to assign to the time property of this MonthlyRuleFrequencyDetails.
+ :type time: oci.data_integration.models.Time
+
+ :param day_of_week:
+ The value to assign to the day_of_week property of this MonthlyRuleFrequencyDetails.
+ Allowed values for this property are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type day_of_week: str
+
+ """
+ self.swagger_types = {
+ 'model_type': 'str',
+ 'frequency': 'str',
+ 'week_of_month': 'str',
+ 'interval': 'int',
+ 'time': 'Time',
+ 'day_of_week': 'str'
+ }
+
+ self.attribute_map = {
+ 'model_type': 'modelType',
+ 'frequency': 'frequency',
+ 'week_of_month': 'weekOfMonth',
+ 'interval': 'interval',
+ 'time': 'time',
+ 'day_of_week': 'dayOfWeek'
+ }
+
+ self._model_type = None
+ self._frequency = None
+ self._week_of_month = None
+ self._interval = None
+ self._time = None
+ self._day_of_week = None
+ self._model_type = 'MONTHLY_RULE'
+
+ @property
+ def week_of_month(self):
+ """
+ Gets the week_of_month of this MonthlyRuleFrequencyDetails.
+ This holds the week of the month in which the schedule should be triggered.
+
+ Allowed values for this property are: "FIRST", "SECOND", "THIRD", "FOURTH", "FIFTH", "LAST", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The week_of_month of this MonthlyRuleFrequencyDetails.
+ :rtype: str
+ """
+ return self._week_of_month
+
+ @week_of_month.setter
+ def week_of_month(self, week_of_month):
+ """
+ Sets the week_of_month of this MonthlyRuleFrequencyDetails.
+ This holds the week of the month in which the schedule should be triggered.
+
+
+ :param week_of_month: The week_of_month of this MonthlyRuleFrequencyDetails.
+ :type: str
+ """
+ allowed_values = ["FIRST", "SECOND", "THIRD", "FOURTH", "FIFTH", "LAST"]
+ if not value_allowed_none_or_none_sentinel(week_of_month, allowed_values):
+ week_of_month = 'UNKNOWN_ENUM_VALUE'
+ self._week_of_month = week_of_month
+
+ @property
+ def interval(self):
+ """
+ Gets the interval of this MonthlyRuleFrequencyDetails.
+ This hold the repeatability aspect of a schedule. i.e. in a monhtly frequency, a task can be scheduled for every month, once in two months, once in tree months etc.
+
+
+ :return: The interval of this MonthlyRuleFrequencyDetails.
+ :rtype: int
+ """
+ return self._interval
+
+ @interval.setter
+ def interval(self, interval):
+ """
+ Sets the interval of this MonthlyRuleFrequencyDetails.
+ This hold the repeatability aspect of a schedule. i.e. in a monhtly frequency, a task can be scheduled for every month, once in two months, once in tree months etc.
+
+
+ :param interval: The interval of this MonthlyRuleFrequencyDetails.
+ :type: int
+ """
+ self._interval = interval
+
+ @property
+ def time(self):
+ """
+ Gets the time of this MonthlyRuleFrequencyDetails.
+
+ :return: The time of this MonthlyRuleFrequencyDetails.
+ :rtype: oci.data_integration.models.Time
+ """
+ return self._time
+
+ @time.setter
+ def time(self, time):
+ """
+ Sets the time of this MonthlyRuleFrequencyDetails.
+
+ :param time: The time of this MonthlyRuleFrequencyDetails.
+ :type: oci.data_integration.models.Time
+ """
+ self._time = time
+
+ @property
+ def day_of_week(self):
+ """
+ Gets the day_of_week of this MonthlyRuleFrequencyDetails.
+ This holds the day of the week on which the schedule should be triggered.
+
+ Allowed values for this property are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The day_of_week of this MonthlyRuleFrequencyDetails.
+ :rtype: str
+ """
+ return self._day_of_week
+
+ @day_of_week.setter
+ def day_of_week(self, day_of_week):
+ """
+ Sets the day_of_week of this MonthlyRuleFrequencyDetails.
+ This holds the day of the week on which the schedule should be triggered.
+
+
+ :param day_of_week: The day_of_week of this MonthlyRuleFrequencyDetails.
+ :type: str
+ """
+ allowed_values = ["SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"]
+ if not value_allowed_none_or_none_sentinel(day_of_week, allowed_values):
+ day_of_week = 'UNKNOWN_ENUM_VALUE'
+ self._day_of_week = day_of_week
+
+ 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/data_integration/models/parameter.py b/src/oci/data_integration/models/parameter.py
index 3329341060..4ecdaa9988 100644
--- a/src/oci/data_integration/models/parameter.py
+++ b/src/oci/data_integration/models/parameter.py
@@ -99,6 +99,10 @@ def __init__(self, **kwargs):
The value to assign to the type_name property of this Parameter.
:type type_name: str
+ :param used_for:
+ The value to assign to the used_for property of this Parameter.
+ :type used_for: str
+
"""
self.swagger_types = {
'model_type': 'str',
@@ -115,7 +119,8 @@ def __init__(self, **kwargs):
'is_input': 'bool',
'is_output': 'bool',
'output_aggregation_type': 'str',
- 'type_name': 'str'
+ 'type_name': 'str',
+ 'used_for': 'str'
}
self.attribute_map = {
@@ -133,7 +138,8 @@ def __init__(self, **kwargs):
'is_input': 'isInput',
'is_output': 'isOutput',
'output_aggregation_type': 'outputAggregationType',
- 'type_name': 'typeName'
+ 'type_name': 'typeName',
+ 'used_for': 'usedFor'
}
self._model_type = None
@@ -151,6 +157,7 @@ def __init__(self, **kwargs):
self._is_output = None
self._output_aggregation_type = None
self._type_name = None
+ self._used_for = None
self._model_type = 'PARAMETER'
@property
@@ -327,6 +334,30 @@ def type_name(self, type_name):
"""
self._type_name = type_name
+ @property
+ def used_for(self):
+ """
+ Gets the used_for of this Parameter.
+ The param name for which parameter is created for for eg. driver Shape, Operation etc.
+
+
+ :return: The used_for of this Parameter.
+ :rtype: str
+ """
+ return self._used_for
+
+ @used_for.setter
+ def used_for(self, used_for):
+ """
+ Sets the used_for of this Parameter.
+ The param name for which parameter is created for for eg. driver Shape, Operation etc.
+
+
+ :param used_for: The used_for of this Parameter.
+ :type: str
+ """
+ self._used_for = used_for
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_integration/models/rest_call_config.py b/src/oci/data_integration/models/rest_call_config.py
new file mode 100644
index 0000000000..74398ba42b
--- /dev/null
+++ b/src/oci/data_integration/models/rest_call_config.py
@@ -0,0 +1,157 @@
+# 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 RestCallConfig(object):
+ """
+ The REST API configuration.
+ """
+
+ #: A constant which can be used with the method_type property of a RestCallConfig.
+ #: This constant has a value of "GET"
+ METHOD_TYPE_GET = "GET"
+
+ #: A constant which can be used with the method_type property of a RestCallConfig.
+ #: This constant has a value of "POST"
+ METHOD_TYPE_POST = "POST"
+
+ #: A constant which can be used with the method_type property of a RestCallConfig.
+ #: This constant has a value of "PATCH"
+ METHOD_TYPE_PATCH = "PATCH"
+
+ #: A constant which can be used with the method_type property of a RestCallConfig.
+ #: This constant has a value of "DELETE"
+ METHOD_TYPE_DELETE = "DELETE"
+
+ #: A constant which can be used with the method_type property of a RestCallConfig.
+ #: This constant has a value of "PUT"
+ METHOD_TYPE_PUT = "PUT"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RestCallConfig object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param method_type:
+ The value to assign to the method_type property of this RestCallConfig.
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
+ :type method_type: str
+
+ :param request_headers:
+ The value to assign to the request_headers property of this RestCallConfig.
+ :type request_headers: dict(str, str)
+
+ :param config_values:
+ The value to assign to the config_values property of this RestCallConfig.
+ :type config_values: oci.data_integration.models.ConfigValues
+
+ """
+ self.swagger_types = {
+ 'method_type': 'str',
+ 'request_headers': 'dict(str, str)',
+ 'config_values': 'ConfigValues'
+ }
+
+ self.attribute_map = {
+ 'method_type': 'methodType',
+ 'request_headers': 'requestHeaders',
+ 'config_values': 'configValues'
+ }
+
+ self._method_type = None
+ self._request_headers = None
+ self._config_values = None
+
+ @property
+ def method_type(self):
+ """
+ Gets the method_type of this RestCallConfig.
+ The REST method to use.
+
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
+
+
+ :return: The method_type of this RestCallConfig.
+ :rtype: str
+ """
+ return self._method_type
+
+ @method_type.setter
+ def method_type(self, method_type):
+ """
+ Sets the method_type of this RestCallConfig.
+ The REST method to use.
+
+
+ :param method_type: The method_type of this RestCallConfig.
+ :type: str
+ """
+ allowed_values = ["GET", "POST", "PATCH", "DELETE", "PUT"]
+ if not value_allowed_none_or_none_sentinel(method_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `method_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._method_type = method_type
+
+ @property
+ def request_headers(self):
+ """
+ Gets the request_headers of this RestCallConfig.
+ The headers for the REST call.
+
+
+ :return: The request_headers of this RestCallConfig.
+ :rtype: dict(str, str)
+ """
+ return self._request_headers
+
+ @request_headers.setter
+ def request_headers(self, request_headers):
+ """
+ Sets the request_headers of this RestCallConfig.
+ The headers for the REST call.
+
+
+ :param request_headers: The request_headers of this RestCallConfig.
+ :type: dict(str, str)
+ """
+ self._request_headers = request_headers
+
+ @property
+ def config_values(self):
+ """
+ Gets the config_values of this RestCallConfig.
+
+ :return: The config_values of this RestCallConfig.
+ :rtype: oci.data_integration.models.ConfigValues
+ """
+ return self._config_values
+
+ @config_values.setter
+ def config_values(self, config_values):
+ """
+ Sets the config_values of this RestCallConfig.
+
+ :param config_values: The config_values of this RestCallConfig.
+ :type: oci.data_integration.models.ConfigValues
+ """
+ self._config_values = config_values
+
+ 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/data_integration/models/task_from_rest_task_details.py b/src/oci/data_integration/models/task_from_rest_task_details.py
index c5a6b5977f..e1524f6f52 100644
--- a/src/oci/data_integration/models/task_from_rest_task_details.py
+++ b/src/oci/data_integration/models/task_from_rest_task_details.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class TaskFromRestTaskDetails(Task):
"""
- The information about the Generic REST task.
+ The information about the Generic REST task. The endpoint and cancelEndpoint properties are deprecated, use the properties executeRestCallConfig, cancelRestCallConfig and pollRestCallConfig for execute, cancel and polling of the calls.
"""
#: A constant which can be used with the method_type property of a TaskFromRestTaskDetails.
@@ -41,6 +41,10 @@ class TaskFromRestTaskDetails(Task):
#: This constant has a value of "ASYNC_OCI_WORKREQUEST"
API_CALL_MODE_ASYNC_OCI_WORKREQUEST = "ASYNC_OCI_WORKREQUEST"
+ #: A constant which can be used with the api_call_mode property of a TaskFromRestTaskDetails.
+ #: This constant has a value of "ASYNC_GENERIC"
+ API_CALL_MODE_ASYNC_GENERIC = "ASYNC_GENERIC"
+
#: A constant which can be used with the cancel_method_type property of a TaskFromRestTaskDetails.
#: This constant has a value of "GET"
CANCEL_METHOD_TYPE_GET = "GET"
@@ -161,7 +165,7 @@ def __init__(self, **kwargs):
:param api_call_mode:
The value to assign to the api_call_mode property of this TaskFromRestTaskDetails.
- Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type api_call_mode: str
@@ -175,6 +179,14 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type cancel_method_type: str
+ :param execute_rest_call_config:
+ The value to assign to the execute_rest_call_config property of this TaskFromRestTaskDetails.
+ :type execute_rest_call_config: oci.data_integration.models.ExecuteRestCallConfig
+
+ :param cancel_rest_call_config:
+ The value to assign to the cancel_rest_call_config property of this TaskFromRestTaskDetails.
+ :type cancel_rest_call_config: oci.data_integration.models.CancelRestCallConfig
+
"""
self.swagger_types = {
'model_type': 'str',
@@ -201,7 +213,9 @@ def __init__(self, **kwargs):
'json_data': 'str',
'api_call_mode': 'str',
'cancel_endpoint': 'Expression',
- 'cancel_method_type': 'str'
+ 'cancel_method_type': 'str',
+ 'execute_rest_call_config': 'ExecuteRestCallConfig',
+ 'cancel_rest_call_config': 'CancelRestCallConfig'
}
self.attribute_map = {
@@ -229,7 +243,9 @@ def __init__(self, **kwargs):
'json_data': 'jsonData',
'api_call_mode': 'apiCallMode',
'cancel_endpoint': 'cancelEndpoint',
- 'cancel_method_type': 'cancelMethodType'
+ 'cancel_method_type': 'cancelMethodType',
+ 'execute_rest_call_config': 'executeRestCallConfig',
+ 'cancel_rest_call_config': 'cancelRestCallConfig'
}
self._model_type = None
@@ -257,6 +273,8 @@ def __init__(self, **kwargs):
self._api_call_mode = None
self._cancel_endpoint = None
self._cancel_method_type = None
+ self._execute_rest_call_config = None
+ self._cancel_rest_call_config = None
self._model_type = 'REST_TASK'
@property
@@ -303,7 +321,7 @@ def endpoint(self, endpoint):
def method_type(self):
"""
Gets the method_type of this TaskFromRestTaskDetails.
- The REST method to use.
+ The REST method to use. This property is deprecated, use ExecuteRestCallConfig's methodType property instead.
Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -318,7 +336,7 @@ def method_type(self):
def method_type(self, method_type):
"""
Sets the method_type of this TaskFromRestTaskDetails.
- The REST method to use.
+ The REST method to use. This property is deprecated, use ExecuteRestCallConfig's methodType property instead.
:param method_type: The method_type of this TaskFromRestTaskDetails.
@@ -333,7 +351,7 @@ def method_type(self, method_type):
def headers(self):
"""
Gets the headers of this TaskFromRestTaskDetails.
- The headers for the REST call.
+ The headers for the REST call. This property is deprecated, use ExecuteRestCallConfig's headers property instead.
:return: The headers of this TaskFromRestTaskDetails.
@@ -345,7 +363,7 @@ def headers(self):
def headers(self, headers):
"""
Sets the headers of this TaskFromRestTaskDetails.
- The headers for the REST call.
+ The headers for the REST call. This property is deprecated, use ExecuteRestCallConfig's headers property instead.
:param headers: The headers of this TaskFromRestTaskDetails.
@@ -357,7 +375,7 @@ def headers(self, headers):
def json_data(self):
"""
Gets the json_data of this TaskFromRestTaskDetails.
- JSON data for payload body.
+ JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig's payload config param instead.
:return: The json_data of this TaskFromRestTaskDetails.
@@ -369,7 +387,7 @@ def json_data(self):
def json_data(self, json_data):
"""
Sets the json_data of this TaskFromRestTaskDetails.
- JSON data for payload body.
+ JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig's payload config param instead.
:param json_data: The json_data of this TaskFromRestTaskDetails.
@@ -381,9 +399,9 @@ def json_data(self, json_data):
def api_call_mode(self):
"""
Gets the api_call_mode of this TaskFromRestTaskDetails.
- The invocation type to be used for Generic REST invocation.
+ The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
- Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -396,13 +414,13 @@ def api_call_mode(self):
def api_call_mode(self, api_call_mode):
"""
Sets the api_call_mode of this TaskFromRestTaskDetails.
- The invocation type to be used for Generic REST invocation.
+ The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
:param api_call_mode: The api_call_mode of this TaskFromRestTaskDetails.
:type: str
"""
- allowed_values = ["SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"]
+ allowed_values = ["SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC"]
if not value_allowed_none_or_none_sentinel(api_call_mode, allowed_values):
api_call_mode = 'UNKNOWN_ENUM_VALUE'
self._api_call_mode = api_call_mode
@@ -457,6 +475,46 @@ def cancel_method_type(self, cancel_method_type):
cancel_method_type = 'UNKNOWN_ENUM_VALUE'
self._cancel_method_type = cancel_method_type
+ @property
+ def execute_rest_call_config(self):
+ """
+ Gets the execute_rest_call_config of this TaskFromRestTaskDetails.
+
+ :return: The execute_rest_call_config of this TaskFromRestTaskDetails.
+ :rtype: oci.data_integration.models.ExecuteRestCallConfig
+ """
+ return self._execute_rest_call_config
+
+ @execute_rest_call_config.setter
+ def execute_rest_call_config(self, execute_rest_call_config):
+ """
+ Sets the execute_rest_call_config of this TaskFromRestTaskDetails.
+
+ :param execute_rest_call_config: The execute_rest_call_config of this TaskFromRestTaskDetails.
+ :type: oci.data_integration.models.ExecuteRestCallConfig
+ """
+ self._execute_rest_call_config = execute_rest_call_config
+
+ @property
+ def cancel_rest_call_config(self):
+ """
+ Gets the cancel_rest_call_config of this TaskFromRestTaskDetails.
+
+ :return: The cancel_rest_call_config of this TaskFromRestTaskDetails.
+ :rtype: oci.data_integration.models.CancelRestCallConfig
+ """
+ return self._cancel_rest_call_config
+
+ @cancel_rest_call_config.setter
+ def cancel_rest_call_config(self, cancel_rest_call_config):
+ """
+ Sets the cancel_rest_call_config of this TaskFromRestTaskDetails.
+
+ :param cancel_rest_call_config: The cancel_rest_call_config of this TaskFromRestTaskDetails.
+ :type: oci.data_integration.models.CancelRestCallConfig
+ """
+ self._cancel_rest_call_config = cancel_rest_call_config
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_integration/models/task_run_details.py b/src/oci/data_integration/models/task_run_details.py
index 89dfc74024..fc073038de 100644
--- a/src/oci/data_integration/models/task_run_details.py
+++ b/src/oci/data_integration/models/task_run_details.py
@@ -65,6 +65,18 @@ class TaskRunDetails(object):
#: This constant has a value of "REST_TASK"
TASK_TYPE_REST_TASK = "REST_TASK"
+ #: A constant which can be used with the re_run_type property of a TaskRunDetails.
+ #: This constant has a value of "BEGINNING"
+ RE_RUN_TYPE_BEGINNING = "BEGINNING"
+
+ #: A constant which can be used with the re_run_type property of a TaskRunDetails.
+ #: This constant has a value of "FAILED"
+ RE_RUN_TYPE_FAILED = "FAILED"
+
+ #: A constant which can be used with the re_run_type property of a TaskRunDetails.
+ #: This constant has a value of "STEP"
+ RE_RUN_TYPE_STEP = "STEP"
+
def __init__(self, **kwargs):
"""
Initializes a new TaskRunDetails object with values from keyword arguments.
@@ -138,6 +150,20 @@ def __init__(self, **kwargs):
The value to assign to the identifier property of this TaskRunDetails.
:type identifier: str
+ :param ref_task_run_id:
+ The value to assign to the ref_task_run_id property of this TaskRunDetails.
+ :type ref_task_run_id: str
+
+ :param re_run_type:
+ The value to assign to the re_run_type property of this TaskRunDetails.
+ Allowed values for this property are: "BEGINNING", "FAILED", "STEP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type re_run_type: str
+
+ :param step_id:
+ The value to assign to the step_id property of this TaskRunDetails.
+ :type step_id: str
+
:param metadata:
The value to assign to the metadata property of this TaskRunDetails.
:type metadata: oci.data_integration.models.ObjectMetadata
@@ -160,6 +186,9 @@ def __init__(self, **kwargs):
'object_status': 'int',
'task_type': 'str',
'identifier': 'str',
+ 'ref_task_run_id': 'str',
+ 're_run_type': 'str',
+ 'step_id': 'str',
'metadata': 'ObjectMetadata'
}
@@ -180,6 +209,9 @@ def __init__(self, **kwargs):
'object_status': 'objectStatus',
'task_type': 'taskType',
'identifier': 'identifier',
+ 'ref_task_run_id': 'refTaskRunId',
+ 're_run_type': 'reRunType',
+ 'step_id': 'stepId',
'metadata': 'metadata'
}
@@ -199,6 +231,9 @@ def __init__(self, **kwargs):
self._object_status = None
self._task_type = None
self._identifier = None
+ self._ref_task_run_id = None
+ self._re_run_type = None
+ self._step_id = None
self._metadata = None
@property
@@ -593,6 +628,84 @@ def identifier(self, identifier):
"""
self._identifier = identifier
+ @property
+ def ref_task_run_id(self):
+ """
+ Gets the ref_task_run_id of this TaskRunDetails.
+ Reference Task Run Id to be used for re-run
+
+
+ :return: The ref_task_run_id of this TaskRunDetails.
+ :rtype: str
+ """
+ return self._ref_task_run_id
+
+ @ref_task_run_id.setter
+ def ref_task_run_id(self, ref_task_run_id):
+ """
+ Sets the ref_task_run_id of this TaskRunDetails.
+ Reference Task Run Id to be used for re-run
+
+
+ :param ref_task_run_id: The ref_task_run_id of this TaskRunDetails.
+ :type: str
+ """
+ self._ref_task_run_id = ref_task_run_id
+
+ @property
+ def re_run_type(self):
+ """
+ Gets the re_run_type of this TaskRunDetails.
+ Supported re-run types
+
+ Allowed values for this property are: "BEGINNING", "FAILED", "STEP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The re_run_type of this TaskRunDetails.
+ :rtype: str
+ """
+ return self._re_run_type
+
+ @re_run_type.setter
+ def re_run_type(self, re_run_type):
+ """
+ Sets the re_run_type of this TaskRunDetails.
+ Supported re-run types
+
+
+ :param re_run_type: The re_run_type of this TaskRunDetails.
+ :type: str
+ """
+ allowed_values = ["BEGINNING", "FAILED", "STEP"]
+ if not value_allowed_none_or_none_sentinel(re_run_type, allowed_values):
+ re_run_type = 'UNKNOWN_ENUM_VALUE'
+ self._re_run_type = re_run_type
+
+ @property
+ def step_id(self):
+ """
+ Gets the step_id of this TaskRunDetails.
+ Step Id for running from a certain step.
+
+
+ :return: The step_id of this TaskRunDetails.
+ :rtype: str
+ """
+ return self._step_id
+
+ @step_id.setter
+ def step_id(self, step_id):
+ """
+ Sets the step_id of this TaskRunDetails.
+ Step Id for running from a certain step.
+
+
+ :param step_id: The step_id of this TaskRunDetails.
+ :type: str
+ """
+ self._step_id = step_id
+
@property
def metadata(self):
"""
diff --git a/src/oci/data_integration/models/task_run_summary.py b/src/oci/data_integration/models/task_run_summary.py
index 4bd77c0acd..3bb2525994 100644
--- a/src/oci/data_integration/models/task_run_summary.py
+++ b/src/oci/data_integration/models/task_run_summary.py
@@ -65,6 +65,18 @@ class TaskRunSummary(object):
#: This constant has a value of "REST_TASK"
TASK_TYPE_REST_TASK = "REST_TASK"
+ #: A constant which can be used with the re_run_type property of a TaskRunSummary.
+ #: This constant has a value of "BEGINNING"
+ RE_RUN_TYPE_BEGINNING = "BEGINNING"
+
+ #: A constant which can be used with the re_run_type property of a TaskRunSummary.
+ #: This constant has a value of "FAILED"
+ RE_RUN_TYPE_FAILED = "FAILED"
+
+ #: A constant which can be used with the re_run_type property of a TaskRunSummary.
+ #: This constant has a value of "STEP"
+ RE_RUN_TYPE_STEP = "STEP"
+
def __init__(self, **kwargs):
"""
Initializes a new TaskRunSummary object with values from keyword arguments.
@@ -138,6 +150,20 @@ def __init__(self, **kwargs):
The value to assign to the identifier property of this TaskRunSummary.
:type identifier: str
+ :param ref_task_run_id:
+ The value to assign to the ref_task_run_id property of this TaskRunSummary.
+ :type ref_task_run_id: str
+
+ :param re_run_type:
+ The value to assign to the re_run_type property of this TaskRunSummary.
+ Allowed values for this property are: "BEGINNING", "FAILED", "STEP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type re_run_type: str
+
+ :param step_id:
+ The value to assign to the step_id property of this TaskRunSummary.
+ :type step_id: str
+
:param metadata:
The value to assign to the metadata property of this TaskRunSummary.
:type metadata: oci.data_integration.models.ObjectMetadata
@@ -160,6 +186,9 @@ def __init__(self, **kwargs):
'object_status': 'int',
'task_type': 'str',
'identifier': 'str',
+ 'ref_task_run_id': 'str',
+ 're_run_type': 'str',
+ 'step_id': 'str',
'metadata': 'ObjectMetadata'
}
@@ -180,6 +209,9 @@ def __init__(self, **kwargs):
'object_status': 'objectStatus',
'task_type': 'taskType',
'identifier': 'identifier',
+ 'ref_task_run_id': 'refTaskRunId',
+ 're_run_type': 'reRunType',
+ 'step_id': 'stepId',
'metadata': 'metadata'
}
@@ -199,6 +231,9 @@ def __init__(self, **kwargs):
self._object_status = None
self._task_type = None
self._identifier = None
+ self._ref_task_run_id = None
+ self._re_run_type = None
+ self._step_id = None
self._metadata = None
@property
@@ -593,6 +628,84 @@ def identifier(self, identifier):
"""
self._identifier = identifier
+ @property
+ def ref_task_run_id(self):
+ """
+ Gets the ref_task_run_id of this TaskRunSummary.
+ Reference Task Run Id to be used for re-run
+
+
+ :return: The ref_task_run_id of this TaskRunSummary.
+ :rtype: str
+ """
+ return self._ref_task_run_id
+
+ @ref_task_run_id.setter
+ def ref_task_run_id(self, ref_task_run_id):
+ """
+ Sets the ref_task_run_id of this TaskRunSummary.
+ Reference Task Run Id to be used for re-run
+
+
+ :param ref_task_run_id: The ref_task_run_id of this TaskRunSummary.
+ :type: str
+ """
+ self._ref_task_run_id = ref_task_run_id
+
+ @property
+ def re_run_type(self):
+ """
+ Gets the re_run_type of this TaskRunSummary.
+ Supported re-run types
+
+ Allowed values for this property are: "BEGINNING", "FAILED", "STEP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The re_run_type of this TaskRunSummary.
+ :rtype: str
+ """
+ return self._re_run_type
+
+ @re_run_type.setter
+ def re_run_type(self, re_run_type):
+ """
+ Sets the re_run_type of this TaskRunSummary.
+ Supported re-run types
+
+
+ :param re_run_type: The re_run_type of this TaskRunSummary.
+ :type: str
+ """
+ allowed_values = ["BEGINNING", "FAILED", "STEP"]
+ if not value_allowed_none_or_none_sentinel(re_run_type, allowed_values):
+ re_run_type = 'UNKNOWN_ENUM_VALUE'
+ self._re_run_type = re_run_type
+
+ @property
+ def step_id(self):
+ """
+ Gets the step_id of this TaskRunSummary.
+ Step Id for running from a certain step.
+
+
+ :return: The step_id of this TaskRunSummary.
+ :rtype: str
+ """
+ return self._step_id
+
+ @step_id.setter
+ def step_id(self, step_id):
+ """
+ Sets the step_id of this TaskRunSummary.
+ Step Id for running from a certain step.
+
+
+ :param step_id: The step_id of this TaskRunSummary.
+ :type: str
+ """
+ self._step_id = step_id
+
@property
def metadata(self):
"""
diff --git a/src/oci/data_integration/models/task_summary_from_rest_task.py b/src/oci/data_integration/models/task_summary_from_rest_task.py
index c6449c4563..e75b479746 100644
--- a/src/oci/data_integration/models/task_summary_from_rest_task.py
+++ b/src/oci/data_integration/models/task_summary_from_rest_task.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class TaskSummaryFromRestTask(TaskSummary):
"""
- The information about the Generic REST task.
+ The information about the Generic REST task. The endpoint and cancelEndpoint properties are deprecated, use the properties executeRestCallConfig, cancelRestCallConfig and pollRestCallConfig for execute, cancel and polling of the calls.
"""
#: A constant which can be used with the method_type property of a TaskSummaryFromRestTask.
@@ -41,6 +41,10 @@ class TaskSummaryFromRestTask(TaskSummary):
#: This constant has a value of "ASYNC_OCI_WORKREQUEST"
API_CALL_MODE_ASYNC_OCI_WORKREQUEST = "ASYNC_OCI_WORKREQUEST"
+ #: A constant which can be used with the api_call_mode property of a TaskSummaryFromRestTask.
+ #: This constant has a value of "ASYNC_GENERIC"
+ API_CALL_MODE_ASYNC_GENERIC = "ASYNC_GENERIC"
+
#: A constant which can be used with the cancel_method_type property of a TaskSummaryFromRestTask.
#: This constant has a value of "GET"
CANCEL_METHOD_TYPE_GET = "GET"
@@ -69,7 +73,8 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this TaskSummaryFromRestTask.
- Allowed values for this property are: "INTEGRATION_TASK", "DATA_LOADER_TASK", "PIPELINE_TASK", "SQL_TASK", "OCI_DATAFLOW_TASK", "REST_TASK"
+ Allowed values for this property are: "INTEGRATION_TASK", "DATA_LOADER_TASK", "PIPELINE_TASK", "SQL_TASK", "OCI_DATAFLOW_TASK", "REST_TASK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
:param key:
@@ -142,7 +147,8 @@ def __init__(self, **kwargs):
:param method_type:
The value to assign to the method_type property of this TaskSummaryFromRestTask.
- Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type method_type: str
:param headers:
@@ -155,7 +161,8 @@ def __init__(self, **kwargs):
:param api_call_mode:
The value to assign to the api_call_mode property of this TaskSummaryFromRestTask.
- Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"
+ Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type api_call_mode: str
:param cancel_endpoint:
@@ -164,9 +171,18 @@ def __init__(self, **kwargs):
:param cancel_method_type:
The value to assign to the cancel_method_type property of this TaskSummaryFromRestTask.
- Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type cancel_method_type: str
+ :param execute_rest_call_config:
+ The value to assign to the execute_rest_call_config property of this TaskSummaryFromRestTask.
+ :type execute_rest_call_config: oci.data_integration.models.ExecuteRestCallConfig
+
+ :param cancel_rest_call_config:
+ The value to assign to the cancel_rest_call_config property of this TaskSummaryFromRestTask.
+ :type cancel_rest_call_config: oci.data_integration.models.CancelRestCallConfig
+
"""
self.swagger_types = {
'model_type': 'str',
@@ -192,7 +208,9 @@ def __init__(self, **kwargs):
'json_data': 'str',
'api_call_mode': 'str',
'cancel_endpoint': 'Expression',
- 'cancel_method_type': 'str'
+ 'cancel_method_type': 'str',
+ 'execute_rest_call_config': 'ExecuteRestCallConfig',
+ 'cancel_rest_call_config': 'CancelRestCallConfig'
}
self.attribute_map = {
@@ -219,7 +237,9 @@ def __init__(self, **kwargs):
'json_data': 'jsonData',
'api_call_mode': 'apiCallMode',
'cancel_endpoint': 'cancelEndpoint',
- 'cancel_method_type': 'cancelMethodType'
+ 'cancel_method_type': 'cancelMethodType',
+ 'execute_rest_call_config': 'executeRestCallConfig',
+ 'cancel_rest_call_config': 'cancelRestCallConfig'
}
self._model_type = None
@@ -246,6 +266,8 @@ def __init__(self, **kwargs):
self._api_call_mode = None
self._cancel_endpoint = None
self._cancel_method_type = None
+ self._execute_rest_call_config = None
+ self._cancel_rest_call_config = None
self._model_type = 'REST_TASK'
@property
@@ -292,9 +314,10 @@ def endpoint(self, endpoint):
def method_type(self):
"""
Gets the method_type of this TaskSummaryFromRestTask.
- The REST method to use.
+ The REST method to use. This property is deprecated, use ExecuteRestCallConfig's methodType property instead.
- Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:return: The method_type of this TaskSummaryFromRestTask.
@@ -306,7 +329,7 @@ def method_type(self):
def method_type(self, method_type):
"""
Sets the method_type of this TaskSummaryFromRestTask.
- The REST method to use.
+ The REST method to use. This property is deprecated, use ExecuteRestCallConfig's methodType property instead.
:param method_type: The method_type of this TaskSummaryFromRestTask.
@@ -314,18 +337,13 @@ def method_type(self, method_type):
"""
allowed_values = ["GET", "POST", "PATCH", "DELETE", "PUT"]
if not value_allowed_none_or_none_sentinel(method_type, allowed_values):
- raise ValueError(
- "Invalid value for `method_type`, must be None or one of {0}"
- .format(allowed_values)
- )
+ method_type = 'UNKNOWN_ENUM_VALUE'
self._method_type = method_type
@property
def headers(self):
"""
Gets the headers of this TaskSummaryFromRestTask.
- The headers for the REST call.
-
:return: The headers of this TaskSummaryFromRestTask.
:rtype: object
@@ -336,8 +354,6 @@ def headers(self):
def headers(self, headers):
"""
Sets the headers of this TaskSummaryFromRestTask.
- The headers for the REST call.
-
:param headers: The headers of this TaskSummaryFromRestTask.
:type: object
@@ -348,7 +364,7 @@ def headers(self, headers):
def json_data(self):
"""
Gets the json_data of this TaskSummaryFromRestTask.
- JSON data for payload body.
+ JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig's payload config param instead.
:return: The json_data of this TaskSummaryFromRestTask.
@@ -360,7 +376,7 @@ def json_data(self):
def json_data(self, json_data):
"""
Sets the json_data of this TaskSummaryFromRestTask.
- JSON data for payload body.
+ JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig's payload config param instead.
:param json_data: The json_data of this TaskSummaryFromRestTask.
@@ -372,9 +388,10 @@ def json_data(self, json_data):
def api_call_mode(self):
"""
Gets the api_call_mode of this TaskSummaryFromRestTask.
- The invocation type to be used for Generic REST invocation.
+ The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
- Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"
+ Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:return: The api_call_mode of this TaskSummaryFromRestTask.
@@ -386,18 +403,15 @@ def api_call_mode(self):
def api_call_mode(self, api_call_mode):
"""
Sets the api_call_mode of this TaskSummaryFromRestTask.
- The invocation type to be used for Generic REST invocation.
+ The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
:param api_call_mode: The api_call_mode of this TaskSummaryFromRestTask.
:type: str
"""
- allowed_values = ["SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"]
+ allowed_values = ["SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC"]
if not value_allowed_none_or_none_sentinel(api_call_mode, allowed_values):
- raise ValueError(
- "Invalid value for `api_call_mode`, must be None or one of {0}"
- .format(allowed_values)
- )
+ api_call_mode = 'UNKNOWN_ENUM_VALUE'
self._api_call_mode = api_call_mode
@property
@@ -426,7 +440,8 @@ def cancel_method_type(self):
Gets the cancel_method_type of this TaskSummaryFromRestTask.
The REST method to use for canceling the original request.
- Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
+ Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:return: The cancel_method_type of this TaskSummaryFromRestTask.
@@ -446,12 +461,49 @@ def cancel_method_type(self, cancel_method_type):
"""
allowed_values = ["GET", "POST", "PATCH", "DELETE", "PUT"]
if not value_allowed_none_or_none_sentinel(cancel_method_type, allowed_values):
- raise ValueError(
- "Invalid value for `cancel_method_type`, must be None or one of {0}"
- .format(allowed_values)
- )
+ cancel_method_type = 'UNKNOWN_ENUM_VALUE'
self._cancel_method_type = cancel_method_type
+ @property
+ def execute_rest_call_config(self):
+ """
+ Gets the execute_rest_call_config of this TaskSummaryFromRestTask.
+
+ :return: The execute_rest_call_config of this TaskSummaryFromRestTask.
+ :rtype: oci.data_integration.models.ExecuteRestCallConfig
+ """
+ return self._execute_rest_call_config
+
+ @execute_rest_call_config.setter
+ def execute_rest_call_config(self, execute_rest_call_config):
+ """
+ Sets the execute_rest_call_config of this TaskSummaryFromRestTask.
+
+ :param execute_rest_call_config: The execute_rest_call_config of this TaskSummaryFromRestTask.
+ :type: oci.data_integration.models.ExecuteRestCallConfig
+ """
+ self._execute_rest_call_config = execute_rest_call_config
+
+ @property
+ def cancel_rest_call_config(self):
+ """
+ Gets the cancel_rest_call_config of this TaskSummaryFromRestTask.
+
+ :return: The cancel_rest_call_config of this TaskSummaryFromRestTask.
+ :rtype: oci.data_integration.models.CancelRestCallConfig
+ """
+ return self._cancel_rest_call_config
+
+ @cancel_rest_call_config.setter
+ def cancel_rest_call_config(self, cancel_rest_call_config):
+ """
+ Sets the cancel_rest_call_config of this TaskSummaryFromRestTask.
+
+ :param cancel_rest_call_config: The cancel_rest_call_config of this TaskSummaryFromRestTask.
+ :type: oci.data_integration.models.CancelRestCallConfig
+ """
+ self._cancel_rest_call_config = cancel_rest_call_config
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_integration/models/typed_object.py b/src/oci/data_integration/models/typed_object.py
index 8d92175d43..fcf6d8f061 100644
--- a/src/oci/data_integration/models/typed_object.py
+++ b/src/oci/data_integration/models/typed_object.py
@@ -85,7 +85,8 @@ def __init__(self, **kwargs):
:param model_type:
The value to assign to the model_type property of this TypedObject.
- Allowed values for this property are: "SHAPE", "INPUT_PORT", "SHAPE_FIELD", "INPUT_FIELD", "DERIVED_FIELD", "MACRO_FIELD", "OUTPUT_FIELD", "DYNAMIC_PROXY_FIELD", "OUTPUT_PORT", "DYNAMIC_INPUT_FIELD", "PROXY_FIELD", "PARAMETER"
+ Allowed values for this property are: "SHAPE", "INPUT_PORT", "SHAPE_FIELD", "INPUT_FIELD", "DERIVED_FIELD", "MACRO_FIELD", "OUTPUT_FIELD", "DYNAMIC_PROXY_FIELD", "OUTPUT_PORT", "DYNAMIC_INPUT_FIELD", "PROXY_FIELD", "PARAMETER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type model_type: str
:param key:
@@ -206,7 +207,8 @@ def model_type(self):
**[Required]** Gets the model_type of this TypedObject.
The type of the types object.
- Allowed values for this property are: "SHAPE", "INPUT_PORT", "SHAPE_FIELD", "INPUT_FIELD", "DERIVED_FIELD", "MACRO_FIELD", "OUTPUT_FIELD", "DYNAMIC_PROXY_FIELD", "OUTPUT_PORT", "DYNAMIC_INPUT_FIELD", "PROXY_FIELD", "PARAMETER"
+ Allowed values for this property are: "SHAPE", "INPUT_PORT", "SHAPE_FIELD", "INPUT_FIELD", "DERIVED_FIELD", "MACRO_FIELD", "OUTPUT_FIELD", "DYNAMIC_PROXY_FIELD", "OUTPUT_PORT", "DYNAMIC_INPUT_FIELD", "PROXY_FIELD", "PARAMETER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:return: The model_type of this TypedObject.
@@ -226,10 +228,7 @@ def model_type(self, model_type):
"""
allowed_values = ["SHAPE", "INPUT_PORT", "SHAPE_FIELD", "INPUT_FIELD", "DERIVED_FIELD", "MACRO_FIELD", "OUTPUT_FIELD", "DYNAMIC_PROXY_FIELD", "OUTPUT_PORT", "DYNAMIC_INPUT_FIELD", "PROXY_FIELD", "PARAMETER"]
if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
- raise ValueError(
- "Invalid value for `model_type`, must be None or one of {0}"
- .format(allowed_values)
- )
+ model_type = 'UNKNOWN_ENUM_VALUE'
self._model_type = model_type
@property
diff --git a/src/oci/data_integration/models/unique_data_key.py b/src/oci/data_integration/models/unique_data_key.py
new file mode 100644
index 0000000000..2a9f6a4b82
--- /dev/null
+++ b/src/oci/data_integration/models/unique_data_key.py
@@ -0,0 +1,91 @@
+# 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 .unique_key import UniqueKey
+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 UniqueDataKey(UniqueKey):
+ """
+ The unique key object.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UniqueDataKey object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.UniqueDataKey.model_type` attribute
+ of this class is ``UNIQUE_KEY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param model_type:
+ The value to assign to the model_type property of this UniqueDataKey.
+ Allowed values for this property are: "PRIMARY_KEY", "UNIQUE_KEY"
+ :type model_type: str
+
+ :param key:
+ The value to assign to the key property of this UniqueDataKey.
+ :type key: str
+
+ :param model_version:
+ The value to assign to the model_version property of this UniqueDataKey.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this UniqueDataKey.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this UniqueDataKey.
+ :type name: str
+
+ :param attribute_refs:
+ The value to assign to the attribute_refs property of this UniqueDataKey.
+ :type attribute_refs: list[oci.data_integration.models.KeyAttribute]
+
+ :param object_status:
+ The value to assign to the object_status property of this UniqueDataKey.
+ :type object_status: int
+
+ """
+ self.swagger_types = {
+ 'model_type': 'str',
+ 'key': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'attribute_refs': 'list[KeyAttribute]',
+ 'object_status': 'int'
+ }
+
+ self.attribute_map = {
+ 'model_type': 'modelType',
+ 'key': 'key',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'attribute_refs': 'attributeRefs',
+ 'object_status': 'objectStatus'
+ }
+
+ self._model_type = None
+ self._key = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._attribute_refs = None
+ self._object_status = None
+ self._model_type = 'UNIQUE_KEY'
+
+ 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/data_integration/models/unique_key.py b/src/oci/data_integration/models/unique_key.py
index 93f4e70c20..967c9cf5e7 100644
--- a/src/oci/data_integration/models/unique_key.py
+++ b/src/oci/data_integration/models/unique_key.py
@@ -27,6 +27,7 @@ def __init__(self, **kwargs):
to a service operations then you should favor using a subclass over the base class:
* :class:`~oci.data_integration.models.PrimaryKey`
+ * :class:`~oci.data_integration.models.UniqueDataKey`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -99,6 +100,9 @@ def get_subtype(object_dictionary):
if type == 'PRIMARY_KEY':
return 'PrimaryKey'
+
+ if type == 'UNIQUE_KEY':
+ return 'UniqueDataKey'
else:
return 'UniqueKey'
diff --git a/src/oci/data_integration/models/update_connection_from_adwc.py b/src/oci/data_integration/models/update_connection_from_adwc.py
index ce006348fc..31f83afea1 100644
--- a/src/oci/data_integration/models/update_connection_from_adwc.py
+++ b/src/oci/data_integration/models/update_connection_from_adwc.py
@@ -64,6 +64,14 @@ def __init__(self, **kwargs):
The value to assign to the registry_metadata property of this UpdateConnectionFromAdwc.
:type registry_metadata: oci.data_integration.models.RegistryMetadata
+ :param tns_alias:
+ The value to assign to the tns_alias property of this UpdateConnectionFromAdwc.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this UpdateConnectionFromAdwc.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this UpdateConnectionFromAdwc.
:type username: str
@@ -89,6 +97,8 @@ def __init__(self, **kwargs):
'identifier': 'str',
'connection_properties': 'list[ConnectionProperty]',
'registry_metadata': 'RegistryMetadata',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -106,6 +116,8 @@ def __init__(self, **kwargs):
'identifier': 'identifier',
'connection_properties': 'connectionProperties',
'registry_metadata': 'registryMetadata',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -122,11 +134,61 @@ def __init__(self, **kwargs):
self._identifier = None
self._connection_properties = None
self._registry_metadata = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ADWC_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this UpdateConnectionFromAdwc.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :return: The tns_alias of this UpdateConnectionFromAdwc.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this UpdateConnectionFromAdwc.
+ The Autonomous Data Warehouse instance service name.
+
+
+ :param tns_alias: The tns_alias of this UpdateConnectionFromAdwc.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this UpdateConnectionFromAdwc.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this UpdateConnectionFromAdwc.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this UpdateConnectionFromAdwc.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this UpdateConnectionFromAdwc.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/update_connection_from_atp.py b/src/oci/data_integration/models/update_connection_from_atp.py
index 42b7ffddc2..cf7cac6a86 100644
--- a/src/oci/data_integration/models/update_connection_from_atp.py
+++ b/src/oci/data_integration/models/update_connection_from_atp.py
@@ -64,6 +64,14 @@ def __init__(self, **kwargs):
The value to assign to the registry_metadata property of this UpdateConnectionFromAtp.
:type registry_metadata: oci.data_integration.models.RegistryMetadata
+ :param tns_alias:
+ The value to assign to the tns_alias property of this UpdateConnectionFromAtp.
+ :type tns_alias: str
+
+ :param tns_names:
+ The value to assign to the tns_names property of this UpdateConnectionFromAtp.
+ :type tns_names: list[str]
+
:param username:
The value to assign to the username property of this UpdateConnectionFromAtp.
:type username: str
@@ -89,6 +97,8 @@ def __init__(self, **kwargs):
'identifier': 'str',
'connection_properties': 'list[ConnectionProperty]',
'registry_metadata': 'RegistryMetadata',
+ 'tns_alias': 'str',
+ 'tns_names': 'list[str]',
'username': 'str',
'password': 'str',
'password_secret': 'SensitiveAttribute'
@@ -106,6 +116,8 @@ def __init__(self, **kwargs):
'identifier': 'identifier',
'connection_properties': 'connectionProperties',
'registry_metadata': 'registryMetadata',
+ 'tns_alias': 'tnsAlias',
+ 'tns_names': 'tnsNames',
'username': 'username',
'password': 'password',
'password_secret': 'passwordSecret'
@@ -122,11 +134,61 @@ def __init__(self, **kwargs):
self._identifier = None
self._connection_properties = None
self._registry_metadata = None
+ self._tns_alias = None
+ self._tns_names = None
self._username = None
self._password = None
self._password_secret = None
self._model_type = 'ORACLE_ATP_CONNECTION'
+ @property
+ def tns_alias(self):
+ """
+ Gets the tns_alias of this UpdateConnectionFromAtp.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :return: The tns_alias of this UpdateConnectionFromAtp.
+ :rtype: str
+ """
+ return self._tns_alias
+
+ @tns_alias.setter
+ def tns_alias(self, tns_alias):
+ """
+ Sets the tns_alias of this UpdateConnectionFromAtp.
+ The Autonomous Transaction Processing instance service name.
+
+
+ :param tns_alias: The tns_alias of this UpdateConnectionFromAtp.
+ :type: str
+ """
+ self._tns_alias = tns_alias
+
+ @property
+ def tns_names(self):
+ """
+ Gets the tns_names of this UpdateConnectionFromAtp.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :return: The tns_names of this UpdateConnectionFromAtp.
+ :rtype: list[str]
+ """
+ return self._tns_names
+
+ @tns_names.setter
+ def tns_names(self, tns_names):
+ """
+ Sets the tns_names of this UpdateConnectionFromAtp.
+ Array of service names that are available for selection in the tnsAlias property.
+
+
+ :param tns_names: The tns_names of this UpdateConnectionFromAtp.
+ :type: list[str]
+ """
+ self._tns_names = tns_names
+
@property
def username(self):
"""
diff --git a/src/oci/data_integration/models/update_connection_from_bicc.py b/src/oci/data_integration/models/update_connection_from_bicc.py
index 1e1f782565..95b977362a 100644
--- a/src/oci/data_integration/models/update_connection_from_bicc.py
+++ b/src/oci/data_integration/models/update_connection_from_bicc.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class UpdateConnectionFromBICC(UpdateConnectionDetails):
"""
- The details to update an Oracle Database data asset connection.
+ The details to update a FUSION_APP BICC connection.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/data_integration/models/update_data_asset_from_object_storage.py b/src/oci/data_integration/models/update_data_asset_from_object_storage.py
index b300d1e666..af1ec10a54 100644
--- a/src/oci/data_integration/models/update_data_asset_from_object_storage.py
+++ b/src/oci/data_integration/models/update_data_asset_from_object_storage.py
@@ -64,6 +64,10 @@ def __init__(self, **kwargs):
The value to assign to the registry_metadata property of this UpdateDataAssetFromObjectStorage.
:type registry_metadata: oci.data_integration.models.RegistryMetadata
+ :param oci_region:
+ The value to assign to the oci_region property of this UpdateDataAssetFromObjectStorage.
+ :type oci_region: str
+
:param url:
The value to assign to the url property of this UpdateDataAssetFromObjectStorage.
:type url: str
@@ -93,6 +97,7 @@ def __init__(self, **kwargs):
'external_key': 'str',
'asset_properties': 'dict(str, str)',
'registry_metadata': 'RegistryMetadata',
+ 'oci_region': 'str',
'url': 'str',
'tenancy_id': 'str',
'namespace': 'str',
@@ -111,6 +116,7 @@ def __init__(self, **kwargs):
'external_key': 'externalKey',
'asset_properties': 'assetProperties',
'registry_metadata': 'registryMetadata',
+ 'oci_region': 'ociRegion',
'url': 'url',
'tenancy_id': 'tenancyId',
'namespace': 'namespace',
@@ -128,12 +134,37 @@ def __init__(self, **kwargs):
self._external_key = None
self._asset_properties = None
self._registry_metadata = None
+ self._oci_region = None
self._url = None
self._tenancy_id = None
self._namespace = None
self._default_connection = None
self._model_type = 'ORACLE_OBJECT_STORAGE_DATA_ASSET'
+ @property
+ def oci_region(self):
+ """
+ Gets the oci_region of this UpdateDataAssetFromObjectStorage.
+ The Oracle Object storage Region ie. us-ashburn-1
+
+
+ :return: The oci_region of this UpdateDataAssetFromObjectStorage.
+ :rtype: str
+ """
+ return self._oci_region
+
+ @oci_region.setter
+ def oci_region(self, oci_region):
+ """
+ Sets the oci_region of this UpdateDataAssetFromObjectStorage.
+ The Oracle Object storage Region ie. us-ashburn-1
+
+
+ :param oci_region: The oci_region of this UpdateDataAssetFromObjectStorage.
+ :type: str
+ """
+ self._oci_region = oci_region
+
@property
def url(self):
"""
diff --git a/src/oci/data_integration/models/update_function_library_details.py b/src/oci/data_integration/models/update_function_library_details.py
new file mode 100644
index 0000000000..a0c080e70c
--- /dev/null
+++ b/src/oci/data_integration/models/update_function_library_details.py
@@ -0,0 +1,283 @@
+# 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 UpdateFunctionLibraryDetails(object):
+ """
+ The properties used in FunctionLibrary update operations.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateFunctionLibraryDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param name:
+ The value to assign to the name property of this UpdateFunctionLibraryDetails.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this UpdateFunctionLibraryDetails.
+ :type description: str
+
+ :param category_name:
+ The value to assign to the category_name property of this UpdateFunctionLibraryDetails.
+ :type category_name: str
+
+ :param object_status:
+ The value to assign to the object_status property of this UpdateFunctionLibraryDetails.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this UpdateFunctionLibraryDetails.
+ :type identifier: str
+
+ :param model_version:
+ The value to assign to the model_version property of this UpdateFunctionLibraryDetails.
+ :type model_version: str
+
+ :param object_version:
+ The value to assign to the object_version property of this UpdateFunctionLibraryDetails.
+ :type object_version: int
+
+ :param registry_metadata:
+ The value to assign to the registry_metadata property of this UpdateFunctionLibraryDetails.
+ :type registry_metadata: oci.data_integration.models.RegistryMetadata
+
+ """
+ self.swagger_types = {
+ 'name': 'str',
+ 'description': 'str',
+ 'category_name': 'str',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'model_version': 'str',
+ 'object_version': 'int',
+ 'registry_metadata': 'RegistryMetadata'
+ }
+
+ self.attribute_map = {
+ 'name': 'name',
+ 'description': 'description',
+ 'category_name': 'categoryName',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'model_version': 'modelVersion',
+ 'object_version': 'objectVersion',
+ 'registry_metadata': 'registryMetadata'
+ }
+
+ self._name = None
+ self._description = None
+ self._category_name = None
+ self._object_status = None
+ self._identifier = None
+ self._model_version = None
+ self._object_version = None
+ self._registry_metadata = None
+
+ @property
+ def name(self):
+ """
+ Gets the name of this UpdateFunctionLibraryDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this UpdateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this UpdateFunctionLibraryDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this UpdateFunctionLibraryDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UpdateFunctionLibraryDetails.
+ A user defined description for the FunctionLibrary.
+
+
+ :return: The description of this UpdateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UpdateFunctionLibraryDetails.
+ A user defined description for the FunctionLibrary.
+
+
+ :param description: The description of this UpdateFunctionLibraryDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def category_name(self):
+ """
+ Gets the category_name of this UpdateFunctionLibraryDetails.
+ The category name.
+
+
+ :return: The category_name of this UpdateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._category_name
+
+ @category_name.setter
+ def category_name(self, category_name):
+ """
+ Sets the category_name of this UpdateFunctionLibraryDetails.
+ The category name.
+
+
+ :param category_name: The category_name of this UpdateFunctionLibraryDetails.
+ :type: str
+ """
+ self._category_name = category_name
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this UpdateFunctionLibraryDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this UpdateFunctionLibraryDetails.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this UpdateFunctionLibraryDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this UpdateFunctionLibraryDetails.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this UpdateFunctionLibraryDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this UpdateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this UpdateFunctionLibraryDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this UpdateFunctionLibraryDetails.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this UpdateFunctionLibraryDetails.
+ The model version of an object.
+
+
+ :return: The model_version of this UpdateFunctionLibraryDetails.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this UpdateFunctionLibraryDetails.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this UpdateFunctionLibraryDetails.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this UpdateFunctionLibraryDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this UpdateFunctionLibraryDetails.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this UpdateFunctionLibraryDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this UpdateFunctionLibraryDetails.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def registry_metadata(self):
+ """
+ Gets the registry_metadata of this UpdateFunctionLibraryDetails.
+
+ :return: The registry_metadata of this UpdateFunctionLibraryDetails.
+ :rtype: oci.data_integration.models.RegistryMetadata
+ """
+ return self._registry_metadata
+
+ @registry_metadata.setter
+ def registry_metadata(self, registry_metadata):
+ """
+ Sets the registry_metadata of this UpdateFunctionLibraryDetails.
+
+ :param registry_metadata: The registry_metadata of this UpdateFunctionLibraryDetails.
+ :type: oci.data_integration.models.RegistryMetadata
+ """
+ self._registry_metadata = registry_metadata
+
+ 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/data_integration/models/update_task_from_rest_task.py b/src/oci/data_integration/models/update_task_from_rest_task.py
index 0c42a989a6..1ca1834885 100644
--- a/src/oci/data_integration/models/update_task_from_rest_task.py
+++ b/src/oci/data_integration/models/update_task_from_rest_task.py
@@ -10,7 +10,7 @@
@init_model_state_from_kwargs
class UpdateTaskFromRestTask(UpdateTaskDetails):
"""
- The information about the Generic REST task.
+ The information about the Generic REST task. The endpoint and cancelEndpoint properties are deprecated, use the properties executeRestCallConfig, cancelRestCallConfig and pollRestCallConfig for execute, cancel and polling of the calls.
"""
#: A constant which can be used with the method_type property of a UpdateTaskFromRestTask.
@@ -41,6 +41,10 @@ class UpdateTaskFromRestTask(UpdateTaskDetails):
#: This constant has a value of "ASYNC_OCI_WORKREQUEST"
API_CALL_MODE_ASYNC_OCI_WORKREQUEST = "ASYNC_OCI_WORKREQUEST"
+ #: A constant which can be used with the api_call_mode property of a UpdateTaskFromRestTask.
+ #: This constant has a value of "ASYNC_GENERIC"
+ API_CALL_MODE_ASYNC_GENERIC = "ASYNC_GENERIC"
+
#: A constant which can be used with the cancel_method_type property of a UpdateTaskFromRestTask.
#: This constant has a value of "GET"
CANCEL_METHOD_TYPE_GET = "GET"
@@ -155,7 +159,7 @@ def __init__(self, **kwargs):
:param api_call_mode:
The value to assign to the api_call_mode property of this UpdateTaskFromRestTask.
- Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"
+ Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC"
:type api_call_mode: str
:param cancel_endpoint:
@@ -167,6 +171,14 @@ def __init__(self, **kwargs):
Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
:type cancel_method_type: str
+ :param execute_rest_call_config:
+ The value to assign to the execute_rest_call_config property of this UpdateTaskFromRestTask.
+ :type execute_rest_call_config: oci.data_integration.models.ExecuteRestCallConfig
+
+ :param cancel_rest_call_config:
+ The value to assign to the cancel_rest_call_config property of this UpdateTaskFromRestTask.
+ :type cancel_rest_call_config: oci.data_integration.models.CancelRestCallConfig
+
"""
self.swagger_types = {
'model_type': 'str',
@@ -192,7 +204,9 @@ def __init__(self, **kwargs):
'json_data': 'str',
'api_call_mode': 'str',
'cancel_endpoint': 'Expression',
- 'cancel_method_type': 'str'
+ 'cancel_method_type': 'str',
+ 'execute_rest_call_config': 'ExecuteRestCallConfig',
+ 'cancel_rest_call_config': 'CancelRestCallConfig'
}
self.attribute_map = {
@@ -219,7 +233,9 @@ def __init__(self, **kwargs):
'json_data': 'jsonData',
'api_call_mode': 'apiCallMode',
'cancel_endpoint': 'cancelEndpoint',
- 'cancel_method_type': 'cancelMethodType'
+ 'cancel_method_type': 'cancelMethodType',
+ 'execute_rest_call_config': 'executeRestCallConfig',
+ 'cancel_rest_call_config': 'cancelRestCallConfig'
}
self._model_type = None
@@ -246,6 +262,8 @@ def __init__(self, **kwargs):
self._api_call_mode = None
self._cancel_endpoint = None
self._cancel_method_type = None
+ self._execute_rest_call_config = None
+ self._cancel_rest_call_config = None
self._model_type = 'REST_TASK'
@property
@@ -292,7 +310,7 @@ def endpoint(self, endpoint):
def method_type(self):
"""
Gets the method_type of this UpdateTaskFromRestTask.
- The REST method to use.
+ The REST method to use. This property is deprecated, use ExecuteRestCallConfig's methodType property instead.
Allowed values for this property are: "GET", "POST", "PATCH", "DELETE", "PUT"
@@ -306,7 +324,7 @@ def method_type(self):
def method_type(self, method_type):
"""
Sets the method_type of this UpdateTaskFromRestTask.
- The REST method to use.
+ The REST method to use. This property is deprecated, use ExecuteRestCallConfig's methodType property instead.
:param method_type: The method_type of this UpdateTaskFromRestTask.
@@ -324,8 +342,6 @@ def method_type(self, method_type):
def headers(self):
"""
Gets the headers of this UpdateTaskFromRestTask.
- The headers for the REST call.
-
:return: The headers of this UpdateTaskFromRestTask.
:rtype: object
@@ -336,8 +352,6 @@ def headers(self):
def headers(self, headers):
"""
Sets the headers of this UpdateTaskFromRestTask.
- The headers for the REST call.
-
:param headers: The headers of this UpdateTaskFromRestTask.
:type: object
@@ -372,7 +386,7 @@ def additional_properties(self, additional_properties):
def json_data(self):
"""
Gets the json_data of this UpdateTaskFromRestTask.
- JSON data for payload body.
+ JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig's payload config param instead.
:return: The json_data of this UpdateTaskFromRestTask.
@@ -384,7 +398,7 @@ def json_data(self):
def json_data(self, json_data):
"""
Sets the json_data of this UpdateTaskFromRestTask.
- JSON data for payload body.
+ JSON data for payload body. This property is deprecated, use ExecuteRestCallConfig's payload config param instead.
:param json_data: The json_data of this UpdateTaskFromRestTask.
@@ -396,9 +410,9 @@ def json_data(self, json_data):
def api_call_mode(self):
"""
Gets the api_call_mode of this UpdateTaskFromRestTask.
- The invocation type to be used for Generic REST invocation.
+ The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
- Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"
+ Allowed values for this property are: "SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC"
:return: The api_call_mode of this UpdateTaskFromRestTask.
@@ -410,13 +424,13 @@ def api_call_mode(self):
def api_call_mode(self, api_call_mode):
"""
Sets the api_call_mode of this UpdateTaskFromRestTask.
- The invocation type to be used for Generic REST invocation.
+ The REST invocation pattern to use. ASYNC_OCI_WORKREQUEST is being deprecated as well as cancelEndpoint/MethodType.
:param api_call_mode: The api_call_mode of this UpdateTaskFromRestTask.
:type: str
"""
- allowed_values = ["SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST"]
+ allowed_values = ["SYNCHRONOUS", "ASYNC_OCI_WORKREQUEST", "ASYNC_GENERIC"]
if not value_allowed_none_or_none_sentinel(api_call_mode, allowed_values):
raise ValueError(
"Invalid value for `api_call_mode`, must be None or one of {0}"
@@ -476,6 +490,46 @@ def cancel_method_type(self, cancel_method_type):
)
self._cancel_method_type = cancel_method_type
+ @property
+ def execute_rest_call_config(self):
+ """
+ Gets the execute_rest_call_config of this UpdateTaskFromRestTask.
+
+ :return: The execute_rest_call_config of this UpdateTaskFromRestTask.
+ :rtype: oci.data_integration.models.ExecuteRestCallConfig
+ """
+ return self._execute_rest_call_config
+
+ @execute_rest_call_config.setter
+ def execute_rest_call_config(self, execute_rest_call_config):
+ """
+ Sets the execute_rest_call_config of this UpdateTaskFromRestTask.
+
+ :param execute_rest_call_config: The execute_rest_call_config of this UpdateTaskFromRestTask.
+ :type: oci.data_integration.models.ExecuteRestCallConfig
+ """
+ self._execute_rest_call_config = execute_rest_call_config
+
+ @property
+ def cancel_rest_call_config(self):
+ """
+ Gets the cancel_rest_call_config of this UpdateTaskFromRestTask.
+
+ :return: The cancel_rest_call_config of this UpdateTaskFromRestTask.
+ :rtype: oci.data_integration.models.CancelRestCallConfig
+ """
+ return self._cancel_rest_call_config
+
+ @cancel_rest_call_config.setter
+ def cancel_rest_call_config(self, cancel_rest_call_config):
+ """
+ Sets the cancel_rest_call_config of this UpdateTaskFromRestTask.
+
+ :param cancel_rest_call_config: The cancel_rest_call_config of this UpdateTaskFromRestTask.
+ :type: oci.data_integration.models.CancelRestCallConfig
+ """
+ self._cancel_rest_call_config = cancel_rest_call_config
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_integration/models/update_user_defined_function_details.py b/src/oci/data_integration/models/update_user_defined_function_details.py
new file mode 100644
index 0000000000..b8dae7328a
--- /dev/null
+++ b/src/oci/data_integration/models/update_user_defined_function_details.py
@@ -0,0 +1,337 @@
+# 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 UpdateUserDefinedFunctionDetails(object):
+ """
+ Properties used in user defined function update operations.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateUserDefinedFunctionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this UpdateUserDefinedFunctionDetails.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this UpdateUserDefinedFunctionDetails.
+ :type name: str
+
+ :param identifier:
+ The value to assign to the identifier property of this UpdateUserDefinedFunctionDetails.
+ :type identifier: str
+
+ :param model_version:
+ The value to assign to the model_version property of this UpdateUserDefinedFunctionDetails.
+ :type model_version: str
+
+ :param object_version:
+ The value to assign to the object_version property of this UpdateUserDefinedFunctionDetails.
+ :type object_version: int
+
+ :param signatures:
+ The value to assign to the signatures property of this UpdateUserDefinedFunctionDetails.
+ :type signatures: list[oci.data_integration.models.FunctionSignature]
+
+ :param expr:
+ The value to assign to the expr property of this UpdateUserDefinedFunctionDetails.
+ :type expr: oci.data_integration.models.Expression
+
+ :param description:
+ The value to assign to the description property of this UpdateUserDefinedFunctionDetails.
+ :type description: str
+
+ :param object_status:
+ The value to assign to the object_status property of this UpdateUserDefinedFunctionDetails.
+ :type object_status: int
+
+ :param registry_metadata:
+ The value to assign to the registry_metadata property of this UpdateUserDefinedFunctionDetails.
+ :type registry_metadata: oci.data_integration.models.RegistryMetadata
+
+ """
+ self.swagger_types = {
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'identifier': 'str',
+ 'model_version': 'str',
+ 'object_version': 'int',
+ 'signatures': 'list[FunctionSignature]',
+ 'expr': 'Expression',
+ 'description': 'str',
+ 'object_status': 'int',
+ 'registry_metadata': 'RegistryMetadata'
+ }
+
+ self.attribute_map = {
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'identifier': 'identifier',
+ 'model_version': 'modelVersion',
+ 'object_version': 'objectVersion',
+ 'signatures': 'signatures',
+ 'expr': 'expr',
+ 'description': 'description',
+ 'object_status': 'objectStatus',
+ 'registry_metadata': 'registryMetadata'
+ }
+
+ self._parent_ref = None
+ self._name = None
+ self._identifier = None
+ self._model_version = None
+ self._object_version = None
+ self._signatures = None
+ self._expr = None
+ self._description = None
+ self._object_status = None
+ self._registry_metadata = None
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this UpdateUserDefinedFunctionDetails.
+
+ :return: The parent_ref of this UpdateUserDefinedFunctionDetails.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this UpdateUserDefinedFunctionDetails.
+
+ :param parent_ref: The parent_ref of this UpdateUserDefinedFunctionDetails.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this UpdateUserDefinedFunctionDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this UpdateUserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this UpdateUserDefinedFunctionDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this UpdateUserDefinedFunctionDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this UpdateUserDefinedFunctionDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this UpdateUserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this UpdateUserDefinedFunctionDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this UpdateUserDefinedFunctionDetails.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this UpdateUserDefinedFunctionDetails.
+ The model version of an object.
+
+
+ :return: The model_version of this UpdateUserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this UpdateUserDefinedFunctionDetails.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this UpdateUserDefinedFunctionDetails.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this UpdateUserDefinedFunctionDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this UpdateUserDefinedFunctionDetails.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this UpdateUserDefinedFunctionDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this UpdateUserDefinedFunctionDetails.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def signatures(self):
+ """
+ Gets the signatures of this UpdateUserDefinedFunctionDetails.
+ An array of function signature.
+
+
+ :return: The signatures of this UpdateUserDefinedFunctionDetails.
+ :rtype: list[oci.data_integration.models.FunctionSignature]
+ """
+ return self._signatures
+
+ @signatures.setter
+ def signatures(self, signatures):
+ """
+ Sets the signatures of this UpdateUserDefinedFunctionDetails.
+ An array of function signature.
+
+
+ :param signatures: The signatures of this UpdateUserDefinedFunctionDetails.
+ :type: list[oci.data_integration.models.FunctionSignature]
+ """
+ self._signatures = signatures
+
+ @property
+ def expr(self):
+ """
+ Gets the expr of this UpdateUserDefinedFunctionDetails.
+
+ :return: The expr of this UpdateUserDefinedFunctionDetails.
+ :rtype: oci.data_integration.models.Expression
+ """
+ return self._expr
+
+ @expr.setter
+ def expr(self, expr):
+ """
+ Sets the expr of this UpdateUserDefinedFunctionDetails.
+
+ :param expr: The expr of this UpdateUserDefinedFunctionDetails.
+ :type: oci.data_integration.models.Expression
+ """
+ self._expr = expr
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UpdateUserDefinedFunctionDetails.
+ Detailed description for the object.
+
+
+ :return: The description of this UpdateUserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UpdateUserDefinedFunctionDetails.
+ Detailed description for the object.
+
+
+ :param description: The description of this UpdateUserDefinedFunctionDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this UpdateUserDefinedFunctionDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this UpdateUserDefinedFunctionDetails.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this UpdateUserDefinedFunctionDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this UpdateUserDefinedFunctionDetails.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def registry_metadata(self):
+ """
+ Gets the registry_metadata of this UpdateUserDefinedFunctionDetails.
+
+ :return: The registry_metadata of this UpdateUserDefinedFunctionDetails.
+ :rtype: oci.data_integration.models.RegistryMetadata
+ """
+ return self._registry_metadata
+
+ @registry_metadata.setter
+ def registry_metadata(self, registry_metadata):
+ """
+ Sets the registry_metadata of this UpdateUserDefinedFunctionDetails.
+
+ :param registry_metadata: The registry_metadata of this UpdateUserDefinedFunctionDetails.
+ :type: oci.data_integration.models.RegistryMetadata
+ """
+ self._registry_metadata = registry_metadata
+
+ 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/data_integration/models/user_defined_function.py b/src/oci/data_integration/models/user_defined_function.py
new file mode 100644
index 0000000000..43232532a9
--- /dev/null
+++ b/src/oci/data_integration/models/user_defined_function.py
@@ -0,0 +1,442 @@
+# 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 UserDefinedFunction(object):
+ """
+ The user defined function type contains the audit summary information and the definition of the user defined function.
+ """
+
+ #: A constant which can be used with the model_type property of a UserDefinedFunction.
+ #: This constant has a value of "DIS_USER_DEFINED_FUNCTION"
+ MODEL_TYPE_DIS_USER_DEFINED_FUNCTION = "DIS_USER_DEFINED_FUNCTION"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UserDefinedFunction object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this UserDefinedFunction.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this UserDefinedFunction.
+ Allowed values for this property are: "DIS_USER_DEFINED_FUNCTION", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this UserDefinedFunction.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this UserDefinedFunction.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this UserDefinedFunction.
+ :type name: str
+
+ :param identifier:
+ The value to assign to the identifier property of this UserDefinedFunction.
+ :type identifier: str
+
+ :param object_version:
+ The value to assign to the object_version property of this UserDefinedFunction.
+ :type object_version: int
+
+ :param signatures:
+ The value to assign to the signatures property of this UserDefinedFunction.
+ :type signatures: list[oci.data_integration.models.FunctionSignature]
+
+ :param expr:
+ The value to assign to the expr property of this UserDefinedFunction.
+ :type expr: oci.data_integration.models.Expression
+
+ :param description:
+ The value to assign to the description property of this UserDefinedFunction.
+ :type description: str
+
+ :param object_status:
+ The value to assign to the object_status property of this UserDefinedFunction.
+ :type object_status: int
+
+ :param metadata:
+ The value to assign to the metadata property of this UserDefinedFunction.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ :param key_map:
+ The value to assign to the key_map property of this UserDefinedFunction.
+ :type key_map: dict(str, str)
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'identifier': 'str',
+ 'object_version': 'int',
+ 'signatures': 'list[FunctionSignature]',
+ 'expr': 'Expression',
+ 'description': 'str',
+ 'object_status': 'int',
+ 'metadata': 'ObjectMetadata',
+ 'key_map': 'dict(str, str)'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'identifier': 'identifier',
+ 'object_version': 'objectVersion',
+ 'signatures': 'signatures',
+ 'expr': 'expr',
+ 'description': 'description',
+ 'object_status': 'objectStatus',
+ 'metadata': 'metadata',
+ 'key_map': 'keyMap'
+ }
+
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._identifier = None
+ self._object_version = None
+ self._signatures = None
+ self._expr = None
+ self._description = None
+ self._object_status = None
+ self._metadata = None
+ self._key_map = None
+
+ @property
+ def key(self):
+ """
+ Gets the key of this UserDefinedFunction.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :return: The key of this UserDefinedFunction.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this UserDefinedFunction.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :param key: The key of this UserDefinedFunction.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ Gets the model_type of this UserDefinedFunction.
+ The type of the object.
+
+ Allowed values for this property are: "DIS_USER_DEFINED_FUNCTION", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The model_type of this UserDefinedFunction.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this UserDefinedFunction.
+ The type of the object.
+
+
+ :param model_type: The model_type of this UserDefinedFunction.
+ :type: str
+ """
+ allowed_values = ["DIS_USER_DEFINED_FUNCTION"]
+ if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
+ model_type = 'UNKNOWN_ENUM_VALUE'
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this UserDefinedFunction.
+ The model version of an object.
+
+
+ :return: The model_version of this UserDefinedFunction.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this UserDefinedFunction.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this UserDefinedFunction.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this UserDefinedFunction.
+
+ :return: The parent_ref of this UserDefinedFunction.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this UserDefinedFunction.
+
+ :param parent_ref: The parent_ref of this UserDefinedFunction.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this UserDefinedFunction.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this UserDefinedFunction.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this UserDefinedFunction.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this UserDefinedFunction.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this UserDefinedFunction.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this UserDefinedFunction.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this UserDefinedFunction.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this UserDefinedFunction.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this UserDefinedFunction.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this UserDefinedFunction.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this UserDefinedFunction.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this UserDefinedFunction.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def signatures(self):
+ """
+ Gets the signatures of this UserDefinedFunction.
+ An array of function signature.
+
+
+ :return: The signatures of this UserDefinedFunction.
+ :rtype: list[oci.data_integration.models.FunctionSignature]
+ """
+ return self._signatures
+
+ @signatures.setter
+ def signatures(self, signatures):
+ """
+ Sets the signatures of this UserDefinedFunction.
+ An array of function signature.
+
+
+ :param signatures: The signatures of this UserDefinedFunction.
+ :type: list[oci.data_integration.models.FunctionSignature]
+ """
+ self._signatures = signatures
+
+ @property
+ def expr(self):
+ """
+ Gets the expr of this UserDefinedFunction.
+
+ :return: The expr of this UserDefinedFunction.
+ :rtype: oci.data_integration.models.Expression
+ """
+ return self._expr
+
+ @expr.setter
+ def expr(self, expr):
+ """
+ Sets the expr of this UserDefinedFunction.
+
+ :param expr: The expr of this UserDefinedFunction.
+ :type: oci.data_integration.models.Expression
+ """
+ self._expr = expr
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UserDefinedFunction.
+ Detailed description for the object.
+
+
+ :return: The description of this UserDefinedFunction.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UserDefinedFunction.
+ Detailed description for the object.
+
+
+ :param description: The description of this UserDefinedFunction.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this UserDefinedFunction.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this UserDefinedFunction.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this UserDefinedFunction.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this UserDefinedFunction.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def metadata(self):
+ """
+ Gets the metadata of this UserDefinedFunction.
+
+ :return: The metadata of this UserDefinedFunction.
+ :rtype: oci.data_integration.models.ObjectMetadata
+ """
+ return self._metadata
+
+ @metadata.setter
+ def metadata(self, metadata):
+ """
+ Sets the metadata of this UserDefinedFunction.
+
+ :param metadata: The metadata of this UserDefinedFunction.
+ :type: oci.data_integration.models.ObjectMetadata
+ """
+ self._metadata = metadata
+
+ @property
+ def key_map(self):
+ """
+ Gets the key_map of this UserDefinedFunction.
+ A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :return: The key_map of this UserDefinedFunction.
+ :rtype: dict(str, str)
+ """
+ return self._key_map
+
+ @key_map.setter
+ def key_map(self, key_map):
+ """
+ Sets the key_map of this UserDefinedFunction.
+ A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :param key_map: The key_map of this UserDefinedFunction.
+ :type: dict(str, str)
+ """
+ self._key_map = key_map
+
+ 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/data_integration/models/user_defined_function_details.py b/src/oci/data_integration/models/user_defined_function_details.py
new file mode 100644
index 0000000000..c525df64c4
--- /dev/null
+++ b/src/oci/data_integration/models/user_defined_function_details.py
@@ -0,0 +1,412 @@
+# 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 UserDefinedFunctionDetails(object):
+ """
+ The information about a user defined function.
+ """
+
+ #: A constant which can be used with the model_type property of a UserDefinedFunctionDetails.
+ #: This constant has a value of "DIS_USER_DEFINED_FUNCTION"
+ MODEL_TYPE_DIS_USER_DEFINED_FUNCTION = "DIS_USER_DEFINED_FUNCTION"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UserDefinedFunctionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this UserDefinedFunctionDetails.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this UserDefinedFunctionDetails.
+ Allowed values for this property are: "DIS_USER_DEFINED_FUNCTION"
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this UserDefinedFunctionDetails.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this UserDefinedFunctionDetails.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this UserDefinedFunctionDetails.
+ :type name: str
+
+ :param identifier:
+ The value to assign to the identifier property of this UserDefinedFunctionDetails.
+ :type identifier: str
+
+ :param object_version:
+ The value to assign to the object_version property of this UserDefinedFunctionDetails.
+ :type object_version: int
+
+ :param signatures:
+ The value to assign to the signatures property of this UserDefinedFunctionDetails.
+ :type signatures: list[oci.data_integration.models.FunctionSignature]
+
+ :param expr:
+ The value to assign to the expr property of this UserDefinedFunctionDetails.
+ :type expr: oci.data_integration.models.Expression
+
+ :param description:
+ The value to assign to the description property of this UserDefinedFunctionDetails.
+ :type description: str
+
+ :param object_status:
+ The value to assign to the object_status property of this UserDefinedFunctionDetails.
+ :type object_status: int
+
+ :param registry_metadata:
+ The value to assign to the registry_metadata property of this UserDefinedFunctionDetails.
+ :type registry_metadata: oci.data_integration.models.RegistryMetadata
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'identifier': 'str',
+ 'object_version': 'int',
+ 'signatures': 'list[FunctionSignature]',
+ 'expr': 'Expression',
+ 'description': 'str',
+ 'object_status': 'int',
+ 'registry_metadata': 'RegistryMetadata'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'identifier': 'identifier',
+ 'object_version': 'objectVersion',
+ 'signatures': 'signatures',
+ 'expr': 'expr',
+ 'description': 'description',
+ 'object_status': 'objectStatus',
+ 'registry_metadata': 'registryMetadata'
+ }
+
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._identifier = None
+ self._object_version = None
+ self._signatures = None
+ self._expr = None
+ self._description = None
+ self._object_status = None
+ self._registry_metadata = None
+
+ @property
+ def key(self):
+ """
+ **[Required]** Gets the key of this UserDefinedFunctionDetails.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :return: The key of this UserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this UserDefinedFunctionDetails.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :param key: The key of this UserDefinedFunctionDetails.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ **[Required]** Gets the model_type of this UserDefinedFunctionDetails.
+ The type of the object.
+
+ Allowed values for this property are: "DIS_USER_DEFINED_FUNCTION"
+
+
+ :return: The model_type of this UserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this UserDefinedFunctionDetails.
+ The type of the object.
+
+
+ :param model_type: The model_type of this UserDefinedFunctionDetails.
+ :type: str
+ """
+ allowed_values = ["DIS_USER_DEFINED_FUNCTION"]
+ if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
+ raise ValueError(
+ "Invalid value for `model_type`, must be None or one of {0}"
+ .format(allowed_values)
+ )
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this UserDefinedFunctionDetails.
+ The model version of an object.
+
+
+ :return: The model_version of this UserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this UserDefinedFunctionDetails.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this UserDefinedFunctionDetails.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this UserDefinedFunctionDetails.
+
+ :return: The parent_ref of this UserDefinedFunctionDetails.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this UserDefinedFunctionDetails.
+
+ :param parent_ref: The parent_ref of this UserDefinedFunctionDetails.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this UserDefinedFunctionDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this UserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this UserDefinedFunctionDetails.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this UserDefinedFunctionDetails.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this UserDefinedFunctionDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this UserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this UserDefinedFunctionDetails.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this UserDefinedFunctionDetails.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def object_version(self):
+ """
+ **[Required]** Gets the object_version of this UserDefinedFunctionDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this UserDefinedFunctionDetails.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this UserDefinedFunctionDetails.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this UserDefinedFunctionDetails.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def signatures(self):
+ """
+ Gets the signatures of this UserDefinedFunctionDetails.
+ An array of function signature.
+
+
+ :return: The signatures of this UserDefinedFunctionDetails.
+ :rtype: list[oci.data_integration.models.FunctionSignature]
+ """
+ return self._signatures
+
+ @signatures.setter
+ def signatures(self, signatures):
+ """
+ Sets the signatures of this UserDefinedFunctionDetails.
+ An array of function signature.
+
+
+ :param signatures: The signatures of this UserDefinedFunctionDetails.
+ :type: list[oci.data_integration.models.FunctionSignature]
+ """
+ self._signatures = signatures
+
+ @property
+ def expr(self):
+ """
+ Gets the expr of this UserDefinedFunctionDetails.
+
+ :return: The expr of this UserDefinedFunctionDetails.
+ :rtype: oci.data_integration.models.Expression
+ """
+ return self._expr
+
+ @expr.setter
+ def expr(self, expr):
+ """
+ Sets the expr of this UserDefinedFunctionDetails.
+
+ :param expr: The expr of this UserDefinedFunctionDetails.
+ :type: oci.data_integration.models.Expression
+ """
+ self._expr = expr
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UserDefinedFunctionDetails.
+ Detailed description for the object.
+
+
+ :return: The description of this UserDefinedFunctionDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UserDefinedFunctionDetails.
+ Detailed description for the object.
+
+
+ :param description: The description of this UserDefinedFunctionDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this UserDefinedFunctionDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this UserDefinedFunctionDetails.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this UserDefinedFunctionDetails.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this UserDefinedFunctionDetails.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def registry_metadata(self):
+ """
+ Gets the registry_metadata of this UserDefinedFunctionDetails.
+
+ :return: The registry_metadata of this UserDefinedFunctionDetails.
+ :rtype: oci.data_integration.models.RegistryMetadata
+ """
+ return self._registry_metadata
+
+ @registry_metadata.setter
+ def registry_metadata(self, registry_metadata):
+ """
+ Sets the registry_metadata of this UserDefinedFunctionDetails.
+
+ :param registry_metadata: The registry_metadata of this UserDefinedFunctionDetails.
+ :type: oci.data_integration.models.RegistryMetadata
+ """
+ self._registry_metadata = registry_metadata
+
+ 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/data_integration/models/user_defined_function_summary.py b/src/oci/data_integration/models/user_defined_function_summary.py
new file mode 100644
index 0000000000..66dc98582f
--- /dev/null
+++ b/src/oci/data_integration/models/user_defined_function_summary.py
@@ -0,0 +1,442 @@
+# 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 UserDefinedFunctionSummary(object):
+ """
+ The user defined function summary type contains the audit summary information and the definition of the user defined function.
+ """
+
+ #: A constant which can be used with the model_type property of a UserDefinedFunctionSummary.
+ #: This constant has a value of "DIS_USER_DEFINED_FUNCTION"
+ MODEL_TYPE_DIS_USER_DEFINED_FUNCTION = "DIS_USER_DEFINED_FUNCTION"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UserDefinedFunctionSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param key:
+ The value to assign to the key property of this UserDefinedFunctionSummary.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this UserDefinedFunctionSummary.
+ Allowed values for this property are: "DIS_USER_DEFINED_FUNCTION", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this UserDefinedFunctionSummary.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this UserDefinedFunctionSummary.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this UserDefinedFunctionSummary.
+ :type name: str
+
+ :param identifier:
+ The value to assign to the identifier property of this UserDefinedFunctionSummary.
+ :type identifier: str
+
+ :param object_version:
+ The value to assign to the object_version property of this UserDefinedFunctionSummary.
+ :type object_version: int
+
+ :param signatures:
+ The value to assign to the signatures property of this UserDefinedFunctionSummary.
+ :type signatures: list[oci.data_integration.models.FunctionSignature]
+
+ :param expr:
+ The value to assign to the expr property of this UserDefinedFunctionSummary.
+ :type expr: oci.data_integration.models.Expression
+
+ :param description:
+ The value to assign to the description property of this UserDefinedFunctionSummary.
+ :type description: str
+
+ :param object_status:
+ The value to assign to the object_status property of this UserDefinedFunctionSummary.
+ :type object_status: int
+
+ :param metadata:
+ The value to assign to the metadata property of this UserDefinedFunctionSummary.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ :param key_map:
+ The value to assign to the key_map property of this UserDefinedFunctionSummary.
+ :type key_map: dict(str, str)
+
+ """
+ self.swagger_types = {
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'identifier': 'str',
+ 'object_version': 'int',
+ 'signatures': 'list[FunctionSignature]',
+ 'expr': 'Expression',
+ 'description': 'str',
+ 'object_status': 'int',
+ 'metadata': 'ObjectMetadata',
+ 'key_map': 'dict(str, str)'
+ }
+
+ self.attribute_map = {
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'identifier': 'identifier',
+ 'object_version': 'objectVersion',
+ 'signatures': 'signatures',
+ 'expr': 'expr',
+ 'description': 'description',
+ 'object_status': 'objectStatus',
+ 'metadata': 'metadata',
+ 'key_map': 'keyMap'
+ }
+
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._identifier = None
+ self._object_version = None
+ self._signatures = None
+ self._expr = None
+ self._description = None
+ self._object_status = None
+ self._metadata = None
+ self._key_map = None
+
+ @property
+ def key(self):
+ """
+ Gets the key of this UserDefinedFunctionSummary.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :return: The key of this UserDefinedFunctionSummary.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this UserDefinedFunctionSummary.
+ Generated key that can be used in API calls to identify user defined function. On scenarios where reference to the user defined function is needed, a value can be passed in create.
+
+
+ :param key: The key of this UserDefinedFunctionSummary.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ Gets the model_type of this UserDefinedFunctionSummary.
+ The type of the object.
+
+ Allowed values for this property are: "DIS_USER_DEFINED_FUNCTION", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The model_type of this UserDefinedFunctionSummary.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this UserDefinedFunctionSummary.
+ The type of the object.
+
+
+ :param model_type: The model_type of this UserDefinedFunctionSummary.
+ :type: str
+ """
+ allowed_values = ["DIS_USER_DEFINED_FUNCTION"]
+ if not value_allowed_none_or_none_sentinel(model_type, allowed_values):
+ model_type = 'UNKNOWN_ENUM_VALUE'
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this UserDefinedFunctionSummary.
+ The model version of an object.
+
+
+ :return: The model_version of this UserDefinedFunctionSummary.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this UserDefinedFunctionSummary.
+ The model version of an object.
+
+
+ :param model_version: The model_version of this UserDefinedFunctionSummary.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this UserDefinedFunctionSummary.
+
+ :return: The parent_ref of this UserDefinedFunctionSummary.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this UserDefinedFunctionSummary.
+
+ :param parent_ref: The parent_ref of this UserDefinedFunctionSummary.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this UserDefinedFunctionSummary.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this UserDefinedFunctionSummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this UserDefinedFunctionSummary.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this UserDefinedFunctionSummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this UserDefinedFunctionSummary.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this UserDefinedFunctionSummary.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this UserDefinedFunctionSummary.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this UserDefinedFunctionSummary.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this UserDefinedFunctionSummary.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this UserDefinedFunctionSummary.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this UserDefinedFunctionSummary.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this UserDefinedFunctionSummary.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def signatures(self):
+ """
+ Gets the signatures of this UserDefinedFunctionSummary.
+ An array of function signature.
+
+
+ :return: The signatures of this UserDefinedFunctionSummary.
+ :rtype: list[oci.data_integration.models.FunctionSignature]
+ """
+ return self._signatures
+
+ @signatures.setter
+ def signatures(self, signatures):
+ """
+ Sets the signatures of this UserDefinedFunctionSummary.
+ An array of function signature.
+
+
+ :param signatures: The signatures of this UserDefinedFunctionSummary.
+ :type: list[oci.data_integration.models.FunctionSignature]
+ """
+ self._signatures = signatures
+
+ @property
+ def expr(self):
+ """
+ Gets the expr of this UserDefinedFunctionSummary.
+
+ :return: The expr of this UserDefinedFunctionSummary.
+ :rtype: oci.data_integration.models.Expression
+ """
+ return self._expr
+
+ @expr.setter
+ def expr(self, expr):
+ """
+ Sets the expr of this UserDefinedFunctionSummary.
+
+ :param expr: The expr of this UserDefinedFunctionSummary.
+ :type: oci.data_integration.models.Expression
+ """
+ self._expr = expr
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UserDefinedFunctionSummary.
+ Detailed description for the object.
+
+
+ :return: The description of this UserDefinedFunctionSummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UserDefinedFunctionSummary.
+ Detailed description for the object.
+
+
+ :param description: The description of this UserDefinedFunctionSummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this UserDefinedFunctionSummary.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this UserDefinedFunctionSummary.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this UserDefinedFunctionSummary.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this UserDefinedFunctionSummary.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def metadata(self):
+ """
+ Gets the metadata of this UserDefinedFunctionSummary.
+
+ :return: The metadata of this UserDefinedFunctionSummary.
+ :rtype: oci.data_integration.models.ObjectMetadata
+ """
+ return self._metadata
+
+ @metadata.setter
+ def metadata(self, metadata):
+ """
+ Sets the metadata of this UserDefinedFunctionSummary.
+
+ :param metadata: The metadata of this UserDefinedFunctionSummary.
+ :type: oci.data_integration.models.ObjectMetadata
+ """
+ self._metadata = metadata
+
+ @property
+ def key_map(self):
+ """
+ Gets the key_map of this UserDefinedFunctionSummary.
+ A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :return: The key_map of this UserDefinedFunctionSummary.
+ :rtype: dict(str, str)
+ """
+ return self._key_map
+
+ @key_map.setter
+ def key_map(self, key_map):
+ """
+ Sets the key_map of this UserDefinedFunctionSummary.
+ A key map. If provided, key is replaced with generated key. This structure provides mapping between user provided key and generated key.
+
+
+ :param key_map: The key_map of this UserDefinedFunctionSummary.
+ :type: dict(str, str)
+ """
+ self._key_map = key_map
+
+ 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/data_integration/models/user_defined_function_summary_collection.py b/src/oci/data_integration/models/user_defined_function_summary_collection.py
new file mode 100644
index 0000000000..4f517fdf12
--- /dev/null
+++ b/src/oci/data_integration/models/user_defined_function_summary_collection.py
@@ -0,0 +1,70 @@
+# 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 UserDefinedFunctionSummaryCollection(object):
+ """
+ This is the collection of user defined function summaries, it may be a collection of lightweight details or full definitions.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UserDefinedFunctionSummaryCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this UserDefinedFunctionSummaryCollection.
+ :type items: list[oci.data_integration.models.UserDefinedFunctionSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[UserDefinedFunctionSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this UserDefinedFunctionSummaryCollection.
+ The array of user defined function summaries.
+
+
+ :return: The items of this UserDefinedFunctionSummaryCollection.
+ :rtype: list[oci.data_integration.models.UserDefinedFunctionSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this UserDefinedFunctionSummaryCollection.
+ The array of user defined function summaries.
+
+
+ :param items: The items of this UserDefinedFunctionSummaryCollection.
+ :type: list[oci.data_integration.models.UserDefinedFunctionSummary]
+ """
+ self._items = items
+
+ 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/data_integration/models/user_defined_function_validation.py b/src/oci/data_integration/models/user_defined_function_validation.py
new file mode 100644
index 0000000000..57a39e154e
--- /dev/null
+++ b/src/oci/data_integration/models/user_defined_function_validation.py
@@ -0,0 +1,496 @@
+# 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 UserDefinedFunctionValidation(object):
+ """
+ The information about a UserDefinedFunction validation.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UserDefinedFunctionValidation object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param total_message_count:
+ The value to assign to the total_message_count property of this UserDefinedFunctionValidation.
+ :type total_message_count: int
+
+ :param error_message_count:
+ The value to assign to the error_message_count property of this UserDefinedFunctionValidation.
+ :type error_message_count: int
+
+ :param warn_message_count:
+ The value to assign to the warn_message_count property of this UserDefinedFunctionValidation.
+ :type warn_message_count: int
+
+ :param info_message_count:
+ The value to assign to the info_message_count property of this UserDefinedFunctionValidation.
+ :type info_message_count: int
+
+ :param validation_messages:
+ The value to assign to the validation_messages property of this UserDefinedFunctionValidation.
+ :type validation_messages: dict(str, list[ValidationMessage])
+
+ :param key:
+ The value to assign to the key property of this UserDefinedFunctionValidation.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this UserDefinedFunctionValidation.
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this UserDefinedFunctionValidation.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this UserDefinedFunctionValidation.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this UserDefinedFunctionValidation.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this UserDefinedFunctionValidation.
+ :type description: str
+
+ :param object_version:
+ The value to assign to the object_version property of this UserDefinedFunctionValidation.
+ :type object_version: int
+
+ :param object_status:
+ The value to assign to the object_status property of this UserDefinedFunctionValidation.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this UserDefinedFunctionValidation.
+ :type identifier: str
+
+ :param metadata:
+ The value to assign to the metadata property of this UserDefinedFunctionValidation.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ """
+ self.swagger_types = {
+ 'total_message_count': 'int',
+ 'error_message_count': 'int',
+ 'warn_message_count': 'int',
+ 'info_message_count': 'int',
+ 'validation_messages': 'dict(str, list[ValidationMessage])',
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'description': 'str',
+ 'object_version': 'int',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'metadata': 'ObjectMetadata'
+ }
+
+ self.attribute_map = {
+ 'total_message_count': 'totalMessageCount',
+ 'error_message_count': 'errorMessageCount',
+ 'warn_message_count': 'warnMessageCount',
+ 'info_message_count': 'infoMessageCount',
+ 'validation_messages': 'validationMessages',
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'description': 'description',
+ 'object_version': 'objectVersion',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'metadata': 'metadata'
+ }
+
+ self._total_message_count = None
+ self._error_message_count = None
+ self._warn_message_count = None
+ self._info_message_count = None
+ self._validation_messages = None
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._description = None
+ self._object_version = None
+ self._object_status = None
+ self._identifier = None
+ self._metadata = None
+
+ @property
+ def total_message_count(self):
+ """
+ Gets the total_message_count of this UserDefinedFunctionValidation.
+ The total number of validation messages.
+
+
+ :return: The total_message_count of this UserDefinedFunctionValidation.
+ :rtype: int
+ """
+ return self._total_message_count
+
+ @total_message_count.setter
+ def total_message_count(self, total_message_count):
+ """
+ Sets the total_message_count of this UserDefinedFunctionValidation.
+ The total number of validation messages.
+
+
+ :param total_message_count: The total_message_count of this UserDefinedFunctionValidation.
+ :type: int
+ """
+ self._total_message_count = total_message_count
+
+ @property
+ def error_message_count(self):
+ """
+ Gets the error_message_count of this UserDefinedFunctionValidation.
+ The total number of validation error messages.
+
+
+ :return: The error_message_count of this UserDefinedFunctionValidation.
+ :rtype: int
+ """
+ return self._error_message_count
+
+ @error_message_count.setter
+ def error_message_count(self, error_message_count):
+ """
+ Sets the error_message_count of this UserDefinedFunctionValidation.
+ The total number of validation error messages.
+
+
+ :param error_message_count: The error_message_count of this UserDefinedFunctionValidation.
+ :type: int
+ """
+ self._error_message_count = error_message_count
+
+ @property
+ def warn_message_count(self):
+ """
+ Gets the warn_message_count of this UserDefinedFunctionValidation.
+ The total number of validation warning messages.
+
+
+ :return: The warn_message_count of this UserDefinedFunctionValidation.
+ :rtype: int
+ """
+ return self._warn_message_count
+
+ @warn_message_count.setter
+ def warn_message_count(self, warn_message_count):
+ """
+ Sets the warn_message_count of this UserDefinedFunctionValidation.
+ The total number of validation warning messages.
+
+
+ :param warn_message_count: The warn_message_count of this UserDefinedFunctionValidation.
+ :type: int
+ """
+ self._warn_message_count = warn_message_count
+
+ @property
+ def info_message_count(self):
+ """
+ Gets the info_message_count of this UserDefinedFunctionValidation.
+ The total number of validation information messages.
+
+
+ :return: The info_message_count of this UserDefinedFunctionValidation.
+ :rtype: int
+ """
+ return self._info_message_count
+
+ @info_message_count.setter
+ def info_message_count(self, info_message_count):
+ """
+ Sets the info_message_count of this UserDefinedFunctionValidation.
+ The total number of validation information messages.
+
+
+ :param info_message_count: The info_message_count of this UserDefinedFunctionValidation.
+ :type: int
+ """
+ self._info_message_count = info_message_count
+
+ @property
+ def validation_messages(self):
+ """
+ Gets the validation_messages of this UserDefinedFunctionValidation.
+ The detailed information of the UserDefinedFunction object validation.
+
+
+ :return: The validation_messages of this UserDefinedFunctionValidation.
+ :rtype: dict(str, list[ValidationMessage])
+ """
+ return self._validation_messages
+
+ @validation_messages.setter
+ def validation_messages(self, validation_messages):
+ """
+ Sets the validation_messages of this UserDefinedFunctionValidation.
+ The detailed information of the UserDefinedFunction object validation.
+
+
+ :param validation_messages: The validation_messages of this UserDefinedFunctionValidation.
+ :type: dict(str, list[ValidationMessage])
+ """
+ self._validation_messages = validation_messages
+
+ @property
+ def key(self):
+ """
+ Gets the key of this UserDefinedFunctionValidation.
+ Objects will use a 36 character key as unique ID. It is system generated and cannot be modified.
+
+
+ :return: The key of this UserDefinedFunctionValidation.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this UserDefinedFunctionValidation.
+ Objects will use a 36 character key as unique ID. It is system generated and cannot be modified.
+
+
+ :param key: The key of this UserDefinedFunctionValidation.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ Gets the model_type of this UserDefinedFunctionValidation.
+ The type of the object.
+
+
+ :return: The model_type of this UserDefinedFunctionValidation.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this UserDefinedFunctionValidation.
+ The type of the object.
+
+
+ :param model_type: The model_type of this UserDefinedFunctionValidation.
+ :type: str
+ """
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this UserDefinedFunctionValidation.
+ The model version of the object.
+
+
+ :return: The model_version of this UserDefinedFunctionValidation.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this UserDefinedFunctionValidation.
+ The model version of the object.
+
+
+ :param model_version: The model_version of this UserDefinedFunctionValidation.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this UserDefinedFunctionValidation.
+
+ :return: The parent_ref of this UserDefinedFunctionValidation.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this UserDefinedFunctionValidation.
+
+ :param parent_ref: The parent_ref of this UserDefinedFunctionValidation.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this UserDefinedFunctionValidation.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this UserDefinedFunctionValidation.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this UserDefinedFunctionValidation.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this UserDefinedFunctionValidation.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UserDefinedFunctionValidation.
+ Detailed description for the object.
+
+
+ :return: The description of this UserDefinedFunctionValidation.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UserDefinedFunctionValidation.
+ Detailed description for the object.
+
+
+ :param description: The description of this UserDefinedFunctionValidation.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this UserDefinedFunctionValidation.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this UserDefinedFunctionValidation.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this UserDefinedFunctionValidation.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this UserDefinedFunctionValidation.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this UserDefinedFunctionValidation.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this UserDefinedFunctionValidation.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this UserDefinedFunctionValidation.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this UserDefinedFunctionValidation.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this UserDefinedFunctionValidation.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this UserDefinedFunctionValidation.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this UserDefinedFunctionValidation.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this UserDefinedFunctionValidation.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def metadata(self):
+ """
+ Gets the metadata of this UserDefinedFunctionValidation.
+
+ :return: The metadata of this UserDefinedFunctionValidation.
+ :rtype: oci.data_integration.models.ObjectMetadata
+ """
+ return self._metadata
+
+ @metadata.setter
+ def metadata(self, metadata):
+ """
+ Sets the metadata of this UserDefinedFunctionValidation.
+
+ :param metadata: The metadata of this UserDefinedFunctionValidation.
+ :type: oci.data_integration.models.ObjectMetadata
+ """
+ self._metadata = metadata
+
+ 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/data_integration/models/user_defined_function_validation_summary.py b/src/oci/data_integration/models/user_defined_function_validation_summary.py
new file mode 100644
index 0000000000..4988ef8ca2
--- /dev/null
+++ b/src/oci/data_integration/models/user_defined_function_validation_summary.py
@@ -0,0 +1,496 @@
+# 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 UserDefinedFunctionValidationSummary(object):
+ """
+ The information about a UserDefinedFunction validation.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UserDefinedFunctionValidationSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param total_message_count:
+ The value to assign to the total_message_count property of this UserDefinedFunctionValidationSummary.
+ :type total_message_count: int
+
+ :param error_message_count:
+ The value to assign to the error_message_count property of this UserDefinedFunctionValidationSummary.
+ :type error_message_count: int
+
+ :param warn_message_count:
+ The value to assign to the warn_message_count property of this UserDefinedFunctionValidationSummary.
+ :type warn_message_count: int
+
+ :param info_message_count:
+ The value to assign to the info_message_count property of this UserDefinedFunctionValidationSummary.
+ :type info_message_count: int
+
+ :param validation_messages:
+ The value to assign to the validation_messages property of this UserDefinedFunctionValidationSummary.
+ :type validation_messages: dict(str, list[ValidationMessage])
+
+ :param key:
+ The value to assign to the key property of this UserDefinedFunctionValidationSummary.
+ :type key: str
+
+ :param model_type:
+ The value to assign to the model_type property of this UserDefinedFunctionValidationSummary.
+ :type model_type: str
+
+ :param model_version:
+ The value to assign to the model_version property of this UserDefinedFunctionValidationSummary.
+ :type model_version: str
+
+ :param parent_ref:
+ The value to assign to the parent_ref property of this UserDefinedFunctionValidationSummary.
+ :type parent_ref: oci.data_integration.models.ParentReference
+
+ :param name:
+ The value to assign to the name property of this UserDefinedFunctionValidationSummary.
+ :type name: str
+
+ :param description:
+ The value to assign to the description property of this UserDefinedFunctionValidationSummary.
+ :type description: str
+
+ :param object_version:
+ The value to assign to the object_version property of this UserDefinedFunctionValidationSummary.
+ :type object_version: int
+
+ :param object_status:
+ The value to assign to the object_status property of this UserDefinedFunctionValidationSummary.
+ :type object_status: int
+
+ :param identifier:
+ The value to assign to the identifier property of this UserDefinedFunctionValidationSummary.
+ :type identifier: str
+
+ :param metadata:
+ The value to assign to the metadata property of this UserDefinedFunctionValidationSummary.
+ :type metadata: oci.data_integration.models.ObjectMetadata
+
+ """
+ self.swagger_types = {
+ 'total_message_count': 'int',
+ 'error_message_count': 'int',
+ 'warn_message_count': 'int',
+ 'info_message_count': 'int',
+ 'validation_messages': 'dict(str, list[ValidationMessage])',
+ 'key': 'str',
+ 'model_type': 'str',
+ 'model_version': 'str',
+ 'parent_ref': 'ParentReference',
+ 'name': 'str',
+ 'description': 'str',
+ 'object_version': 'int',
+ 'object_status': 'int',
+ 'identifier': 'str',
+ 'metadata': 'ObjectMetadata'
+ }
+
+ self.attribute_map = {
+ 'total_message_count': 'totalMessageCount',
+ 'error_message_count': 'errorMessageCount',
+ 'warn_message_count': 'warnMessageCount',
+ 'info_message_count': 'infoMessageCount',
+ 'validation_messages': 'validationMessages',
+ 'key': 'key',
+ 'model_type': 'modelType',
+ 'model_version': 'modelVersion',
+ 'parent_ref': 'parentRef',
+ 'name': 'name',
+ 'description': 'description',
+ 'object_version': 'objectVersion',
+ 'object_status': 'objectStatus',
+ 'identifier': 'identifier',
+ 'metadata': 'metadata'
+ }
+
+ self._total_message_count = None
+ self._error_message_count = None
+ self._warn_message_count = None
+ self._info_message_count = None
+ self._validation_messages = None
+ self._key = None
+ self._model_type = None
+ self._model_version = None
+ self._parent_ref = None
+ self._name = None
+ self._description = None
+ self._object_version = None
+ self._object_status = None
+ self._identifier = None
+ self._metadata = None
+
+ @property
+ def total_message_count(self):
+ """
+ Gets the total_message_count of this UserDefinedFunctionValidationSummary.
+ The total number of validation messages.
+
+
+ :return: The total_message_count of this UserDefinedFunctionValidationSummary.
+ :rtype: int
+ """
+ return self._total_message_count
+
+ @total_message_count.setter
+ def total_message_count(self, total_message_count):
+ """
+ Sets the total_message_count of this UserDefinedFunctionValidationSummary.
+ The total number of validation messages.
+
+
+ :param total_message_count: The total_message_count of this UserDefinedFunctionValidationSummary.
+ :type: int
+ """
+ self._total_message_count = total_message_count
+
+ @property
+ def error_message_count(self):
+ """
+ Gets the error_message_count of this UserDefinedFunctionValidationSummary.
+ The total number of validation error messages.
+
+
+ :return: The error_message_count of this UserDefinedFunctionValidationSummary.
+ :rtype: int
+ """
+ return self._error_message_count
+
+ @error_message_count.setter
+ def error_message_count(self, error_message_count):
+ """
+ Sets the error_message_count of this UserDefinedFunctionValidationSummary.
+ The total number of validation error messages.
+
+
+ :param error_message_count: The error_message_count of this UserDefinedFunctionValidationSummary.
+ :type: int
+ """
+ self._error_message_count = error_message_count
+
+ @property
+ def warn_message_count(self):
+ """
+ Gets the warn_message_count of this UserDefinedFunctionValidationSummary.
+ The total number of validation warning messages.
+
+
+ :return: The warn_message_count of this UserDefinedFunctionValidationSummary.
+ :rtype: int
+ """
+ return self._warn_message_count
+
+ @warn_message_count.setter
+ def warn_message_count(self, warn_message_count):
+ """
+ Sets the warn_message_count of this UserDefinedFunctionValidationSummary.
+ The total number of validation warning messages.
+
+
+ :param warn_message_count: The warn_message_count of this UserDefinedFunctionValidationSummary.
+ :type: int
+ """
+ self._warn_message_count = warn_message_count
+
+ @property
+ def info_message_count(self):
+ """
+ Gets the info_message_count of this UserDefinedFunctionValidationSummary.
+ The total number of validation information messages.
+
+
+ :return: The info_message_count of this UserDefinedFunctionValidationSummary.
+ :rtype: int
+ """
+ return self._info_message_count
+
+ @info_message_count.setter
+ def info_message_count(self, info_message_count):
+ """
+ Sets the info_message_count of this UserDefinedFunctionValidationSummary.
+ The total number of validation information messages.
+
+
+ :param info_message_count: The info_message_count of this UserDefinedFunctionValidationSummary.
+ :type: int
+ """
+ self._info_message_count = info_message_count
+
+ @property
+ def validation_messages(self):
+ """
+ Gets the validation_messages of this UserDefinedFunctionValidationSummary.
+ The detailed information of the UserDefinedFunction object validation.
+
+
+ :return: The validation_messages of this UserDefinedFunctionValidationSummary.
+ :rtype: dict(str, list[ValidationMessage])
+ """
+ return self._validation_messages
+
+ @validation_messages.setter
+ def validation_messages(self, validation_messages):
+ """
+ Sets the validation_messages of this UserDefinedFunctionValidationSummary.
+ The detailed information of the UserDefinedFunction object validation.
+
+
+ :param validation_messages: The validation_messages of this UserDefinedFunctionValidationSummary.
+ :type: dict(str, list[ValidationMessage])
+ """
+ self._validation_messages = validation_messages
+
+ @property
+ def key(self):
+ """
+ Gets the key of this UserDefinedFunctionValidationSummary.
+ Objects will use a 36 character key as unique ID. It is system generated and cannot be modified.
+
+
+ :return: The key of this UserDefinedFunctionValidationSummary.
+ :rtype: str
+ """
+ return self._key
+
+ @key.setter
+ def key(self, key):
+ """
+ Sets the key of this UserDefinedFunctionValidationSummary.
+ Objects will use a 36 character key as unique ID. It is system generated and cannot be modified.
+
+
+ :param key: The key of this UserDefinedFunctionValidationSummary.
+ :type: str
+ """
+ self._key = key
+
+ @property
+ def model_type(self):
+ """
+ Gets the model_type of this UserDefinedFunctionValidationSummary.
+ The type of the object.
+
+
+ :return: The model_type of this UserDefinedFunctionValidationSummary.
+ :rtype: str
+ """
+ return self._model_type
+
+ @model_type.setter
+ def model_type(self, model_type):
+ """
+ Sets the model_type of this UserDefinedFunctionValidationSummary.
+ The type of the object.
+
+
+ :param model_type: The model_type of this UserDefinedFunctionValidationSummary.
+ :type: str
+ """
+ self._model_type = model_type
+
+ @property
+ def model_version(self):
+ """
+ Gets the model_version of this UserDefinedFunctionValidationSummary.
+ The model version of the object.
+
+
+ :return: The model_version of this UserDefinedFunctionValidationSummary.
+ :rtype: str
+ """
+ return self._model_version
+
+ @model_version.setter
+ def model_version(self, model_version):
+ """
+ Sets the model_version of this UserDefinedFunctionValidationSummary.
+ The model version of the object.
+
+
+ :param model_version: The model_version of this UserDefinedFunctionValidationSummary.
+ :type: str
+ """
+ self._model_version = model_version
+
+ @property
+ def parent_ref(self):
+ """
+ Gets the parent_ref of this UserDefinedFunctionValidationSummary.
+
+ :return: The parent_ref of this UserDefinedFunctionValidationSummary.
+ :rtype: oci.data_integration.models.ParentReference
+ """
+ return self._parent_ref
+
+ @parent_ref.setter
+ def parent_ref(self, parent_ref):
+ """
+ Sets the parent_ref of this UserDefinedFunctionValidationSummary.
+
+ :param parent_ref: The parent_ref of this UserDefinedFunctionValidationSummary.
+ :type: oci.data_integration.models.ParentReference
+ """
+ self._parent_ref = parent_ref
+
+ @property
+ def name(self):
+ """
+ Gets the name of this UserDefinedFunctionValidationSummary.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :return: The name of this UserDefinedFunctionValidationSummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this UserDefinedFunctionValidationSummary.
+ Free form text without any restriction on permitted characters. Name can have letters, numbers, and special characters. The value is editable and is restricted to 1000 characters.
+
+
+ :param name: The name of this UserDefinedFunctionValidationSummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UserDefinedFunctionValidationSummary.
+ Detailed description for the object.
+
+
+ :return: The description of this UserDefinedFunctionValidationSummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UserDefinedFunctionValidationSummary.
+ Detailed description for the object.
+
+
+ :param description: The description of this UserDefinedFunctionValidationSummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def object_version(self):
+ """
+ Gets the object_version of this UserDefinedFunctionValidationSummary.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :return: The object_version of this UserDefinedFunctionValidationSummary.
+ :rtype: int
+ """
+ return self._object_version
+
+ @object_version.setter
+ def object_version(self, object_version):
+ """
+ Sets the object_version of this UserDefinedFunctionValidationSummary.
+ The version of the object that is used to track changes in the object instance.
+
+
+ :param object_version: The object_version of this UserDefinedFunctionValidationSummary.
+ :type: int
+ """
+ self._object_version = object_version
+
+ @property
+ def object_status(self):
+ """
+ Gets the object_status of this UserDefinedFunctionValidationSummary.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :return: The object_status of this UserDefinedFunctionValidationSummary.
+ :rtype: int
+ """
+ return self._object_status
+
+ @object_status.setter
+ def object_status(self, object_status):
+ """
+ Sets the object_status of this UserDefinedFunctionValidationSummary.
+ The status of an object that can be set to value 1 for shallow references across objects, other values reserved.
+
+
+ :param object_status: The object_status of this UserDefinedFunctionValidationSummary.
+ :type: int
+ """
+ self._object_status = object_status
+
+ @property
+ def identifier(self):
+ """
+ Gets the identifier of this UserDefinedFunctionValidationSummary.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :return: The identifier of this UserDefinedFunctionValidationSummary.
+ :rtype: str
+ """
+ return self._identifier
+
+ @identifier.setter
+ def identifier(self, identifier):
+ """
+ Sets the identifier of this UserDefinedFunctionValidationSummary.
+ Value can only contain upper case letters, underscore, and numbers. It should begin with upper case letter or underscore. The value can be modified.
+
+
+ :param identifier: The identifier of this UserDefinedFunctionValidationSummary.
+ :type: str
+ """
+ self._identifier = identifier
+
+ @property
+ def metadata(self):
+ """
+ Gets the metadata of this UserDefinedFunctionValidationSummary.
+
+ :return: The metadata of this UserDefinedFunctionValidationSummary.
+ :rtype: oci.data_integration.models.ObjectMetadata
+ """
+ return self._metadata
+
+ @metadata.setter
+ def metadata(self, metadata):
+ """
+ Sets the metadata of this UserDefinedFunctionValidationSummary.
+
+ :param metadata: The metadata of this UserDefinedFunctionValidationSummary.
+ :type: oci.data_integration.models.ObjectMetadata
+ """
+ self._metadata = metadata
+
+ 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/data_integration/models/user_defined_function_validation_summary_collection.py b/src/oci/data_integration/models/user_defined_function_validation_summary_collection.py
new file mode 100644
index 0000000000..ae81109be8
--- /dev/null
+++ b/src/oci/data_integration/models/user_defined_function_validation_summary_collection.py
@@ -0,0 +1,70 @@
+# 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 UserDefinedFunctionValidationSummaryCollection(object):
+ """
+ A list of UserDefinedFunction validation summaries.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UserDefinedFunctionValidationSummaryCollection object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param items:
+ The value to assign to the items property of this UserDefinedFunctionValidationSummaryCollection.
+ :type items: list[oci.data_integration.models.UserDefinedFunctionValidationSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[UserDefinedFunctionValidationSummary]'
+ }
+
+ self.attribute_map = {
+ 'items': 'items'
+ }
+
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this UserDefinedFunctionValidationSummaryCollection.
+ The array of validation summaries.
+
+
+ :return: The items of this UserDefinedFunctionValidationSummaryCollection.
+ :rtype: list[oci.data_integration.models.UserDefinedFunctionValidationSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this UserDefinedFunctionValidationSummaryCollection.
+ The array of validation summaries.
+
+
+ :param items: The items of this UserDefinedFunctionValidationSummaryCollection.
+ :type: list[oci.data_integration.models.UserDefinedFunctionValidationSummary]
+ """
+ self._items = items
+
+ 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/data_integration/models/weekly_frequency_details.py b/src/oci/data_integration/models/weekly_frequency_details.py
new file mode 100644
index 0000000000..c856d2b11a
--- /dev/null
+++ b/src/oci/data_integration/models/weekly_frequency_details.py
@@ -0,0 +1,153 @@
+# 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 .abstract_frequency_details import AbstractFrequencyDetails
+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 WeeklyFrequencyDetails(AbstractFrequencyDetails):
+ """
+ Frequency Details model for weekly frequency based on day of week.
+ """
+
+ #: A constant which can be used with the days property of a WeeklyFrequencyDetails.
+ #: This constant has a value of "SUNDAY"
+ DAYS_SUNDAY = "SUNDAY"
+
+ #: A constant which can be used with the days property of a WeeklyFrequencyDetails.
+ #: This constant has a value of "MONDAY"
+ DAYS_MONDAY = "MONDAY"
+
+ #: A constant which can be used with the days property of a WeeklyFrequencyDetails.
+ #: This constant has a value of "TUESDAY"
+ DAYS_TUESDAY = "TUESDAY"
+
+ #: A constant which can be used with the days property of a WeeklyFrequencyDetails.
+ #: This constant has a value of "WEDNESDAY"
+ DAYS_WEDNESDAY = "WEDNESDAY"
+
+ #: A constant which can be used with the days property of a WeeklyFrequencyDetails.
+ #: This constant has a value of "THURSDAY"
+ DAYS_THURSDAY = "THURSDAY"
+
+ #: A constant which can be used with the days property of a WeeklyFrequencyDetails.
+ #: This constant has a value of "FRIDAY"
+ DAYS_FRIDAY = "FRIDAY"
+
+ #: A constant which can be used with the days property of a WeeklyFrequencyDetails.
+ #: This constant has a value of "SATURDAY"
+ DAYS_SATURDAY = "SATURDAY"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new WeeklyFrequencyDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.data_integration.models.WeeklyFrequencyDetails.model_type` attribute
+ of this class is ``WEEKLY`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param model_type:
+ The value to assign to the model_type property of this WeeklyFrequencyDetails.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "MONTHLY_RULE", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type model_type: str
+
+ :param frequency:
+ The value to assign to the frequency property of this WeeklyFrequencyDetails.
+ Allowed values for this property are: "HOURLY", "DAILY", "MONTHLY", "WEEKLY", "CUSTOM", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type frequency: str
+
+ :param time:
+ The value to assign to the time property of this WeeklyFrequencyDetails.
+ :type time: oci.data_integration.models.Time
+
+ :param days:
+ The value to assign to the days property of this WeeklyFrequencyDetails.
+ Allowed values for items in this list are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type days: list[str]
+
+ """
+ self.swagger_types = {
+ 'model_type': 'str',
+ 'frequency': 'str',
+ 'time': 'Time',
+ 'days': 'list[str]'
+ }
+
+ self.attribute_map = {
+ 'model_type': 'modelType',
+ 'frequency': 'frequency',
+ 'time': 'time',
+ 'days': 'days'
+ }
+
+ self._model_type = None
+ self._frequency = None
+ self._time = None
+ self._days = None
+ self._model_type = 'WEEKLY'
+
+ @property
+ def time(self):
+ """
+ Gets the time of this WeeklyFrequencyDetails.
+
+ :return: The time of this WeeklyFrequencyDetails.
+ :rtype: oci.data_integration.models.Time
+ """
+ return self._time
+
+ @time.setter
+ def time(self, time):
+ """
+ Sets the time of this WeeklyFrequencyDetails.
+
+ :param time: The time of this WeeklyFrequencyDetails.
+ :type: oci.data_integration.models.Time
+ """
+ self._time = time
+
+ @property
+ def days(self):
+ """
+ Gets the days of this WeeklyFrequencyDetails.
+ A list of days of the week to be scheduled. i.e. execute on Monday and Thursday.
+
+ Allowed values for items in this list are: "SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The days of this WeeklyFrequencyDetails.
+ :rtype: list[str]
+ """
+ return self._days
+
+ @days.setter
+ def days(self, days):
+ """
+ Sets the days of this WeeklyFrequencyDetails.
+ A list of days of the week to be scheduled. i.e. execute on Monday and Thursday.
+
+
+ :param days: The days of this WeeklyFrequencyDetails.
+ :type: list[str]
+ """
+ allowed_values = ["SUNDAY", "MONDAY", "TUESDAY", "WEDNESDAY", "THURSDAY", "FRIDAY", "SATURDAY"]
+ if days:
+ days[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in days]
+ self._days = days
+
+ 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/devops/devops_client.py b/src/oci/devops/devops_client.py
index b42f1e832f..6dc1caf8c7 100644
--- a/src/oci/devops/devops_client.py
+++ b/src/oci/devops/devops_client.py
@@ -191,6 +191,101 @@ def approve_deployment(self, deployment_id, approve_deployment_details, **kwargs
body=approve_deployment_details,
response_type="Deployment")
+ def cancel_build_run(self, cancel_build_run_details, build_run_id, **kwargs):
+ """
+ Cancels the Build Run based on build run id provided in request
+
+
+ :param oci.devops.models.CancelBuildRunDetails cancel_build_run_details: (required)
+ Details the input parameters required to cancel a build run.
+
+ :param str build_run_id: (required)
+ Unique build run identifier.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildRun`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use cancel_build_run API.
+ """
+ resource_path = "/buildRuns/{buildRunId}/actions/cancel"
+ method = "POST"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "cancel_build_run got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "buildRunId": build_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",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=cancel_build_run_details,
+ response_type="BuildRun")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=cancel_build_run_details,
+ response_type="BuildRun")
+
def cancel_deployment(self, deployment_id, cancel_deployment_details, **kwargs):
"""
Cancels a deployment resource by identifier.
@@ -379,13 +474,13 @@ def change_project_compartment(self, project_id, change_project_compartment_deta
header_params=header_params,
body=change_project_compartment_details)
- def create_deploy_artifact(self, create_deploy_artifact_details, **kwargs):
+ def create_build_pipeline(self, create_build_pipeline_details, **kwargs):
"""
- Creates a new deployment artifact.
+ Creates a new BuildPipeline.
- :param oci.devops.models.CreateDeployArtifactDetails create_deploy_artifact_details: (required)
- Details for the new deployment artifact.
+ :param oci.devops.models.CreateBuildPipelineDetails create_build_pipeline_details: (required)
+ Details for the new BuildPipeline.
: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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
@@ -401,13 +496,13 @@ def create_deploy_artifact(self, create_deploy_artifact_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.devops.models.DeployArtifact`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipeline`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_deploy_artifact API.
+ Click `here `__ to see an example of how to use create_build_pipeline API.
"""
- resource_path = "/deployArtifacts"
+ resource_path = "/buildPipelines"
method = "POST"
# Don't accept unknown kwargs
@@ -419,7 +514,7 @@ def create_deploy_artifact(self, create_deploy_artifact_details, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_deploy_artifact got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_build_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -444,23 +539,23 @@ def create_deploy_artifact(self, create_deploy_artifact_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deploy_artifact_details,
- response_type="DeployArtifact")
+ body=create_build_pipeline_details,
+ response_type="BuildPipeline")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deploy_artifact_details,
- response_type="DeployArtifact")
+ body=create_build_pipeline_details,
+ response_type="BuildPipeline")
- def create_deploy_environment(self, create_deploy_environment_details, **kwargs):
+ def create_build_pipeline_stage(self, create_build_pipeline_stage_details, **kwargs):
"""
- Creates a new deployment environment.
+ Creates a new Stage.
- :param oci.devops.models.CreateDeployEnvironmentDetails create_deploy_environment_details: (required)
- Details for the new deployment environment.
+ :param oci.devops.models.CreateBuildPipelineStageDetails create_build_pipeline_stage_details: (required)
+ Details for the new Stage.
: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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
@@ -476,13 +571,13 @@ def create_deploy_environment(self, create_deploy_environment_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.devops.models.DeployEnvironment`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipelineStage`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_deploy_environment API.
+ Click `here `__ to see an example of how to use create_build_pipeline_stage API.
"""
- resource_path = "/deployEnvironments"
+ resource_path = "/buildPipelineStages"
method = "POST"
# Don't accept unknown kwargs
@@ -494,7 +589,7 @@ def create_deploy_environment(self, create_deploy_environment_details, **kwargs)
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_deploy_environment got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_build_pipeline_stage got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -519,23 +614,23 @@ def create_deploy_environment(self, create_deploy_environment_details, **kwargs)
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deploy_environment_details,
- response_type="DeployEnvironment")
+ body=create_build_pipeline_stage_details,
+ response_type="BuildPipelineStage")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deploy_environment_details,
- response_type="DeployEnvironment")
+ body=create_build_pipeline_stage_details,
+ response_type="BuildPipelineStage")
- def create_deploy_pipeline(self, create_deploy_pipeline_details, **kwargs):
+ def create_build_run(self, create_build_run_details, **kwargs):
"""
- Creates a new deployment pipeline.
+ Starts a build pipeline run for a predefined build pipeline
- :param oci.devops.models.CreateDeployPipelineDetails create_deploy_pipeline_details: (required)
- Details for the new deployment pipeline.
+ :param oci.devops.models.CreateBuildRunDetails create_build_run_details: (required)
+ Details the input parameters required to create a new build run.
: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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
@@ -543,6 +638,9 @@ def create_deploy_pipeline(self, create_deploy_pipeline_details, **kwargs):
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+ :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.
@@ -551,31 +649,33 @@ def create_deploy_pipeline(self, create_deploy_pipeline_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.devops.models.DeployPipeline`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildRun`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_deploy_pipeline API.
+ Click `here `__ to see an example of how to use create_build_run API.
"""
- resource_path = "/deployPipelines"
+ resource_path = "/buildRuns"
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_deploy_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_build_run 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-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}
@@ -594,23 +694,23 @@ def create_deploy_pipeline(self, create_deploy_pipeline_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deploy_pipeline_details,
- response_type="DeployPipeline")
+ body=create_build_run_details,
+ response_type="BuildRun")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deploy_pipeline_details,
- response_type="DeployPipeline")
+ body=create_build_run_details,
+ response_type="BuildRun")
- def create_deploy_stage(self, create_deploy_stage_details, **kwargs):
+ def create_connection(self, create_connection_details, **kwargs):
"""
- Creates a new deployment stage.
+ Creates a new Connection.
- :param oci.devops.models.CreateDeployStageDetails create_deploy_stage_details: (required)
- Details for the new DeployStage.
+ :param oci.devops.models.CreateConnectionDetails create_connection_details: (required)
+ Details for the new Connection.
: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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
@@ -626,13 +726,13 @@ def create_deploy_stage(self, create_deploy_stage_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.devops.models.DeployStage`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Connection`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_deploy_stage API.
+ Click `here `__ to see an example of how to use create_connection API.
"""
- resource_path = "/deployStages"
+ resource_path = "/connections"
method = "POST"
# Don't accept unknown kwargs
@@ -644,7 +744,7 @@ def create_deploy_stage(self, create_deploy_stage_details, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_deploy_stage got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_connection got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -669,23 +769,23 @@ def create_deploy_stage(self, create_deploy_stage_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deploy_stage_details,
- response_type="DeployStage")
+ body=create_connection_details,
+ response_type="Connection")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deploy_stage_details,
- response_type="DeployStage")
+ body=create_connection_details,
+ response_type="Connection")
- def create_deployment(self, create_deployment_details, **kwargs):
+ def create_deploy_artifact(self, create_deploy_artifact_details, **kwargs):
"""
- Creates a new deployment.
+ Creates a new deployment artifact.
- :param oci.devops.models.CreateDeploymentDetails create_deployment_details: (required)
- Details for the new deployment.
+ :param oci.devops.models.CreateDeployArtifactDetails create_deploy_artifact_details: (required)
+ Details for the new deployment artifact.
: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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
@@ -701,13 +801,13 @@ def create_deployment(self, create_deployment_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.devops.models.Deployment`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployArtifact`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_deployment API.
+ Click `here `__ to see an example of how to use create_deploy_artifact API.
"""
- resource_path = "/deployments"
+ resource_path = "/deployArtifacts"
method = "POST"
# Don't accept unknown kwargs
@@ -719,7 +819,7 @@ def create_deployment(self, create_deployment_details, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_deployment got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_deploy_artifact got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -744,23 +844,23 @@ def create_deployment(self, create_deployment_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deployment_details,
- response_type="Deployment")
+ body=create_deploy_artifact_details,
+ response_type="DeployArtifact")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_deployment_details,
- response_type="Deployment")
+ body=create_deploy_artifact_details,
+ response_type="DeployArtifact")
- def create_project(self, create_project_details, **kwargs):
+ def create_deploy_environment(self, create_deploy_environment_details, **kwargs):
"""
- Creates a new project.
+ Creates a new deployment environment.
- :param oci.devops.models.CreateProjectDetails create_project_details: (required)
- Details for the new project.
+ :param oci.devops.models.CreateDeployEnvironmentDetails create_deploy_environment_details: (required)
+ Details for the new deployment environment.
: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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
@@ -776,13 +876,13 @@ def create_project(self, create_project_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.devops.models.Project`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployEnvironment`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use create_project API.
+ Click `here `__ to see an example of how to use create_deploy_environment API.
"""
- resource_path = "/projects"
+ resource_path = "/deployEnvironments"
method = "POST"
# Don't accept unknown kwargs
@@ -794,7 +894,7 @@ def create_project(self, create_project_details, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- "create_project got unknown kwargs: {!r}".format(extra_kwargs))
+ "create_deploy_environment got unknown kwargs: {!r}".format(extra_kwargs))
header_params = {
"accept": "application/json",
@@ -819,26 +919,26 @@ def create_project(self, create_project_details, **kwargs):
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_project_details,
- response_type="Project")
+ body=create_deploy_environment_details,
+ response_type="DeployEnvironment")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
header_params=header_params,
- body=create_project_details,
- response_type="Project")
+ body=create_deploy_environment_details,
+ response_type="DeployEnvironment")
- def delete_deploy_artifact(self, deploy_artifact_id, **kwargs):
+ def create_deploy_pipeline(self, create_deploy_pipeline_details, **kwargs):
"""
- Deletes a deployment artifact resource by identifier.
+ Creates a new deployment pipeline.
- :param str deploy_artifact_id: (required)
- Unique artifact identifier.
+ :param oci.devops.models.CreateDeployPipelineDetails create_deploy_pipeline_details: (required)
+ Details for the new deployment pipeline.
- :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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -851,40 +951,30 @@ def delete_deploy_artifact(self, deploy_artifact_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.devops.models.DeployPipeline`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_deploy_artifact API.
+ Click `here `__ to see an example of how to use create_deploy_pipeline API.
"""
- resource_path = "/deployArtifacts/{deployArtifactId}"
- method = "DELETE"
+ resource_path = "/deployPipelines"
+ 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_deploy_artifact got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "deployArtifactId": deploy_artifact_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_deploy_pipeline 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}
@@ -896,31 +986,34 @@ def delete_deploy_artifact(self, deploy_artifact_id, **kwargs):
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
self.base_client.add_opc_client_retries_header(header_params)
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_deploy_pipeline_details,
+ response_type="DeployPipeline")
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_deploy_pipeline_details,
+ response_type="DeployPipeline")
- def delete_deploy_environment(self, deploy_environment_id, **kwargs):
+ def create_deploy_stage(self, create_deploy_stage_details, **kwargs):
"""
- Deletes a deployment environment resource by identifier.
+ Creates a new deployment stage.
- :param str deploy_environment_id: (required)
- Unique environment identifier.
+ :param oci.devops.models.CreateDeployStageDetails create_deploy_stage_details: (required)
+ Details for the new DeployStage.
- :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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -933,40 +1026,30 @@ def delete_deploy_environment(self, deploy_environment_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.devops.models.DeployStage`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_deploy_environment API.
+ Click `here `__ to see an example of how to use create_deploy_stage API.
"""
- resource_path = "/deployEnvironments/{deployEnvironmentId}"
- method = "DELETE"
+ resource_path = "/deployStages"
+ 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_deploy_environment got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "deployEnvironmentId": deploy_environment_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_deploy_stage 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}
@@ -978,31 +1061,34 @@ def delete_deploy_environment(self, deploy_environment_id, **kwargs):
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
self.base_client.add_opc_client_retries_header(header_params)
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_deploy_stage_details,
+ response_type="DeployStage")
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_deploy_stage_details,
+ response_type="DeployStage")
- def delete_deploy_pipeline(self, deploy_pipeline_id, **kwargs):
+ def create_deployment(self, create_deployment_details, **kwargs):
"""
- Deletes a deployment pipeline resource by identifier.
+ Creates a new deployment.
- :param str deploy_pipeline_id: (required)
- Unique pipeline identifier.
+ :param oci.devops.models.CreateDeploymentDetails create_deployment_details: (required)
+ Details for the new deployment.
- :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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1015,40 +1101,30 @@ def delete_deploy_pipeline(self, deploy_pipeline_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.devops.models.Deployment`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_deploy_pipeline API.
+ Click `here `__ to see an example of how to use create_deployment API.
"""
- resource_path = "/deployPipelines/{deployPipelineId}"
- method = "DELETE"
+ resource_path = "/deployments"
+ 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_deploy_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "deployPipelineId": deploy_pipeline_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_deployment 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}
@@ -1060,31 +1136,34 @@ def delete_deploy_pipeline(self, deploy_pipeline_id, **kwargs):
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
self.base_client.add_opc_client_retries_header(header_params)
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_deployment_details,
+ response_type="Deployment")
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_deployment_details,
+ response_type="Deployment")
- def delete_deploy_stage(self, deploy_stage_id, **kwargs):
+ def create_project(self, create_project_details, **kwargs):
"""
- Deletes a deployment stage resource by identifier.
+ Creates a new project.
- :param str deploy_stage_id: (required)
- Unique stage identifier.
+ :param oci.devops.models.CreateProjectDetails create_project_details: (required)
+ Details for the new project.
- :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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1097,40 +1176,30 @@ def delete_deploy_stage(self, deploy_stage_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.devops.models.Project`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_deploy_stage API.
+ Click `here `__ to see an example of how to use create_project API.
"""
- resource_path = "/deployStages/{deployStageId}"
- method = "DELETE"
+ resource_path = "/projects"
+ 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_deploy_stage got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "deployStageId": deploy_stage_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_project 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}
@@ -1142,31 +1211,34 @@ def delete_deploy_stage(self, deploy_stage_id, **kwargs):
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
self.base_client.add_opc_client_retries_header(header_params)
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_project_details,
+ response_type="Project")
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_project_details,
+ response_type="Project")
- def delete_project(self, project_id, **kwargs):
+ def create_repository(self, create_repository_details, **kwargs):
"""
- Deletes a project resource by identifier
+ Creates a new Repository.
- :param str project_id: (required)
- Unique project identifier.
+ :param oci.devops.models.CreateRepositoryDetails create_repository_details: (required)
+ Details for the new Repository.
- :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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1179,40 +1251,30 @@ def delete_project(self, project_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.devops.models.Repository`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_project API.
+ Click `here `__ to see an example of how to use create_repository API.
"""
- resource_path = "/projects/{projectId}"
- method = "DELETE"
+ resource_path = "/repositories"
+ 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_project got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "projectId": project_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_repository 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}
@@ -1224,28 +1286,34 @@ def delete_project(self, project_id, **kwargs):
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
self.base_client.add_opc_client_retries_header(header_params)
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
- header_params=header_params)
+ header_params=header_params,
+ body=create_repository_details,
+ response_type="Repository")
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_repository_details,
+ response_type="Repository")
- def get_deploy_artifact(self, deploy_artifact_id, **kwargs):
+ def create_trigger(self, create_trigger_details, **kwargs):
"""
- Retrieves a deployment artifact by identifier.
+ Creates a new Trigger.
- :param str deploy_artifact_id: (required)
- Unique artifact identifier.
+ :param oci.devops.models.CreateTriggerDetails create_trigger_details: (required)
+ Details for the new Trigger.
+
+ :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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1258,38 +1326,30 @@ def get_deploy_artifact(self, deploy_artifact_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.devops.models.DeployArtifact`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.TriggerCreateResult`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_deploy_artifact API.
+ Click `here `__ to see an example of how to use create_trigger API.
"""
- resource_path = "/deployArtifacts/{deployArtifactId}"
- method = "GET"
+ resource_path = "/triggers"
+ method = "POST"
# 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(
- "get_deploy_artifact got unknown kwargs: {!r}".format(extra_kwargs))
-
- path_params = {
- "deployArtifactId": deploy_artifact_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_trigger 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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1301,30 +1361,34 @@ def get_deploy_artifact(self, deploy_artifact_id, **kwargs):
if retry_strategy:
if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
self.base_client.add_opc_client_retries_header(header_params)
retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
return retry_strategy.make_retrying_call(
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- response_type="DeployArtifact")
+ body=create_trigger_details,
+ response_type="TriggerCreateResult")
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- path_params=path_params,
header_params=header_params,
- response_type="DeployArtifact")
+ body=create_trigger_details,
+ response_type="TriggerCreateResult")
- def get_deploy_environment(self, deploy_environment_id, **kwargs):
+ def delete_build_pipeline(self, build_pipeline_id, **kwargs):
"""
- Retrieves a deployment environment by identifier.
+ Deletes a BuildPipeline resource by identifier
- :param str deploy_environment_id: (required)
- Unique environment identifier.
+ :param str build_pipeline_id: (required)
+ unique BuildPipeline identifier
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1337,27 +1401,28 @@ def get_deploy_environment(self, deploy_environment_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.devops.models.DeployEnvironment`
+ :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_deploy_environment API.
+ Click `here `__ to see an example of how to use delete_build_pipeline API.
"""
- resource_path = "/deployEnvironments/{deployEnvironmentId}"
- method = "GET"
+ resource_path = "/buildPipelines/{buildPipelineId}"
+ 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(
- "get_deploy_environment got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_build_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "deployEnvironmentId": deploy_environment_id
+ "buildPipelineId": build_pipeline_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1369,6 +1434,7 @@ def get_deploy_environment(self, deploy_environment_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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1387,23 +1453,24 @@ def get_deploy_environment(self, deploy_environment_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="DeployEnvironment")
+ 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="DeployEnvironment")
+ header_params=header_params)
- def get_deploy_pipeline(self, deploy_pipeline_id, **kwargs):
+ def delete_build_pipeline_stage(self, build_pipeline_stage_id, **kwargs):
"""
- Retrieves a deployment pipeline by identifier.
+ Deletes a Stage based on stage id provided in request
- :param str deploy_pipeline_id: (required)
- Unique pipeline identifier.
+ :param str build_pipeline_stage_id: (required)
+ Unique stage identifier.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1416,27 +1483,28 @@ def get_deploy_pipeline(self, deploy_pipeline_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.devops.models.DeployPipeline`
+ :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_deploy_pipeline API.
+ Click `here `__ to see an example of how to use delete_build_pipeline_stage API.
"""
- resource_path = "/deployPipelines/{deployPipelineId}"
- method = "GET"
+ resource_path = "/buildPipelineStages/{buildPipelineStageId}"
+ 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(
- "get_deploy_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_build_pipeline_stage got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "deployPipelineId": deploy_pipeline_id
+ "buildPipelineStageId": build_pipeline_stage_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1448,6 +1516,7 @@ def get_deploy_pipeline(self, deploy_pipeline_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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1466,23 +1535,24 @@ def get_deploy_pipeline(self, deploy_pipeline_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="DeployPipeline")
+ 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="DeployPipeline")
+ header_params=header_params)
- def get_deploy_stage(self, deploy_stage_id, **kwargs):
+ def delete_connection(self, connection_id, **kwargs):
"""
- Retrieves a deployment stage by identifier.
+ Deletes a Connection resource by identifier
- :param str deploy_stage_id: (required)
- Unique stage identifier.
+ :param str connection_id: (required)
+ unique Connection identifier
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1495,27 +1565,28 @@ def get_deploy_stage(self, deploy_stage_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.devops.models.DeployStage`
+ :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_deploy_stage API.
+ Click `here `__ to see an example of how to use delete_connection API.
"""
- resource_path = "/deployStages/{deployStageId}"
- method = "GET"
+ resource_path = "/connections/{connectionId}"
+ 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(
- "get_deploy_stage got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_connection got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "deployStageId": deploy_stage_id
+ "connectionId": connection_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1527,6 +1598,7 @@ def get_deploy_stage(self, deploy_stage_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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1545,23 +1617,24 @@ def get_deploy_stage(self, deploy_stage_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="DeployStage")
+ 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="DeployStage")
+ header_params=header_params)
- def get_deployment(self, deployment_id, **kwargs):
+ def delete_deploy_artifact(self, deploy_artifact_id, **kwargs):
"""
- Retrieves a deployment by identifier.
+ Deletes a deployment artifact resource by identifier.
- :param str deployment_id: (required)
- Unique deployment identifier.
+ :param str deploy_artifact_id: (required)
+ Unique artifact identifier.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1574,27 +1647,28 @@ def get_deployment(self, deployment_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.devops.models.Deployment`
+ :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_deployment API.
+ Click `here `__ to see an example of how to use delete_deploy_artifact API.
"""
- resource_path = "/deployments/{deploymentId}"
- method = "GET"
+ resource_path = "/deployArtifacts/{deployArtifactId}"
+ 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(
- "get_deployment got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_deploy_artifact got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "deploymentId": deployment_id
+ "deployArtifactId": deploy_artifact_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1606,6 +1680,7 @@ def get_deployment(self, deployment_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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1624,23 +1699,24 @@ def get_deployment(self, deployment_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="Deployment")
+ 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="Deployment")
+ header_params=header_params)
- def get_project(self, project_id, **kwargs):
+ def delete_deploy_environment(self, deploy_environment_id, **kwargs):
"""
- Retrieves a project by identifier.
+ Deletes a deployment environment resource by identifier.
- :param str project_id: (required)
- Unique project identifier.
+ :param str deploy_environment_id: (required)
+ Unique environment identifier.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1653,27 +1729,28 @@ def get_project(self, project_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.devops.models.Project`
+ :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_project API.
+ Click `here `__ to see an example of how to use delete_deploy_environment API.
"""
- resource_path = "/projects/{projectId}"
- method = "GET"
+ resource_path = "/deployEnvironments/{deployEnvironmentId}"
+ 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(
- "get_project got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_deploy_environment got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "projectId": project_id
+ "deployEnvironmentId": deploy_environment_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1685,6 +1762,7 @@ def get_project(self, project_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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1703,23 +1781,24 @@ def get_project(self, project_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="Project")
+ 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="Project")
+ header_params=header_params)
- def get_work_request(self, work_request_id, **kwargs):
+ def delete_deploy_pipeline(self, deploy_pipeline_id, **kwargs):
"""
- Retrieves the status of the work request with the given ID.
+ Deletes a deployment pipeline resource by identifier.
- :param str work_request_id: (required)
- The ID of the asynchronous work request.
+ :param str deploy_pipeline_id: (required)
+ Unique pipeline identifier.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param str opc_request_id: (optional)
Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1732,27 +1811,28 @@ def get_work_request(self, work_request_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.devops.models.WorkRequest`
+ :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_work_request API.
+ Click `here `__ to see an example of how to use delete_deploy_pipeline API.
"""
- resource_path = "/workRequests/{workRequestId}"
- method = "GET"
+ resource_path = "/deployPipelines/{deployPipelineId}"
+ 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(
- "get_work_request got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_deploy_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
path_params = {
- "workRequestId": work_request_id
+ "deployPipelineId": deploy_pipeline_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -1764,6 +1844,7 @@ def get_work_request(self, work_request_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)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -1782,53 +1863,24 @@ def get_work_request(self, work_request_id, **kwargs):
resource_path=resource_path,
method=method,
path_params=path_params,
- header_params=header_params,
- response_type="WorkRequest")
+ 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="WorkRequest")
+ header_params=header_params)
- def list_deploy_artifacts(self, **kwargs):
+ def delete_deploy_stage(self, deploy_stage_id, **kwargs):
"""
- Returns a list of deployment artifacts.
-
-
- :param str id: (optional)
- Unique identifier or OCID for listing a single resource by ID.
-
- :param str project_id: (optional)
- unique project identifier
-
- :param str compartment_id: (optional)
- The OCID of the compartment in which to list resources.
-
- :param str lifecycle_state: (optional)
- A filter to return only DeployArtifacts that matches the given lifecycleState.
-
- Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
-
- :param str display_name: (optional)
- A filter to return only resources that match the entire display name given.
-
- :param int limit: (optional)
- The maximum number of items to return.
-
- :param str page: (optional)
- The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
-
- :param str sort_order: (optional)
- The sort order to use. Use either ascending or descending.
+ Deletes a deployment stage resource by identifier.
- Allowed values are: "ASC", "DESC"
- :param str sort_by: (optional)
- The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.
+ :param str deploy_stage_id: (required)
+ Unique stage identifier.
- Allowed values are: "timeCreated", "displayName"
+ :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 Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1841,71 +1893,40 @@ def list_deploy_artifacts(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.devops.models.DeployArtifactCollection`
+ :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 list_deploy_artifacts API.
+ Click `here `__ to see an example of how to use delete_deploy_stage API.
"""
- resource_path = "/deployArtifacts"
- method = "GET"
+ resource_path = "/deployStages/{deployStageId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "id",
- "project_id",
- "compartment_id",
- "lifecycle_state",
- "display_name",
- "limit",
- "page",
- "sort_order",
- "sort_by",
+ "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(
- "list_deploy_artifacts got unknown kwargs: {!r}".format(extra_kwargs))
-
- if 'lifecycle_state' in kwargs:
- lifecycle_state_allowed_values = ["CREATING", "UPDATING", "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)
- )
+ "delete_deploy_stage got unknown kwargs: {!r}".format(extra_kwargs))
- 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)
- )
+ path_params = {
+ "deployStageId": deploy_stage_id
+ }
- 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)
- )
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
- query_params = {
- "id": kwargs.get("id", missing),
- "projectId": kwargs.get("project_id", missing),
- "compartmentId": kwargs.get("compartment_id", missing),
- "lifecycleState": kwargs.get("lifecycle_state", missing),
- "displayName": kwargs.get("display_name", missing),
- "limit": kwargs.get("limit", missing),
- "page": kwargs.get("page", missing),
- "sortOrder": kwargs.get("sort_order", missing),
- "sortBy": kwargs.get("sort_by", missing)
- }
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+ 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",
+ "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}
@@ -1923,54 +1944,25 @@ def list_deploy_artifacts(self, **kwargs):
self.base_client.call_api,
resource_path=resource_path,
method=method,
- query_params=query_params,
- header_params=header_params,
- response_type="DeployArtifactCollection")
+ path_params=path_params,
+ header_params=header_params)
else:
return self.base_client.call_api(
resource_path=resource_path,
method=method,
- query_params=query_params,
- header_params=header_params,
- response_type="DeployArtifactCollection")
+ path_params=path_params,
+ header_params=header_params)
- def list_deploy_environments(self, **kwargs):
+ def delete_project(self, project_id, **kwargs):
"""
- Returns a list of deployment environments.
-
-
- :param str project_id: (optional)
- unique project identifier
-
- :param str compartment_id: (optional)
- The OCID of the compartment in which to list resources.
-
- :param str id: (optional)
- Unique identifier or OCID for listing a single resource by ID.
-
- :param str lifecycle_state: (optional)
- A filter to return only DeployEnvironments that matches the given lifecycleState.
-
- Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
-
- :param str display_name: (optional)
- A filter to return only resources that match the entire display name given.
-
- :param int limit: (optional)
- The maximum number of items to return.
-
- :param str page: (optional)
- The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
-
- :param str sort_order: (optional)
- The sort order to use. Use either ascending or descending.
+ Deletes a project resource by identifier
- Allowed values are: "ASC", "DESC"
- :param str sort_by: (optional)
- The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.
+ :param str project_id: (required)
+ Unique project identifier.
- Allowed values are: "timeCreated", "displayName"
+ :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 Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
@@ -1983,36 +1975,4636 @@ def list_deploy_environments(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.devops.models.DeployEnvironmentCollection`
+ :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 list_deploy_environments API.
+ Click `here `__ to see an example of how to use delete_project API.
"""
- resource_path = "/deployEnvironments"
- method = "GET"
+ resource_path = "/projects/{projectId}"
+ method = "DELETE"
# Don't accept unknown kwargs
expected_kwargs = [
"retry_strategy",
- "project_id",
- "compartment_id",
- "id",
- "lifecycle_state",
- "display_name",
- "limit",
- "page",
- "sort_order",
- "sort_by",
+ "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(
- "list_deploy_environments got unknown kwargs: {!r}".format(extra_kwargs))
+ "delete_project got unknown kwargs: {!r}".format(extra_kwargs))
- if 'lifecycle_state' in kwargs:
- lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
+ path_params = {
+ "projectId": project_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",
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def delete_ref(self, repository_id, ref_name, **kwargs):
+ """
+ Deletes a Repository's Ref by its name. Returns an error if the name is ambiguous. Can be disambiguated by using full names like \"heads/\" or \"tags/\".
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str ref_name: (required)
+ A filter to return only resources that match the given Ref name.
+
+ :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 earlier due to conflicting operations. For example, if a resource has been deleted and purged from the system, then a retry of the original creation request might be rejected.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type None
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use delete_ref API.
+ """
+ resource_path = "/repositories/{repositoryId}/refs/{refName}"
+ method = "DELETE"
+
+ # 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_ref got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_id,
+ "refName": ref_name
+ }
+
+ 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",
+ "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}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def delete_repository(self, repository_id, **kwargs):
+ """
+ Deletes a Repository resource by identifier
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type None
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use delete_repository API.
+ """
+ resource_path = "/repositories/{repositoryId}"
+ 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(
+ "delete_repository got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_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",
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def delete_trigger(self, trigger_id, **kwargs):
+ """
+ Deletes a Trigger resource by identifier
+
+
+ :param str trigger_id: (required)
+ unique Trigger identifier
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match` parameter to the value of the etag from a previous GET or POST response for that resource. The resource will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type None
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use delete_trigger API.
+ """
+ resource_path = "/triggers/{triggerId}"
+ 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(
+ "delete_trigger got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "triggerId": trigger_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",
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params)
+
+ def get_build_pipeline(self, build_pipeline_id, **kwargs):
+ """
+ Gets a BuildPipeline by identifier
+
+
+ :param str build_pipeline_id: (required)
+ unique BuildPipeline identifier
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipeline`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_build_pipeline API.
+ """
+ resource_path = "/buildPipelines/{buildPipelineId}"
+ 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_build_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "buildPipelineId": build_pipeline_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="BuildPipeline")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="BuildPipeline")
+
+ def get_build_pipeline_stage(self, build_pipeline_stage_id, **kwargs):
+ """
+ Gets a Stage based on the stage id provided in request
+
+
+ :param str build_pipeline_stage_id: (required)
+ Unique stage identifier.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipelineStage`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_build_pipeline_stage API.
+ """
+ resource_path = "/buildPipelineStages/{buildPipelineStageId}"
+ 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_build_pipeline_stage got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "buildPipelineStageId": build_pipeline_stage_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="BuildPipelineStage")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="BuildPipelineStage")
+
+ def get_build_run(self, build_run_id, **kwargs):
+ """
+ Returns the details of a build exection for a given build run id.
+
+
+ :param str build_run_id: (required)
+ Unique build run identifier.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildRun`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_build_run API.
+ """
+ resource_path = "/buildRuns/{buildRunId}"
+ 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_build_run got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "buildRunId": build_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",
+ "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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="BuildRun")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="BuildRun")
+
+ def get_commit(self, repository_id, commit_id, **kwargs):
+ """
+ Gets a Repository's Commit by commitId
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str commit_id: (required)
+ A filter to return only resources that match the given commit Id.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryCommit`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_commit API.
+ """
+ resource_path = "/repositories/{repositoryId}/commits/{commitId}"
+ 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_commit got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_id,
+ "commitId": commit_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="RepositoryCommit")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="RepositoryCommit")
+
+ def get_commit_diff(self, repository_id, target_version, **kwargs):
+ """
+ Compares two revisions for their differences. Supports comparison between two refs or commits.
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str target_version: (required)
+ The commit or ref name where changes are coming from
+
+ :param str base_version: (optional)
+ The commit or ref name to compare changes against. If baseVersion is not provided, the diff will be gone against an empty tree.
+
+ :param bool is_comparison_from_merge_base: (optional)
+ boolean for whether to use merge base or most recent revision
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DiffResponse`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_commit_diff API.
+ """
+ resource_path = "/repositories/{repositoryId}/diff"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "base_version",
+ "is_comparison_from_merge_base",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_commit_diff got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_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 = {
+ "baseVersion": kwargs.get("base_version", missing),
+ "targetVersion": target_version,
+ "isComparisonFromMergeBase": kwargs.get("is_comparison_from_merge_base", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="DiffResponse")
+ 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="DiffResponse")
+
+ def get_connection(self, connection_id, **kwargs):
+ """
+ Gets a Connection by identifier
+
+
+ :param str connection_id: (required)
+ unique Connection identifier
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Connection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_connection API.
+ """
+ resource_path = "/connections/{connectionId}"
+ 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_connection got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "connectionId": connection_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Connection")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Connection")
+
+ def get_deploy_artifact(self, deploy_artifact_id, **kwargs):
+ """
+ Retrieves a deployment artifact by identifier.
+
+
+ :param str deploy_artifact_id: (required)
+ Unique artifact identifier.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployArtifact`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_deploy_artifact API.
+ """
+ resource_path = "/deployArtifacts/{deployArtifactId}"
+ 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_deploy_artifact got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "deployArtifactId": deploy_artifact_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DeployArtifact")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DeployArtifact")
+
+ def get_deploy_environment(self, deploy_environment_id, **kwargs):
+ """
+ Retrieves a deployment environment by identifier.
+
+
+ :param str deploy_environment_id: (required)
+ Unique environment identifier.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployEnvironment`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_deploy_environment API.
+ """
+ resource_path = "/deployEnvironments/{deployEnvironmentId}"
+ 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_deploy_environment got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "deployEnvironmentId": deploy_environment_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DeployEnvironment")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DeployEnvironment")
+
+ def get_deploy_pipeline(self, deploy_pipeline_id, **kwargs):
+ """
+ Retrieves a deployment pipeline by identifier.
+
+
+ :param str deploy_pipeline_id: (required)
+ Unique pipeline identifier.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployPipeline`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_deploy_pipeline API.
+ """
+ resource_path = "/deployPipelines/{deployPipelineId}"
+ 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_deploy_pipeline got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "deployPipelineId": deploy_pipeline_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DeployPipeline")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DeployPipeline")
+
+ def get_deploy_stage(self, deploy_stage_id, **kwargs):
+ """
+ Retrieves a deployment stage by identifier.
+
+
+ :param str deploy_stage_id: (required)
+ Unique stage identifier.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.DeployStage`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_deploy_stage API.
+ """
+ resource_path = "/deployStages/{deployStageId}"
+ 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_deploy_stage got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "deployStageId": deploy_stage_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DeployStage")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="DeployStage")
+
+ def get_deployment(self, deployment_id, **kwargs):
+ """
+ Retrieves a deployment by identifier.
+
+
+ :param str deployment_id: (required)
+ Unique deployment identifier.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Deployment`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_deployment API.
+ """
+ resource_path = "/deployments/{deploymentId}"
+ 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_deployment got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "deploymentId": deployment_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Deployment")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Deployment")
+
+ def get_file_diff(self, repository_id, file_path, base_version, target_version, **kwargs):
+ """
+ Gets the line-by-line difference between files on different commits.
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str file_path: (required)
+ Path to a file within a repository.
+
+ :param str base_version: (required)
+ The branch to compare changes against
+
+ :param str target_version: (required)
+ The branch where changes are coming from
+
+ :param bool is_comparison_from_merge_base: (optional)
+ boolean for whether to use merge base or most recent revision
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.FileDiffResponse`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_file_diff API.
+ """
+ resource_path = "/repositories/{repositoryId}/diffs/{filePath}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "is_comparison_from_merge_base",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_file_diff got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_id,
+ "filePath": file_path
+ }
+
+ 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 = {
+ "baseVersion": base_version,
+ "targetVersion": target_version,
+ "isComparisonFromMergeBase": kwargs.get("is_comparison_from_merge_base", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="FileDiffResponse")
+ 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="FileDiffResponse")
+
+ def get_mirror_record(self, repository_id, mirror_record_type, **kwargs):
+ """
+ Returns either current mirror record or last successful mirror record for a specific mirror repository
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str mirror_record_type: (required)
+ The field of mirror record type. Only one mirror record type may be provided.
+ current - The current mirror record.
+ lastSuccessful - The last successful mirror record
+
+ Allowed values are: "current", "lastSuccessful"
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryMirrorRecord`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_mirror_record API.
+ """
+ resource_path = "/repositories/{repositoryId}/mirrorRecords/{mirrorRecordType}"
+ 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_mirror_record got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_id,
+ "mirrorRecordType": mirror_record_type
+ }
+
+ 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="RepositoryMirrorRecord")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="RepositoryMirrorRecord")
+
+ def get_object(self, repository_id, **kwargs):
+ """
+ Get blob of specific branch name/commit id and file path
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str file_path: (optional)
+ A filter to return only commits that affect any of the specified paths.
+
+ :param str ref_name: (optional)
+ A filter to return only resources that match the given Ref name.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryObject`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_object API.
+ """
+ resource_path = "/repositories/{repositoryId}/object"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "file_path",
+ "ref_name",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_object got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_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 = {
+ "filePath": kwargs.get("file_path", missing),
+ "refName": kwargs.get("ref_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="RepositoryObject")
+ 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="RepositoryObject")
+
+ def get_object_content(self, repository_id, sha, **kwargs):
+ """
+ Get contents of a specified Object
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str sha: (required)
+ The SHA of a blob or tree
+
+ :param str file_path: (optional)
+ A filter to return only commits that affect any of the specified paths.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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_object_content API.
+ """
+ resource_path = "/repositories/{repositoryId}/objects/{sha}/content"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "file_path",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_object_content got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_id,
+ "sha": sha
+ }
+
+ 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 = {
+ "filePath": kwargs.get("file_path", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="stream")
+ 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="stream")
+
+ def get_project(self, project_id, **kwargs):
+ """
+ Retrieves a project by identifier.
+
+
+ :param str project_id: (required)
+ Unique project identifier.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Project`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_project API.
+ """
+ resource_path = "/projects/{projectId}"
+ 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_project got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "projectId": project_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Project")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Project")
+
+ def get_ref(self, repository_id, ref_name, **kwargs):
+ """
+ Gets a Repository's Ref by its name with preference for branches over tags if the name is ambiguous. Can be disambiguated by using full names like \"heads/\" or \"tags/\".
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str ref_name: (required)
+ A filter to return only resources that match the given Ref name.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryRef`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_ref API.
+ """
+ resource_path = "/repositories/{repositoryId}/refs/{refName}"
+ 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_ref got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_id,
+ "refName": ref_name
+ }
+
+ 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="RepositoryRef")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="RepositoryRef")
+
+ def get_repository(self, repository_id, **kwargs):
+ """
+ Gets a Repository by identifier
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param list[str] fields: (optional)
+ Fields param can contain multiple flags useful in deciding the API functionality
+
+ Allowed values are: "branchCount", "commitCount", "sizeInBytes"
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Repository`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_repository API.
+ """
+ resource_path = "/repositories/{repositoryId}"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "opc_request_id",
+ "fields"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_repository got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_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 'fields' in kwargs:
+ fields_allowed_values = ["branchCount", "commitCount", "sizeInBytes"]
+ for fields_item in kwargs['fields']:
+ if fields_item not in fields_allowed_values:
+ raise ValueError(
+ "Invalid value for `fields`, must be one of {0}".format(fields_allowed_values)
+ )
+
+ query_params = {
+ "fields": self.base_client.generate_collection_format_param(kwargs.get("fields", missing), 'multi')
+ }
+ 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="Repository")
+ 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="Repository")
+
+ def get_repository_archive_content(self, repository_id, **kwargs):
+ """
+ Return the archived repository information
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str ref_name: (optional)
+ A filter to return only resources that match the given Ref name.
+
+ :param str format: (optional)
+ The archive format query parm for download repo endpoint.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :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_repository_archive_content API.
+ """
+ resource_path = "/repositories/{repositoryId}/archive/content"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "ref_name",
+ "format",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_repository_archive_content got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_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 = {
+ "refName": kwargs.get("ref_name", missing),
+ "format": kwargs.get("format", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="stream")
+ 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="stream")
+
+ def get_repository_file_lines(self, repository_id, file_path, revision, **kwargs):
+ """
+ Get lines of a specified file. Supports starting line number and limit.
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str file_path: (required)
+ Path to a file within a repository.
+
+ :param str revision: (required)
+ Retrive file lines from specific revision.
+
+ :param int start_line_number: (optional)
+ Line number from where to start returning file lines. 1 indexed.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryFileLines`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_repository_file_lines API.
+ """
+ resource_path = "/repositories/{repositoryId}/files/{filePath}/lines"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "start_line_number",
+ "limit",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "get_repository_file_lines got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_id,
+ "filePath": file_path
+ }
+
+ 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 = {
+ "revision": revision,
+ "startLineNumber": kwargs.get("start_line_number", missing),
+ "limit": kwargs.get("limit", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="RepositoryFileLines")
+ 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="RepositoryFileLines")
+
+ def get_trigger(self, trigger_id, **kwargs):
+ """
+ Gets a Trigger by identifier
+
+
+ :param str trigger_id: (required)
+ unique Trigger identifier
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.Trigger`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_trigger API.
+ """
+ resource_path = "/triggers/{triggerId}"
+ 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_trigger got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "triggerId": trigger_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Trigger")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Trigger")
+
+ def get_work_request(self, work_request_id, **kwargs):
+ """
+ Retrieves the status of the work request with the given ID.
+
+
+ :param str work_request_id: (required)
+ The ID of the asynchronous work request.
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.WorkRequest`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_work_request API.
+ """
+ resource_path = "/workRequests/{workRequestId}"
+ 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_work_request got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "workRequestId": work_request_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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="WorkRequest")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="WorkRequest")
+
+ def list_authors(self, repository_id, **kwargs):
+ """
+ Get a list of all the authors
+
+
+ :param str repository_id: (required)
+ unique Repository identifier.
+
+ :param str ref_name: (optional)
+ A filter to return only resources that match the given Ref name.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
+
+ :param str sort_order: (optional)
+ The sort order to use. Use either ascending or descending.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.RepositoryAuthorCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_authors API.
+ """
+ resource_path = "/repositories/{repositoryId}/authors"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "ref_name",
+ "limit",
+ "page",
+ "sort_order",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_authors got unknown kwargs: {!r}".format(extra_kwargs))
+
+ path_params = {
+ "repositoryId": repository_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)
+ )
+
+ query_params = {
+ "refName": kwargs.get("ref_name", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="RepositoryAuthorCollection")
+ 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="RepositoryAuthorCollection")
+
+ def list_build_pipeline_stages(self, **kwargs):
+ """
+ Returns summary of list of all Stages in a compartment or buildPipeline
+
+
+ :param str id: (optional)
+ Unique identifier or OCID for listing a single resource by ID.
+
+ :param str build_pipeline_id: (optional)
+ The ID of the parent build pipeline.
+
+ :param str compartment_id: (optional)
+ The OCID of the compartment in which to list resources.
+
+ :param str lifecycle_state: (optional)
+ A filter to return the stages that match with the given lifecycleState.
+
+ Allowed values are: "CREATING", "UPDATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
+
+ :param str sort_order: (optional)
+ The sort order to use. Use either ascending or descending.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.
+
+ Allowed values are: "timeCreated", "displayName"
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipelineStageCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_build_pipeline_stages API.
+ """
+ resource_path = "/buildPipelineStages"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "id",
+ "build_pipeline_id",
+ "compartment_id",
+ "lifecycle_state",
+ "display_name",
+ "limit",
+ "page",
+ "sort_order",
+ "sort_by",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_build_pipeline_stages got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "UPDATING", "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)
+ )
+
+ 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 '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)
+ )
+
+ query_params = {
+ "id": kwargs.get("id", missing),
+ "buildPipelineId": kwargs.get("build_pipeline_id", missing),
+ "compartmentId": kwargs.get("compartment_id", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "displayName": kwargs.get("display_name", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="BuildPipelineStageCollection")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="BuildPipelineStageCollection")
+
+ def list_build_pipelines(self, **kwargs):
+ """
+ Returns a list of BuildPipelines.
+
+
+ :param str id: (optional)
+ Unique identifier or OCID for listing a single resource by ID.
+
+ :param str project_id: (optional)
+ unique project identifier
+
+ :param str compartment_id: (optional)
+ The OCID of the compartment in which to list resources.
+
+ :param str lifecycle_state: (optional)
+ A filter to return only BuildPipelines that matches the given lifecycleState
+
+ Allowed values are: "CREATING", "UPDATING", "ACTIVE", "INACTIVE", "DELETING", "DELETED", "FAILED"
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
+
+ :param str sort_order: (optional)
+ The sort order to use. Use either ascending or descending.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.
+
+ Allowed values are: "timeCreated", "displayName"
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.devops.models.BuildPipelineCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_build_pipelines API.
+ """
+ resource_path = "/buildPipelines"
+ method = "GET"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "retry_strategy",
+ "id",
+ "project_id",
+ "compartment_id",
+ "lifecycle_state",
+ "display_name",
+ "limit",
+ "page",
+ "sort_order",
+ "sort_by",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ "list_build_pipelines got unknown kwargs: {!r}".format(extra_kwargs))
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "UPDATING", "ACTIVE", "INACTIVE", "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)
+ )
+
+ 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 '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)
+ )
+
+ query_params = {
+ "id": kwargs.get("id", missing),
+ "projectId": kwargs.get("project_id", missing),
+ "compartmentId": kwargs.get("compartment_id", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "displayName": kwargs.get("display_name", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", 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.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="BuildPipelineCollection")
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="BuildPipelineCollection")
+
+ def list_build_runs(self, **kwargs):
+ """
+ Returns a list of build runs summary.
+
+
+ :param str id: (optional)
+ Unique identifier or OCID for listing a single resource by ID.
+
+ :param str build_pipeline_id: (optional)
+ Unique build pipeline identifier.
+
+ :param str project_id: (optional)
+ unique project identifier
+
+ :param str compartment_id: (optional)
+ The OCID of the compartment in which to list resources.
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given.
+
+ :param str lifecycle_state: (optional)
+ A filter to return only Build Runs that matches the given lifecycleState.
+
+ Allowed values are: "ACCEPTED", "IN_PROGRESS", "FAILED", "SUCCEEDED", "CANCELING", "CANCELED"
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ The page token representing the page at which to start retrieving results. This is usually retrieved from a previous list call.
+
+ :param str sort_order: (optional)
+ The sort order to use. Use either ascending or descending.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort order may be provided. Default order for time created is descending. Default order for display name is ascending. If no value is specified, then the default time created value is considered.
+
+ Allowed values are: "timeCreated", "displayName"
+
+ :param str opc_request_id: (optional)
+ Unique Oracle-assigned identifier for the request. If you need to contact Oracle about a particular request, provide the request ID.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here