diff --git a/CHANGELOG.rst b/CHANGELOG.rst
index a17cf4e807..f3435d2f10 100644
--- a/CHANGELOG.rst
+++ b/CHANGELOG.rst
@@ -4,6 +4,226 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog `_.
+====================
+2.184.2 - 2026-08-18
+====================
+
+Added
+-----
+* Support for creating databases from another database with additional input fields and source encryption-key location details in the Database service
+* Support for IPv6 dual-stack endpoints in the Compute Instance Agent service
+
+====================
+2.184.1 - 2026-08-11
+====================
+
+Added
+-----
+* Support for the OCI Device Data FHIR (Fast Healthcare Interoperability Resources) Service
+* Support for the Globally Distributed Database service
+* Support for availability domain selection during and after provisioning of autonomous databases in the Database service
+* Support for system tags in virtual cloud networks and subnets in the Networking service
+* Support for local time zones in the Resource Scheduler service
+* Support for IPv6 dual-stack endpoints in the Object Storage service
+* Support for B300 unit shapes in the Generative AI service
+* Support for retrieving work request log entries and their content in the Resource Manager service
+* Support for quick-recycle settings in compute host groups in the Compute service
+
+====================
+2.184.0 - 2026-08-04
+====================
+
+Added
+-----
+* Support for cloning autonomous container databases from backups by timestamp and retrieving backup details in the Database service
+* Support for managing automatic failover for existing data guard configurations with multiple standby databases in the Database service
+* Support for creating and managing private-offer quotes and quote attachments in the Marketplace Private Offer service
+* Support for usage-based SaaS listings, subscription usage reporting, and subscription cancellation in the Service Enablement Lifecycle Framework service
+* Support for network security group IDs on private endpoints during open search cluster updates in the OpenSearch service
+* Support for database tools MCP server, DB API gateway configuration, and IAM authentication APIs in the Database Tools serviceĀ
+
+Breaking
+--------
+* Return type for property `billing_details` changed to `list[BillingDetails]` from `BillingDetails ` in model `SubscriptionDetails` in the Service Enablement Lifecycle Framework service
+* Allowed value `selfTokenId` was removed from the property `sort_by` in operation `listing_subscriptions` in the Service Enablement Lifecycle Framework service
+
+====================
+2.183.0 - 2026-07-28
+====================
+
+Added
+-----
+* Support for retention locks for block backups in the Block Volume service
+* Support for Data Guard creation with Azure encryption keys and changing encryption key locations to Azure in the Database service
+* Support for registering and unregistering PKCS for Exadata Database Service on Dedicated Infrastructure VM clusters in the Database service
+* Support for Exadata DomU OS live updates in Exadata Cloud and Exadata Cloud@Customer in the Database service
+* Support for Oracle Base Database Cloud@Customer VM clusters in the Database service
+* Support for autonomous database and two-level approver groups in the Oracle API Access Control service
+* Support for creating virtual circuits with AWS as the provider in the Networking service
+* Support for listing available provider regions in the Networking service
+* Support for Oracle Exadata Exascale, Oracle Exadata Exascale at Azure, and Oracle Exadata Exascale at Google Cloud connection technology types in the GoldenGate service
+* Support for Google Cloud Managed Service for Apache Kafka connection technology types in the GoldenGate service
+* Support for AI model connections in the GoldenGate service
+* Support for listing supported AI models by provider, region, and tenancy in the GoldenGate service
+* Support for NEEDS_ATTENTION lifecycle state for connection resources in the GoldenGate service
+* Support for connectionType metadata and connectionTypeNotEqualTo filtering on connection assignment resources in the GoldenGate service
+* Support for H100_X16 and H100_X32 Dedicated AI Cluster shapes for model import in the Generative AI service
+
+Breaking
+--------
+* The field compartment_id was made required in list_api_metadata_by_entity_types, list_api_metadata, list_privileged_api_controls, list_privileged_api_requests, and list_work_requests APIs in the Oracle API Access Control service
+* The field compartment_id was made required in CreatePrivilegedApiRequestDetails in the Oracle API Access Control service
+
+====================
+2.182.1 - 2026-07-21
+====================
+
+Added
+-----
+* Support for multiple FastConnect enhancements in the Networking service
+* Support for updating a Letter of Authority for a cross-connect in the Networking service
+* Support for creating, updating, deleting, getting, and listing Analytics instance resource groups in the Analytics Cloud service
+* Support for reporting snapshot-exclusive bytes for compartment-level quota tracking in the File Storage service
+2.182.0 - 2026-07-14
+====================
+
+Added
+-----
+* Support for the Oracle Data Infrastructure Cloud@Customer service
+* Support for AI Agents features in the AI Data Platform service
+* Support for Hosted Application IAM resources in the Generative AI service
+* Support for File Storage Service (FSS) volumes in the Container Instances service
+* Support for Linux file system group security contexts for volumes in the Container Instances service
+* Support for Zero Trust Packet Routing (ZPR) security attributes on private endpoints in the Digital Assistant service
+* Support for placement constraints on compute clusters in the Compute service
+* Support for GPU memory cluster configurations in instance pools in the Compute service
+* Support for target database groups in target alert policy associations in the Data Safe service
+* Support for pagination when generating and scheduling reports in the Data Safe service
+* Support for refreshing audit policies in the Data Safe service
+* Support for single report generation for target database group security assessments in the Data Safe service
+* Support for Zero Trust Packet Routing (ZPR) security attributes on private endpoints in the Data Safe service
+* Support for IPv6 endpoints in the OS Management Hub service
+
+Breaking
+--------
+* Method `list_hosted_deployments` was renamed to `list_hosted_applications_iam` from the Generative AI service
+* Property `inbound_auth_config` was made required in the model `CreateHostedApplicationDetails` in the Generative AI service
+
+====================
+2.181.1 - 2026-07-07
+====================
+
+Added
+-----
+* Support for DAC hardware shapes for self-hosted models in the Generative AI service
+
+Changed
+-------
+* PyJWT is no longer vendored and is now managed as an external dependency
+
+====================
+2.181.0 - 2026-06-30
+====================
+
+Added
+-----
+* Support for Bitbucket Cloud email and API token configuration source providers in the Resource Manager service
+* Support for configurable randomization windows for schedules in the Data Science service
+* Support for partner-provided Windows licensing in the Compute service
+* Support for Key Management service (KMS) bucket key in the Object Storage service
+* Support for Point-In-Time Recovery (PITR) in the PostgreSQL service
+
+Breaking
+--------
+* The models `BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary`, `BitbucketCloudUsernameAppPasswordConfigurationSourceProvider`, `CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails` and `UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails` were removed in the Resource Manager service
+
+====================
+2.180.0 - 2026-06-23
+====================
+
+Added
+-----
+* Support for static redirect paths in OAuth2 and OpenID Connect authentication policies in the API Gateway service
+* Support for returning SDK resources and etags during SDK updates in the API Gateway service
+* Support for virtual node pool cycling in the Kubernetes Engine service
+* Support for access types on Autonomous AI Database Serverless instances in the Database service
+* Support for external logical zones on Autonomous AI Database Serverless instances and local Autonomous Data Guard standby databases in the Database service
+* Support for scheduled backups of Autonomous Database Dedicated resources in the Resource Scheduler service
+* Support for action-type filtering of resource types in the Resource Scheduler service
+* Support for Log Analytics log groups on Oracle Process Automation (OPA) instances attached to Integration instances in the Integration service
+* Support for Zero Trust Packet Routing (ZPR) security attributes on DNS resolver endpoints in the DNS service
+* Support for free-form and defined tags on DNS resolver endpoints in the DNS service
+* Support for resolver, private endpoint, and VNIC identifiers in DNS resolver endpoint responses in the DNS service
+* Support for the UPDATING lifecycle state on DNS steering policies in the DNS service
+
+Breaking
+--------
+* Return type of method `update_sdk` changed from `None` to `oci.apigateway.models.Sdk` in the API Gateway service
+
+====================
+2.179.0 - 2026-06-16
+====================
+
+Added
+-----
+* Support for ExaDB-D Public Cloud in the Operator Access Control service
+* Support for cross region replication with hot standby in the PostgreSQL service
+* Support for starting and stopping DB systems in the PostgreSQL service
+* Support for Kerberos authentication in the PostgreSQL service
+* Support for performance insights in the PostgreSQL service
+* Support for log analytics integration in the Application Performance Monitoring Control Plane service
+* Support for storing large data files in Application Performance Monitoring configurations in the Application Performance Monitoring service
+* Support for compute clusters and host groups in the Kubernetes Engine service
+* Support for Zero Trust Packet Routing (ZPR) security attributes on private endpoints in the Object Storage service
+* Support for Zero Trust Packet Routing (ZPR) security attributes in the Cloud Migrations service
+* Support for Zero Trust Packet Routing (ZPR) security attributes in the Secure Desktops service
+* Support for forcefully restarting and stopping Autonomous Databases and Autonomous Container Databases in the Database service
+* Support for restarting Oracle Rest Data Services (ORDS) services on Autonomous VM Clusters and Cloud Autonomous VM Clusters in the Database service
+* Support for triggering forced reboot and stop of DB nodes in ExaDB-D, ExaDB-XS and ExaDB-C@C in the Database service
+* Support for additional coordinator node pools for OCI Search in the OpenSearch service
+* Support for multi-link organizations in the Organization Management service
+
+Breaking
+--------
+* The model `CustomerLoggingDetails` has been removed from the OpenSearch service
+* The model `ReviveWorkflowInstanceDetails` has been removed from the Organization Management service
+
+====================
+2.178.0 - 2026-06-08
+====================
+
+Added
+-----
+* Support for B200 shapes in dedicated AI clusters in the Generative AI service
+* Support for Oracle Managed Database Software Updates in the Database service
+* Support for scheduling preferences, version series selection, and readiness details in Oracle Managed Database Software Updates in the Database service
+* Support for rescheduling Oracle Managed Database Software Updates in the Database service
+* Support for Oracle-managed and customer-managed database home types in the Database service
+* Support for specifying VM cluster IDs when creating databases in the Database service
+* Support for Oracle Managed Software Updates delegation controls in the Delegate Access Control service
+* Support for Exadata Database VM Clusters in delegation controls in the Delegate Access Control service
+* Support for database IDs in delegated resource access requests in the Delegate Access Control service
+* Support for approval action timestamps and SSH access indicators in the Delegate Access Control service
+* Support for public connectivity add-ons in the OCI Streaming with Apache Kafka service
+* Support for listing, installing, updating, getting, and uninstalling Kafka cluster add-ons in the OCI Streaming with Apache Kafka service
+* Support for SASL and mTLS authentication mechanisms in public connectivity add-ons in the OCI Streaming with Apache Kafka service
+* Support for GPU memory fabric IDs and size details in GPU memory cluster summaries in the Compute service
+* Support for filtering GPU memory clusters by GPU memory fabric in the Compute service
+* Support for associated GPU memory cluster IDs in GPU memory fabric resources in the Compute service
+* Support for partner-provided OS licenses when launching and updating instances in the Compute service
+* Support for work request IDs and waiters when attaching volumes, detaching volumes, and terminating instances in the Compute service
+* Support for single-stack IPv6 in the Virtual Cloud Network service
+* Support for hostnames on IPv6 addresses during create, update, and bulk operations in the Virtual Cloud Network service
+* Support for IPv6 addresses on DB systems, read endpoints, read replicas, and snapshots in the MySQL HeatWave service
+* Support for IPv6 selection in replication channels on dual-stack DB systems in the MySQL HeatWave service
+* Support for X.509 identity propagation trusts and CA certificate chains in the Identity Domains service
+* Support for resource subject type, impersonating resources, claim validations, and claim propagation in identity propagation trusts in the Identity Domains service
+
+Breaking
+--------
+* Method `detach_volume_and_wait_for_state` was renamed to `detach_volume_and_wait_for_work_request` in the Compute service
+* Method `terminate_instance_and_wait_for_state` was renamed to `terminate_instance_and_wait_for_work_request` in the Compute service
+
====================
2.177.0 - 2026-06-02
====================
diff --git a/README.rst b/README.rst
index 16bf2d1e5f..e58f1ff522 100644
--- a/README.rst
+++ b/README.rst
@@ -64,6 +64,9 @@ See the `development readme`__ for information on how to make changes, run tests
__ https://github.com/oracle/oci-python-sdk/blob/master/README-development.rst
+Per-service codegen conditionals belong in
+``enabledGroups`` beside the service module POM under ``poms//``.
+
========
Examples
========
diff --git a/docs/api/ai_data_platform.rst b/docs/api/ai_data_platform.rst
index 72118c075c..86c20597c5 100644
--- a/docs/api/ai_data_platform.rst
+++ b/docs/api/ai_data_platform.rst
@@ -23,6 +23,7 @@ Ai Data Platform
oci.ai_data_platform.models.AiDataPlatformSummary
oci.ai_data_platform.models.ChangeAiDataPlatformCompartmentDetails
oci.ai_data_platform.models.CreateAiDataPlatformDetails
+ oci.ai_data_platform.models.EnableAiFeatureDetails
oci.ai_data_platform.models.UpdateAiDataPlatformDetails
oci.ai_data_platform.models.WorkRequest
oci.ai_data_platform.models.WorkRequestError
diff --git a/docs/api/ai_data_platform/models/oci.ai_data_platform.models.EnableAiFeatureDetails.rst b/docs/api/ai_data_platform/models/oci.ai_data_platform.models.EnableAiFeatureDetails.rst
new file mode 100644
index 0000000000..75e01833ca
--- /dev/null
+++ b/docs/api/ai_data_platform/models/oci.ai_data_platform.models.EnableAiFeatureDetails.rst
@@ -0,0 +1,11 @@
+EnableAiFeatureDetails
+======================
+
+.. currentmodule:: oci.ai_data_platform.models
+
+.. autoclass:: EnableAiFeatureDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/analytics.rst b/docs/api/analytics.rst
index b494449446..145b0b8437 100644
--- a/docs/api/analytics.rst
+++ b/docs/api/analytics.rst
@@ -25,7 +25,10 @@ Analytics
oci.analytics.models.ChangeCompartmentDetails
oci.analytics.models.CreateAnalyticsInstanceDetails
oci.analytics.models.CreatePrivateAccessChannelDetails
+ oci.analytics.models.CreateResourceGroupDetails
oci.analytics.models.CreateVanityUrlDetails
+ oci.analytics.models.InstanceResourceGroup
+ oci.analytics.models.InstanceResourceGroupSummary
oci.analytics.models.NetworkEndpointDetails
oci.analytics.models.PrivateAccessChannel
oci.analytics.models.PrivateEndpointDetails
@@ -37,6 +40,7 @@ Analytics
oci.analytics.models.SetKmsKeyDetails
oci.analytics.models.UpdateAnalyticsInstanceDetails
oci.analytics.models.UpdatePrivateAccessChannelDetails
+ oci.analytics.models.UpdateResourceGroupDetails
oci.analytics.models.UpdateVanityUrlDetails
oci.analytics.models.VanityUrlDetails
oci.analytics.models.VirtualCloudNetwork
diff --git a/docs/api/analytics/models/oci.analytics.models.CreateResourceGroupDetails.rst b/docs/api/analytics/models/oci.analytics.models.CreateResourceGroupDetails.rst
new file mode 100644
index 0000000000..6296d6f166
--- /dev/null
+++ b/docs/api/analytics/models/oci.analytics.models.CreateResourceGroupDetails.rst
@@ -0,0 +1,11 @@
+CreateResourceGroupDetails
+==========================
+
+.. currentmodule:: oci.analytics.models
+
+.. autoclass:: CreateResourceGroupDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/analytics/models/oci.analytics.models.InstanceResourceGroup.rst b/docs/api/analytics/models/oci.analytics.models.InstanceResourceGroup.rst
new file mode 100644
index 0000000000..95f227271a
--- /dev/null
+++ b/docs/api/analytics/models/oci.analytics.models.InstanceResourceGroup.rst
@@ -0,0 +1,11 @@
+InstanceResourceGroup
+=====================
+
+.. currentmodule:: oci.analytics.models
+
+.. autoclass:: InstanceResourceGroup
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/analytics/models/oci.analytics.models.InstanceResourceGroupSummary.rst b/docs/api/analytics/models/oci.analytics.models.InstanceResourceGroupSummary.rst
new file mode 100644
index 0000000000..c66579e980
--- /dev/null
+++ b/docs/api/analytics/models/oci.analytics.models.InstanceResourceGroupSummary.rst
@@ -0,0 +1,11 @@
+InstanceResourceGroupSummary
+============================
+
+.. currentmodule:: oci.analytics.models
+
+.. autoclass:: InstanceResourceGroupSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/analytics/models/oci.analytics.models.UpdateResourceGroupDetails.rst b/docs/api/analytics/models/oci.analytics.models.UpdateResourceGroupDetails.rst
new file mode 100644
index 0000000000..271891138c
--- /dev/null
+++ b/docs/api/analytics/models/oci.analytics.models.UpdateResourceGroupDetails.rst
@@ -0,0 +1,11 @@
+UpdateResourceGroupDetails
+==========================
+
+.. currentmodule:: oci.analytics.models
+
+.. autoclass:: UpdateResourceGroupDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/apiaccesscontrol.rst b/docs/api/apiaccesscontrol.rst
index c5f688c40e..c9b6e226dd 100644
--- a/docs/api/apiaccesscontrol.rst
+++ b/docs/api/apiaccesscontrol.rst
@@ -31,6 +31,7 @@ Apiaccesscontrol
oci.apiaccesscontrol.models.ApiMetadataSummary
oci.apiaccesscontrol.models.ApprovePrivilegedApiRequestDetails
oci.apiaccesscontrol.models.ApproverDetail
+ oci.apiaccesscontrol.models.ApproverGroupLevel
oci.apiaccesscontrol.models.ChangePrivilegedApiControlCompartmentDetails
oci.apiaccesscontrol.models.ClosePrivilegedApiRequestDetails
oci.apiaccesscontrol.models.CreatePrivilegedApiControlDetails
diff --git a/docs/api/apiaccesscontrol/models/oci.apiaccesscontrol.models.ApproverGroupLevel.rst b/docs/api/apiaccesscontrol/models/oci.apiaccesscontrol.models.ApproverGroupLevel.rst
new file mode 100644
index 0000000000..e2b2e2eb13
--- /dev/null
+++ b/docs/api/apiaccesscontrol/models/oci.apiaccesscontrol.models.ApproverGroupLevel.rst
@@ -0,0 +1,11 @@
+ApproverGroupLevel
+==================
+
+.. currentmodule:: oci.apiaccesscontrol.models
+
+.. autoclass:: ApproverGroupLevel
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/apigateway.rst b/docs/api/apigateway.rst
index 2584744dc7..27d1625289 100644
--- a/docs/api/apigateway.rst
+++ b/docs/api/apigateway.rst
@@ -114,6 +114,7 @@ Apigateway
oci.apigateway.models.MutualTlsDetails
oci.apigateway.models.NoCache
oci.apigateway.models.NoContentValidation
+ oci.apigateway.models.OAuth2LoginBackend
oci.apigateway.models.OAuth2LogoutBackend
oci.apigateway.models.OAuth2ResponseValidationFailurePolicy
oci.apigateway.models.OracleFunctionBackend
diff --git a/docs/api/apigateway/models/oci.apigateway.models.OAuth2LoginBackend.rst b/docs/api/apigateway/models/oci.apigateway.models.OAuth2LoginBackend.rst
new file mode 100644
index 0000000000..3d96ccfad5
--- /dev/null
+++ b/docs/api/apigateway/models/oci.apigateway.models.OAuth2LoginBackend.rst
@@ -0,0 +1,11 @@
+OAuth2LoginBackend
+==================
+
+.. currentmodule:: oci.apigateway.models
+
+.. autoclass:: OAuth2LoginBackend
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/apm_config.rst b/docs/api/apm_config.rst
index 6c8978762a..f2dc224eab 100644
--- a/docs/api/apm_config.rst
+++ b/docs/api/apm_config.rst
@@ -38,6 +38,9 @@ Apm Config
oci.apm_config.models.CreateMetricGroupDetails
oci.apm_config.models.CreateOptionsDetails
oci.apm_config.models.CreateSpanFilterDetails
+ oci.apm_config.models.DataFile
+ oci.apm_config.models.DataFileSummary
+ oci.apm_config.models.DataFileSummaryCollection
oci.apm_config.models.Dimension
oci.apm_config.models.ExportConfigurationDetails
oci.apm_config.models.ExportConfigurationResponseDetails
diff --git a/docs/api/apm_config/models/oci.apm_config.models.DataFile.rst b/docs/api/apm_config/models/oci.apm_config.models.DataFile.rst
new file mode 100644
index 0000000000..a531bf1422
--- /dev/null
+++ b/docs/api/apm_config/models/oci.apm_config.models.DataFile.rst
@@ -0,0 +1,11 @@
+DataFile
+========
+
+.. currentmodule:: oci.apm_config.models
+
+.. autoclass:: DataFile
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/apm_config/models/oci.apm_config.models.DataFileSummary.rst b/docs/api/apm_config/models/oci.apm_config.models.DataFileSummary.rst
new file mode 100644
index 0000000000..da1dbcfa89
--- /dev/null
+++ b/docs/api/apm_config/models/oci.apm_config.models.DataFileSummary.rst
@@ -0,0 +1,11 @@
+DataFileSummary
+===============
+
+.. currentmodule:: oci.apm_config.models
+
+.. autoclass:: DataFileSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/apm_config/models/oci.apm_config.models.DataFileSummaryCollection.rst b/docs/api/apm_config/models/oci.apm_config.models.DataFileSummaryCollection.rst
new file mode 100644
index 0000000000..92d41be0f2
--- /dev/null
+++ b/docs/api/apm_config/models/oci.apm_config.models.DataFileSummaryCollection.rst
@@ -0,0 +1,11 @@
+DataFileSummaryCollection
+=========================
+
+.. currentmodule:: oci.apm_config.models
+
+.. autoclass:: DataFileSummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_engine.rst b/docs/api/container_engine.rst
index b91219d3e9..091170fd37 100644
--- a/docs/api/container_engine.rst
+++ b/docs/api/container_engine.rst
@@ -112,6 +112,7 @@ Container Engine
oci.container_engine.models.UpdateWorkloadMappingDetails
oci.container_engine.models.VirtualNode
oci.container_engine.models.VirtualNodePool
+ oci.container_engine.models.VirtualNodePoolCyclingDetails
oci.container_engine.models.VirtualNodePoolSummary
oci.container_engine.models.VirtualNodeSummary
oci.container_engine.models.VirtualNodeTags
diff --git a/docs/api/container_engine/models/oci.container_engine.models.VirtualNodePoolCyclingDetails.rst b/docs/api/container_engine/models/oci.container_engine.models.VirtualNodePoolCyclingDetails.rst
new file mode 100644
index 0000000000..b6edb182c8
--- /dev/null
+++ b/docs/api/container_engine/models/oci.container_engine.models.VirtualNodePoolCyclingDetails.rst
@@ -0,0 +1,11 @@
+VirtualNodePoolCyclingDetails
+=============================
+
+.. currentmodule:: oci.container_engine.models
+
+.. autoclass:: VirtualNodePoolCyclingDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances.rst b/docs/api/container_instances.rst
index 68aa0b3bc2..b48e071c30 100644
--- a/docs/api/container_instances.rst
+++ b/docs/api/container_instances.rst
@@ -32,10 +32,12 @@ Container Instances
oci.container_instances.models.ContainerInstance
oci.container_instances.models.ContainerInstanceCollection
oci.container_instances.models.ContainerInstanceContainer
+ oci.container_instances.models.ContainerInstanceSecurityContext
oci.container_instances.models.ContainerInstanceShapeCollection
oci.container_instances.models.ContainerInstanceShapeConfig
oci.container_instances.models.ContainerInstanceShapeSummary
oci.container_instances.models.ContainerInstanceSummary
+ oci.container_instances.models.ContainerOciFssVolume
oci.container_instances.models.ContainerResourceConfig
oci.container_instances.models.ContainerSummary
oci.container_instances.models.ContainerTcpHealthCheck
@@ -49,19 +51,39 @@ Container Instances
oci.container_instances.models.CreateContainerHealthCheckDetails
oci.container_instances.models.CreateContainerHttpHealthCheckDetails
oci.container_instances.models.CreateContainerInstanceDetails
+ oci.container_instances.models.CreateContainerInstanceSecurityContextDetails
oci.container_instances.models.CreateContainerInstanceShapeConfigDetails
+ oci.container_instances.models.CreateContainerOciFssVolumeDetails
oci.container_instances.models.CreateContainerResourceConfigDetails
oci.container_instances.models.CreateContainerTcpHealthCheckDetails
oci.container_instances.models.CreateContainerVnicDetails
oci.container_instances.models.CreateContainerVolumeDetails
oci.container_instances.models.CreateImagePullSecretDetails
+ oci.container_instances.models.CreateLinuxContainerInstanceSecurityContextDetails
oci.container_instances.models.CreateLinuxSecurityContextDetails
+ oci.container_instances.models.CreateOciFssExportDetails
+ oci.container_instances.models.CreateOciFssExportIdDetails
+ oci.container_instances.models.CreateOciFssMountCommandDetails
+ oci.container_instances.models.CreateOciFssMountOptionDetails
+ oci.container_instances.models.CreateOciFssMountTargetDetails
+ oci.container_instances.models.CreateOciFssMountTargetIdDetails
+ oci.container_instances.models.CreateOciFssSecurityDetails
+ oci.container_instances.models.CreateOciFssSysSecurityDetails
oci.container_instances.models.CreateSecurityContextDetails
oci.container_instances.models.CreateVaultImagePullSecretDetails
oci.container_instances.models.CreateVolumeMountDetails
oci.container_instances.models.HealthCheckHttpHeader
oci.container_instances.models.ImagePullSecret
+ oci.container_instances.models.LinuxContainerInstanceSecurityContext
oci.container_instances.models.LinuxSecurityContext
+ oci.container_instances.models.OciFssExport
+ oci.container_instances.models.OciFssExportId
+ oci.container_instances.models.OciFssMountCommand
+ oci.container_instances.models.OciFssMountOption
+ oci.container_instances.models.OciFssMountTarget
+ oci.container_instances.models.OciFssMountTargetId
+ oci.container_instances.models.OciFssSecurity
+ oci.container_instances.models.OciFssSysSecurity
oci.container_instances.models.SecurityContext
oci.container_instances.models.ShapeMemoryOptions
oci.container_instances.models.ShapeNetworkingBandwidthOptions
diff --git a/docs/api/container_instances/models/oci.container_instances.models.ContainerInstanceSecurityContext.rst b/docs/api/container_instances/models/oci.container_instances.models.ContainerInstanceSecurityContext.rst
new file mode 100644
index 0000000000..9246de12a9
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.ContainerInstanceSecurityContext.rst
@@ -0,0 +1,11 @@
+ContainerInstanceSecurityContext
+================================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: ContainerInstanceSecurityContext
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.ContainerOciFssVolume.rst b/docs/api/container_instances/models/oci.container_instances.models.ContainerOciFssVolume.rst
new file mode 100644
index 0000000000..804db996fc
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.ContainerOciFssVolume.rst
@@ -0,0 +1,11 @@
+ContainerOciFssVolume
+=====================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: ContainerOciFssVolume
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateContainerInstanceSecurityContextDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateContainerInstanceSecurityContextDetails.rst
new file mode 100644
index 0000000000..7bfed66de1
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateContainerInstanceSecurityContextDetails.rst
@@ -0,0 +1,11 @@
+CreateContainerInstanceSecurityContextDetails
+=============================================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateContainerInstanceSecurityContextDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateContainerOciFssVolumeDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateContainerOciFssVolumeDetails.rst
new file mode 100644
index 0000000000..92108a59e3
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateContainerOciFssVolumeDetails.rst
@@ -0,0 +1,11 @@
+CreateContainerOciFssVolumeDetails
+==================================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateContainerOciFssVolumeDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateLinuxContainerInstanceSecurityContextDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateLinuxContainerInstanceSecurityContextDetails.rst
new file mode 100644
index 0000000000..05b839c698
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateLinuxContainerInstanceSecurityContextDetails.rst
@@ -0,0 +1,11 @@
+CreateLinuxContainerInstanceSecurityContextDetails
+==================================================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateLinuxContainerInstanceSecurityContextDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssExportDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssExportDetails.rst
new file mode 100644
index 0000000000..0b8d7c7c03
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssExportDetails.rst
@@ -0,0 +1,11 @@
+CreateOciFssExportDetails
+=========================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateOciFssExportDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssExportIdDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssExportIdDetails.rst
new file mode 100644
index 0000000000..b66e22bf02
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssExportIdDetails.rst
@@ -0,0 +1,11 @@
+CreateOciFssExportIdDetails
+===========================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateOciFssExportIdDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountCommandDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountCommandDetails.rst
new file mode 100644
index 0000000000..4751f919c3
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountCommandDetails.rst
@@ -0,0 +1,11 @@
+CreateOciFssMountCommandDetails
+===============================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateOciFssMountCommandDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountOptionDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountOptionDetails.rst
new file mode 100644
index 0000000000..372d73d67e
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountOptionDetails.rst
@@ -0,0 +1,11 @@
+CreateOciFssMountOptionDetails
+==============================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateOciFssMountOptionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountTargetDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountTargetDetails.rst
new file mode 100644
index 0000000000..c3a7e45910
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountTargetDetails.rst
@@ -0,0 +1,11 @@
+CreateOciFssMountTargetDetails
+==============================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateOciFssMountTargetDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountTargetIdDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountTargetIdDetails.rst
new file mode 100644
index 0000000000..5972425807
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssMountTargetIdDetails.rst
@@ -0,0 +1,11 @@
+CreateOciFssMountTargetIdDetails
+================================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateOciFssMountTargetIdDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssSecurityDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssSecurityDetails.rst
new file mode 100644
index 0000000000..bd4521d90a
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssSecurityDetails.rst
@@ -0,0 +1,11 @@
+CreateOciFssSecurityDetails
+===========================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateOciFssSecurityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssSysSecurityDetails.rst b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssSysSecurityDetails.rst
new file mode 100644
index 0000000000..89a3b972f4
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.CreateOciFssSysSecurityDetails.rst
@@ -0,0 +1,11 @@
+CreateOciFssSysSecurityDetails
+==============================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: CreateOciFssSysSecurityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.LinuxContainerInstanceSecurityContext.rst b/docs/api/container_instances/models/oci.container_instances.models.LinuxContainerInstanceSecurityContext.rst
new file mode 100644
index 0000000000..9b5a5c3bd6
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.LinuxContainerInstanceSecurityContext.rst
@@ -0,0 +1,11 @@
+LinuxContainerInstanceSecurityContext
+=====================================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: LinuxContainerInstanceSecurityContext
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.OciFssExport.rst b/docs/api/container_instances/models/oci.container_instances.models.OciFssExport.rst
new file mode 100644
index 0000000000..7a6dcaf002
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.OciFssExport.rst
@@ -0,0 +1,11 @@
+OciFssExport
+============
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: OciFssExport
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.OciFssExportId.rst b/docs/api/container_instances/models/oci.container_instances.models.OciFssExportId.rst
new file mode 100644
index 0000000000..7a83b2c3fe
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.OciFssExportId.rst
@@ -0,0 +1,11 @@
+OciFssExportId
+==============
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: OciFssExportId
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.OciFssMountCommand.rst b/docs/api/container_instances/models/oci.container_instances.models.OciFssMountCommand.rst
new file mode 100644
index 0000000000..00ad369820
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.OciFssMountCommand.rst
@@ -0,0 +1,11 @@
+OciFssMountCommand
+==================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: OciFssMountCommand
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.OciFssMountOption.rst b/docs/api/container_instances/models/oci.container_instances.models.OciFssMountOption.rst
new file mode 100644
index 0000000000..be3fddb968
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.OciFssMountOption.rst
@@ -0,0 +1,11 @@
+OciFssMountOption
+=================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: OciFssMountOption
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.OciFssMountTarget.rst b/docs/api/container_instances/models/oci.container_instances.models.OciFssMountTarget.rst
new file mode 100644
index 0000000000..0adf8a4934
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.OciFssMountTarget.rst
@@ -0,0 +1,11 @@
+OciFssMountTarget
+=================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: OciFssMountTarget
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.OciFssMountTargetId.rst b/docs/api/container_instances/models/oci.container_instances.models.OciFssMountTargetId.rst
new file mode 100644
index 0000000000..88096eebe3
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.OciFssMountTargetId.rst
@@ -0,0 +1,11 @@
+OciFssMountTargetId
+===================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: OciFssMountTargetId
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.OciFssSecurity.rst b/docs/api/container_instances/models/oci.container_instances.models.OciFssSecurity.rst
new file mode 100644
index 0000000000..4f2318ac4b
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.OciFssSecurity.rst
@@ -0,0 +1,11 @@
+OciFssSecurity
+==============
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: OciFssSecurity
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/container_instances/models/oci.container_instances.models.OciFssSysSecurity.rst b/docs/api/container_instances/models/oci.container_instances.models.OciFssSysSecurity.rst
new file mode 100644
index 0000000000..11a9aee916
--- /dev/null
+++ b/docs/api/container_instances/models/oci.container_instances.models.OciFssSysSecurity.rst
@@ -0,0 +1,11 @@
+OciFssSysSecurity
+=================
+
+.. currentmodule:: oci.container_instances.models
+
+.. autoclass:: OciFssSysSecurity
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core.rst b/docs/api/core.rst
index 68c7f7b162..035a99f723 100644
--- a/docs/api/core.rst
+++ b/docs/api/core.rst
@@ -189,6 +189,7 @@ Core Services
oci.core.models.ComputeCapacityTopologySummary
oci.core.models.ComputeCluster
oci.core.models.ComputeClusterCollection
+ oci.core.models.ComputeClusterPlacementConstraintDetails
oci.core.models.ComputeClusterSummary
oci.core.models.ComputeGlobalImageCapabilitySchema
oci.core.models.ComputeGlobalImageCapabilitySchemaSummary
@@ -261,6 +262,7 @@ Core Services
oci.core.models.CreateDrgDetails
oci.core.models.CreateDrgRouteDistributionDetails
oci.core.models.CreateDrgRouteTableDetails
+ oci.core.models.CreateGmcConfigurationDetails
oci.core.models.CreateIPSecConnectionDetails
oci.core.models.CreateIPSecConnectionTunnelDetails
oci.core.models.CreateIPSecTunnelBgpSessionDetails
@@ -406,6 +408,8 @@ Core Services
oci.core.models.InstanceConfigurationCreateVolumeDetails
oci.core.models.InstanceConfigurationDetachedVolumeAutotunePolicy
oci.core.models.InstanceConfigurationGenericBmLaunchInstancePlatformConfig
+ oci.core.models.InstanceConfigurationGmcConfigDetail
+ oci.core.models.InstanceConfigurationGpuMemoryClusterScaleConfig
oci.core.models.InstanceConfigurationHostGroupPlacementConstraintDetails
oci.core.models.InstanceConfigurationInstanceDetails
oci.core.models.InstanceConfigurationInstanceOptions
@@ -460,6 +464,7 @@ Core Services
oci.core.models.InstanceSourceViaBootVolumeDetails
oci.core.models.InstanceSourceViaImageDetails
oci.core.models.InstanceSummary
+ oci.core.models.Instances
oci.core.models.IntelIcelakeBmLaunchInstancePlatformConfig
oci.core.models.IntelIcelakeBmPlatformConfig
oci.core.models.IntelSkylakeBmLaunchInstancePlatformConfig
@@ -501,6 +506,7 @@ Core Services
oci.core.models.LetterOfAuthority
oci.core.models.LicensingConfig
oci.core.models.ListIpInventoryDetails
+ oci.core.models.LoaExtensionData
oci.core.models.LocalPeeringGateway
oci.core.models.LoopBackDrgAttachmentNetworkDetails
oci.core.models.MacsecKey
@@ -536,10 +542,12 @@ Core Services
oci.core.models.PreemptibleInstanceConfigDetails
oci.core.models.PreemptionAction
oci.core.models.PrivateIp
+ oci.core.models.ProviderRemoteRegionName
oci.core.models.PublicIp
oci.core.models.PublicIpPool
oci.core.models.PublicIpPoolCollection
oci.core.models.PublicIpPoolSummary
+ oci.core.models.QuickRecycleSettings
oci.core.models.RebootMigrateActionDetails
oci.core.models.RecycleDetails
oci.core.models.RemotePeeringConnection
@@ -553,6 +561,7 @@ Core Services
oci.core.models.RemoveVcnCidrDetails
oci.core.models.RemoveVcnIpv6CidrDetails
oci.core.models.ResetActionDetails
+ oci.core.models.RetentionDuration
oci.core.models.RouteRule
oci.core.models.RouteTable
oci.core.models.SecurityList
@@ -622,6 +631,7 @@ Core Services
oci.core.models.UpdateCpeDetails
oci.core.models.UpdateCrossConnectDetails
oci.core.models.UpdateCrossConnectGroupDetails
+ oci.core.models.UpdateCrossConnectLetterOfAuthorityDetails
oci.core.models.UpdateDedicatedCapacitySourceDetails
oci.core.models.UpdateDedicatedVmHostDetails
oci.core.models.UpdateDhcpDetails
diff --git a/docs/api/core/models/oci.core.models.ComputeClusterPlacementConstraintDetails.rst b/docs/api/core/models/oci.core.models.ComputeClusterPlacementConstraintDetails.rst
new file mode 100644
index 0000000000..6927ecba36
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.ComputeClusterPlacementConstraintDetails.rst
@@ -0,0 +1,11 @@
+ComputeClusterPlacementConstraintDetails
+========================================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: ComputeClusterPlacementConstraintDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.CreateGmcConfigurationDetails.rst b/docs/api/core/models/oci.core.models.CreateGmcConfigurationDetails.rst
new file mode 100644
index 0000000000..42416412a0
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.CreateGmcConfigurationDetails.rst
@@ -0,0 +1,11 @@
+CreateGmcConfigurationDetails
+=============================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: CreateGmcConfigurationDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.InstanceConfigurationGmcConfigDetail.rst b/docs/api/core/models/oci.core.models.InstanceConfigurationGmcConfigDetail.rst
new file mode 100644
index 0000000000..252a93c1bd
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.InstanceConfigurationGmcConfigDetail.rst
@@ -0,0 +1,11 @@
+InstanceConfigurationGmcConfigDetail
+====================================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: InstanceConfigurationGmcConfigDetail
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.InstanceConfigurationGpuMemoryClusterScaleConfig.rst b/docs/api/core/models/oci.core.models.InstanceConfigurationGpuMemoryClusterScaleConfig.rst
new file mode 100644
index 0000000000..6921d5148d
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.InstanceConfigurationGpuMemoryClusterScaleConfig.rst
@@ -0,0 +1,11 @@
+InstanceConfigurationGpuMemoryClusterScaleConfig
+================================================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: InstanceConfigurationGpuMemoryClusterScaleConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.Instances.rst b/docs/api/core/models/oci.core.models.Instances.rst
new file mode 100644
index 0000000000..48e8e170a2
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.Instances.rst
@@ -0,0 +1,11 @@
+Instances
+=========
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: Instances
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.LoaExtensionData.rst b/docs/api/core/models/oci.core.models.LoaExtensionData.rst
new file mode 100644
index 0000000000..de021fa1e0
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.LoaExtensionData.rst
@@ -0,0 +1,11 @@
+LoaExtensionData
+================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: LoaExtensionData
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.ProviderRemoteRegionName.rst b/docs/api/core/models/oci.core.models.ProviderRemoteRegionName.rst
new file mode 100644
index 0000000000..0d621e3d9b
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.ProviderRemoteRegionName.rst
@@ -0,0 +1,11 @@
+ProviderRemoteRegionName
+========================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: ProviderRemoteRegionName
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.QuickRecycleSettings.rst b/docs/api/core/models/oci.core.models.QuickRecycleSettings.rst
new file mode 100644
index 0000000000..e30ad56b15
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.QuickRecycleSettings.rst
@@ -0,0 +1,11 @@
+QuickRecycleSettings
+====================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: QuickRecycleSettings
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.RetentionDuration.rst b/docs/api/core/models/oci.core.models.RetentionDuration.rst
new file mode 100644
index 0000000000..8146cbb6c9
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.RetentionDuration.rst
@@ -0,0 +1,11 @@
+RetentionDuration
+=================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: RetentionDuration
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/core/models/oci.core.models.UpdateCrossConnectLetterOfAuthorityDetails.rst b/docs/api/core/models/oci.core.models.UpdateCrossConnectLetterOfAuthorityDetails.rst
new file mode 100644
index 0000000000..89fb39546e
--- /dev/null
+++ b/docs/api/core/models/oci.core.models.UpdateCrossConnectLetterOfAuthorityDetails.rst
@@ -0,0 +1,11 @@
+UpdateCrossConnectLetterOfAuthorityDetails
+==========================================
+
+.. currentmodule:: oci.core.models
+
+.. autoclass:: UpdateCrossConnectLetterOfAuthorityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_safe.rst b/docs/api/data_safe.rst
index b29061311c..2af341ec20 100644
--- a/docs/api/data_safe.rst
+++ b/docs/api/data_safe.rst
@@ -438,6 +438,8 @@ Data Safe
oci.data_safe.models.TargetAlertPolicyAssociation
oci.data_safe.models.TargetAlertPolicyAssociationCollection
oci.data_safe.models.TargetAlertPolicyAssociationSummary
+ oci.data_safe.models.TargetAlertPolicyUnassociatedCollection
+ oci.data_safe.models.TargetAlertPolicyUnassociatedSummary
oci.data_safe.models.TargetDatabase
oci.data_safe.models.TargetDatabaseGroup
oci.data_safe.models.TargetDatabaseGroupCollection
diff --git a/docs/api/data_safe/models/oci.data_safe.models.TargetAlertPolicyUnassociatedCollection.rst b/docs/api/data_safe/models/oci.data_safe.models.TargetAlertPolicyUnassociatedCollection.rst
new file mode 100644
index 0000000000..e866284ed6
--- /dev/null
+++ b/docs/api/data_safe/models/oci.data_safe.models.TargetAlertPolicyUnassociatedCollection.rst
@@ -0,0 +1,11 @@
+TargetAlertPolicyUnassociatedCollection
+=======================================
+
+.. currentmodule:: oci.data_safe.models
+
+.. autoclass:: TargetAlertPolicyUnassociatedCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/data_safe/models/oci.data_safe.models.TargetAlertPolicyUnassociatedSummary.rst b/docs/api/data_safe/models/oci.data_safe.models.TargetAlertPolicyUnassociatedSummary.rst
new file mode 100644
index 0000000000..72b2b4f320
--- /dev/null
+++ b/docs/api/data_safe/models/oci.data_safe.models.TargetAlertPolicyUnassociatedSummary.rst
@@ -0,0 +1,11 @@
+TargetAlertPolicyUnassociatedSummary
+====================================
+
+.. currentmodule:: oci.data_safe.models
+
+.. autoclass:: TargetAlertPolicyUnassociatedSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database.rst b/docs/api/database.rst
index aee4968562..3f48c30dab 100644
--- a/docs/api/database.rst
+++ b/docs/api/database.rst
@@ -37,6 +37,7 @@ Database
oci.database.models.AssociatedDatabaseDetails
oci.database.models.AssociatedLongTermBackup
oci.database.models.AssociatedResourceDetails
+ oci.database.models.AutoFailoverConfiguration
oci.database.models.AutomatedMountDetails
oci.database.models.AutonomousContainerDatabase
oci.database.models.AutonomousContainerDatabaseBackup
@@ -64,6 +65,8 @@ Database
oci.database.models.AutonomousDatabaseEncryptionKeyDetails
oci.database.models.AutonomousDatabaseEncryptionKeyHistoryEntry
oci.database.models.AutonomousDatabaseInBackup
+ oci.database.models.AutonomousDatabaseInBackupCollection
+ oci.database.models.AutonomousDatabaseInBackupSummary
oci.database.models.AutonomousDatabaseKeyHistoryEntry
oci.database.models.AutonomousDatabaseMaintenanceWindowSummary
oci.database.models.AutonomousDatabaseManualRefreshDetails
@@ -103,10 +106,18 @@ Database
oci.database.models.BackupDestinationProperties
oci.database.models.BackupDestinationSummary
oci.database.models.BackupSummary
+ oci.database.models.BaseccVmCluster
+ oci.database.models.BaseccVmClusterSummary
+ oci.database.models.BaseccVmClusterUpdate
+ oci.database.models.BaseccVmClusterUpdateDetails
+ oci.database.models.BaseccVmClusterUpdateHistoryEntry
+ oci.database.models.BaseccVmClusterUpdateHistoryEntrySummary
+ oci.database.models.BaseccVmClusterUpdateSummary
oci.database.models.CancelExecutionWindowDetails
oci.database.models.ChangeAutonomousDatabaseSoftwareImageCompartmentDetails
oci.database.models.ChangeAutonomousDatabaseSubscriptionDetails
oci.database.models.ChangeAutonomousVmClusterCompartmentDetails
+ oci.database.models.ChangeBaseccVmClusterCompartmentDetails
oci.database.models.ChangeCloudAutonomousVmClusterCompartmentDetails
oci.database.models.ChangeCloudAutonomousVmClusterSubscriptionDetails
oci.database.models.ChangeCloudDbSystemSubscriptionDetails
@@ -166,6 +177,7 @@ Database
oci.database.models.CreateAutonomousContainerDatabaseDataguardAssociationDetails
oci.database.models.CreateAutonomousContainerDatabaseDetails
oci.database.models.CreateAutonomousContainerDatabaseFromBackupDetails
+ oci.database.models.CreateAutonomousContainerDatabaseFromBackupTimestampDetails
oci.database.models.CreateAutonomousDatabaseBackupDetails
oci.database.models.CreateAutonomousDatabaseBase
oci.database.models.CreateAutonomousDatabaseCloneDetails
@@ -176,6 +188,7 @@ Database
oci.database.models.CreateAutonomousVmClusterDetails
oci.database.models.CreateBackupDestinationDetails
oci.database.models.CreateBackupDetails
+ oci.database.models.CreateBaseccVmClusterDetails
oci.database.models.CreateCloudAutonomousVmClusterDetails
oci.database.models.CreateCloudExadataInfrastructureDetails
oci.database.models.CreateCloudVmClusterDetails
@@ -340,6 +353,7 @@ Database
oci.database.models.ExadataInfrastructureUnAllocatedResources
oci.database.models.ExadataIormConfig
oci.database.models.ExadataIormConfigUpdateDetails
+ oci.database.models.ExadataLiveImageVersionDetails
oci.database.models.ExadbVmCluster
oci.database.models.ExadbVmClusterStorageDetails
oci.database.models.ExadbVmClusterSummary
@@ -408,6 +422,11 @@ Database
oci.database.models.MaintenanceRunSummary
oci.database.models.MaintenanceVersionPreferenceDetails
oci.database.models.MaintenanceWindow
+ oci.database.models.ManagedSoftwareUpdateDayOfWeek
+ oci.database.models.ManagedSoftwareUpdateDetails
+ oci.database.models.ManagedSoftwareUpdateInputDetails
+ oci.database.models.ManagedSoftwareUpdateMaintenanceDetails
+ oci.database.models.ManagedSoftwareUpdatePreferenceDetails
oci.database.models.MigrateVaultKeyDetails
oci.database.models.ModifyDatabaseManagementDetails
oci.database.models.ModifyPluggableDatabaseManagementDetails
@@ -452,6 +471,7 @@ Database
oci.database.models.RegisterAutonomousDatabaseDataSafeDetails
oci.database.models.RegisterCloudAutonomousVmClusterPkcsDetails
oci.database.models.RegisterCloudVmClusterPkcsDetails
+ oci.database.models.RegisterExadbVmClusterPkcsDetails
oci.database.models.ReinstateDataGuardAssociationDetails
oci.database.models.ReinstateDataGuardDetails
oci.database.models.RemoteClonePluggableDatabaseDetails
@@ -466,6 +486,8 @@ Database
oci.database.models.ResourcePoolShapeCollection
oci.database.models.ResourcePoolShapeSummary
oci.database.models.ResourcePoolSummary
+ oci.database.models.RestartAutonomousContainerDatabaseDetails
+ oci.database.models.RestartAutonomousDatabaseDetails
oci.database.models.RestoreAutonomousDatabaseDetails
oci.database.models.RestoreDatabaseDetails
oci.database.models.RotateAutonomousContainerDatabaseEncryptionKeyDetails
@@ -493,6 +515,7 @@ Database
oci.database.models.SetKeyVersionDetails
oci.database.models.SourceDatabaseDetails
oci.database.models.StackMonitoringConfig
+ oci.database.models.StopAutonomousDatabaseDetails
oci.database.models.StoragePerformanceDetails
oci.database.models.SwitchOverDataGuardDetails
oci.database.models.SwitchoverDataGuardAssociationDetails
@@ -500,10 +523,12 @@ Database
oci.database.models.SystemVersionMinorVersionCollection
oci.database.models.SystemVersionMinorVersionSummary
oci.database.models.SystemVersionSummary
+ oci.database.models.TdeWalletBackupDestination
oci.database.models.UndeleteAutonomousDatabaseDetails
oci.database.models.UnmountDbnodeSnapshotDetails
oci.database.models.UnregisterCloudAutonomousVmClusterPkcsDetails
oci.database.models.UnregisterCloudVmClusterPkcsDetails
+ oci.database.models.UnregisterExadbVmClusterPkcsDetails
oci.database.models.Update
oci.database.models.UpdateAdvancedClusterFileSystemDetails
oci.database.models.UpdateAutonomousContainerDatabaseDataGuardAssociationDetails
@@ -516,6 +541,7 @@ Database
oci.database.models.UpdateAutonomousVmClusterDetails
oci.database.models.UpdateBackupDestinationDetails
oci.database.models.UpdateBackupDetails
+ oci.database.models.UpdateBaseccVmClusterDetails
oci.database.models.UpdateCloudAutonomousVmClusterDetails
oci.database.models.UpdateCloudExadataInfrastructureDetails
oci.database.models.UpdateCloudVmClusterDetails
@@ -556,6 +582,8 @@ Database
oci.database.models.UpgradeDatabaseDetails
oci.database.models.UpgradeDbSystemDetails
oci.database.models.VanityUrlDetails
+ oci.database.models.VersionSchemeDetails
+ oci.database.models.VersionSchemeFromVersionSeriesDetails
oci.database.models.VmCluster
oci.database.models.VmClusterNetwork
oci.database.models.VmClusterNetworkDetails
diff --git a/docs/api/database/models/oci.database.models.AutoFailoverConfiguration.rst b/docs/api/database/models/oci.database.models.AutoFailoverConfiguration.rst
new file mode 100644
index 0000000000..d13c04e9b1
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.AutoFailoverConfiguration.rst
@@ -0,0 +1,11 @@
+AutoFailoverConfiguration
+=========================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: AutoFailoverConfiguration
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.AutonomousDatabaseInBackupCollection.rst b/docs/api/database/models/oci.database.models.AutonomousDatabaseInBackupCollection.rst
new file mode 100644
index 0000000000..4db83129e4
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.AutonomousDatabaseInBackupCollection.rst
@@ -0,0 +1,11 @@
+AutonomousDatabaseInBackupCollection
+====================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: AutonomousDatabaseInBackupCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.AutonomousDatabaseInBackupSummary.rst b/docs/api/database/models/oci.database.models.AutonomousDatabaseInBackupSummary.rst
new file mode 100644
index 0000000000..51539ee81c
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.AutonomousDatabaseInBackupSummary.rst
@@ -0,0 +1,11 @@
+AutonomousDatabaseInBackupSummary
+=================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: AutonomousDatabaseInBackupSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.BaseccVmCluster.rst b/docs/api/database/models/oci.database.models.BaseccVmCluster.rst
new file mode 100644
index 0000000000..359955a9a5
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.BaseccVmCluster.rst
@@ -0,0 +1,11 @@
+BaseccVmCluster
+===============
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: BaseccVmCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opensearch/models/oci.opensearch.models.CustomerLoggingDetails.rst b/docs/api/database/models/oci.database.models.BaseccVmClusterSummary.rst
similarity index 57%
rename from docs/api/opensearch/models/oci.opensearch.models.CustomerLoggingDetails.rst
rename to docs/api/database/models/oci.database.models.BaseccVmClusterSummary.rst
index e485612910..024330fff9 100644
--- a/docs/api/opensearch/models/oci.opensearch.models.CustomerLoggingDetails.rst
+++ b/docs/api/database/models/oci.database.models.BaseccVmClusterSummary.rst
@@ -1,9 +1,9 @@
-CustomerLoggingDetails
+BaseccVmClusterSummary
======================
-.. currentmodule:: oci.opensearch.models
+.. currentmodule:: oci.database.models
-.. autoclass:: CustomerLoggingDetails
+.. autoclass:: BaseccVmClusterSummary
:show-inheritance:
:special-members: __init__
:members:
diff --git a/docs/api/database/models/oci.database.models.BaseccVmClusterUpdate.rst b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdate.rst
new file mode 100644
index 0000000000..dfd1081576
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdate.rst
@@ -0,0 +1,11 @@
+BaseccVmClusterUpdate
+=====================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: BaseccVmClusterUpdate
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateDetails.rst b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateDetails.rst
new file mode 100644
index 0000000000..ed885590f0
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateDetails.rst
@@ -0,0 +1,11 @@
+BaseccVmClusterUpdateDetails
+============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: BaseccVmClusterUpdateDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateHistoryEntry.rst b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateHistoryEntry.rst
new file mode 100644
index 0000000000..b2e06475ad
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateHistoryEntry.rst
@@ -0,0 +1,11 @@
+BaseccVmClusterUpdateHistoryEntry
+=================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: BaseccVmClusterUpdateHistoryEntry
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateHistoryEntrySummary.rst b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateHistoryEntrySummary.rst
new file mode 100644
index 0000000000..4ca47a5650
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateHistoryEntrySummary.rst
@@ -0,0 +1,11 @@
+BaseccVmClusterUpdateHistoryEntrySummary
+========================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: BaseccVmClusterUpdateHistoryEntrySummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateSummary.rst b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateSummary.rst
new file mode 100644
index 0000000000..8bacff5662
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.BaseccVmClusterUpdateSummary.rst
@@ -0,0 +1,11 @@
+BaseccVmClusterUpdateSummary
+============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: BaseccVmClusterUpdateSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ChangeBaseccVmClusterCompartmentDetails.rst b/docs/api/database/models/oci.database.models.ChangeBaseccVmClusterCompartmentDetails.rst
new file mode 100644
index 0000000000..fe03355f5d
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ChangeBaseccVmClusterCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeBaseccVmClusterCompartmentDetails
+=======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ChangeBaseccVmClusterCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.CreateAutonomousContainerDatabaseFromBackupTimestampDetails.rst b/docs/api/database/models/oci.database.models.CreateAutonomousContainerDatabaseFromBackupTimestampDetails.rst
new file mode 100644
index 0000000000..ba4369d1f5
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.CreateAutonomousContainerDatabaseFromBackupTimestampDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousContainerDatabaseFromBackupTimestampDetails
+===========================================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: CreateAutonomousContainerDatabaseFromBackupTimestampDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.CreateBaseccVmClusterDetails.rst b/docs/api/database/models/oci.database.models.CreateBaseccVmClusterDetails.rst
new file mode 100644
index 0000000000..e1fb0ec5b8
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.CreateBaseccVmClusterDetails.rst
@@ -0,0 +1,11 @@
+CreateBaseccVmClusterDetails
+============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: CreateBaseccVmClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ExadataLiveImageVersionDetails.rst b/docs/api/database/models/oci.database.models.ExadataLiveImageVersionDetails.rst
new file mode 100644
index 0000000000..3d4cd89841
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ExadataLiveImageVersionDetails.rst
@@ -0,0 +1,11 @@
+ExadataLiveImageVersionDetails
+==============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ExadataLiveImageVersionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateDayOfWeek.rst b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateDayOfWeek.rst
new file mode 100644
index 0000000000..e793cf407e
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateDayOfWeek.rst
@@ -0,0 +1,11 @@
+ManagedSoftwareUpdateDayOfWeek
+==============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ManagedSoftwareUpdateDayOfWeek
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateDetails.rst b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateDetails.rst
new file mode 100644
index 0000000000..51048e6994
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateDetails.rst
@@ -0,0 +1,11 @@
+ManagedSoftwareUpdateDetails
+============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ManagedSoftwareUpdateDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateInputDetails.rst b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateInputDetails.rst
new file mode 100644
index 0000000000..a1304001a1
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateInputDetails.rst
@@ -0,0 +1,11 @@
+ManagedSoftwareUpdateInputDetails
+=================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ManagedSoftwareUpdateInputDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateMaintenanceDetails.rst b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateMaintenanceDetails.rst
new file mode 100644
index 0000000000..184bac5406
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdateMaintenanceDetails.rst
@@ -0,0 +1,11 @@
+ManagedSoftwareUpdateMaintenanceDetails
+=======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ManagedSoftwareUpdateMaintenanceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.ManagedSoftwareUpdatePreferenceDetails.rst b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdatePreferenceDetails.rst
new file mode 100644
index 0000000000..c52f02b0e3
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.ManagedSoftwareUpdatePreferenceDetails.rst
@@ -0,0 +1,11 @@
+ManagedSoftwareUpdatePreferenceDetails
+======================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: ManagedSoftwareUpdatePreferenceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.RegisterExadbVmClusterPkcsDetails.rst b/docs/api/database/models/oci.database.models.RegisterExadbVmClusterPkcsDetails.rst
new file mode 100644
index 0000000000..904f82adb6
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.RegisterExadbVmClusterPkcsDetails.rst
@@ -0,0 +1,11 @@
+RegisterExadbVmClusterPkcsDetails
+=================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: RegisterExadbVmClusterPkcsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.RestartAutonomousContainerDatabaseDetails.rst b/docs/api/database/models/oci.database.models.RestartAutonomousContainerDatabaseDetails.rst
new file mode 100644
index 0000000000..6b592e0f27
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.RestartAutonomousContainerDatabaseDetails.rst
@@ -0,0 +1,11 @@
+RestartAutonomousContainerDatabaseDetails
+=========================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: RestartAutonomousContainerDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.RestartAutonomousDatabaseDetails.rst b/docs/api/database/models/oci.database.models.RestartAutonomousDatabaseDetails.rst
new file mode 100644
index 0000000000..0a3f9de819
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.RestartAutonomousDatabaseDetails.rst
@@ -0,0 +1,11 @@
+RestartAutonomousDatabaseDetails
+================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: RestartAutonomousDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.StopAutonomousDatabaseDetails.rst b/docs/api/database/models/oci.database.models.StopAutonomousDatabaseDetails.rst
new file mode 100644
index 0000000000..0fcdc005dd
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.StopAutonomousDatabaseDetails.rst
@@ -0,0 +1,11 @@
+StopAutonomousDatabaseDetails
+=============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: StopAutonomousDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.TdeWalletBackupDestination.rst b/docs/api/database/models/oci.database.models.TdeWalletBackupDestination.rst
new file mode 100644
index 0000000000..fa1b52c478
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.TdeWalletBackupDestination.rst
@@ -0,0 +1,11 @@
+TdeWalletBackupDestination
+==========================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: TdeWalletBackupDestination
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.UnregisterExadbVmClusterPkcsDetails.rst b/docs/api/database/models/oci.database.models.UnregisterExadbVmClusterPkcsDetails.rst
new file mode 100644
index 0000000000..71be02a9a7
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.UnregisterExadbVmClusterPkcsDetails.rst
@@ -0,0 +1,11 @@
+UnregisterExadbVmClusterPkcsDetails
+===================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: UnregisterExadbVmClusterPkcsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.UpdateBaseccVmClusterDetails.rst b/docs/api/database/models/oci.database.models.UpdateBaseccVmClusterDetails.rst
new file mode 100644
index 0000000000..5117bd54c4
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.UpdateBaseccVmClusterDetails.rst
@@ -0,0 +1,11 @@
+UpdateBaseccVmClusterDetails
+============================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: UpdateBaseccVmClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.VersionSchemeDetails.rst b/docs/api/database/models/oci.database.models.VersionSchemeDetails.rst
new file mode 100644
index 0000000000..c0a93c1221
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.VersionSchemeDetails.rst
@@ -0,0 +1,11 @@
+VersionSchemeDetails
+====================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: VersionSchemeDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/database/models/oci.database.models.VersionSchemeFromVersionSeriesDetails.rst b/docs/api/database/models/oci.database.models.VersionSchemeFromVersionSeriesDetails.rst
new file mode 100644
index 0000000000..9a1b7edc24
--- /dev/null
+++ b/docs/api/database/models/oci.database.models.VersionSchemeFromVersionSeriesDetails.rst
@@ -0,0 +1,11 @@
+VersionSchemeFromVersionSeriesDetails
+=====================================
+
+.. currentmodule:: oci.database.models
+
+.. autoclass:: VersionSchemeFromVersionSeriesDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc.rst b/docs/api/datacc.rst
new file mode 100644
index 0000000000..32af984679
--- /dev/null
+++ b/docs/api/datacc.rst
@@ -0,0 +1,71 @@
+Datacc
+======
+
+.. autosummary::
+ :toctree: datacc/client
+ :nosignatures:
+ :template: autosummary/service_client.rst
+
+ oci.datacc.BaseinfraClient
+ oci.datacc.BaseinfraClientCompositeOperations
+
+--------
+ Models
+--------
+
+.. autosummary::
+ :toctree: datacc/models
+ :nosignatures:
+ :template: autosummary/model_class.rst
+
+ oci.datacc.models.AcfsCapacityDetails
+ oci.datacc.models.ActivateInfrastructureDetails
+ oci.datacc.models.ChangeInfrastructureCompartmentDetails
+ oci.datacc.models.ChangeVmClusterNetworkCompartmentDetails
+ oci.datacc.models.ChangeVmInstanceCompartmentDetails
+ oci.datacc.models.ComputeCapacityDetails
+ oci.datacc.models.CreateInfrastructureDetails
+ oci.datacc.models.CreateVmClusterNetworkDetails
+ oci.datacc.models.CreateVmInstanceDetails
+ oci.datacc.models.DiskGroupCapacityDetails
+ oci.datacc.models.GenerateRecommendedVmClusterNetworkDetails
+ oci.datacc.models.InfoVmNetworkDetails
+ oci.datacc.models.Infrastructure
+ oci.datacc.models.InfrastructureCollection
+ oci.datacc.models.InfrastructureContact
+ oci.datacc.models.InfrastructureScaleOption
+ oci.datacc.models.InfrastructureServer
+ oci.datacc.models.InfrastructureSummary
+ oci.datacc.models.MaintenanceExecution
+ oci.datacc.models.MaintenanceExecutionCollection
+ oci.datacc.models.MaintenanceExecutionSummary
+ oci.datacc.models.MaintenanceRun
+ oci.datacc.models.MaintenanceRunCollection
+ oci.datacc.models.MaintenanceRunSummary
+ oci.datacc.models.MaintenanceWindow
+ oci.datacc.models.NodeDetails
+ oci.datacc.models.RescheduleMaintenanceRunDetails
+ oci.datacc.models.ScaleInfrastructureStorageDetails
+ oci.datacc.models.ScaleVmInstanceDetails
+ oci.datacc.models.ScanDetails
+ oci.datacc.models.StorageCapacityDetails
+ oci.datacc.models.SystemStorageCapacityDetails
+ oci.datacc.models.UpdateInfrastructureDetails
+ oci.datacc.models.UpdateMaintenanceRunDetails
+ oci.datacc.models.UpdateVmClusterNetworkDetails
+ oci.datacc.models.UpdateVmInstanceDetails
+ oci.datacc.models.ValidateInfrastructureDetails
+ oci.datacc.models.VmClusterNetwork
+ oci.datacc.models.VmClusterNetworkCollection
+ oci.datacc.models.VmClusterNetworkSummary
+ oci.datacc.models.VmInstance
+ oci.datacc.models.VmInstanceCollection
+ oci.datacc.models.VmInstanceSummary
+ oci.datacc.models.VmNetworkDetails
+ oci.datacc.models.WorkRequest
+ oci.datacc.models.WorkRequestCollection
+ oci.datacc.models.WorkRequestError
+ oci.datacc.models.WorkRequestErrorCollection
+ oci.datacc.models.WorkRequestLogEntry
+ oci.datacc.models.WorkRequestLogEntryCollection
+ oci.datacc.models.WorkRequestResource
diff --git a/docs/api/datacc/client/oci.datacc.BaseinfraClient.rst b/docs/api/datacc/client/oci.datacc.BaseinfraClient.rst
new file mode 100644
index 0000000000..12b0781211
--- /dev/null
+++ b/docs/api/datacc/client/oci.datacc.BaseinfraClient.rst
@@ -0,0 +1,8 @@
+BaseinfraClient
+===============
+
+.. currentmodule:: oci.datacc
+
+.. autoclass:: BaseinfraClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/datacc/client/oci.datacc.BaseinfraClientCompositeOperations.rst b/docs/api/datacc/client/oci.datacc.BaseinfraClientCompositeOperations.rst
new file mode 100644
index 0000000000..b1e964dddf
--- /dev/null
+++ b/docs/api/datacc/client/oci.datacc.BaseinfraClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+BaseinfraClientCompositeOperations
+==================================
+
+.. currentmodule:: oci.datacc
+
+.. autoclass:: BaseinfraClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.AcfsCapacityDetails.rst b/docs/api/datacc/models/oci.datacc.models.AcfsCapacityDetails.rst
new file mode 100644
index 0000000000..ccd8484cbe
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.AcfsCapacityDetails.rst
@@ -0,0 +1,11 @@
+AcfsCapacityDetails
+===================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: AcfsCapacityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.ActivateInfrastructureDetails.rst b/docs/api/datacc/models/oci.datacc.models.ActivateInfrastructureDetails.rst
new file mode 100644
index 0000000000..0996511e54
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.ActivateInfrastructureDetails.rst
@@ -0,0 +1,11 @@
+ActivateInfrastructureDetails
+=============================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: ActivateInfrastructureDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.ChangeInfrastructureCompartmentDetails.rst b/docs/api/datacc/models/oci.datacc.models.ChangeInfrastructureCompartmentDetails.rst
new file mode 100644
index 0000000000..ae571be87a
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.ChangeInfrastructureCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeInfrastructureCompartmentDetails
+======================================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: ChangeInfrastructureCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.ChangeVmClusterNetworkCompartmentDetails.rst b/docs/api/datacc/models/oci.datacc.models.ChangeVmClusterNetworkCompartmentDetails.rst
new file mode 100644
index 0000000000..16e9895173
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.ChangeVmClusterNetworkCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeVmClusterNetworkCompartmentDetails
+========================================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: ChangeVmClusterNetworkCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.ChangeVmInstanceCompartmentDetails.rst b/docs/api/datacc/models/oci.datacc.models.ChangeVmInstanceCompartmentDetails.rst
new file mode 100644
index 0000000000..fe50fbad61
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.ChangeVmInstanceCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeVmInstanceCompartmentDetails
+==================================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: ChangeVmInstanceCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.ComputeCapacityDetails.rst b/docs/api/datacc/models/oci.datacc.models.ComputeCapacityDetails.rst
new file mode 100644
index 0000000000..199ff2f93e
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.ComputeCapacityDetails.rst
@@ -0,0 +1,11 @@
+ComputeCapacityDetails
+======================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: ComputeCapacityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.CreateInfrastructureDetails.rst b/docs/api/datacc/models/oci.datacc.models.CreateInfrastructureDetails.rst
new file mode 100644
index 0000000000..88b8029948
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.CreateInfrastructureDetails.rst
@@ -0,0 +1,11 @@
+CreateInfrastructureDetails
+===========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: CreateInfrastructureDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.CreateVmClusterNetworkDetails.rst b/docs/api/datacc/models/oci.datacc.models.CreateVmClusterNetworkDetails.rst
new file mode 100644
index 0000000000..6feb6c1f64
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.CreateVmClusterNetworkDetails.rst
@@ -0,0 +1,11 @@
+CreateVmClusterNetworkDetails
+=============================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: CreateVmClusterNetworkDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.CreateVmInstanceDetails.rst b/docs/api/datacc/models/oci.datacc.models.CreateVmInstanceDetails.rst
new file mode 100644
index 0000000000..2dbf011fd2
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.CreateVmInstanceDetails.rst
@@ -0,0 +1,11 @@
+CreateVmInstanceDetails
+=======================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: CreateVmInstanceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.DiskGroupCapacityDetails.rst b/docs/api/datacc/models/oci.datacc.models.DiskGroupCapacityDetails.rst
new file mode 100644
index 0000000000..de5c6acd5b
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.DiskGroupCapacityDetails.rst
@@ -0,0 +1,11 @@
+DiskGroupCapacityDetails
+========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: DiskGroupCapacityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.GenerateRecommendedVmClusterNetworkDetails.rst b/docs/api/datacc/models/oci.datacc.models.GenerateRecommendedVmClusterNetworkDetails.rst
new file mode 100644
index 0000000000..43b881480d
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.GenerateRecommendedVmClusterNetworkDetails.rst
@@ -0,0 +1,11 @@
+GenerateRecommendedVmClusterNetworkDetails
+==========================================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: GenerateRecommendedVmClusterNetworkDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.InfoVmNetworkDetails.rst b/docs/api/datacc/models/oci.datacc.models.InfoVmNetworkDetails.rst
new file mode 100644
index 0000000000..89e5fd31b6
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.InfoVmNetworkDetails.rst
@@ -0,0 +1,11 @@
+InfoVmNetworkDetails
+====================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: InfoVmNetworkDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.Infrastructure.rst b/docs/api/datacc/models/oci.datacc.models.Infrastructure.rst
new file mode 100644
index 0000000000..1215fbf3e3
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.Infrastructure.rst
@@ -0,0 +1,11 @@
+Infrastructure
+==============
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: Infrastructure
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.InfrastructureCollection.rst b/docs/api/datacc/models/oci.datacc.models.InfrastructureCollection.rst
new file mode 100644
index 0000000000..20f0856146
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.InfrastructureCollection.rst
@@ -0,0 +1,11 @@
+InfrastructureCollection
+========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: InfrastructureCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.InfrastructureContact.rst b/docs/api/datacc/models/oci.datacc.models.InfrastructureContact.rst
new file mode 100644
index 0000000000..b9a2c77482
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.InfrastructureContact.rst
@@ -0,0 +1,11 @@
+InfrastructureContact
+=====================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: InfrastructureContact
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.InfrastructureScaleOption.rst b/docs/api/datacc/models/oci.datacc.models.InfrastructureScaleOption.rst
new file mode 100644
index 0000000000..3b49c1ebdf
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.InfrastructureScaleOption.rst
@@ -0,0 +1,11 @@
+InfrastructureScaleOption
+=========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: InfrastructureScaleOption
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.InfrastructureServer.rst b/docs/api/datacc/models/oci.datacc.models.InfrastructureServer.rst
new file mode 100644
index 0000000000..8426870217
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.InfrastructureServer.rst
@@ -0,0 +1,11 @@
+InfrastructureServer
+====================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: InfrastructureServer
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.InfrastructureSummary.rst b/docs/api/datacc/models/oci.datacc.models.InfrastructureSummary.rst
new file mode 100644
index 0000000000..8d9a737ee9
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.InfrastructureSummary.rst
@@ -0,0 +1,11 @@
+InfrastructureSummary
+=====================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: InfrastructureSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.MaintenanceExecution.rst b/docs/api/datacc/models/oci.datacc.models.MaintenanceExecution.rst
new file mode 100644
index 0000000000..8d710e739e
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.MaintenanceExecution.rst
@@ -0,0 +1,11 @@
+MaintenanceExecution
+====================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: MaintenanceExecution
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.MaintenanceExecutionCollection.rst b/docs/api/datacc/models/oci.datacc.models.MaintenanceExecutionCollection.rst
new file mode 100644
index 0000000000..e685ae454f
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.MaintenanceExecutionCollection.rst
@@ -0,0 +1,11 @@
+MaintenanceExecutionCollection
+==============================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: MaintenanceExecutionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.MaintenanceExecutionSummary.rst b/docs/api/datacc/models/oci.datacc.models.MaintenanceExecutionSummary.rst
new file mode 100644
index 0000000000..f23ee79e3f
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.MaintenanceExecutionSummary.rst
@@ -0,0 +1,11 @@
+MaintenanceExecutionSummary
+===========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: MaintenanceExecutionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.MaintenanceRun.rst b/docs/api/datacc/models/oci.datacc.models.MaintenanceRun.rst
new file mode 100644
index 0000000000..730500d1a5
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.MaintenanceRun.rst
@@ -0,0 +1,11 @@
+MaintenanceRun
+==============
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: MaintenanceRun
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.MaintenanceRunCollection.rst b/docs/api/datacc/models/oci.datacc.models.MaintenanceRunCollection.rst
new file mode 100644
index 0000000000..9ab676f020
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.MaintenanceRunCollection.rst
@@ -0,0 +1,11 @@
+MaintenanceRunCollection
+========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: MaintenanceRunCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.MaintenanceRunSummary.rst b/docs/api/datacc/models/oci.datacc.models.MaintenanceRunSummary.rst
new file mode 100644
index 0000000000..c14d431812
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.MaintenanceRunSummary.rst
@@ -0,0 +1,11 @@
+MaintenanceRunSummary
+=====================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: MaintenanceRunSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.MaintenanceWindow.rst b/docs/api/datacc/models/oci.datacc.models.MaintenanceWindow.rst
new file mode 100644
index 0000000000..07208e7eb6
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.MaintenanceWindow.rst
@@ -0,0 +1,11 @@
+MaintenanceWindow
+=================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: MaintenanceWindow
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.NodeDetails.rst b/docs/api/datacc/models/oci.datacc.models.NodeDetails.rst
new file mode 100644
index 0000000000..e4d53f1605
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.NodeDetails.rst
@@ -0,0 +1,11 @@
+NodeDetails
+===========
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: NodeDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.RescheduleMaintenanceRunDetails.rst b/docs/api/datacc/models/oci.datacc.models.RescheduleMaintenanceRunDetails.rst
new file mode 100644
index 0000000000..503e56df68
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.RescheduleMaintenanceRunDetails.rst
@@ -0,0 +1,11 @@
+RescheduleMaintenanceRunDetails
+===============================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: RescheduleMaintenanceRunDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.ScaleInfrastructureStorageDetails.rst b/docs/api/datacc/models/oci.datacc.models.ScaleInfrastructureStorageDetails.rst
new file mode 100644
index 0000000000..35f9d53874
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.ScaleInfrastructureStorageDetails.rst
@@ -0,0 +1,11 @@
+ScaleInfrastructureStorageDetails
+=================================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: ScaleInfrastructureStorageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.ScaleVmInstanceDetails.rst b/docs/api/datacc/models/oci.datacc.models.ScaleVmInstanceDetails.rst
new file mode 100644
index 0000000000..a14cd45295
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.ScaleVmInstanceDetails.rst
@@ -0,0 +1,11 @@
+ScaleVmInstanceDetails
+======================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: ScaleVmInstanceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.ScanDetails.rst b/docs/api/datacc/models/oci.datacc.models.ScanDetails.rst
new file mode 100644
index 0000000000..2a22b566bf
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.ScanDetails.rst
@@ -0,0 +1,11 @@
+ScanDetails
+===========
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: ScanDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.StorageCapacityDetails.rst b/docs/api/datacc/models/oci.datacc.models.StorageCapacityDetails.rst
new file mode 100644
index 0000000000..de5195a66a
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.StorageCapacityDetails.rst
@@ -0,0 +1,11 @@
+StorageCapacityDetails
+======================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: StorageCapacityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.SystemStorageCapacityDetails.rst b/docs/api/datacc/models/oci.datacc.models.SystemStorageCapacityDetails.rst
new file mode 100644
index 0000000000..3ec0f23dea
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.SystemStorageCapacityDetails.rst
@@ -0,0 +1,11 @@
+SystemStorageCapacityDetails
+============================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: SystemStorageCapacityDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.UpdateInfrastructureDetails.rst b/docs/api/datacc/models/oci.datacc.models.UpdateInfrastructureDetails.rst
new file mode 100644
index 0000000000..bebc0521aa
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.UpdateInfrastructureDetails.rst
@@ -0,0 +1,11 @@
+UpdateInfrastructureDetails
+===========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: UpdateInfrastructureDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.UpdateMaintenanceRunDetails.rst b/docs/api/datacc/models/oci.datacc.models.UpdateMaintenanceRunDetails.rst
new file mode 100644
index 0000000000..6c9538a64a
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.UpdateMaintenanceRunDetails.rst
@@ -0,0 +1,11 @@
+UpdateMaintenanceRunDetails
+===========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: UpdateMaintenanceRunDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.UpdateVmClusterNetworkDetails.rst b/docs/api/datacc/models/oci.datacc.models.UpdateVmClusterNetworkDetails.rst
new file mode 100644
index 0000000000..b9a8aceec7
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.UpdateVmClusterNetworkDetails.rst
@@ -0,0 +1,11 @@
+UpdateVmClusterNetworkDetails
+=============================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: UpdateVmClusterNetworkDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.UpdateVmInstanceDetails.rst b/docs/api/datacc/models/oci.datacc.models.UpdateVmInstanceDetails.rst
new file mode 100644
index 0000000000..78a829fc58
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.UpdateVmInstanceDetails.rst
@@ -0,0 +1,11 @@
+UpdateVmInstanceDetails
+=======================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: UpdateVmInstanceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.ValidateInfrastructureDetails.rst b/docs/api/datacc/models/oci.datacc.models.ValidateInfrastructureDetails.rst
new file mode 100644
index 0000000000..c952134cbc
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.ValidateInfrastructureDetails.rst
@@ -0,0 +1,11 @@
+ValidateInfrastructureDetails
+=============================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: ValidateInfrastructureDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.VmClusterNetwork.rst b/docs/api/datacc/models/oci.datacc.models.VmClusterNetwork.rst
new file mode 100644
index 0000000000..04dc1d09cc
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.VmClusterNetwork.rst
@@ -0,0 +1,11 @@
+VmClusterNetwork
+================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: VmClusterNetwork
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.VmClusterNetworkCollection.rst b/docs/api/datacc/models/oci.datacc.models.VmClusterNetworkCollection.rst
new file mode 100644
index 0000000000..f334217aa6
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.VmClusterNetworkCollection.rst
@@ -0,0 +1,11 @@
+VmClusterNetworkCollection
+==========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: VmClusterNetworkCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.VmClusterNetworkSummary.rst b/docs/api/datacc/models/oci.datacc.models.VmClusterNetworkSummary.rst
new file mode 100644
index 0000000000..8c37a1fdf9
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.VmClusterNetworkSummary.rst
@@ -0,0 +1,11 @@
+VmClusterNetworkSummary
+=======================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: VmClusterNetworkSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.VmInstance.rst b/docs/api/datacc/models/oci.datacc.models.VmInstance.rst
new file mode 100644
index 0000000000..47fdfcb58f
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.VmInstance.rst
@@ -0,0 +1,11 @@
+VmInstance
+==========
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: VmInstance
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.VmInstanceCollection.rst b/docs/api/datacc/models/oci.datacc.models.VmInstanceCollection.rst
new file mode 100644
index 0000000000..738bc22ef2
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.VmInstanceCollection.rst
@@ -0,0 +1,11 @@
+VmInstanceCollection
+====================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: VmInstanceCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.VmInstanceSummary.rst b/docs/api/datacc/models/oci.datacc.models.VmInstanceSummary.rst
new file mode 100644
index 0000000000..ea23d7ec61
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.VmInstanceSummary.rst
@@ -0,0 +1,11 @@
+VmInstanceSummary
+=================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: VmInstanceSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.VmNetworkDetails.rst b/docs/api/datacc/models/oci.datacc.models.VmNetworkDetails.rst
new file mode 100644
index 0000000000..8f7d4cf6a6
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.VmNetworkDetails.rst
@@ -0,0 +1,11 @@
+VmNetworkDetails
+================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: VmNetworkDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.WorkRequest.rst b/docs/api/datacc/models/oci.datacc.models.WorkRequest.rst
new file mode 100644
index 0000000000..480c7901d6
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.WorkRequest.rst
@@ -0,0 +1,11 @@
+WorkRequest
+===========
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: WorkRequest
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.WorkRequestCollection.rst b/docs/api/datacc/models/oci.datacc.models.WorkRequestCollection.rst
new file mode 100644
index 0000000000..9160cf4251
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.WorkRequestCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestCollection
+=====================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: WorkRequestCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.WorkRequestError.rst b/docs/api/datacc/models/oci.datacc.models.WorkRequestError.rst
new file mode 100644
index 0000000000..fb0209ce50
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.WorkRequestError.rst
@@ -0,0 +1,11 @@
+WorkRequestError
+================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: WorkRequestError
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.WorkRequestErrorCollection.rst b/docs/api/datacc/models/oci.datacc.models.WorkRequestErrorCollection.rst
new file mode 100644
index 0000000000..3ad5cbcd21
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.WorkRequestErrorCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestErrorCollection
+==========================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: WorkRequestErrorCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.WorkRequestLogEntry.rst b/docs/api/datacc/models/oci.datacc.models.WorkRequestLogEntry.rst
new file mode 100644
index 0000000000..0991bb93e4
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.WorkRequestLogEntry.rst
@@ -0,0 +1,11 @@
+WorkRequestLogEntry
+===================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: WorkRequestLogEntry
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.WorkRequestLogEntryCollection.rst b/docs/api/datacc/models/oci.datacc.models.WorkRequestLogEntryCollection.rst
new file mode 100644
index 0000000000..6574bbf9e9
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.WorkRequestLogEntryCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestLogEntryCollection
+=============================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: WorkRequestLogEntryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/datacc/models/oci.datacc.models.WorkRequestResource.rst b/docs/api/datacc/models/oci.datacc.models.WorkRequestResource.rst
new file mode 100644
index 0000000000..8d1584a586
--- /dev/null
+++ b/docs/api/datacc/models/oci.datacc.models.WorkRequestResource.rst
@@ -0,0 +1,11 @@
+WorkRequestResource
+===================
+
+.. currentmodule:: oci.datacc.models
+
+.. autoclass:: WorkRequestResource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs.rst b/docs/api/ddfs.rst
new file mode 100644
index 0000000000..e19a9f4f36
--- /dev/null
+++ b/docs/api/ddfs.rst
@@ -0,0 +1,34 @@
+Ddfs
+====
+
+.. autosummary::
+ :toctree: ddfs/client
+ :nosignatures:
+ :template: autosummary/service_client.rst
+
+ oci.ddfs.InstanceClient
+ oci.ddfs.InstanceClientCompositeOperations
+
+--------
+ Models
+--------
+
+.. autosummary::
+ :toctree: ddfs/models
+ :nosignatures:
+ :template: autosummary/model_class.rst
+
+ oci.ddfs.models.ChangeInstanceCompartmentDetails
+ oci.ddfs.models.CreateInstanceDetails
+ oci.ddfs.models.Instance
+ oci.ddfs.models.InstanceCollection
+ oci.ddfs.models.InstanceSummary
+ oci.ddfs.models.UpdateInstanceDetails
+ oci.ddfs.models.WorkRequest
+ oci.ddfs.models.WorkRequestError
+ oci.ddfs.models.WorkRequestErrorCollection
+ oci.ddfs.models.WorkRequestLogEntry
+ oci.ddfs.models.WorkRequestLogEntryCollection
+ oci.ddfs.models.WorkRequestResource
+ oci.ddfs.models.WorkRequestSummary
+ oci.ddfs.models.WorkRequestSummaryCollection
diff --git a/docs/api/ddfs/client/oci.ddfs.InstanceClient.rst b/docs/api/ddfs/client/oci.ddfs.InstanceClient.rst
new file mode 100644
index 0000000000..7aa09a3a34
--- /dev/null
+++ b/docs/api/ddfs/client/oci.ddfs.InstanceClient.rst
@@ -0,0 +1,8 @@
+InstanceClient
+==============
+
+.. currentmodule:: oci.ddfs
+
+.. autoclass:: InstanceClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/ddfs/client/oci.ddfs.InstanceClientCompositeOperations.rst b/docs/api/ddfs/client/oci.ddfs.InstanceClientCompositeOperations.rst
new file mode 100644
index 0000000000..cd72b0d8d3
--- /dev/null
+++ b/docs/api/ddfs/client/oci.ddfs.InstanceClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+InstanceClientCompositeOperations
+=================================
+
+.. currentmodule:: oci.ddfs
+
+.. autoclass:: InstanceClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.ChangeInstanceCompartmentDetails.rst b/docs/api/ddfs/models/oci.ddfs.models.ChangeInstanceCompartmentDetails.rst
new file mode 100644
index 0000000000..330a8b66a3
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.ChangeInstanceCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeInstanceCompartmentDetails
+================================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: ChangeInstanceCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.CreateInstanceDetails.rst b/docs/api/ddfs/models/oci.ddfs.models.CreateInstanceDetails.rst
new file mode 100644
index 0000000000..ad4ae0234a
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.CreateInstanceDetails.rst
@@ -0,0 +1,11 @@
+CreateInstanceDetails
+=====================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: CreateInstanceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.Instance.rst b/docs/api/ddfs/models/oci.ddfs.models.Instance.rst
new file mode 100644
index 0000000000..373d2b1163
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.Instance.rst
@@ -0,0 +1,11 @@
+Instance
+========
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: Instance
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.InstanceCollection.rst b/docs/api/ddfs/models/oci.ddfs.models.InstanceCollection.rst
new file mode 100644
index 0000000000..773e003391
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.InstanceCollection.rst
@@ -0,0 +1,11 @@
+InstanceCollection
+==================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: InstanceCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.InstanceSummary.rst b/docs/api/ddfs/models/oci.ddfs.models.InstanceSummary.rst
new file mode 100644
index 0000000000..2ad75d82b4
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.InstanceSummary.rst
@@ -0,0 +1,11 @@
+InstanceSummary
+===============
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: InstanceSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.UpdateInstanceDetails.rst b/docs/api/ddfs/models/oci.ddfs.models.UpdateInstanceDetails.rst
new file mode 100644
index 0000000000..2222729eb1
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.UpdateInstanceDetails.rst
@@ -0,0 +1,11 @@
+UpdateInstanceDetails
+=====================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: UpdateInstanceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.WorkRequest.rst b/docs/api/ddfs/models/oci.ddfs.models.WorkRequest.rst
new file mode 100644
index 0000000000..936af4b551
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.WorkRequest.rst
@@ -0,0 +1,11 @@
+WorkRequest
+===========
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: WorkRequest
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.WorkRequestError.rst b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestError.rst
new file mode 100644
index 0000000000..57dcbe8f51
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestError.rst
@@ -0,0 +1,11 @@
+WorkRequestError
+================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: WorkRequestError
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.WorkRequestErrorCollection.rst b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestErrorCollection.rst
new file mode 100644
index 0000000000..164952765b
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestErrorCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestErrorCollection
+==========================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: WorkRequestErrorCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.WorkRequestLogEntry.rst b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestLogEntry.rst
new file mode 100644
index 0000000000..9c973e3c6e
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestLogEntry.rst
@@ -0,0 +1,11 @@
+WorkRequestLogEntry
+===================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: WorkRequestLogEntry
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.WorkRequestLogEntryCollection.rst b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestLogEntryCollection.rst
new file mode 100644
index 0000000000..0476c67ccb
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestLogEntryCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestLogEntryCollection
+=============================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: WorkRequestLogEntryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.WorkRequestResource.rst b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestResource.rst
new file mode 100644
index 0000000000..671b6eb421
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestResource.rst
@@ -0,0 +1,11 @@
+WorkRequestResource
+===================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: WorkRequestResource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.WorkRequestSummary.rst b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestSummary.rst
new file mode 100644
index 0000000000..f6b8f4953a
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestSummary.rst
@@ -0,0 +1,11 @@
+WorkRequestSummary
+==================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: WorkRequestSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/ddfs/models/oci.ddfs.models.WorkRequestSummaryCollection.rst b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestSummaryCollection.rst
new file mode 100644
index 0000000000..65497d6541
--- /dev/null
+++ b/docs/api/ddfs/models/oci.ddfs.models.WorkRequestSummaryCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestSummaryCollection
+============================
+
+.. currentmodule:: oci.ddfs.models
+
+.. autoclass:: WorkRequestSummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/desktops.rst b/docs/api/desktops.rst
index 68f34661fc..61257758ca 100644
--- a/docs/api/desktops.rst
+++ b/docs/api/desktops.rst
@@ -48,8 +48,10 @@ Desktops
oci.desktops.models.InactivityConfig
oci.desktops.models.UpdateDesktopDetails
oci.desktops.models.UpdateDesktopImage
+ oci.desktops.models.UpdateDesktopNetworkConfiguration
oci.desktops.models.UpdateDesktopPoolDesktopSessionLifecycleActions
oci.desktops.models.UpdateDesktopPoolDetails
+ oci.desktops.models.UpdateDesktopPoolPrivateAccessDetails
oci.desktops.models.WorkRequest
oci.desktops.models.WorkRequestError
oci.desktops.models.WorkRequestErrorCollection
diff --git a/docs/api/desktops/models/oci.desktops.models.UpdateDesktopNetworkConfiguration.rst b/docs/api/desktops/models/oci.desktops.models.UpdateDesktopNetworkConfiguration.rst
new file mode 100644
index 0000000000..cae4da1759
--- /dev/null
+++ b/docs/api/desktops/models/oci.desktops.models.UpdateDesktopNetworkConfiguration.rst
@@ -0,0 +1,11 @@
+UpdateDesktopNetworkConfiguration
+=================================
+
+.. currentmodule:: oci.desktops.models
+
+.. autoclass:: UpdateDesktopNetworkConfiguration
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/desktops/models/oci.desktops.models.UpdateDesktopPoolPrivateAccessDetails.rst b/docs/api/desktops/models/oci.desktops.models.UpdateDesktopPoolPrivateAccessDetails.rst
new file mode 100644
index 0000000000..2cfa504f6f
--- /dev/null
+++ b/docs/api/desktops/models/oci.desktops.models.UpdateDesktopPoolPrivateAccessDetails.rst
@@ -0,0 +1,11 @@
+UpdateDesktopPoolPrivateAccessDetails
+=====================================
+
+.. currentmodule:: oci.desktops.models
+
+.. autoclass:: UpdateDesktopPoolPrivateAccessDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26.rst b/docs/api/distributed_database_v26.rst
new file mode 100644
index 0000000000..d68343bf23
--- /dev/null
+++ b/docs/api/distributed_database_v26.rst
@@ -0,0 +1,184 @@
+Distributed Database V26
+========================
+
+.. autosummary::
+ :toctree: distributed_database_v26/client
+ :nosignatures:
+ :template: autosummary/service_client.rst
+
+ oci.distributed_database_v26.DistributedAutonomousDbServiceClient
+ oci.distributed_database_v26.DistributedDbPrivateEndpointServiceClient
+ oci.distributed_database_v26.DistributedDbServiceClient
+ oci.distributed_database_v26.DistributedDbWorkRequestServiceClient
+ oci.distributed_database_v26.DistributedAutonomousDbServiceClientCompositeOperations
+ oci.distributed_database_v26.DistributedDbPrivateEndpointServiceClientCompositeOperations
+ oci.distributed_database_v26.DistributedDbServiceClientCompositeOperations
+ oci.distributed_database_v26.DistributedDbWorkRequestServiceClientCompositeOperations
+
+--------
+ Models
+--------
+
+.. autosummary::
+ :toctree: distributed_database_v26/models
+ :nosignatures:
+ :template: autosummary/model_class.rst
+
+ oci.distributed_database_v26.models.AddDistributedAutonomousDatabaseGdsControlNodeDetails
+ oci.distributed_database_v26.models.AddDistributedDatabaseGdsControlNodeDetails
+ oci.distributed_database_v26.models.AutoResourceManagementConfigurationDetails
+ oci.distributed_database_v26.models.AutonomousCompositeDataGuardShardSpace
+ oci.distributed_database_v26.models.AutonomousCompositeDataGuardShardSpaceReplica
+ oci.distributed_database_v26.models.AutonomousCompositeRaftShardSpace
+ oci.distributed_database_v26.models.AutonomousCompositeShardSpaceRaftCluster
+ oci.distributed_database_v26.models.AutonomousSystemDataGuardDatabase
+ oci.distributed_database_v26.models.AutonomousSystemDataGuardReplica
+ oci.distributed_database_v26.models.AutonomousSystemRaftCluster
+ oci.distributed_database_v26.models.AutonomousUserShardSpace
+ oci.distributed_database_v26.models.AutonomousUserShardSpaceReplica
+ oci.distributed_database_v26.models.ChangeDistributedAutonomousDatabaseCompartmentDetails
+ oci.distributed_database_v26.models.ChangeDistributedAutonomousDbBackupConfigDetails
+ oci.distributed_database_v26.models.ChangeDistributedDatabaseCompartmentDetails
+ oci.distributed_database_v26.models.ChangeDistributedDatabasePrivateEndpointCompartmentDetails
+ oci.distributed_database_v26.models.ChangeDistributedDbBackupConfigDetails
+ oci.distributed_database_v26.models.CompositeDataGuardShardSpace
+ oci.distributed_database_v26.models.CompositeDataGuardShardSpaceReplica
+ oci.distributed_database_v26.models.CompositeRaftShardSpace
+ oci.distributed_database_v26.models.CompositeShardSpaceRaftCluster
+ oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails
+ oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseGsmWalletDetails
+ oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseGsmsDetails
+ oci.distributed_database_v26.models.ConfigureDistributedDatabaseAutoResourceManagementDetails
+ oci.distributed_database_v26.models.ConfigureDistributedDatabaseGsmsDetails
+ oci.distributed_database_v26.models.CreateAutonomousCatalogDatabaseDetails
+ oci.distributed_database_v26.models.CreateAutonomousCatalogDetails
+ oci.distributed_database_v26.models.CreateAutonomousCatalogReplicaDetails
+ oci.distributed_database_v26.models.CreateAutonomousCompositeDataGuardShardSpaceDetails
+ oci.distributed_database_v26.models.CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails
+ oci.distributed_database_v26.models.CreateAutonomousCompositeRaftShardSpaceDetails
+ oci.distributed_database_v26.models.CreateAutonomousCompositeShardSpaceRaftClusterDetails
+ oci.distributed_database_v26.models.CreateAutonomousSystemDataGuardDatabaseDetails
+ oci.distributed_database_v26.models.CreateAutonomousSystemDataGuardReplicaDetails
+ oci.distributed_database_v26.models.CreateAutonomousSystemRaftClusterDetails
+ oci.distributed_database_v26.models.CreateAutonomousUserShardSpaceDetails
+ oci.distributed_database_v26.models.CreateAutonomousUserShardSpaceReplicaDetails
+ oci.distributed_database_v26.models.CreateCompositeDataGuardShardSpaceDetails
+ oci.distributed_database_v26.models.CreateCompositeDataGuardShardSpaceReplicaDetails
+ oci.distributed_database_v26.models.CreateCompositeRaftShardSpaceDetails
+ oci.distributed_database_v26.models.CreateCompositeShardSpaceRaftClusterDetails
+ oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails
+ oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseDetails
+ oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseShardDatabaseDetails
+ oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogReplicaDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabasePrivateEndpointDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithDbHomeDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithExadbXdDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithExadbXsDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseShardWithExadbXsNewClusterDetails
+ oci.distributed_database_v26.models.CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails
+ oci.distributed_database_v26.models.CreateSystemDataGuardDatabaseDetails
+ oci.distributed_database_v26.models.CreateSystemDataGuardReplicaDetails
+ oci.distributed_database_v26.models.CreateSystemRaftClusterDetails
+ oci.distributed_database_v26.models.CreateUserShardSpaceDetails
+ oci.distributed_database_v26.models.CreateUserShardSpaceReplicaDetails
+ oci.distributed_database_v26.models.DbStorageVaultDetails
+ oci.distributed_database_v26.models.DistributedAutonomousDatabase
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseAutoResourceManagementDetails
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalog
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogDatabase
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogReplica
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogWithDedicatedInfra
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseCollection
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseConnectionString
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseGdsControlNode
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseGdsControlNodeImage
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseGsm
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseGsmImage
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseRaftMetric
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseRuChangeLog
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseRuChangeLogSummary
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardDatabase
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardWithDedicatedInfra
+ oci.distributed_database_v26.models.DistributedAutonomousDatabaseSummary
+ oci.distributed_database_v26.models.DistributedAutonomousDbBackupConfig
+ oci.distributed_database_v26.models.DistributedAutonomousDbBackupDestination
+ oci.distributed_database_v26.models.DistributedAutonomousDbMetadata
+ oci.distributed_database_v26.models.DistributedDatabase
+ oci.distributed_database_v26.models.DistributedDatabaseAutoResourceManagementDetails
+ oci.distributed_database_v26.models.DistributedDatabaseCatalog
+ oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabase
+ oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithDbHome
+ oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXd
+ oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXs
+ oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster
+ oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster
+ oci.distributed_database_v26.models.DistributedDatabaseCatalogReplicaDetails
+ oci.distributed_database_v26.models.DistributedDatabaseCollection
+ oci.distributed_database_v26.models.DistributedDatabaseGdsControlNode
+ oci.distributed_database_v26.models.DistributedDatabaseGsm
+ oci.distributed_database_v26.models.DistributedDatabasePrivateEndpoint
+ oci.distributed_database_v26.models.DistributedDatabasePrivateEndpointCollection
+ oci.distributed_database_v26.models.DistributedDatabasePrivateEndpointSummary
+ oci.distributed_database_v26.models.DistributedDatabaseRaftMetric
+ oci.distributed_database_v26.models.DistributedDatabaseRuChangeLog
+ oci.distributed_database_v26.models.DistributedDatabaseRuChangeLogSummary
+ oci.distributed_database_v26.models.DistributedDatabaseShardDatabase
+ oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithDbHome
+ oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXd
+ oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXs
+ oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXsNewCluster
+ oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster
+ oci.distributed_database_v26.models.DistributedDatabaseSummary
+ oci.distributed_database_v26.models.DistributedDbBackupConfig
+ oci.distributed_database_v26.models.DistributedDbBackupDestination
+ oci.distributed_database_v26.models.DistributedDbConnectionString
+ oci.distributed_database_v26.models.DistributedDbGdsControlNodeImage
+ oci.distributed_database_v26.models.DistributedDbGsmImage
+ oci.distributed_database_v26.models.DistributedDbMetadata
+ oci.distributed_database_v26.models.DistributedDbStorageVault
+ oci.distributed_database_v26.models.DistributedDbVmCluster
+ oci.distributed_database_v26.models.GenerateDistributedAutonomousDatabaseWalletDetails
+ oci.distributed_database_v26.models.GenerateDistributedDatabaseWalletDetails
+ oci.distributed_database_v26.models.MoveDistributedAutonomousDatabaseReplicationUnitDetails
+ oci.distributed_database_v26.models.MoveDistributedDatabaseReplicationUnitDetails
+ oci.distributed_database_v26.models.PatchDistributedAutonomousDatabaseDetails
+ oci.distributed_database_v26.models.PatchDistributedDatabaseDetails
+ oci.distributed_database_v26.models.PatchDistributedDatabasePrivateEndpointDetails
+ oci.distributed_database_v26.models.PatchInsertInstruction
+ oci.distributed_database_v26.models.PatchInstruction
+ oci.distributed_database_v26.models.PatchMergeInstruction
+ oci.distributed_database_v26.models.PatchRemoveInstruction
+ oci.distributed_database_v26.models.RotateDistributedAutonomousDatabaseDetails
+ oci.distributed_database_v26.models.RotateDistributedAutonomousDatabasePasswordsDetails
+ oci.distributed_database_v26.models.RotateDistributedDatabaseDetails
+ oci.distributed_database_v26.models.RotateDistributedDatabasePasswordsDetails
+ oci.distributed_database_v26.models.ScaleDistributedAutonomousDatabaseGsmsDetails
+ oci.distributed_database_v26.models.ScaleDistributedDatabaseGsmsDetails
+ oci.distributed_database_v26.models.SystemDataGuardDatabase
+ oci.distributed_database_v26.models.SystemDataGuardReplica
+ oci.distributed_database_v26.models.SystemRaftCluster
+ oci.distributed_database_v26.models.UpdateDistributedAutonomousDatabaseDetails
+ oci.distributed_database_v26.models.UpdateDistributedDatabaseDetails
+ oci.distributed_database_v26.models.UpdateDistributedDatabasePrivateEndpointDetails
+ oci.distributed_database_v26.models.UserShardSpace
+ oci.distributed_database_v26.models.UserShardSpaceReplica
+ oci.distributed_database_v26.models.VcnNsgIdsDetails
+ oci.distributed_database_v26.models.VmClusterDetails
+ oci.distributed_database_v26.models.WorkRequest
+ oci.distributed_database_v26.models.WorkRequestError
+ oci.distributed_database_v26.models.WorkRequestErrorCollection
+ oci.distributed_database_v26.models.WorkRequestLogEntry
+ oci.distributed_database_v26.models.WorkRequestLogEntryCollection
+ oci.distributed_database_v26.models.WorkRequestResource
+ oci.distributed_database_v26.models.WorkRequestSummary
+ oci.distributed_database_v26.models.WorkRequestSummaryCollection
diff --git a/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedAutonomousDbServiceClient.rst b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedAutonomousDbServiceClient.rst
new file mode 100644
index 0000000000..7c1feb4059
--- /dev/null
+++ b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedAutonomousDbServiceClient.rst
@@ -0,0 +1,8 @@
+DistributedAutonomousDbServiceClient
+====================================
+
+.. currentmodule:: oci.distributed_database_v26
+
+.. autoclass:: DistributedAutonomousDbServiceClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedAutonomousDbServiceClientCompositeOperations.rst b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedAutonomousDbServiceClientCompositeOperations.rst
new file mode 100644
index 0000000000..a7e24d032a
--- /dev/null
+++ b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedAutonomousDbServiceClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+DistributedAutonomousDbServiceClientCompositeOperations
+=======================================================
+
+.. currentmodule:: oci.distributed_database_v26
+
+.. autoclass:: DistributedAutonomousDbServiceClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbPrivateEndpointServiceClient.rst b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbPrivateEndpointServiceClient.rst
new file mode 100644
index 0000000000..6bd235b778
--- /dev/null
+++ b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbPrivateEndpointServiceClient.rst
@@ -0,0 +1,8 @@
+DistributedDbPrivateEndpointServiceClient
+=========================================
+
+.. currentmodule:: oci.distributed_database_v26
+
+.. autoclass:: DistributedDbPrivateEndpointServiceClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbPrivateEndpointServiceClientCompositeOperations.rst b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbPrivateEndpointServiceClientCompositeOperations.rst
new file mode 100644
index 0000000000..3383be9843
--- /dev/null
+++ b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbPrivateEndpointServiceClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+DistributedDbPrivateEndpointServiceClientCompositeOperations
+============================================================
+
+.. currentmodule:: oci.distributed_database_v26
+
+.. autoclass:: DistributedDbPrivateEndpointServiceClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbServiceClient.rst b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbServiceClient.rst
new file mode 100644
index 0000000000..82cb1144a1
--- /dev/null
+++ b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbServiceClient.rst
@@ -0,0 +1,8 @@
+DistributedDbServiceClient
+==========================
+
+.. currentmodule:: oci.distributed_database_v26
+
+.. autoclass:: DistributedDbServiceClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbServiceClientCompositeOperations.rst b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbServiceClientCompositeOperations.rst
new file mode 100644
index 0000000000..1bb18506cc
--- /dev/null
+++ b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbServiceClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+DistributedDbServiceClientCompositeOperations
+=============================================
+
+.. currentmodule:: oci.distributed_database_v26
+
+.. autoclass:: DistributedDbServiceClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbWorkRequestServiceClient.rst b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbWorkRequestServiceClient.rst
new file mode 100644
index 0000000000..59d7bf3bb7
--- /dev/null
+++ b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbWorkRequestServiceClient.rst
@@ -0,0 +1,8 @@
+DistributedDbWorkRequestServiceClient
+=====================================
+
+.. currentmodule:: oci.distributed_database_v26
+
+.. autoclass:: DistributedDbWorkRequestServiceClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbWorkRequestServiceClientCompositeOperations.rst b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbWorkRequestServiceClientCompositeOperations.rst
new file mode 100644
index 0000000000..0632867225
--- /dev/null
+++ b/docs/api/distributed_database_v26/client/oci.distributed_database_v26.DistributedDbWorkRequestServiceClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+DistributedDbWorkRequestServiceClientCompositeOperations
+========================================================
+
+.. currentmodule:: oci.distributed_database_v26
+
+.. autoclass:: DistributedDbWorkRequestServiceClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AddDistributedAutonomousDatabaseGdsControlNodeDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AddDistributedAutonomousDatabaseGdsControlNodeDetails.rst
new file mode 100644
index 0000000000..ed2d434beb
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AddDistributedAutonomousDatabaseGdsControlNodeDetails.rst
@@ -0,0 +1,11 @@
+AddDistributedAutonomousDatabaseGdsControlNodeDetails
+=====================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AddDistributedAutonomousDatabaseGdsControlNodeDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AddDistributedDatabaseGdsControlNodeDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AddDistributedDatabaseGdsControlNodeDetails.rst
new file mode 100644
index 0000000000..5552441b52
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AddDistributedDatabaseGdsControlNodeDetails.rst
@@ -0,0 +1,11 @@
+AddDistributedDatabaseGdsControlNodeDetails
+===========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AddDistributedDatabaseGdsControlNodeDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutoResourceManagementConfigurationDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutoResourceManagementConfigurationDetails.rst
new file mode 100644
index 0000000000..1cdb8f8e28
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutoResourceManagementConfigurationDetails.rst
@@ -0,0 +1,11 @@
+AutoResourceManagementConfigurationDetails
+==========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutoResourceManagementConfigurationDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeDataGuardShardSpace.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeDataGuardShardSpace.rst
new file mode 100644
index 0000000000..8a3617a2fd
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeDataGuardShardSpace.rst
@@ -0,0 +1,11 @@
+AutonomousCompositeDataGuardShardSpace
+======================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutonomousCompositeDataGuardShardSpace
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeDataGuardShardSpaceReplica.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeDataGuardShardSpaceReplica.rst
new file mode 100644
index 0000000000..264c680f0f
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeDataGuardShardSpaceReplica.rst
@@ -0,0 +1,11 @@
+AutonomousCompositeDataGuardShardSpaceReplica
+=============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutonomousCompositeDataGuardShardSpaceReplica
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeRaftShardSpace.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeRaftShardSpace.rst
new file mode 100644
index 0000000000..4507f484d3
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeRaftShardSpace.rst
@@ -0,0 +1,11 @@
+AutonomousCompositeRaftShardSpace
+=================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutonomousCompositeRaftShardSpace
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeShardSpaceRaftCluster.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeShardSpaceRaftCluster.rst
new file mode 100644
index 0000000000..c729af24e0
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousCompositeShardSpaceRaftCluster.rst
@@ -0,0 +1,11 @@
+AutonomousCompositeShardSpaceRaftCluster
+========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutonomousCompositeShardSpaceRaftCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousSystemDataGuardDatabase.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousSystemDataGuardDatabase.rst
new file mode 100644
index 0000000000..21bfb97b16
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousSystemDataGuardDatabase.rst
@@ -0,0 +1,11 @@
+AutonomousSystemDataGuardDatabase
+=================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutonomousSystemDataGuardDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousSystemDataGuardReplica.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousSystemDataGuardReplica.rst
new file mode 100644
index 0000000000..09fa550e45
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousSystemDataGuardReplica.rst
@@ -0,0 +1,11 @@
+AutonomousSystemDataGuardReplica
+================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutonomousSystemDataGuardReplica
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousSystemRaftCluster.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousSystemRaftCluster.rst
new file mode 100644
index 0000000000..c33256e9a6
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousSystemRaftCluster.rst
@@ -0,0 +1,11 @@
+AutonomousSystemRaftCluster
+===========================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutonomousSystemRaftCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousUserShardSpace.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousUserShardSpace.rst
new file mode 100644
index 0000000000..6f6817bf95
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousUserShardSpace.rst
@@ -0,0 +1,11 @@
+AutonomousUserShardSpace
+========================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutonomousUserShardSpace
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousUserShardSpaceReplica.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousUserShardSpaceReplica.rst
new file mode 100644
index 0000000000..98aadc612c
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.AutonomousUserShardSpaceReplica.rst
@@ -0,0 +1,11 @@
+AutonomousUserShardSpaceReplica
+===============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: AutonomousUserShardSpaceReplica
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedAutonomousDatabaseCompartmentDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedAutonomousDatabaseCompartmentDetails.rst
new file mode 100644
index 0000000000..783b91538d
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedAutonomousDatabaseCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeDistributedAutonomousDatabaseCompartmentDetails
+=====================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ChangeDistributedAutonomousDatabaseCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedAutonomousDbBackupConfigDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedAutonomousDbBackupConfigDetails.rst
new file mode 100644
index 0000000000..5b4c3c171f
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedAutonomousDbBackupConfigDetails.rst
@@ -0,0 +1,11 @@
+ChangeDistributedAutonomousDbBackupConfigDetails
+================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ChangeDistributedAutonomousDbBackupConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedDatabaseCompartmentDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedDatabaseCompartmentDetails.rst
new file mode 100644
index 0000000000..5f647a72f2
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedDatabaseCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeDistributedDatabaseCompartmentDetails
+===========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ChangeDistributedDatabaseCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedDatabasePrivateEndpointCompartmentDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedDatabasePrivateEndpointCompartmentDetails.rst
new file mode 100644
index 0000000000..3f47089201
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedDatabasePrivateEndpointCompartmentDetails.rst
@@ -0,0 +1,11 @@
+ChangeDistributedDatabasePrivateEndpointCompartmentDetails
+==========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ChangeDistributedDatabasePrivateEndpointCompartmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedDbBackupConfigDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedDbBackupConfigDetails.rst
new file mode 100644
index 0000000000..763fce4c20
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ChangeDistributedDbBackupConfigDetails.rst
@@ -0,0 +1,11 @@
+ChangeDistributedDbBackupConfigDetails
+======================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ChangeDistributedDbBackupConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeDataGuardShardSpace.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeDataGuardShardSpace.rst
new file mode 100644
index 0000000000..b280d22089
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeDataGuardShardSpace.rst
@@ -0,0 +1,11 @@
+CompositeDataGuardShardSpace
+============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CompositeDataGuardShardSpace
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeDataGuardShardSpaceReplica.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeDataGuardShardSpaceReplica.rst
new file mode 100644
index 0000000000..e302ea7e19
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeDataGuardShardSpaceReplica.rst
@@ -0,0 +1,11 @@
+CompositeDataGuardShardSpaceReplica
+===================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CompositeDataGuardShardSpaceReplica
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeRaftShardSpace.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeRaftShardSpace.rst
new file mode 100644
index 0000000000..983d24d1ec
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeRaftShardSpace.rst
@@ -0,0 +1,11 @@
+CompositeRaftShardSpace
+=======================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CompositeRaftShardSpace
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeShardSpaceRaftCluster.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeShardSpaceRaftCluster.rst
new file mode 100644
index 0000000000..87382d1a10
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CompositeShardSpaceRaftCluster.rst
@@ -0,0 +1,11 @@
+CompositeShardSpaceRaftCluster
+==============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CompositeShardSpaceRaftCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.rst
new file mode 100644
index 0000000000..3a59bdd668
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails.rst
@@ -0,0 +1,11 @@
+ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails
+===================================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ConfigureDistributedAutonomousDatabaseAutoResourceManagementDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseGsmWalletDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseGsmWalletDetails.rst
new file mode 100644
index 0000000000..318cadac87
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseGsmWalletDetails.rst
@@ -0,0 +1,11 @@
+ConfigureDistributedAutonomousDatabaseGsmWalletDetails
+======================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ConfigureDistributedAutonomousDatabaseGsmWalletDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseGsmsDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseGsmsDetails.rst
new file mode 100644
index 0000000000..7032aec94d
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedAutonomousDatabaseGsmsDetails.rst
@@ -0,0 +1,11 @@
+ConfigureDistributedAutonomousDatabaseGsmsDetails
+=================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ConfigureDistributedAutonomousDatabaseGsmsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedDatabaseAutoResourceManagementDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedDatabaseAutoResourceManagementDetails.rst
new file mode 100644
index 0000000000..4d5153d9ee
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedDatabaseAutoResourceManagementDetails.rst
@@ -0,0 +1,11 @@
+ConfigureDistributedDatabaseAutoResourceManagementDetails
+=========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ConfigureDistributedDatabaseAutoResourceManagementDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedDatabaseGsmsDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedDatabaseGsmsDetails.rst
new file mode 100644
index 0000000000..afc2aeb907
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ConfigureDistributedDatabaseGsmsDetails.rst
@@ -0,0 +1,11 @@
+ConfigureDistributedDatabaseGsmsDetails
+=======================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ConfigureDistributedDatabaseGsmsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCatalogDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCatalogDatabaseDetails.rst
new file mode 100644
index 0000000000..da6347451e
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCatalogDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousCatalogDatabaseDetails
+======================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousCatalogDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCatalogDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCatalogDetails.rst
new file mode 100644
index 0000000000..efba46d416
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCatalogDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousCatalogDetails
+==============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousCatalogDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCatalogReplicaDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCatalogReplicaDetails.rst
new file mode 100644
index 0000000000..a2824fa1ec
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCatalogReplicaDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousCatalogReplicaDetails
+=====================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousCatalogReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeDataGuardShardSpaceDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeDataGuardShardSpaceDetails.rst
new file mode 100644
index 0000000000..fe38ac9084
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeDataGuardShardSpaceDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousCompositeDataGuardShardSpaceDetails
+===================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousCompositeDataGuardShardSpaceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails.rst
new file mode 100644
index 0000000000..e0ec5dfd2e
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails
+==========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousCompositeDataGuardShardSpaceReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeRaftShardSpaceDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeRaftShardSpaceDetails.rst
new file mode 100644
index 0000000000..6cec37c4a5
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeRaftShardSpaceDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousCompositeRaftShardSpaceDetails
+==============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousCompositeRaftShardSpaceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeShardSpaceRaftClusterDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeShardSpaceRaftClusterDetails.rst
new file mode 100644
index 0000000000..9a979cd8ac
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousCompositeShardSpaceRaftClusterDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousCompositeShardSpaceRaftClusterDetails
+=====================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousCompositeShardSpaceRaftClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousSystemDataGuardDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousSystemDataGuardDatabaseDetails.rst
new file mode 100644
index 0000000000..c361bb7e82
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousSystemDataGuardDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousSystemDataGuardDatabaseDetails
+==============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousSystemDataGuardDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousSystemDataGuardReplicaDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousSystemDataGuardReplicaDetails.rst
new file mode 100644
index 0000000000..4055ddfcf8
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousSystemDataGuardReplicaDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousSystemDataGuardReplicaDetails
+=============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousSystemDataGuardReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousSystemRaftClusterDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousSystemRaftClusterDetails.rst
new file mode 100644
index 0000000000..58a9e67d9d
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousSystemRaftClusterDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousSystemRaftClusterDetails
+========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousSystemRaftClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousUserShardSpaceDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousUserShardSpaceDetails.rst
new file mode 100644
index 0000000000..fa51b755a5
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousUserShardSpaceDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousUserShardSpaceDetails
+=====================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousUserShardSpaceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousUserShardSpaceReplicaDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousUserShardSpaceReplicaDetails.rst
new file mode 100644
index 0000000000..2cfb2b399d
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateAutonomousUserShardSpaceReplicaDetails.rst
@@ -0,0 +1,11 @@
+CreateAutonomousUserShardSpaceReplicaDetails
+============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateAutonomousUserShardSpaceReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeDataGuardShardSpaceDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeDataGuardShardSpaceDetails.rst
new file mode 100644
index 0000000000..5fbe3e3cb0
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeDataGuardShardSpaceDetails.rst
@@ -0,0 +1,11 @@
+CreateCompositeDataGuardShardSpaceDetails
+=========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateCompositeDataGuardShardSpaceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeDataGuardShardSpaceReplicaDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeDataGuardShardSpaceReplicaDetails.rst
new file mode 100644
index 0000000000..6c23ca1fca
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeDataGuardShardSpaceReplicaDetails.rst
@@ -0,0 +1,11 @@
+CreateCompositeDataGuardShardSpaceReplicaDetails
+================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateCompositeDataGuardShardSpaceReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeRaftShardSpaceDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeRaftShardSpaceDetails.rst
new file mode 100644
index 0000000000..62b41ebb79
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeRaftShardSpaceDetails.rst
@@ -0,0 +1,11 @@
+CreateCompositeRaftShardSpaceDetails
+====================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateCompositeRaftShardSpaceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeShardSpaceRaftClusterDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeShardSpaceRaftClusterDetails.rst
new file mode 100644
index 0000000000..b835c6b452
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateCompositeShardSpaceRaftClusterDetails.rst
@@ -0,0 +1,11 @@
+CreateCompositeShardSpaceRaftClusterDetails
+===========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateCompositeShardSpaceRaftClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails.rst
new file mode 100644
index 0000000000..fed1bb3ff0
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails
+===================================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedAutonomousDatabaseCatalogWithDedicatedInfraDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseDetails.rst
new file mode 100644
index 0000000000..014e3f050b
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedAutonomousDatabaseDetails
+==========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedAutonomousDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseShardDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseShardDatabaseDetails.rst
new file mode 100644
index 0000000000..ab8a4d3c0c
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseShardDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedAutonomousDatabaseShardDatabaseDetails
+=======================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedAutonomousDatabaseShardDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.rst
new file mode 100644
index 0000000000..f9aeb03d92
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails
+=================================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedAutonomousDatabaseShardWithDedicatedInfraDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseDetails.rst
new file mode 100644
index 0000000000..c5bd20f8d4
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseCatalogDatabaseDetails
+===============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseCatalogDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails.rst
new file mode 100644
index 0000000000..814b542d81
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails
+=========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseCatalogDatabaseWithDbHomeDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails.rst
new file mode 100644
index 0000000000..0b6070c63a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails
+==========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseCatalogDatabaseWithExadbXdDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails.rst
new file mode 100644
index 0000000000..1c4ca3cd4c
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails
+==========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseCatalogDatabaseWithExadbXsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDetails.rst
new file mode 100644
index 0000000000..91b66a856c
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseCatalogDetails
+=======================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseCatalogDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogReplicaDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogReplicaDetails.rst
new file mode 100644
index 0000000000..62bf29a731
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogReplicaDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseCatalogReplicaDetails
+==============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseCatalogReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails.rst
new file mode 100644
index 0000000000..8a0ad3336b
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails
+============================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseCatalogWithExadbXsNewClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails.rst
new file mode 100644
index 0000000000..a1c1c4aa9a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails
+====================================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseCatalogWithExadbXsNewVaultAndClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseDetails.rst
new file mode 100644
index 0000000000..07d089e06e
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseDetails
+================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabasePrivateEndpointDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabasePrivateEndpointDetails.rst
new file mode 100644
index 0000000000..8f26c0f521
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabasePrivateEndpointDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabasePrivateEndpointDetails
+===============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabasePrivateEndpointDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseDetails.rst
new file mode 100644
index 0000000000..d48fcc9ef9
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseShardDatabaseDetails
+=============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseShardDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithDbHomeDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithDbHomeDetails.rst
new file mode 100644
index 0000000000..7792d06664
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithDbHomeDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseShardDatabaseWithDbHomeDetails
+=======================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseShardDatabaseWithDbHomeDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.rst
new file mode 100644
index 0000000000..d77bda3c70
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithExadbXdDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseShardDatabaseWithExadbXdDetails
+========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseShardDatabaseWithExadbXdDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithExadbXsDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithExadbXsDetails.rst
new file mode 100644
index 0000000000..67b659fcf1
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardDatabaseWithExadbXsDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseShardDatabaseWithExadbXsDetails
+========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseShardDatabaseWithExadbXsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardWithExadbXsNewClusterDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardWithExadbXsNewClusterDetails.rst
new file mode 100644
index 0000000000..31938675dc
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardWithExadbXsNewClusterDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseShardWithExadbXsNewClusterDetails
+==========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseShardWithExadbXsNewClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.rst
new file mode 100644
index 0000000000..a0001599d1
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails.rst
@@ -0,0 +1,11 @@
+CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails
+==================================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateDistributedDatabaseShardWithExadbXsNewVaultAndClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateSystemDataGuardDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateSystemDataGuardDatabaseDetails.rst
new file mode 100644
index 0000000000..cfd1edaeb8
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateSystemDataGuardDatabaseDetails.rst
@@ -0,0 +1,11 @@
+CreateSystemDataGuardDatabaseDetails
+====================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateSystemDataGuardDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateSystemDataGuardReplicaDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateSystemDataGuardReplicaDetails.rst
new file mode 100644
index 0000000000..cebec97cde
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateSystemDataGuardReplicaDetails.rst
@@ -0,0 +1,11 @@
+CreateSystemDataGuardReplicaDetails
+===================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateSystemDataGuardReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateSystemRaftClusterDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateSystemRaftClusterDetails.rst
new file mode 100644
index 0000000000..b7f4418914
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateSystemRaftClusterDetails.rst
@@ -0,0 +1,11 @@
+CreateSystemRaftClusterDetails
+==============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateSystemRaftClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateUserShardSpaceDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateUserShardSpaceDetails.rst
new file mode 100644
index 0000000000..ede5dd57c5
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateUserShardSpaceDetails.rst
@@ -0,0 +1,11 @@
+CreateUserShardSpaceDetails
+===========================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateUserShardSpaceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateUserShardSpaceReplicaDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateUserShardSpaceReplicaDetails.rst
new file mode 100644
index 0000000000..5060a6156d
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.CreateUserShardSpaceReplicaDetails.rst
@@ -0,0 +1,11 @@
+CreateUserShardSpaceReplicaDetails
+==================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: CreateUserShardSpaceReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DbStorageVaultDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DbStorageVaultDetails.rst
new file mode 100644
index 0000000000..0ec086c50a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DbStorageVaultDetails.rst
@@ -0,0 +1,11 @@
+DbStorageVaultDetails
+=====================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DbStorageVaultDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabase.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabase.rst
new file mode 100644
index 0000000000..10b5111346
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabase.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabase
+=============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseAutoResourceManagementDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseAutoResourceManagementDetails.rst
new file mode 100644
index 0000000000..3446c58b87
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseAutoResourceManagementDetails.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseAutoResourceManagementDetails
+==========================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseAutoResourceManagementDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalog.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalog.rst
new file mode 100644
index 0000000000..6b04b49188
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalog.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseCatalog
+====================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseCatalog
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogDatabase.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogDatabase.rst
new file mode 100644
index 0000000000..e0a8fd5218
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogDatabase.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseCatalogDatabase
+============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseCatalogDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogReplica.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogReplica.rst
new file mode 100644
index 0000000000..8ed42ceef7
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogReplica.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseCatalogReplica
+===========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseCatalogReplica
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogWithDedicatedInfra.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogWithDedicatedInfra.rst
new file mode 100644
index 0000000000..cd46ea8354
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCatalogWithDedicatedInfra.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseCatalogWithDedicatedInfra
+======================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseCatalogWithDedicatedInfra
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCollection.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCollection.rst
new file mode 100644
index 0000000000..625958f750
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseCollection.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseCollection
+=======================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseConnectionString.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseConnectionString.rst
new file mode 100644
index 0000000000..bd49bc11f2
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseConnectionString.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseConnectionString
+=============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseConnectionString
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGdsControlNode.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGdsControlNode.rst
new file mode 100644
index 0000000000..73422c03aa
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGdsControlNode.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseGdsControlNode
+===========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseGdsControlNode
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGdsControlNodeImage.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGdsControlNodeImage.rst
new file mode 100644
index 0000000000..793fc3eb13
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGdsControlNodeImage.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseGdsControlNodeImage
+================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseGdsControlNodeImage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGsm.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGsm.rst
new file mode 100644
index 0000000000..021ba20b5f
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGsm.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseGsm
+================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseGsm
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGsmImage.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGsmImage.rst
new file mode 100644
index 0000000000..43bd919623
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseGsmImage.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseGsmImage
+=====================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseGsmImage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseRaftMetric.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseRaftMetric.rst
new file mode 100644
index 0000000000..a9361b95f7
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseRaftMetric.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseRaftMetric
+=======================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseRaftMetric
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseRuChangeLog.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseRuChangeLog.rst
new file mode 100644
index 0000000000..844317834f
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseRuChangeLog.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseRuChangeLog
+========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseRuChangeLog
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseRuChangeLogSummary.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseRuChangeLogSummary.rst
new file mode 100644
index 0000000000..4d6dbdde51
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseRuChangeLogSummary.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseRuChangeLogSummary
+===============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseRuChangeLogSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardDatabase.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardDatabase.rst
new file mode 100644
index 0000000000..0f2ca2d64a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardDatabase.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseShardDatabase
+==========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseShardDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardWithDedicatedInfra.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardWithDedicatedInfra.rst
new file mode 100644
index 0000000000..a259bb53e1
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseShardWithDedicatedInfra.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseShardWithDedicatedInfra
+====================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseShardWithDedicatedInfra
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseSummary.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseSummary.rst
new file mode 100644
index 0000000000..1c1d12e2e3
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDatabaseSummary.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDatabaseSummary
+====================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDatabaseSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDbBackupConfig.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDbBackupConfig.rst
new file mode 100644
index 0000000000..701741a1d6
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDbBackupConfig.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDbBackupConfig
+===================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDbBackupConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDbBackupDestination.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDbBackupDestination.rst
new file mode 100644
index 0000000000..2b1e852fce
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDbBackupDestination.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDbBackupDestination
+========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDbBackupDestination
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDbMetadata.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDbMetadata.rst
new file mode 100644
index 0000000000..2f9d991b9a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedAutonomousDbMetadata.rst
@@ -0,0 +1,11 @@
+DistributedAutonomousDbMetadata
+===============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedAutonomousDbMetadata
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabase.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabase.rst
new file mode 100644
index 0000000000..a767fcca5a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabase.rst
@@ -0,0 +1,11 @@
+DistributedDatabase
+===================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseAutoResourceManagementDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseAutoResourceManagementDetails.rst
new file mode 100644
index 0000000000..0634923ce0
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseAutoResourceManagementDetails.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseAutoResourceManagementDetails
+================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseAutoResourceManagementDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalog.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalog.rst
new file mode 100644
index 0000000000..d2289d821e
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalog.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseCatalog
+==========================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseCatalog
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabase.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabase.rst
new file mode 100644
index 0000000000..85c12b8175
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabase.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseCatalogDatabase
+==================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseCatalogDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithDbHome.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithDbHome.rst
new file mode 100644
index 0000000000..90aa872e49
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithDbHome.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseCatalogDatabaseWithDbHome
+============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseCatalogDatabaseWithDbHome
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXd.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXd.rst
new file mode 100644
index 0000000000..19db3cc8c7
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXd.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseCatalogDatabaseWithExadbXd
+=============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseCatalogDatabaseWithExadbXd
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXs.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXs.rst
new file mode 100644
index 0000000000..7c63da9f9d
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXs.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseCatalogDatabaseWithExadbXs
+=============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseCatalogDatabaseWithExadbXs
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster.rst
new file mode 100644
index 0000000000..9689227959
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster
+=======================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseCatalogDatabaseWithExadbXsNewCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster.rst
new file mode 100644
index 0000000000..c6f0b104f4
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster
+===============================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseCatalogDatabaseWithExadbXsNewVaultAndCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogReplicaDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogReplicaDetails.rst
new file mode 100644
index 0000000000..733d32682a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCatalogReplicaDetails.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseCatalogReplicaDetails
+========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseCatalogReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCollection.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCollection.rst
new file mode 100644
index 0000000000..7e836b34fb
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseCollection.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseCollection
+=============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseGdsControlNode.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseGdsControlNode.rst
new file mode 100644
index 0000000000..454e304934
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseGdsControlNode.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseGdsControlNode
+=================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseGdsControlNode
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseGsm.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseGsm.rst
new file mode 100644
index 0000000000..0f6426a502
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseGsm.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseGsm
+======================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseGsm
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabasePrivateEndpoint.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabasePrivateEndpoint.rst
new file mode 100644
index 0000000000..1eee7b5ff0
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabasePrivateEndpoint.rst
@@ -0,0 +1,11 @@
+DistributedDatabasePrivateEndpoint
+==================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabasePrivateEndpoint
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabasePrivateEndpointCollection.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabasePrivateEndpointCollection.rst
new file mode 100644
index 0000000000..f3f03548b8
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabasePrivateEndpointCollection.rst
@@ -0,0 +1,11 @@
+DistributedDatabasePrivateEndpointCollection
+============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabasePrivateEndpointCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabasePrivateEndpointSummary.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabasePrivateEndpointSummary.rst
new file mode 100644
index 0000000000..609955744f
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabasePrivateEndpointSummary.rst
@@ -0,0 +1,11 @@
+DistributedDatabasePrivateEndpointSummary
+=========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabasePrivateEndpointSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseRaftMetric.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseRaftMetric.rst
new file mode 100644
index 0000000000..40a5ec6511
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseRaftMetric.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseRaftMetric
+=============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseRaftMetric
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseRuChangeLog.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseRuChangeLog.rst
new file mode 100644
index 0000000000..0071cad55a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseRuChangeLog.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseRuChangeLog
+==============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseRuChangeLog
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseRuChangeLogSummary.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseRuChangeLogSummary.rst
new file mode 100644
index 0000000000..11a5044a0a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseRuChangeLogSummary.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseRuChangeLogSummary
+=====================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseRuChangeLogSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabase.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabase.rst
new file mode 100644
index 0000000000..d72ab26330
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabase.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseShardDatabase
+================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseShardDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithDbHome.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithDbHome.rst
new file mode 100644
index 0000000000..70c8b45761
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithDbHome.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseShardDatabaseWithDbHome
+==========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseShardDatabaseWithDbHome
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXd.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXd.rst
new file mode 100644
index 0000000000..ff22ba8cd1
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXd.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseShardDatabaseWithExadbXd
+===========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseShardDatabaseWithExadbXd
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXs.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXs.rst
new file mode 100644
index 0000000000..d1eddb931a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXs.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseShardDatabaseWithExadbXs
+===========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseShardDatabaseWithExadbXs
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXsNewCluster.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXsNewCluster.rst
new file mode 100644
index 0000000000..e251860604
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXsNewCluster.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseShardDatabaseWithExadbXsNewCluster
+=====================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseShardDatabaseWithExadbXsNewCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.rst
new file mode 100644
index 0000000000..68e3d993e4
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster
+=============================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseShardDatabaseWithExadbXsNewVaultAndCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseSummary.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseSummary.rst
new file mode 100644
index 0000000000..b0c48815df
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDatabaseSummary.rst
@@ -0,0 +1,11 @@
+DistributedDatabaseSummary
+==========================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDatabaseSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbBackupConfig.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbBackupConfig.rst
new file mode 100644
index 0000000000..8844b77ffd
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbBackupConfig.rst
@@ -0,0 +1,11 @@
+DistributedDbBackupConfig
+=========================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDbBackupConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbBackupDestination.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbBackupDestination.rst
new file mode 100644
index 0000000000..592e9de70a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbBackupDestination.rst
@@ -0,0 +1,11 @@
+DistributedDbBackupDestination
+==============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDbBackupDestination
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbConnectionString.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbConnectionString.rst
new file mode 100644
index 0000000000..e5a84b3c14
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbConnectionString.rst
@@ -0,0 +1,11 @@
+DistributedDbConnectionString
+=============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDbConnectionString
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbGdsControlNodeImage.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbGdsControlNodeImage.rst
new file mode 100644
index 0000000000..6d2f5c741d
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbGdsControlNodeImage.rst
@@ -0,0 +1,11 @@
+DistributedDbGdsControlNodeImage
+================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDbGdsControlNodeImage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbGsmImage.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbGsmImage.rst
new file mode 100644
index 0000000000..ab0cafc18d
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbGsmImage.rst
@@ -0,0 +1,11 @@
+DistributedDbGsmImage
+=====================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDbGsmImage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbMetadata.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbMetadata.rst
new file mode 100644
index 0000000000..72cf818587
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbMetadata.rst
@@ -0,0 +1,11 @@
+DistributedDbMetadata
+=====================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDbMetadata
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbStorageVault.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbStorageVault.rst
new file mode 100644
index 0000000000..506b5cf6b4
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbStorageVault.rst
@@ -0,0 +1,11 @@
+DistributedDbStorageVault
+=========================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDbStorageVault
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbVmCluster.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbVmCluster.rst
new file mode 100644
index 0000000000..837f31665a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.DistributedDbVmCluster.rst
@@ -0,0 +1,11 @@
+DistributedDbVmCluster
+======================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: DistributedDbVmCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.GenerateDistributedAutonomousDatabaseWalletDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.GenerateDistributedAutonomousDatabaseWalletDetails.rst
new file mode 100644
index 0000000000..9efa476eb8
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.GenerateDistributedAutonomousDatabaseWalletDetails.rst
@@ -0,0 +1,11 @@
+GenerateDistributedAutonomousDatabaseWalletDetails
+==================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: GenerateDistributedAutonomousDatabaseWalletDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.GenerateDistributedDatabaseWalletDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.GenerateDistributedDatabaseWalletDetails.rst
new file mode 100644
index 0000000000..1d52c830d1
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.GenerateDistributedDatabaseWalletDetails.rst
@@ -0,0 +1,11 @@
+GenerateDistributedDatabaseWalletDetails
+========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: GenerateDistributedDatabaseWalletDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.MoveDistributedAutonomousDatabaseReplicationUnitDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.MoveDistributedAutonomousDatabaseReplicationUnitDetails.rst
new file mode 100644
index 0000000000..6571f95e4c
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.MoveDistributedAutonomousDatabaseReplicationUnitDetails.rst
@@ -0,0 +1,11 @@
+MoveDistributedAutonomousDatabaseReplicationUnitDetails
+=======================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: MoveDistributedAutonomousDatabaseReplicationUnitDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.MoveDistributedDatabaseReplicationUnitDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.MoveDistributedDatabaseReplicationUnitDetails.rst
new file mode 100644
index 0000000000..af8598f49c
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.MoveDistributedDatabaseReplicationUnitDetails.rst
@@ -0,0 +1,11 @@
+MoveDistributedDatabaseReplicationUnitDetails
+=============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: MoveDistributedDatabaseReplicationUnitDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchDistributedAutonomousDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchDistributedAutonomousDatabaseDetails.rst
new file mode 100644
index 0000000000..83c3ace6fb
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchDistributedAutonomousDatabaseDetails.rst
@@ -0,0 +1,11 @@
+PatchDistributedAutonomousDatabaseDetails
+=========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: PatchDistributedAutonomousDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchDistributedDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchDistributedDatabaseDetails.rst
new file mode 100644
index 0000000000..ae17a16b58
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchDistributedDatabaseDetails.rst
@@ -0,0 +1,11 @@
+PatchDistributedDatabaseDetails
+===============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: PatchDistributedDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchDistributedDatabasePrivateEndpointDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchDistributedDatabasePrivateEndpointDetails.rst
new file mode 100644
index 0000000000..14af99e39d
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchDistributedDatabasePrivateEndpointDetails.rst
@@ -0,0 +1,11 @@
+PatchDistributedDatabasePrivateEndpointDetails
+==============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: PatchDistributedDatabasePrivateEndpointDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchInsertInstruction.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchInsertInstruction.rst
new file mode 100644
index 0000000000..844e96928e
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchInsertInstruction.rst
@@ -0,0 +1,11 @@
+PatchInsertInstruction
+======================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: PatchInsertInstruction
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchInstruction.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchInstruction.rst
new file mode 100644
index 0000000000..f5d74d9e5a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchInstruction.rst
@@ -0,0 +1,11 @@
+PatchInstruction
+================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: PatchInstruction
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchMergeInstruction.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchMergeInstruction.rst
new file mode 100644
index 0000000000..7812a13594
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchMergeInstruction.rst
@@ -0,0 +1,11 @@
+PatchMergeInstruction
+=====================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: PatchMergeInstruction
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchRemoveInstruction.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchRemoveInstruction.rst
new file mode 100644
index 0000000000..1b270a8b7a
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.PatchRemoveInstruction.rst
@@ -0,0 +1,11 @@
+PatchRemoveInstruction
+======================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: PatchRemoveInstruction
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedAutonomousDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedAutonomousDatabaseDetails.rst
new file mode 100644
index 0000000000..7303798cea
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedAutonomousDatabaseDetails.rst
@@ -0,0 +1,11 @@
+RotateDistributedAutonomousDatabaseDetails
+==========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: RotateDistributedAutonomousDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedAutonomousDatabasePasswordsDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedAutonomousDatabasePasswordsDetails.rst
new file mode 100644
index 0000000000..c0abffe0f1
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedAutonomousDatabasePasswordsDetails.rst
@@ -0,0 +1,11 @@
+RotateDistributedAutonomousDatabasePasswordsDetails
+===================================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: RotateDistributedAutonomousDatabasePasswordsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedDatabaseDetails.rst
new file mode 100644
index 0000000000..50bbaf500b
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedDatabaseDetails.rst
@@ -0,0 +1,11 @@
+RotateDistributedDatabaseDetails
+================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: RotateDistributedDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedDatabasePasswordsDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedDatabasePasswordsDetails.rst
new file mode 100644
index 0000000000..a1799d692b
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.RotateDistributedDatabasePasswordsDetails.rst
@@ -0,0 +1,11 @@
+RotateDistributedDatabasePasswordsDetails
+=========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: RotateDistributedDatabasePasswordsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ScaleDistributedAutonomousDatabaseGsmsDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ScaleDistributedAutonomousDatabaseGsmsDetails.rst
new file mode 100644
index 0000000000..96416d1167
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ScaleDistributedAutonomousDatabaseGsmsDetails.rst
@@ -0,0 +1,11 @@
+ScaleDistributedAutonomousDatabaseGsmsDetails
+=============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ScaleDistributedAutonomousDatabaseGsmsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ScaleDistributedDatabaseGsmsDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ScaleDistributedDatabaseGsmsDetails.rst
new file mode 100644
index 0000000000..36c1eaccd6
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.ScaleDistributedDatabaseGsmsDetails.rst
@@ -0,0 +1,11 @@
+ScaleDistributedDatabaseGsmsDetails
+===================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: ScaleDistributedDatabaseGsmsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.SystemDataGuardDatabase.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.SystemDataGuardDatabase.rst
new file mode 100644
index 0000000000..362257af03
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.SystemDataGuardDatabase.rst
@@ -0,0 +1,11 @@
+SystemDataGuardDatabase
+=======================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: SystemDataGuardDatabase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.SystemDataGuardReplica.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.SystemDataGuardReplica.rst
new file mode 100644
index 0000000000..12d8ddfaff
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.SystemDataGuardReplica.rst
@@ -0,0 +1,11 @@
+SystemDataGuardReplica
+======================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: SystemDataGuardReplica
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.SystemRaftCluster.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.SystemRaftCluster.rst
new file mode 100644
index 0000000000..fe2ffc8c2f
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.SystemRaftCluster.rst
@@ -0,0 +1,11 @@
+SystemRaftCluster
+=================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: SystemRaftCluster
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UpdateDistributedAutonomousDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UpdateDistributedAutonomousDatabaseDetails.rst
new file mode 100644
index 0000000000..60d07f021b
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UpdateDistributedAutonomousDatabaseDetails.rst
@@ -0,0 +1,11 @@
+UpdateDistributedAutonomousDatabaseDetails
+==========================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: UpdateDistributedAutonomousDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UpdateDistributedDatabaseDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UpdateDistributedDatabaseDetails.rst
new file mode 100644
index 0000000000..1db8fba573
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UpdateDistributedDatabaseDetails.rst
@@ -0,0 +1,11 @@
+UpdateDistributedDatabaseDetails
+================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: UpdateDistributedDatabaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UpdateDistributedDatabasePrivateEndpointDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UpdateDistributedDatabasePrivateEndpointDetails.rst
new file mode 100644
index 0000000000..e09a62d096
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UpdateDistributedDatabasePrivateEndpointDetails.rst
@@ -0,0 +1,11 @@
+UpdateDistributedDatabasePrivateEndpointDetails
+===============================================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: UpdateDistributedDatabasePrivateEndpointDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UserShardSpace.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UserShardSpace.rst
new file mode 100644
index 0000000000..877fbdb0d9
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UserShardSpace.rst
@@ -0,0 +1,11 @@
+UserShardSpace
+==============
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: UserShardSpace
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UserShardSpaceReplica.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UserShardSpaceReplica.rst
new file mode 100644
index 0000000000..5f82a76d49
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.UserShardSpaceReplica.rst
@@ -0,0 +1,11 @@
+UserShardSpaceReplica
+=====================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: UserShardSpaceReplica
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.VcnNsgIdsDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.VcnNsgIdsDetails.rst
new file mode 100644
index 0000000000..072427666f
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.VcnNsgIdsDetails.rst
@@ -0,0 +1,11 @@
+VcnNsgIdsDetails
+================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: VcnNsgIdsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.VmClusterDetails.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.VmClusterDetails.rst
new file mode 100644
index 0000000000..c1eac6a8ab
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.VmClusterDetails.rst
@@ -0,0 +1,11 @@
+VmClusterDetails
+================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: VmClusterDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequest.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequest.rst
new file mode 100644
index 0000000000..262f680659
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequest.rst
@@ -0,0 +1,11 @@
+WorkRequest
+===========
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: WorkRequest
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestError.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestError.rst
new file mode 100644
index 0000000000..636666f577
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestError.rst
@@ -0,0 +1,11 @@
+WorkRequestError
+================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: WorkRequestError
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestErrorCollection.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestErrorCollection.rst
new file mode 100644
index 0000000000..2652be9255
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestErrorCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestErrorCollection
+==========================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: WorkRequestErrorCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestLogEntry.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestLogEntry.rst
new file mode 100644
index 0000000000..d7ebf8ea5f
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestLogEntry.rst
@@ -0,0 +1,11 @@
+WorkRequestLogEntry
+===================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: WorkRequestLogEntry
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestLogEntryCollection.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestLogEntryCollection.rst
new file mode 100644
index 0000000000..a686b63ba0
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestLogEntryCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestLogEntryCollection
+=============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: WorkRequestLogEntryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestResource.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestResource.rst
new file mode 100644
index 0000000000..9a6bc00dbc
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestResource.rst
@@ -0,0 +1,11 @@
+WorkRequestResource
+===================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: WorkRequestResource
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestSummary.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestSummary.rst
new file mode 100644
index 0000000000..2cd5f86b8f
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestSummary.rst
@@ -0,0 +1,11 @@
+WorkRequestSummary
+==================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: WorkRequestSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestSummaryCollection.rst b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestSummaryCollection.rst
new file mode 100644
index 0000000000..5b398edb24
--- /dev/null
+++ b/docs/api/distributed_database_v26/models/oci.distributed_database_v26.models.WorkRequestSummaryCollection.rst
@@ -0,0 +1,11 @@
+WorkRequestSummaryCollection
+============================
+
+.. currentmodule:: oci.distributed_database_v26.models
+
+.. autoclass:: WorkRequestSummaryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/generative_ai.rst b/docs/api/generative_ai.rst
index 7b630a5ce4..c03d84f10f 100644
--- a/docs/api/generative_ai.rst
+++ b/docs/api/generative_ai.rst
@@ -47,7 +47,9 @@ Generative Ai
oci.generative_ai.models.CreateEndpointDetails
oci.generative_ai.models.CreateGenerativeAiPrivateEndpointDetails
oci.generative_ai.models.CreateGenerativeAiProjectDetails
+ oci.generative_ai.models.CreateHostedApplicationBaseDetails
oci.generative_ai.models.CreateHostedApplicationDetails
+ oci.generative_ai.models.CreateHostedApplicationIamDetails
oci.generative_ai.models.CreateHostedApplicationStorageDetails
oci.generative_ai.models.CreateHostedDeploymentDetails
oci.generative_ai.models.CreateImportedModelDetails
@@ -85,7 +87,9 @@ Generative Ai
oci.generative_ai.models.GenerativeAiProjectCollection
oci.generative_ai.models.GenerativeAiProjectSummary
oci.generative_ai.models.HostedApplication
+ oci.generative_ai.models.HostedApplicationBase
oci.generative_ai.models.HostedApplicationCollection
+ oci.generative_ai.models.HostedApplicationIam
oci.generative_ai.models.HostedApplicationStorage
oci.generative_ai.models.HostedApplicationStorageCollection
oci.generative_ai.models.HostedApplicationStorageSummary
@@ -146,7 +150,9 @@ Generative Ai
oci.generative_ai.models.UpdateEndpointDetails
oci.generative_ai.models.UpdateGenerativeAiPrivateEndpointDetails
oci.generative_ai.models.UpdateGenerativeAiProjectDetails
+ oci.generative_ai.models.UpdateHostedApplicationBaseDetails
oci.generative_ai.models.UpdateHostedApplicationDetails
+ oci.generative_ai.models.UpdateHostedApplicationIamDetails
oci.generative_ai.models.UpdateHostedDeploymentDetails
oci.generative_ai.models.UpdateImportedModelDetails
oci.generative_ai.models.UpdateModelDetails
diff --git a/docs/api/generative_ai/models/oci.generative_ai.models.CreateHostedApplicationBaseDetails.rst b/docs/api/generative_ai/models/oci.generative_ai.models.CreateHostedApplicationBaseDetails.rst
new file mode 100644
index 0000000000..4404c41972
--- /dev/null
+++ b/docs/api/generative_ai/models/oci.generative_ai.models.CreateHostedApplicationBaseDetails.rst
@@ -0,0 +1,11 @@
+CreateHostedApplicationBaseDetails
+==================================
+
+.. currentmodule:: oci.generative_ai.models
+
+.. autoclass:: CreateHostedApplicationBaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/generative_ai/models/oci.generative_ai.models.CreateHostedApplicationIamDetails.rst b/docs/api/generative_ai/models/oci.generative_ai.models.CreateHostedApplicationIamDetails.rst
new file mode 100644
index 0000000000..1aa53bac70
--- /dev/null
+++ b/docs/api/generative_ai/models/oci.generative_ai.models.CreateHostedApplicationIamDetails.rst
@@ -0,0 +1,11 @@
+CreateHostedApplicationIamDetails
+=================================
+
+.. currentmodule:: oci.generative_ai.models
+
+.. autoclass:: CreateHostedApplicationIamDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/generative_ai/models/oci.generative_ai.models.HostedApplicationBase.rst b/docs/api/generative_ai/models/oci.generative_ai.models.HostedApplicationBase.rst
new file mode 100644
index 0000000000..05297678f1
--- /dev/null
+++ b/docs/api/generative_ai/models/oci.generative_ai.models.HostedApplicationBase.rst
@@ -0,0 +1,11 @@
+HostedApplicationBase
+=====================
+
+.. currentmodule:: oci.generative_ai.models
+
+.. autoclass:: HostedApplicationBase
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/generative_ai/models/oci.generative_ai.models.HostedApplicationIam.rst b/docs/api/generative_ai/models/oci.generative_ai.models.HostedApplicationIam.rst
new file mode 100644
index 0000000000..46c88d7096
--- /dev/null
+++ b/docs/api/generative_ai/models/oci.generative_ai.models.HostedApplicationIam.rst
@@ -0,0 +1,11 @@
+HostedApplicationIam
+====================
+
+.. currentmodule:: oci.generative_ai.models
+
+.. autoclass:: HostedApplicationIam
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/generative_ai/models/oci.generative_ai.models.UpdateHostedApplicationBaseDetails.rst b/docs/api/generative_ai/models/oci.generative_ai.models.UpdateHostedApplicationBaseDetails.rst
new file mode 100644
index 0000000000..07e0bb5968
--- /dev/null
+++ b/docs/api/generative_ai/models/oci.generative_ai.models.UpdateHostedApplicationBaseDetails.rst
@@ -0,0 +1,11 @@
+UpdateHostedApplicationBaseDetails
+==================================
+
+.. currentmodule:: oci.generative_ai.models
+
+.. autoclass:: UpdateHostedApplicationBaseDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/generative_ai/models/oci.generative_ai.models.UpdateHostedApplicationIamDetails.rst b/docs/api/generative_ai/models/oci.generative_ai.models.UpdateHostedApplicationIamDetails.rst
new file mode 100644
index 0000000000..147bca2ff1
--- /dev/null
+++ b/docs/api/generative_ai/models/oci.generative_ai.models.UpdateHostedApplicationIamDetails.rst
@@ -0,0 +1,11 @@
+UpdateHostedApplicationIamDetails
+=================================
+
+.. currentmodule:: oci.generative_ai.models
+
+.. autoclass:: UpdateHostedApplicationIamDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate.rst b/docs/api/golden_gate.rst
index 4cbb8d8044..a83403dd91 100644
--- a/docs/api/golden_gate.rst
+++ b/docs/api/golden_gate.rst
@@ -20,6 +20,14 @@ Golden Gate
oci.golden_gate.models.AddDeploymentLocalPeerDetails
oci.golden_gate.models.AddResourceLockDetails
+ oci.golden_gate.models.AiModelAuthDetails
+ oci.golden_gate.models.AiModelAuthDetailsSummary
+ oci.golden_gate.models.AiModelCollection
+ oci.golden_gate.models.AiModelConnection
+ oci.golden_gate.models.AiModelConnectionSummary
+ oci.golden_gate.models.AiModelSummary
+ oci.golden_gate.models.AiProviderCollection
+ oci.golden_gate.models.AiProviderSummary
oci.golden_gate.models.AmazonKinesisConnection
oci.golden_gate.models.AmazonKinesisConnectionSummary
oci.golden_gate.models.AmazonRedshiftConnection
@@ -28,6 +36,8 @@ Golden Gate
oci.golden_gate.models.AmazonS3ConnectionSummary
oci.golden_gate.models.AmazonS3IcebergStorage
oci.golden_gate.models.AmazonS3IcebergStorageSummary
+ oci.golden_gate.models.ApiKeyAiModelAuthDetails
+ oci.golden_gate.models.ApiKeyAiModelAuthDetailsSummary
oci.golden_gate.models.AzureDataLakeStorageConnection
oci.golden_gate.models.AzureDataLakeStorageConnectionSummary
oci.golden_gate.models.AzureDataLakeStorageIcebergStorage
@@ -59,10 +69,13 @@ Golden Gate
oci.golden_gate.models.ConnectionCollection
oci.golden_gate.models.ConnectionSummary
oci.golden_gate.models.CopyDeploymentBackupDetails
+ oci.golden_gate.models.CreateAiModelAuthDetails
+ oci.golden_gate.models.CreateAiModelConnectionDetails
oci.golden_gate.models.CreateAmazonKinesisConnectionDetails
oci.golden_gate.models.CreateAmazonRedshiftConnectionDetails
oci.golden_gate.models.CreateAmazonS3ConnectionDetails
oci.golden_gate.models.CreateAmazonS3IcebergStorageDetails
+ oci.golden_gate.models.CreateApiKeyAiModelAuthDetails
oci.golden_gate.models.CreateAzureDataLakeStorageConnectionDetails
oci.golden_gate.models.CreateAzureDataLakeStorageIcebergStorageDetails
oci.golden_gate.models.CreateAzureSynapseConnectionDetails
@@ -99,7 +112,10 @@ Golden Gate
oci.golden_gate.models.CreateMongoDbConnectionDetails
oci.golden_gate.models.CreateMysqlConnectionDetails
oci.golden_gate.models.CreateNessieIcebergCatalogDetails
+ oci.golden_gate.models.CreateNoIcebergStorageDetails
+ oci.golden_gate.models.CreateOciGenAiModelAuthDetails
oci.golden_gate.models.CreateOciObjectStorageConnectionDetails
+ oci.golden_gate.models.CreateOciObjectStorageS3ApiIcebergStorageDetails
oci.golden_gate.models.CreateOggDeploymentDetails
oci.golden_gate.models.CreateOracleAiDataPlatformConnectionDetails
oci.golden_gate.models.CreateOracleConnectionDetails
@@ -220,8 +236,14 @@ Golden Gate
oci.golden_gate.models.NameValuePair
oci.golden_gate.models.NessieIcebergCatalog
oci.golden_gate.models.NessieIcebergCatalogSummary
+ oci.golden_gate.models.NoIcebergStorage
+ oci.golden_gate.models.NoIcebergStorageSummary
+ oci.golden_gate.models.OciGenAiModelAuthDetails
+ oci.golden_gate.models.OciGenAiModelAuthDetailsSummary
oci.golden_gate.models.OciObjectStorageConnection
oci.golden_gate.models.OciObjectStorageConnectionSummary
+ oci.golden_gate.models.OciObjectStorageS3ApiIcebergStorage
+ oci.golden_gate.models.OciObjectStorageS3ApiIcebergStorageSummary
oci.golden_gate.models.OggDeployment
oci.golden_gate.models.OracleAiDataPlatformConnection
oci.golden_gate.models.OracleAiDataPlatformConnectionSummary
@@ -284,10 +306,13 @@ Golden Gate
oci.golden_gate.models.TrailFileSummary
oci.golden_gate.models.TrailSequenceCollection
oci.golden_gate.models.TrailSequenceSummary
+ oci.golden_gate.models.UpdateAiModelAuthDetails
+ oci.golden_gate.models.UpdateAiModelConnectionDetails
oci.golden_gate.models.UpdateAmazonKinesisConnectionDetails
oci.golden_gate.models.UpdateAmazonRedshiftConnectionDetails
oci.golden_gate.models.UpdateAmazonS3ConnectionDetails
oci.golden_gate.models.UpdateAmazonS3IcebergStorageDetails
+ oci.golden_gate.models.UpdateApiKeyAiModelAuthDetails
oci.golden_gate.models.UpdateAzureDataLakeStorageConnectionDetails
oci.golden_gate.models.UpdateAzureDataLakeStorageIcebergStorageDetails
oci.golden_gate.models.UpdateAzureSynapseConnectionDetails
@@ -322,7 +347,10 @@ Golden Gate
oci.golden_gate.models.UpdateMongoDbConnectionDetails
oci.golden_gate.models.UpdateMysqlConnectionDetails
oci.golden_gate.models.UpdateNessieIcebergCatalogDetails
+ oci.golden_gate.models.UpdateNoIcebergStorageDetails
+ oci.golden_gate.models.UpdateOciGenAiModelAuthDetails
oci.golden_gate.models.UpdateOciObjectStorageConnectionDetails
+ oci.golden_gate.models.UpdateOciObjectStorageS3ApiIcebergStorageDetails
oci.golden_gate.models.UpdateOggDeploymentDetails
oci.golden_gate.models.UpdateOracleAiDataPlatformConnectionDetails
oci.golden_gate.models.UpdateOracleConnectionDetails
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.AiModelAuthDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelAuthDetails.rst
new file mode 100644
index 0000000000..be8eea7177
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelAuthDetails.rst
@@ -0,0 +1,11 @@
+AiModelAuthDetails
+==================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: AiModelAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.AiModelAuthDetailsSummary.rst b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelAuthDetailsSummary.rst
new file mode 100644
index 0000000000..ce34707775
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelAuthDetailsSummary.rst
@@ -0,0 +1,11 @@
+AiModelAuthDetailsSummary
+=========================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: AiModelAuthDetailsSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.AiModelCollection.rst b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelCollection.rst
new file mode 100644
index 0000000000..1e80c9b891
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelCollection.rst
@@ -0,0 +1,11 @@
+AiModelCollection
+=================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: AiModelCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.AiModelConnection.rst b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelConnection.rst
new file mode 100644
index 0000000000..6d6218ca95
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelConnection.rst
@@ -0,0 +1,11 @@
+AiModelConnection
+=================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: AiModelConnection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.AiModelConnectionSummary.rst b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelConnectionSummary.rst
new file mode 100644
index 0000000000..9ddd4854eb
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelConnectionSummary.rst
@@ -0,0 +1,11 @@
+AiModelConnectionSummary
+========================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: AiModelConnectionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.AiModelSummary.rst b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelSummary.rst
new file mode 100644
index 0000000000..c34aa9ae4a
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.AiModelSummary.rst
@@ -0,0 +1,11 @@
+AiModelSummary
+==============
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: AiModelSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.AiProviderCollection.rst b/docs/api/golden_gate/models/oci.golden_gate.models.AiProviderCollection.rst
new file mode 100644
index 0000000000..d080bb2475
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.AiProviderCollection.rst
@@ -0,0 +1,11 @@
+AiProviderCollection
+====================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: AiProviderCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.AiProviderSummary.rst b/docs/api/golden_gate/models/oci.golden_gate.models.AiProviderSummary.rst
new file mode 100644
index 0000000000..1c7747f408
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.AiProviderSummary.rst
@@ -0,0 +1,11 @@
+AiProviderSummary
+=================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: AiProviderSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.ApiKeyAiModelAuthDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.ApiKeyAiModelAuthDetails.rst
new file mode 100644
index 0000000000..141f7d4592
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.ApiKeyAiModelAuthDetails.rst
@@ -0,0 +1,11 @@
+ApiKeyAiModelAuthDetails
+========================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: ApiKeyAiModelAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.ApiKeyAiModelAuthDetailsSummary.rst b/docs/api/golden_gate/models/oci.golden_gate.models.ApiKeyAiModelAuthDetailsSummary.rst
new file mode 100644
index 0000000000..a81e9444c9
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.ApiKeyAiModelAuthDetailsSummary.rst
@@ -0,0 +1,11 @@
+ApiKeyAiModelAuthDetailsSummary
+===============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: ApiKeyAiModelAuthDetailsSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.CreateAiModelAuthDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.CreateAiModelAuthDetails.rst
new file mode 100644
index 0000000000..0e0fb8e025
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.CreateAiModelAuthDetails.rst
@@ -0,0 +1,11 @@
+CreateAiModelAuthDetails
+========================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: CreateAiModelAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.CreateAiModelConnectionDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.CreateAiModelConnectionDetails.rst
new file mode 100644
index 0000000000..da5b6b9c6e
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.CreateAiModelConnectionDetails.rst
@@ -0,0 +1,11 @@
+CreateAiModelConnectionDetails
+==============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: CreateAiModelConnectionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.CreateApiKeyAiModelAuthDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.CreateApiKeyAiModelAuthDetails.rst
new file mode 100644
index 0000000000..6a2081730e
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.CreateApiKeyAiModelAuthDetails.rst
@@ -0,0 +1,11 @@
+CreateApiKeyAiModelAuthDetails
+==============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: CreateApiKeyAiModelAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.CreateNoIcebergStorageDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.CreateNoIcebergStorageDetails.rst
new file mode 100644
index 0000000000..9391d39e78
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.CreateNoIcebergStorageDetails.rst
@@ -0,0 +1,11 @@
+CreateNoIcebergStorageDetails
+=============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: CreateNoIcebergStorageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.CreateOciGenAiModelAuthDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.CreateOciGenAiModelAuthDetails.rst
new file mode 100644
index 0000000000..e72b59990e
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.CreateOciGenAiModelAuthDetails.rst
@@ -0,0 +1,11 @@
+CreateOciGenAiModelAuthDetails
+==============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: CreateOciGenAiModelAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.CreateOciObjectStorageS3ApiIcebergStorageDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.CreateOciObjectStorageS3ApiIcebergStorageDetails.rst
new file mode 100644
index 0000000000..526f63f401
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.CreateOciObjectStorageS3ApiIcebergStorageDetails.rst
@@ -0,0 +1,11 @@
+CreateOciObjectStorageS3ApiIcebergStorageDetails
+================================================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: CreateOciObjectStorageS3ApiIcebergStorageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.NoIcebergStorage.rst b/docs/api/golden_gate/models/oci.golden_gate.models.NoIcebergStorage.rst
new file mode 100644
index 0000000000..309a5a85cc
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.NoIcebergStorage.rst
@@ -0,0 +1,11 @@
+NoIcebergStorage
+================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: NoIcebergStorage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.NoIcebergStorageSummary.rst b/docs/api/golden_gate/models/oci.golden_gate.models.NoIcebergStorageSummary.rst
new file mode 100644
index 0000000000..e5d062997e
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.NoIcebergStorageSummary.rst
@@ -0,0 +1,11 @@
+NoIcebergStorageSummary
+=======================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: NoIcebergStorageSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.OciGenAiModelAuthDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.OciGenAiModelAuthDetails.rst
new file mode 100644
index 0000000000..7d670848e4
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.OciGenAiModelAuthDetails.rst
@@ -0,0 +1,11 @@
+OciGenAiModelAuthDetails
+========================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: OciGenAiModelAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.OciGenAiModelAuthDetailsSummary.rst b/docs/api/golden_gate/models/oci.golden_gate.models.OciGenAiModelAuthDetailsSummary.rst
new file mode 100644
index 0000000000..bfd32ea928
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.OciGenAiModelAuthDetailsSummary.rst
@@ -0,0 +1,11 @@
+OciGenAiModelAuthDetailsSummary
+===============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: OciGenAiModelAuthDetailsSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.OciObjectStorageS3ApiIcebergStorage.rst b/docs/api/golden_gate/models/oci.golden_gate.models.OciObjectStorageS3ApiIcebergStorage.rst
new file mode 100644
index 0000000000..0306de6418
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.OciObjectStorageS3ApiIcebergStorage.rst
@@ -0,0 +1,11 @@
+OciObjectStorageS3ApiIcebergStorage
+===================================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: OciObjectStorageS3ApiIcebergStorage
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.OciObjectStorageS3ApiIcebergStorageSummary.rst b/docs/api/golden_gate/models/oci.golden_gate.models.OciObjectStorageS3ApiIcebergStorageSummary.rst
new file mode 100644
index 0000000000..d7186226d3
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.OciObjectStorageS3ApiIcebergStorageSummary.rst
@@ -0,0 +1,11 @@
+OciObjectStorageS3ApiIcebergStorageSummary
+==========================================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: OciObjectStorageS3ApiIcebergStorageSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.UpdateAiModelAuthDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateAiModelAuthDetails.rst
new file mode 100644
index 0000000000..a28e3c6bb5
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateAiModelAuthDetails.rst
@@ -0,0 +1,11 @@
+UpdateAiModelAuthDetails
+========================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: UpdateAiModelAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.UpdateAiModelConnectionDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateAiModelConnectionDetails.rst
new file mode 100644
index 0000000000..e65c42d7f7
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateAiModelConnectionDetails.rst
@@ -0,0 +1,11 @@
+UpdateAiModelConnectionDetails
+==============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: UpdateAiModelConnectionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.UpdateApiKeyAiModelAuthDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateApiKeyAiModelAuthDetails.rst
new file mode 100644
index 0000000000..84db47852d
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateApiKeyAiModelAuthDetails.rst
@@ -0,0 +1,11 @@
+UpdateApiKeyAiModelAuthDetails
+==============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: UpdateApiKeyAiModelAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.UpdateNoIcebergStorageDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateNoIcebergStorageDetails.rst
new file mode 100644
index 0000000000..23f659924e
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateNoIcebergStorageDetails.rst
@@ -0,0 +1,11 @@
+UpdateNoIcebergStorageDetails
+=============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: UpdateNoIcebergStorageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.UpdateOciGenAiModelAuthDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateOciGenAiModelAuthDetails.rst
new file mode 100644
index 0000000000..6827fcee55
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateOciGenAiModelAuthDetails.rst
@@ -0,0 +1,11 @@
+UpdateOciGenAiModelAuthDetails
+==============================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: UpdateOciGenAiModelAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/golden_gate/models/oci.golden_gate.models.UpdateOciObjectStorageS3ApiIcebergStorageDetails.rst b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateOciObjectStorageS3ApiIcebergStorageDetails.rst
new file mode 100644
index 0000000000..98ea4c3820
--- /dev/null
+++ b/docs/api/golden_gate/models/oci.golden_gate.models.UpdateOciObjectStorageS3ApiIcebergStorageDetails.rst
@@ -0,0 +1,11 @@
+UpdateOciObjectStorageS3ApiIcebergStorageDetails
+================================================
+
+.. currentmodule:: oci.golden_gate.models
+
+.. autoclass:: UpdateOciObjectStorageS3ApiIcebergStorageDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/identity_domains.rst b/docs/api/identity_domains.rst
index 6625ea42e3..d74a43b57c 100644
--- a/docs/api/identity_domains.rst
+++ b/docs/api/identity_domains.rst
@@ -234,6 +234,8 @@ Identity Domains
oci.identity_domains.models.IdentityProofingProviderTemplates
oci.identity_domains.models.IdentityProofingProviders
oci.identity_domains.models.IdentityPropagationTrust
+ oci.identity_domains.models.IdentityPropagationTrustCaCertChain
+ oci.identity_domains.models.IdentityPropagationTrustClaimValidations
oci.identity_domains.models.IdentityPropagationTrustImpersonationServiceUsers
oci.identity_domains.models.IdentityPropagationTrustKeytab
oci.identity_domains.models.IdentityPropagationTrusts
diff --git a/docs/api/identity_domains/models/oci.identity_domains.models.IdentityPropagationTrustCaCertChain.rst b/docs/api/identity_domains/models/oci.identity_domains.models.IdentityPropagationTrustCaCertChain.rst
new file mode 100644
index 0000000000..175d6604d1
--- /dev/null
+++ b/docs/api/identity_domains/models/oci.identity_domains.models.IdentityPropagationTrustCaCertChain.rst
@@ -0,0 +1,11 @@
+IdentityPropagationTrustCaCertChain
+===================================
+
+.. currentmodule:: oci.identity_domains.models
+
+.. autoclass:: IdentityPropagationTrustCaCertChain
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/identity_domains/models/oci.identity_domains.models.IdentityPropagationTrustClaimValidations.rst b/docs/api/identity_domains/models/oci.identity_domains.models.IdentityPropagationTrustClaimValidations.rst
new file mode 100644
index 0000000000..f23889ce7b
--- /dev/null
+++ b/docs/api/identity_domains/models/oci.identity_domains.models.IdentityPropagationTrustClaimValidations.rst
@@ -0,0 +1,11 @@
+IdentityPropagationTrustClaimValidations
+========================================
+
+.. currentmodule:: oci.identity_domains.models
+
+.. autoclass:: IdentityPropagationTrustClaimValidations
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/integration.rst b/docs/api/integration.rst
index 41b11d95ef..f3d4ae4bcb 100644
--- a/docs/api/integration.rst
+++ b/docs/api/integration.rst
@@ -40,6 +40,7 @@ Integration
oci.integration.models.OutboundConnection
oci.integration.models.PrivateEndpointOutboundConnection
oci.integration.models.PublicEndpointDetails
+ oci.integration.models.RemoveLogAnalyticsLogGroupDetails
oci.integration.models.UpdateCustomEndpointDetails
oci.integration.models.UpdateIntegrationInstanceDetails
oci.integration.models.VirtualCloudNetwork
diff --git a/docs/api/integration/models/oci.integration.models.RemoveLogAnalyticsLogGroupDetails.rst b/docs/api/integration/models/oci.integration.models.RemoveLogAnalyticsLogGroupDetails.rst
new file mode 100644
index 0000000000..bfd28fdc09
--- /dev/null
+++ b/docs/api/integration/models/oci.integration.models.RemoveLogAnalyticsLogGroupDetails.rst
@@ -0,0 +1,11 @@
+RemoveLogAnalyticsLogGroupDetails
+=================================
+
+.. currentmodule:: oci.integration.models
+
+.. autoclass:: RemoveLogAnalyticsLogGroupDetails
+ :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 39cf532b0f..0d8e075f07 100644
--- a/docs/api/landing.rst
+++ b/docs/api/landing.rst
@@ -29,6 +29,7 @@ API Reference
* :doc:`Attributes `
* :doc:`Audit `
* :doc:`Auto Scaling `
+* :doc:`Baseinfra `
* :doc:`Bastion `
* :doc:`Batch Computing `
* :doc:`Bds `
@@ -96,10 +97,14 @@ API Reference
* :doc:`Diagnosability `
* :doc:`Disaster Recovery `
* :doc:`Discovery `
-* :doc:`Distributed Autonomous Db Service `
-* :doc:`Distributed Db Private Endpoint Service `
-* :doc:`Distributed Db Service `
-* :doc:`Distributed Db Work Request Service `
+* :doc:`Distributed Autonomous Db Service `
+* :doc:`Distributed Autonomous Db Service `
+* :doc:`Distributed Db Private Endpoint Service `
+* :doc:`Distributed Db Private Endpoint Service `
+* :doc:`Distributed Db Service `
+* :doc:`Distributed Db Service `
+* :doc:`Distributed Db Work Request Service `
+* :doc:`Distributed Db Work Request Service `
* :doc:`Domain `
* :doc:`Domain Governance `
* :doc:`Dynamic Set `
@@ -140,6 +145,7 @@ API Reference
* :doc:`Identity `
* :doc:`Identity Domains `
* :doc:`Incident `
+* :doc:`Instance `
* :doc:`Integration Instance `
* :doc:`Internal Demand Signal `
* :doc:`Inventory `
@@ -159,6 +165,7 @@ API Reference
* :doc:`Limits `
* :doc:`Limits Increase `
* :doc:`Link `
+* :doc:`Link Features `
* :doc:`List Enrichment Jobs `
* :doc:`Load Balancer `
* :doc:`Lockbox `
@@ -211,6 +218,7 @@ API Reference
* :doc:`Oda `
* :doc:`Odapackage `
* :doc:`Offer `
+* :doc:`Offer Quote `
* :doc:`Omhub Network Anchor `
* :doc:`Omhub Resource Anchor `
* :doc:`Onboarding `
@@ -246,6 +254,7 @@ API Reference
* :doc:`Queue `
* :doc:`Queue Admin `
* :doc:`Quotas `
+* :doc:`Quote Attachment `
* :doc:`Ratecard `
* :doc:`Ratecard `
* :doc:`Recipient Invitation `
@@ -389,8 +398,10 @@ API Reference
database_migration
database_tools
database_tools_runtime
+ datacc
dblm
dbmulticloud
+ ddfs
delegate_access_control
demand_signal
desktops
@@ -398,6 +409,7 @@ API Reference
dif
disaster_recovery
distributed_database
+ distributed_database_v26
dns
em_warehouse
email
diff --git a/docs/api/managed_kafka.rst b/docs/api/managed_kafka.rst
index 928c6fd8d2..4f2429bdbd 100644
--- a/docs/api/managed_kafka.rst
+++ b/docs/api/managed_kafka.rst
@@ -18,6 +18,10 @@ Managed Kafka
:nosignatures:
:template: autosummary/model_class.rst
+ oci.managed_kafka.models.AddonCollection
+ oci.managed_kafka.models.AddonOptionCollection
+ oci.managed_kafka.models.AddonOptionSummary
+ oci.managed_kafka.models.AddonSummary
oci.managed_kafka.models.BootstrapUrl
oci.managed_kafka.models.BrokerShape
oci.managed_kafka.models.ChangeKafkaClusterCompartmentDetails
@@ -25,7 +29,10 @@ Managed Kafka
oci.managed_kafka.models.CreateKafkaClusterConfigDetails
oci.managed_kafka.models.CreateKafkaClusterDetails
oci.managed_kafka.models.EnableSuperuserDetails
+ oci.managed_kafka.models.InstallAddonDetails
+ oci.managed_kafka.models.InstallPublicConnectivityAddonDetails
oci.managed_kafka.models.KafkaCluster
+ oci.managed_kafka.models.KafkaClusterAddon
oci.managed_kafka.models.KafkaClusterCollection
oci.managed_kafka.models.KafkaClusterConfig
oci.managed_kafka.models.KafkaClusterConfigCollection
@@ -36,9 +43,12 @@ Managed Kafka
oci.managed_kafka.models.KafkaClusterSummary
oci.managed_kafka.models.NodeShapeCollection
oci.managed_kafka.models.NodeShapeSummary
+ oci.managed_kafka.models.PublicConnectivityAddon
oci.managed_kafka.models.SubnetSet
+ oci.managed_kafka.models.UpdateAddonDetails
oci.managed_kafka.models.UpdateKafkaClusterConfigDetails
oci.managed_kafka.models.UpdateKafkaClusterDetails
+ oci.managed_kafka.models.UpdatePublicConnectivityAddonDetails
oci.managed_kafka.models.WorkRequest
oci.managed_kafka.models.WorkRequestError
oci.managed_kafka.models.WorkRequestErrorCollection
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonCollection.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonCollection.rst
new file mode 100644
index 0000000000..c348557cf3
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonCollection.rst
@@ -0,0 +1,11 @@
+AddonCollection
+===============
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: AddonCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonOptionCollection.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonOptionCollection.rst
new file mode 100644
index 0000000000..2d65bbad91
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonOptionCollection.rst
@@ -0,0 +1,11 @@
+AddonOptionCollection
+=====================
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: AddonOptionCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonOptionSummary.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonOptionSummary.rst
new file mode 100644
index 0000000000..4388a481fd
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonOptionSummary.rst
@@ -0,0 +1,11 @@
+AddonOptionSummary
+==================
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: AddonOptionSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonSummary.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonSummary.rst
new file mode 100644
index 0000000000..5f0284ad69
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.AddonSummary.rst
@@ -0,0 +1,11 @@
+AddonSummary
+============
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: AddonSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.InstallAddonDetails.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.InstallAddonDetails.rst
new file mode 100644
index 0000000000..e3efba4c64
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.InstallAddonDetails.rst
@@ -0,0 +1,11 @@
+InstallAddonDetails
+===================
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: InstallAddonDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.InstallPublicConnectivityAddonDetails.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.InstallPublicConnectivityAddonDetails.rst
new file mode 100644
index 0000000000..a22538281d
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.InstallPublicConnectivityAddonDetails.rst
@@ -0,0 +1,11 @@
+InstallPublicConnectivityAddonDetails
+=====================================
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: InstallPublicConnectivityAddonDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.KafkaClusterAddon.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.KafkaClusterAddon.rst
new file mode 100644
index 0000000000..de910a1fb4
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.KafkaClusterAddon.rst
@@ -0,0 +1,11 @@
+KafkaClusterAddon
+=================
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: KafkaClusterAddon
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.PublicConnectivityAddon.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.PublicConnectivityAddon.rst
new file mode 100644
index 0000000000..bba03d2697
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.PublicConnectivityAddon.rst
@@ -0,0 +1,11 @@
+PublicConnectivityAddon
+=======================
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: PublicConnectivityAddon
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.UpdateAddonDetails.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.UpdateAddonDetails.rst
new file mode 100644
index 0000000000..60ad9d6691
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.UpdateAddonDetails.rst
@@ -0,0 +1,11 @@
+UpdateAddonDetails
+==================
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: UpdateAddonDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/managed_kafka/models/oci.managed_kafka.models.UpdatePublicConnectivityAddonDetails.rst b/docs/api/managed_kafka/models/oci.managed_kafka.models.UpdatePublicConnectivityAddonDetails.rst
new file mode 100644
index 0000000000..21dd5b5176
--- /dev/null
+++ b/docs/api/managed_kafka/models/oci.managed_kafka.models.UpdatePublicConnectivityAddonDetails.rst
@@ -0,0 +1,11 @@
+UpdatePublicConnectivityAddonDetails
+====================================
+
+.. currentmodule:: oci.managed_kafka.models
+
+.. autoclass:: UpdatePublicConnectivityAddonDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer.rst b/docs/api/marketplace_private_offer.rst
index 903880b972..4b056e4f9d 100644
--- a/docs/api/marketplace_private_offer.rst
+++ b/docs/api/marketplace_private_offer.rst
@@ -8,8 +8,12 @@ Marketplace Private Offer
oci.marketplace_private_offer.AttachmentClient
oci.marketplace_private_offer.OfferClient
+ oci.marketplace_private_offer.OfferQuoteClient
+ oci.marketplace_private_offer.QuoteAttachmentClient
oci.marketplace_private_offer.AttachmentClientCompositeOperations
oci.marketplace_private_offer.OfferClientCompositeOperations
+ oci.marketplace_private_offer.OfferQuoteClientCompositeOperations
+ oci.marketplace_private_offer.QuoteAttachmentClientCompositeOperations
--------
Models
@@ -27,14 +31,27 @@ Marketplace Private Offer
oci.marketplace_private_offer.models.Contact
oci.marketplace_private_offer.models.CreateAttachmentDetails
oci.marketplace_private_offer.models.CreateOfferDetails
+ oci.marketplace_private_offer.models.CreateOfferQuoteDetails
+ oci.marketplace_private_offer.models.CreateQuoteAttachmentDetails
oci.marketplace_private_offer.models.CustomField
+ oci.marketplace_private_offer.models.IsvInformation
oci.marketplace_private_offer.models.Offer
oci.marketplace_private_offer.models.OfferCollection
oci.marketplace_private_offer.models.OfferInternalDetail
+ oci.marketplace_private_offer.models.OfferQuote
+ oci.marketplace_private_offer.models.OfferQuoteCollection
+ oci.marketplace_private_offer.models.OfferQuoteInternalDetail
+ oci.marketplace_private_offer.models.OfferQuoteSummary
oci.marketplace_private_offer.models.OfferSummary
oci.marketplace_private_offer.models.Pricing
oci.marketplace_private_offer.models.PublisherSummary
+ oci.marketplace_private_offer.models.QuoteAttachment
+ oci.marketplace_private_offer.models.QuoteAttachmentCollection
+ oci.marketplace_private_offer.models.QuoteAttachmentSummary
+ oci.marketplace_private_offer.models.ResellerInformation
oci.marketplace_private_offer.models.ResourceBundle
+ oci.marketplace_private_offer.models.RespondToOfferQuoteDetails
oci.marketplace_private_offer.models.SellerInformation
oci.marketplace_private_offer.models.UpdateOfferDetails
+ oci.marketplace_private_offer.models.UpdateOfferQuoteDetails
oci.marketplace_private_offer.models.UploadData
diff --git a/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.OfferQuoteClient.rst b/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.OfferQuoteClient.rst
new file mode 100644
index 0000000000..14efad3571
--- /dev/null
+++ b/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.OfferQuoteClient.rst
@@ -0,0 +1,8 @@
+OfferQuoteClient
+================
+
+.. currentmodule:: oci.marketplace_private_offer
+
+.. autoclass:: OfferQuoteClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.OfferQuoteClientCompositeOperations.rst b/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.OfferQuoteClientCompositeOperations.rst
new file mode 100644
index 0000000000..a07a450d5d
--- /dev/null
+++ b/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.OfferQuoteClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+OfferQuoteClientCompositeOperations
+===================================
+
+.. currentmodule:: oci.marketplace_private_offer
+
+.. autoclass:: OfferQuoteClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.QuoteAttachmentClient.rst b/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.QuoteAttachmentClient.rst
new file mode 100644
index 0000000000..213dea9f38
--- /dev/null
+++ b/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.QuoteAttachmentClient.rst
@@ -0,0 +1,8 @@
+QuoteAttachmentClient
+=====================
+
+.. currentmodule:: oci.marketplace_private_offer
+
+.. autoclass:: QuoteAttachmentClient
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.QuoteAttachmentClientCompositeOperations.rst b/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.QuoteAttachmentClientCompositeOperations.rst
new file mode 100644
index 0000000000..861633ce5f
--- /dev/null
+++ b/docs/api/marketplace_private_offer/client/oci.marketplace_private_offer.QuoteAttachmentClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+QuoteAttachmentClientCompositeOperations
+========================================
+
+.. currentmodule:: oci.marketplace_private_offer
+
+.. autoclass:: QuoteAttachmentClientCompositeOperations
+ :special-members: __init__
+ :members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.CreateOfferQuoteDetails.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.CreateOfferQuoteDetails.rst
new file mode 100644
index 0000000000..c02a95fb42
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.CreateOfferQuoteDetails.rst
@@ -0,0 +1,11 @@
+CreateOfferQuoteDetails
+=======================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: CreateOfferQuoteDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.CreateQuoteAttachmentDetails.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.CreateQuoteAttachmentDetails.rst
new file mode 100644
index 0000000000..15ef4ffa0b
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.CreateQuoteAttachmentDetails.rst
@@ -0,0 +1,11 @@
+CreateQuoteAttachmentDetails
+============================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: CreateQuoteAttachmentDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.IsvInformation.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.IsvInformation.rst
new file mode 100644
index 0000000000..40e6471e30
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.IsvInformation.rst
@@ -0,0 +1,11 @@
+IsvInformation
+==============
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: IsvInformation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuote.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuote.rst
new file mode 100644
index 0000000000..d1e1ae74f7
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuote.rst
@@ -0,0 +1,11 @@
+OfferQuote
+==========
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: OfferQuote
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuoteCollection.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuoteCollection.rst
new file mode 100644
index 0000000000..3c504825f0
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuoteCollection.rst
@@ -0,0 +1,11 @@
+OfferQuoteCollection
+====================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: OfferQuoteCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuoteInternalDetail.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuoteInternalDetail.rst
new file mode 100644
index 0000000000..0996015618
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuoteInternalDetail.rst
@@ -0,0 +1,11 @@
+OfferQuoteInternalDetail
+========================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: OfferQuoteInternalDetail
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuoteSummary.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuoteSummary.rst
new file mode 100644
index 0000000000..cd7213730e
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.OfferQuoteSummary.rst
@@ -0,0 +1,11 @@
+OfferQuoteSummary
+=================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: OfferQuoteSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.QuoteAttachment.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.QuoteAttachment.rst
new file mode 100644
index 0000000000..c28354b7b1
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.QuoteAttachment.rst
@@ -0,0 +1,11 @@
+QuoteAttachment
+===============
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: QuoteAttachment
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.QuoteAttachmentCollection.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.QuoteAttachmentCollection.rst
new file mode 100644
index 0000000000..fd5fb26fb3
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.QuoteAttachmentCollection.rst
@@ -0,0 +1,11 @@
+QuoteAttachmentCollection
+=========================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: QuoteAttachmentCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.QuoteAttachmentSummary.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.QuoteAttachmentSummary.rst
new file mode 100644
index 0000000000..89a9f167c3
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.QuoteAttachmentSummary.rst
@@ -0,0 +1,11 @@
+QuoteAttachmentSummary
+======================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: QuoteAttachmentSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.ResellerInformation.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.ResellerInformation.rst
new file mode 100644
index 0000000000..752b81a68a
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.ResellerInformation.rst
@@ -0,0 +1,11 @@
+ResellerInformation
+===================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: ResellerInformation
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.RespondToOfferQuoteDetails.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.RespondToOfferQuoteDetails.rst
new file mode 100644
index 0000000000..a415e2c689
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.RespondToOfferQuoteDetails.rst
@@ -0,0 +1,11 @@
+RespondToOfferQuoteDetails
+==========================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: RespondToOfferQuoteDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.UpdateOfferQuoteDetails.rst b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.UpdateOfferQuoteDetails.rst
new file mode 100644
index 0000000000..8a062166be
--- /dev/null
+++ b/docs/api/marketplace_private_offer/models/oci.marketplace_private_offer.models.UpdateOfferQuoteDetails.rst
@@ -0,0 +1,11 @@
+UpdateOfferQuoteDetails
+=======================
+
+.. currentmodule:: oci.marketplace_private_offer.models
+
+.. autoclass:: UpdateOfferQuoteDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/mysql.rst b/docs/api/mysql.rst
index ab3931fa84..926bac2dcb 100644
--- a/docs/api/mysql.rst
+++ b/docs/api/mysql.rst
@@ -110,6 +110,7 @@ Mysql
oci.mysql.models.HeatWaveClusterTableMemoryEstimate
oci.mysql.models.HeatWaveNode
oci.mysql.models.InitializationVariables
+ oci.mysql.models.Ipv6AddressIpv6SubnetCidrPairDetails
oci.mysql.models.LoggingDestinationConfiguration
oci.mysql.models.MaintenanceDetails
oci.mysql.models.MaintenanceDisabledWindow
diff --git a/docs/api/mysql/models/oci.mysql.models.Ipv6AddressIpv6SubnetCidrPairDetails.rst b/docs/api/mysql/models/oci.mysql.models.Ipv6AddressIpv6SubnetCidrPairDetails.rst
new file mode 100644
index 0000000000..99397b68db
--- /dev/null
+++ b/docs/api/mysql/models/oci.mysql.models.Ipv6AddressIpv6SubnetCidrPairDetails.rst
@@ -0,0 +1,11 @@
+Ipv6AddressIpv6SubnetCidrPairDetails
+====================================
+
+.. currentmodule:: oci.mysql.models
+
+.. autoclass:: Ipv6AddressIpv6SubnetCidrPairDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/opensearch.rst b/docs/api/opensearch.rst
index 3d1b626e0c..3225ac3d61 100644
--- a/docs/api/opensearch.rst
+++ b/docs/api/opensearch.rst
@@ -33,7 +33,6 @@ Opensearch
oci.opensearch.models.CreateMaintenanceDetails
oci.opensearch.models.CreateOpensearchClusterDetails
oci.opensearch.models.CreateOpensearchClusterPipelineDetails
- oci.opensearch.models.CustomerLoggingDetails
oci.opensearch.models.DeleteBlockVolumesForNamespaceDetails
oci.opensearch.models.ExportOpensearchClusterBackupDetails
oci.opensearch.models.ForcePatchClusterDetails
diff --git a/docs/api/psql.rst b/docs/api/psql.rst
index 20e27025b2..495fd269d5 100644
--- a/docs/api/psql.rst
+++ b/docs/api/psql.rst
@@ -29,6 +29,8 @@ Psql
oci.psql.models.ChangeBackupCompartmentDetails
oci.psql.models.ChangeConfigurationCompartmentDetails
oci.psql.models.ChangeDbSystemCompartmentDetails
+ oci.psql.models.ChangeRoleToReplicaDetails
+ oci.psql.models.ChangeRoleToStandaloneDetails
oci.psql.models.ConfigOverrides
oci.psql.models.ConfigParams
oci.psql.models.Configuration
@@ -40,29 +42,50 @@ Psql
oci.psql.models.CreateConfigurationDetails
oci.psql.models.CreateDbInstanceDetails
oci.psql.models.CreateDbSystemDetails
+ oci.psql.models.CreateReplicationConfigDetails
oci.psql.models.Credentials
oci.psql.models.DailyBackupPolicy
+ oci.psql.models.DateTimeRangeCapability
oci.psql.models.DbConfigurationOverrideCollection
oci.psql.models.DbInstance
oci.psql.models.DbInstanceEndpoint
oci.psql.models.DbSystem
oci.psql.models.DbSystemCollection
oci.psql.models.DbSystemDetails
+ oci.psql.models.DbSystemReplicaCollection
+ oci.psql.models.DbSystemReplicaSummary
oci.psql.models.DbSystemSummary
oci.psql.models.DefaultConfigParams
oci.psql.models.DefaultConfiguration
oci.psql.models.DefaultConfigurationCollection
oci.psql.models.DefaultConfigurationDetails
oci.psql.models.DefaultConfigurationSummary
+ oci.psql.models.DisabledInsightDetails
+ oci.psql.models.DisabledKerberosAuthDetails
+ oci.psql.models.EnabledInsightDetails
+ oci.psql.models.EnabledKerberosAuthDetails
oci.psql.models.Endpoint
oci.psql.models.FailoverDbSystemDetails
+ oci.psql.models.GranularityCapability
+ oci.psql.models.InsightCapabilityCollection
+ oci.psql.models.InsightCapabilitySummary
+ oci.psql.models.InsightDataContract
+ oci.psql.models.InsightDataTypeCapability
+ oci.psql.models.InsightFilterCapability
+ oci.psql.models.InsightLimits
+ oci.psql.models.KerberosAuthDetails
+ oci.psql.models.KerberosCredential
oci.psql.models.ManagementPolicy
oci.psql.models.ManagementPolicyDetails
oci.psql.models.MonthlyBackupPolicy
oci.psql.models.NetworkDetails
oci.psql.models.NoneBackupPolicy
+ oci.psql.models.NonePitrPolicy
oci.psql.models.NoneSourceDetails
oci.psql.models.OciOptimizedStorageDetails
+ oci.psql.models.OdspInsight
+ oci.psql.models.OdspInsightDetails
+ oci.psql.models.PaginationCapability
oci.psql.models.PasswordDetails
oci.psql.models.PatchDbSystemDetails
oci.psql.models.PatchInsertInstruction
@@ -73,8 +96,14 @@ Psql
oci.psql.models.PatchRemoveInstruction
oci.psql.models.PatchReplaceInstruction
oci.psql.models.PatchRequireInstruction
+ oci.psql.models.PitrDetails
+ oci.psql.models.PitrPolicy
+ oci.psql.models.PitrTimeWindow
oci.psql.models.PlainTextPasswordDetails
+ oci.psql.models.PointInTimeDbSystemSourceDetails
oci.psql.models.PrimaryDbInstanceDetails
+ oci.psql.models.PrimaryDbSystemSourceDetails
+ oci.psql.models.ReplicationConfig
oci.psql.models.ResetMasterUserPasswordDetails
oci.psql.models.RestartDbInstanceInDbSystemDetails
oci.psql.models.RestoreDbSystemDetails
@@ -82,15 +111,21 @@ Psql
oci.psql.models.ShapeMemoryOptions
oci.psql.models.ShapeOcpuOptions
oci.psql.models.ShapeSummary
+ oci.psql.models.SortingCapability
+ oci.psql.models.SortingDefault
oci.psql.models.SourceBackupDetails
oci.psql.models.SourceDetails
+ oci.psql.models.StandardPitrPolicy
+ oci.psql.models.StartDbSystemDetails
oci.psql.models.StorageDetails
+ oci.psql.models.SwitchOverDetails
oci.psql.models.UpdateBackupDetails
oci.psql.models.UpdateConfigurationDetails
oci.psql.models.UpdateDbConfigParams
oci.psql.models.UpdateDbSystemDbInstanceDetails
oci.psql.models.UpdateDbSystemDetails
oci.psql.models.UpdateNetworkDetails
+ oci.psql.models.UpdateReplicationConfigDetails
oci.psql.models.UpdateStorageDetailsParams
oci.psql.models.VaultSecretPasswordDetails
oci.psql.models.WeeklyBackupPolicy
diff --git a/docs/api/psql/models/oci.psql.models.ChangeRoleToReplicaDetails.rst b/docs/api/psql/models/oci.psql.models.ChangeRoleToReplicaDetails.rst
new file mode 100644
index 0000000000..a9540b8cca
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.ChangeRoleToReplicaDetails.rst
@@ -0,0 +1,11 @@
+ChangeRoleToReplicaDetails
+==========================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: ChangeRoleToReplicaDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.ChangeRoleToStandaloneDetails.rst b/docs/api/psql/models/oci.psql.models.ChangeRoleToStandaloneDetails.rst
new file mode 100644
index 0000000000..fad4772c0e
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.ChangeRoleToStandaloneDetails.rst
@@ -0,0 +1,11 @@
+ChangeRoleToStandaloneDetails
+=============================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: ChangeRoleToStandaloneDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.CreateReplicationConfigDetails.rst b/docs/api/psql/models/oci.psql.models.CreateReplicationConfigDetails.rst
new file mode 100644
index 0000000000..63ea94c7a4
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.CreateReplicationConfigDetails.rst
@@ -0,0 +1,11 @@
+CreateReplicationConfigDetails
+==============================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: CreateReplicationConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.DateTimeRangeCapability.rst b/docs/api/psql/models/oci.psql.models.DateTimeRangeCapability.rst
new file mode 100644
index 0000000000..2d685a297e
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.DateTimeRangeCapability.rst
@@ -0,0 +1,11 @@
+DateTimeRangeCapability
+=======================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: DateTimeRangeCapability
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.DbSystemReplicaCollection.rst b/docs/api/psql/models/oci.psql.models.DbSystemReplicaCollection.rst
new file mode 100644
index 0000000000..acf64b6cb1
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.DbSystemReplicaCollection.rst
@@ -0,0 +1,11 @@
+DbSystemReplicaCollection
+=========================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: DbSystemReplicaCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.DbSystemReplicaSummary.rst b/docs/api/psql/models/oci.psql.models.DbSystemReplicaSummary.rst
new file mode 100644
index 0000000000..88571588ff
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.DbSystemReplicaSummary.rst
@@ -0,0 +1,11 @@
+DbSystemReplicaSummary
+======================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: DbSystemReplicaSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.DisabledInsightDetails.rst b/docs/api/psql/models/oci.psql.models.DisabledInsightDetails.rst
new file mode 100644
index 0000000000..65ea5f0e3e
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.DisabledInsightDetails.rst
@@ -0,0 +1,11 @@
+DisabledInsightDetails
+======================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: DisabledInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.DisabledKerberosAuthDetails.rst b/docs/api/psql/models/oci.psql.models.DisabledKerberosAuthDetails.rst
new file mode 100644
index 0000000000..fd8e81992a
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.DisabledKerberosAuthDetails.rst
@@ -0,0 +1,11 @@
+DisabledKerberosAuthDetails
+===========================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: DisabledKerberosAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.EnabledInsightDetails.rst b/docs/api/psql/models/oci.psql.models.EnabledInsightDetails.rst
new file mode 100644
index 0000000000..f26f15edbf
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.EnabledInsightDetails.rst
@@ -0,0 +1,11 @@
+EnabledInsightDetails
+=====================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: EnabledInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.EnabledKerberosAuthDetails.rst b/docs/api/psql/models/oci.psql.models.EnabledKerberosAuthDetails.rst
new file mode 100644
index 0000000000..7b28c3466a
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.EnabledKerberosAuthDetails.rst
@@ -0,0 +1,11 @@
+EnabledKerberosAuthDetails
+==========================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: EnabledKerberosAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.GranularityCapability.rst b/docs/api/psql/models/oci.psql.models.GranularityCapability.rst
new file mode 100644
index 0000000000..391d026cc1
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.GranularityCapability.rst
@@ -0,0 +1,11 @@
+GranularityCapability
+=====================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: GranularityCapability
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.InsightCapabilityCollection.rst b/docs/api/psql/models/oci.psql.models.InsightCapabilityCollection.rst
new file mode 100644
index 0000000000..1f405c2918
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.InsightCapabilityCollection.rst
@@ -0,0 +1,11 @@
+InsightCapabilityCollection
+===========================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: InsightCapabilityCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.InsightCapabilitySummary.rst b/docs/api/psql/models/oci.psql.models.InsightCapabilitySummary.rst
new file mode 100644
index 0000000000..c4ba4c7ca7
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.InsightCapabilitySummary.rst
@@ -0,0 +1,11 @@
+InsightCapabilitySummary
+========================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: InsightCapabilitySummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.InsightDataContract.rst b/docs/api/psql/models/oci.psql.models.InsightDataContract.rst
new file mode 100644
index 0000000000..68c18ec120
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.InsightDataContract.rst
@@ -0,0 +1,11 @@
+InsightDataContract
+===================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: InsightDataContract
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.InsightDataTypeCapability.rst b/docs/api/psql/models/oci.psql.models.InsightDataTypeCapability.rst
new file mode 100644
index 0000000000..96d80dba8c
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.InsightDataTypeCapability.rst
@@ -0,0 +1,11 @@
+InsightDataTypeCapability
+=========================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: InsightDataTypeCapability
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.InsightFilterCapability.rst b/docs/api/psql/models/oci.psql.models.InsightFilterCapability.rst
new file mode 100644
index 0000000000..cf4936a1c9
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.InsightFilterCapability.rst
@@ -0,0 +1,11 @@
+InsightFilterCapability
+=======================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: InsightFilterCapability
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.InsightLimits.rst b/docs/api/psql/models/oci.psql.models.InsightLimits.rst
new file mode 100644
index 0000000000..5328a960bd
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.InsightLimits.rst
@@ -0,0 +1,11 @@
+InsightLimits
+=============
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: InsightLimits
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.KerberosAuthDetails.rst b/docs/api/psql/models/oci.psql.models.KerberosAuthDetails.rst
new file mode 100644
index 0000000000..3f9a6b0fa4
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.KerberosAuthDetails.rst
@@ -0,0 +1,11 @@
+KerberosAuthDetails
+===================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: KerberosAuthDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.KerberosCredential.rst b/docs/api/psql/models/oci.psql.models.KerberosCredential.rst
new file mode 100644
index 0000000000..28ea4c7032
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.KerberosCredential.rst
@@ -0,0 +1,11 @@
+KerberosCredential
+==================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: KerberosCredential
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.NonePitrPolicy.rst b/docs/api/psql/models/oci.psql.models.NonePitrPolicy.rst
new file mode 100644
index 0000000000..7d32afdb0a
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.NonePitrPolicy.rst
@@ -0,0 +1,11 @@
+NonePitrPolicy
+==============
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: NonePitrPolicy
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.OdspInsight.rst b/docs/api/psql/models/oci.psql.models.OdspInsight.rst
new file mode 100644
index 0000000000..bd48ea4eee
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.OdspInsight.rst
@@ -0,0 +1,11 @@
+OdspInsight
+===========
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: OdspInsight
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.OdspInsightDetails.rst b/docs/api/psql/models/oci.psql.models.OdspInsightDetails.rst
new file mode 100644
index 0000000000..db04a0d22e
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.OdspInsightDetails.rst
@@ -0,0 +1,11 @@
+OdspInsightDetails
+==================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: OdspInsightDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.PaginationCapability.rst b/docs/api/psql/models/oci.psql.models.PaginationCapability.rst
new file mode 100644
index 0000000000..ad70fc3d5c
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.PaginationCapability.rst
@@ -0,0 +1,11 @@
+PaginationCapability
+====================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: PaginationCapability
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.PitrDetails.rst b/docs/api/psql/models/oci.psql.models.PitrDetails.rst
new file mode 100644
index 0000000000..0a443dad8d
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.PitrDetails.rst
@@ -0,0 +1,11 @@
+PitrDetails
+===========
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: PitrDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.PitrPolicy.rst b/docs/api/psql/models/oci.psql.models.PitrPolicy.rst
new file mode 100644
index 0000000000..09cd840a32
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.PitrPolicy.rst
@@ -0,0 +1,11 @@
+PitrPolicy
+==========
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: PitrPolicy
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.PitrTimeWindow.rst b/docs/api/psql/models/oci.psql.models.PitrTimeWindow.rst
new file mode 100644
index 0000000000..ea0f644fab
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.PitrTimeWindow.rst
@@ -0,0 +1,11 @@
+PitrTimeWindow
+==============
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: PitrTimeWindow
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.PointInTimeDbSystemSourceDetails.rst b/docs/api/psql/models/oci.psql.models.PointInTimeDbSystemSourceDetails.rst
new file mode 100644
index 0000000000..75db25401e
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.PointInTimeDbSystemSourceDetails.rst
@@ -0,0 +1,11 @@
+PointInTimeDbSystemSourceDetails
+================================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: PointInTimeDbSystemSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.PrimaryDbSystemSourceDetails.rst b/docs/api/psql/models/oci.psql.models.PrimaryDbSystemSourceDetails.rst
new file mode 100644
index 0000000000..a58a7a7c95
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.PrimaryDbSystemSourceDetails.rst
@@ -0,0 +1,11 @@
+PrimaryDbSystemSourceDetails
+============================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: PrimaryDbSystemSourceDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.ReplicationConfig.rst b/docs/api/psql/models/oci.psql.models.ReplicationConfig.rst
new file mode 100644
index 0000000000..c6c0574bb8
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.ReplicationConfig.rst
@@ -0,0 +1,11 @@
+ReplicationConfig
+=================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: ReplicationConfig
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.SortingCapability.rst b/docs/api/psql/models/oci.psql.models.SortingCapability.rst
new file mode 100644
index 0000000000..e5a53c6ef7
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.SortingCapability.rst
@@ -0,0 +1,11 @@
+SortingCapability
+=================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: SortingCapability
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.SortingDefault.rst b/docs/api/psql/models/oci.psql.models.SortingDefault.rst
new file mode 100644
index 0000000000..f41db26cfe
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.SortingDefault.rst
@@ -0,0 +1,11 @@
+SortingDefault
+==============
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: SortingDefault
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.StandardPitrPolicy.rst b/docs/api/psql/models/oci.psql.models.StandardPitrPolicy.rst
new file mode 100644
index 0000000000..b2e2f30a7d
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.StandardPitrPolicy.rst
@@ -0,0 +1,11 @@
+StandardPitrPolicy
+==================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: StandardPitrPolicy
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.StartDbSystemDetails.rst b/docs/api/psql/models/oci.psql.models.StartDbSystemDetails.rst
new file mode 100644
index 0000000000..058f9126a9
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.StartDbSystemDetails.rst
@@ -0,0 +1,11 @@
+StartDbSystemDetails
+====================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: StartDbSystemDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.SwitchOverDetails.rst b/docs/api/psql/models/oci.psql.models.SwitchOverDetails.rst
new file mode 100644
index 0000000000..9f39542717
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.SwitchOverDetails.rst
@@ -0,0 +1,11 @@
+SwitchOverDetails
+=================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: SwitchOverDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/psql/models/oci.psql.models.UpdateReplicationConfigDetails.rst b/docs/api/psql/models/oci.psql.models.UpdateReplicationConfigDetails.rst
new file mode 100644
index 0000000000..c622c03c0e
--- /dev/null
+++ b/docs/api/psql/models/oci.psql.models.UpdateReplicationConfigDetails.rst
@@ -0,0 +1,11 @@
+UpdateReplicationConfigDetails
+==============================
+
+.. currentmodule:: oci.psql.models
+
+.. autoclass:: UpdateReplicationConfigDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager.rst b/docs/api/resource_manager.rst
index e90695ff68..03c711c571 100644
--- a/docs/api/resource_manager.rst
+++ b/docs/api/resource_manager.rst
@@ -27,8 +27,8 @@ Resource Manager
oci.resource_manager.models.AssociatedResourcesCollection
oci.resource_manager.models.BitbucketCloudConfigSource
oci.resource_manager.models.BitbucketCloudConfigSourceRecord
- oci.resource_manager.models.BitbucketCloudUsernameAppPasswordConfigurationSourceProvider
- oci.resource_manager.models.BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary
+ oci.resource_manager.models.BitbucketCloudEmailApiTokenConfigurationSourceProvider
+ oci.resource_manager.models.BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary
oci.resource_manager.models.BitbucketServerAccessTokenConfigurationSourceProvider
oci.resource_manager.models.BitbucketServerAccessTokenConfigurationSourceProviderSummary
oci.resource_manager.models.BitbucketServerConfigSource
@@ -47,7 +47,7 @@ Resource Manager
oci.resource_manager.models.CreateApplyJobOperationDetails
oci.resource_manager.models.CreateApplyRollbackJobOperationDetails
oci.resource_manager.models.CreateBitbucketCloudConfigSourceDetails
- oci.resource_manager.models.CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
+ oci.resource_manager.models.CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
oci.resource_manager.models.CreateBitbucketServerAccessTokenConfigurationSourceProviderDetails
oci.resource_manager.models.CreateBitbucketServerConfigSourceDetails
oci.resource_manager.models.CreateCompartmentConfigSourceDetails
@@ -93,6 +93,7 @@ Resource Manager
oci.resource_manager.models.JobOutputsCollection
oci.resource_manager.models.JobSummary
oci.resource_manager.models.LogEntry
+ oci.resource_manager.models.LogEntryCollection
oci.resource_manager.models.ObjectStorageConfigSource
oci.resource_manager.models.ObjectStorageConfigSourceRecord
oci.resource_manager.models.PlanJobOperationDetails
@@ -121,7 +122,7 @@ Resource Manager
oci.resource_manager.models.TerraformVersionCollection
oci.resource_manager.models.TerraformVersionSummary
oci.resource_manager.models.UpdateBitbucketCloudConfigSourceDetails
- oci.resource_manager.models.UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
+ oci.resource_manager.models.UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
oci.resource_manager.models.UpdateBitbucketServerAccessTokenConfigurationSourceProviderDetails
oci.resource_manager.models.UpdateBitbucketServerConfigSourceDetails
oci.resource_manager.models.UpdateConfigSourceDetails
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudEmailApiTokenConfigurationSourceProvider.rst b/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudEmailApiTokenConfigurationSourceProvider.rst
new file mode 100644
index 0000000000..8aa7f78577
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudEmailApiTokenConfigurationSourceProvider.rst
@@ -0,0 +1,11 @@
+BitbucketCloudEmailApiTokenConfigurationSourceProvider
+======================================================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: BitbucketCloudEmailApiTokenConfigurationSourceProvider
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.rst b/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.rst
new file mode 100644
index 0000000000..cab30dad4a
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary.rst
@@ -0,0 +1,11 @@
+BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary
+=============================================================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: BitbucketCloudEmailApiTokenConfigurationSourceProviderSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.rst b/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.rst
deleted file mode 100644
index 49be9bc94a..0000000000
--- a/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudUsernameAppPasswordConfigurationSourceProvider.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-BitbucketCloudUsernameAppPasswordConfigurationSourceProvider
-============================================================
-
-.. currentmodule:: oci.resource_manager.models
-
-.. autoclass:: BitbucketCloudUsernameAppPasswordConfigurationSourceProvider
- :show-inheritance:
- :special-members: __init__
- :members:
- :undoc-members:
- :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.rst b/docs/api/resource_manager/models/oci.resource_manager.models.CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.rst
similarity index 60%
rename from docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.rst
rename to docs/api/resource_manager/models/oci.resource_manager.models.CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.rst
index 32ecfef507..4147671900 100644
--- a/docs/api/resource_manager/models/oci.resource_manager.models.BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary.rst
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.rst
@@ -1,9 +1,9 @@
-BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary
+CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
===================================================================
.. currentmodule:: oci.resource_manager.models
-.. autoclass:: BitbucketCloudUsernameAppPasswordConfigurationSourceProviderSummary
+.. autoclass:: CreateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
:show-inheritance:
:special-members: __init__
:members:
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.rst
deleted file mode 100644
index 23d7d9752c..0000000000
--- a/docs/api/resource_manager/models/oci.resource_manager.models.CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.rst
+++ /dev/null
@@ -1,11 +0,0 @@
-CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
-=========================================================================
-
-.. currentmodule:: oci.resource_manager.models
-
-.. autoclass:: CreateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
- :show-inheritance:
- :special-members: __init__
- :members:
- :undoc-members:
- :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.LogEntryCollection.rst b/docs/api/resource_manager/models/oci.resource_manager.models.LogEntryCollection.rst
new file mode 100644
index 0000000000..1d61976588
--- /dev/null
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.LogEntryCollection.rst
@@ -0,0 +1,11 @@
+LogEntryCollection
+==================
+
+.. currentmodule:: oci.resource_manager.models
+
+.. autoclass:: LogEntryCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/resource_manager/models/oci.resource_manager.models.UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.rst b/docs/api/resource_manager/models/oci.resource_manager.models.UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.rst
similarity index 56%
rename from docs/api/resource_manager/models/oci.resource_manager.models.UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.rst
rename to docs/api/resource_manager/models/oci.resource_manager.models.UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.rst
index 901891862a..b4f387dbcb 100644
--- a/docs/api/resource_manager/models/oci.resource_manager.models.UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails.rst
+++ b/docs/api/resource_manager/models/oci.resource_manager.models.UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails.rst
@@ -1,9 +1,9 @@
-UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
-=========================================================================
+UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
+===================================================================
.. currentmodule:: oci.resource_manager.models
-.. autoclass:: UpdateBitbucketCloudUsernameAppPasswordConfigurationSourceProviderDetails
+.. autoclass:: UpdateBitbucketCloudEmailApiTokenConfigurationSourceProviderDetails
:show-inheritance:
:special-members: __init__
:members:
diff --git a/docs/api/self.rst b/docs/api/self.rst
index 28b003613f..bf71250a08 100644
--- a/docs/api/self.rst
+++ b/docs/api/self.rst
@@ -23,22 +23,29 @@ Self
oci.self.models.ActivateSubscriptionDetails
oci.self.models.ActivateSubscriptionResult
oci.self.models.BillingDetails
+ oci.self.models.CancelSubscriptionDetails
oci.self.models.ChangeSubscriptionCompartmentDetails
oci.self.models.CreateSubscriptionDetails
+ oci.self.models.CreateSubscriptionUsageRecordDetails
oci.self.models.ExtendedMetadata
oci.self.models.ListingSubscriptionSummary
oci.self.models.ListingSubscriptionsCollection
oci.self.models.Meter
+ oci.self.models.Partner
+ oci.self.models.PartnerCollection
oci.self.models.PartnerSubscription
+ oci.self.models.PartnerSummary
oci.self.models.PricingPlan
oci.self.models.PricingRate
oci.self.models.ResolveSubscriptionDetails
+ oci.self.models.SubmitSubscriptionUsageRecordsDetails
oci.self.models.Subscription
oci.self.models.SubscriptionCollection
oci.self.models.SubscriptionDetails
oci.self.models.SubscriptionSummary
oci.self.models.SubscriptionToken
oci.self.models.UpdateSubscriptionDetails
+ oci.self.models.UsageDimension
oci.self.models.WorkRequest
oci.self.models.WorkRequestError
oci.self.models.WorkRequestErrorCollection
diff --git a/docs/api/self/models/oci.self.models.CancelSubscriptionDetails.rst b/docs/api/self/models/oci.self.models.CancelSubscriptionDetails.rst
new file mode 100644
index 0000000000..bd400c6256
--- /dev/null
+++ b/docs/api/self/models/oci.self.models.CancelSubscriptionDetails.rst
@@ -0,0 +1,11 @@
+CancelSubscriptionDetails
+=========================
+
+.. currentmodule:: oci.self.models
+
+.. autoclass:: CancelSubscriptionDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/self/models/oci.self.models.CreateSubscriptionUsageRecordDetails.rst b/docs/api/self/models/oci.self.models.CreateSubscriptionUsageRecordDetails.rst
new file mode 100644
index 0000000000..994be73459
--- /dev/null
+++ b/docs/api/self/models/oci.self.models.CreateSubscriptionUsageRecordDetails.rst
@@ -0,0 +1,11 @@
+CreateSubscriptionUsageRecordDetails
+====================================
+
+.. currentmodule:: oci.self.models
+
+.. autoclass:: CreateSubscriptionUsageRecordDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/self/models/oci.self.models.Partner.rst b/docs/api/self/models/oci.self.models.Partner.rst
new file mode 100644
index 0000000000..01acb92d49
--- /dev/null
+++ b/docs/api/self/models/oci.self.models.Partner.rst
@@ -0,0 +1,11 @@
+Partner
+=======
+
+.. currentmodule:: oci.self.models
+
+.. autoclass:: Partner
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/self/models/oci.self.models.PartnerCollection.rst b/docs/api/self/models/oci.self.models.PartnerCollection.rst
new file mode 100644
index 0000000000..7fe0886d28
--- /dev/null
+++ b/docs/api/self/models/oci.self.models.PartnerCollection.rst
@@ -0,0 +1,11 @@
+PartnerCollection
+=================
+
+.. currentmodule:: oci.self.models
+
+.. autoclass:: PartnerCollection
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/self/models/oci.self.models.PartnerSummary.rst b/docs/api/self/models/oci.self.models.PartnerSummary.rst
new file mode 100644
index 0000000000..064e1f50af
--- /dev/null
+++ b/docs/api/self/models/oci.self.models.PartnerSummary.rst
@@ -0,0 +1,11 @@
+PartnerSummary
+==============
+
+.. currentmodule:: oci.self.models
+
+.. autoclass:: PartnerSummary
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/self/models/oci.self.models.SubmitSubscriptionUsageRecordsDetails.rst b/docs/api/self/models/oci.self.models.SubmitSubscriptionUsageRecordsDetails.rst
new file mode 100644
index 0000000000..2cdf2b9773
--- /dev/null
+++ b/docs/api/self/models/oci.self.models.SubmitSubscriptionUsageRecordsDetails.rst
@@ -0,0 +1,11 @@
+SubmitSubscriptionUsageRecordsDetails
+=====================================
+
+.. currentmodule:: oci.self.models
+
+.. autoclass:: SubmitSubscriptionUsageRecordsDetails
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/api/self/models/oci.self.models.UsageDimension.rst b/docs/api/self/models/oci.self.models.UsageDimension.rst
new file mode 100644
index 0000000000..b12f08f9d1
--- /dev/null
+++ b/docs/api/self/models/oci.self.models.UsageDimension.rst
@@ -0,0 +1,11 @@
+UsageDimension
+==============
+
+.. currentmodule:: oci.self.models
+
+.. autoclass:: UsageDimension
+ :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 797ea70ab9..367f5b5a2e 100644
--- a/docs/api/tenant_manager_control_plane.rst
+++ b/docs/api/tenant_manager_control_plane.rst
@@ -10,6 +10,7 @@ Tenant Manager Control Plane
oci.tenant_manager_control_plane.DomainGovernanceClient
oci.tenant_manager_control_plane.GovernanceClient
oci.tenant_manager_control_plane.LinkClient
+ oci.tenant_manager_control_plane.LinkFeaturesClient
oci.tenant_manager_control_plane.OrdersClient
oci.tenant_manager_control_plane.OrganizationClient
oci.tenant_manager_control_plane.RecipientInvitationClient
@@ -20,6 +21,7 @@ Tenant Manager Control Plane
oci.tenant_manager_control_plane.DomainGovernanceClientCompositeOperations
oci.tenant_manager_control_plane.GovernanceClientCompositeOperations
oci.tenant_manager_control_plane.LinkClientCompositeOperations
+ oci.tenant_manager_control_plane.LinkFeaturesClientCompositeOperations
oci.tenant_manager_control_plane.OrdersClientCompositeOperations
oci.tenant_manager_control_plane.OrganizationClientCompositeOperations
oci.tenant_manager_control_plane.RecipientInvitationClientCompositeOperations
@@ -64,9 +66,13 @@ Tenant Manager Control Plane
oci.tenant_manager_control_plane.models.DomainGovernanceCollection
oci.tenant_manager_control_plane.models.DomainGovernanceSummary
oci.tenant_manager_control_plane.models.DomainSummary
+ oci.tenant_manager_control_plane.models.InvitationFeature
oci.tenant_manager_control_plane.models.Link
oci.tenant_manager_control_plane.models.LinkCollection
+ oci.tenant_manager_control_plane.models.LinkFeatureSummary
+ oci.tenant_manager_control_plane.models.LinkFeaturesCollection
oci.tenant_manager_control_plane.models.LinkSummary
+ oci.tenant_manager_control_plane.models.LinkWithTenancyNames
oci.tenant_manager_control_plane.models.Order
oci.tenant_manager_control_plane.models.Organization
oci.tenant_manager_control_plane.models.OrganizationCollection
@@ -78,7 +84,6 @@ Tenant Manager Control Plane
oci.tenant_manager_control_plane.models.RecipientInvitation
oci.tenant_manager_control_plane.models.RecipientInvitationCollection
oci.tenant_manager_control_plane.models.RecipientInvitationSummary
- oci.tenant_manager_control_plane.models.ReviveWorkflowInstanceDetails
oci.tenant_manager_control_plane.models.SenderInvitation
oci.tenant_manager_control_plane.models.SenderInvitationCollection
oci.tenant_manager_control_plane.models.SenderInvitationSummary
diff --git a/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.LinkFeaturesClient.rst b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.LinkFeaturesClient.rst
new file mode 100644
index 0000000000..244c210482
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.LinkFeaturesClient.rst
@@ -0,0 +1,8 @@
+LinkFeaturesClient
+==================
+
+.. currentmodule:: oci.tenant_manager_control_plane
+
+.. autoclass:: LinkFeaturesClient
+ :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.LinkFeaturesClientCompositeOperations.rst b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.LinkFeaturesClientCompositeOperations.rst
new file mode 100644
index 0000000000..5a754dacdc
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/client/oci.tenant_manager_control_plane.LinkFeaturesClientCompositeOperations.rst
@@ -0,0 +1,8 @@
+LinkFeaturesClientCompositeOperations
+=====================================
+
+.. currentmodule:: oci.tenant_manager_control_plane
+
+.. autoclass:: LinkFeaturesClientCompositeOperations
+ :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.ReviveWorkflowInstanceDetails.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.InvitationFeature.rst
similarity index 62%
rename from docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ReviveWorkflowInstanceDetails.rst
rename to docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.InvitationFeature.rst
index 89f6bf4ca5..f40c258e39 100644
--- a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.ReviveWorkflowInstanceDetails.rst
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.InvitationFeature.rst
@@ -1,9 +1,9 @@
-ReviveWorkflowInstanceDetails
-=============================
+InvitationFeature
+=================
.. currentmodule:: oci.tenant_manager_control_plane.models
-.. autoclass:: ReviveWorkflowInstanceDetails
+.. autoclass:: InvitationFeature
:show-inheritance:
:special-members: __init__
:members:
diff --git a/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.LinkFeatureSummary.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.LinkFeatureSummary.rst
new file mode 100644
index 0000000000..974807890f
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.LinkFeatureSummary.rst
@@ -0,0 +1,11 @@
+LinkFeatureSummary
+==================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: LinkFeatureSummary
+ :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.LinkFeaturesCollection.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.LinkFeaturesCollection.rst
new file mode 100644
index 0000000000..b3548644cd
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.LinkFeaturesCollection.rst
@@ -0,0 +1,11 @@
+LinkFeaturesCollection
+======================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: LinkFeaturesCollection
+ :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.LinkWithTenancyNames.rst b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.LinkWithTenancyNames.rst
new file mode 100644
index 0000000000..c75ca8d38d
--- /dev/null
+++ b/docs/api/tenant_manager_control_plane/models/oci.tenant_manager_control_plane.models.LinkWithTenancyNames.rst
@@ -0,0 +1,11 @@
+LinkWithTenancyNames
+====================
+
+.. currentmodule:: oci.tenant_manager_control_plane.models
+
+.. autoclass:: LinkWithTenancyNames
+ :show-inheritance:
+ :special-members: __init__
+ :members:
+ :undoc-members:
+ :inherited-members:
\ No newline at end of file
diff --git a/docs/conf.py b/docs/conf.py
index c273774301..5fa741b7d5 100644
--- a/docs/conf.py
+++ b/docs/conf.py
@@ -5,12 +5,16 @@
import os
import re
import sys
-import pkg_resources
import sphinx_rtd_theme
from docutils.utils import Reporter
from sphinx.domains.python import PythonDomain
+try:
+ from importlib import metadata as importlib_metadata
+except ImportError:
+ import importlib_metadata
+
# Add any Sphinx extension module names here, as strings. They can be
# extensions coming with Sphinx (named 'sphinx.ext.*') or your custom
# ones.
@@ -42,14 +46,13 @@
author = "Oracle"
try:
- release = pkg_resources.get_distribution("oci").version
-except pkg_resources.DistributionNotFound:
+ release = importlib_metadata.version("oci")
+except importlib_metadata.PackageNotFoundError:
print("To build the documentation, The distribution information of oci")
print("Has to be available. Either install the package into your")
print("development environment or run 'setup.py develop' to setup the")
print("metadata. A virtualenv is recommended!")
sys.exit(1)
-del pkg_resources
version = ".".join(release.split(".")[:3])
language = "en"
diff --git a/docs/logging.rst b/docs/logging.rst
index d8376cc1a5..df2ce577aa 100644
--- a/docs/logging.rst
+++ b/docs/logging.rst
@@ -90,6 +90,27 @@ The oci module has logging at the following levels:
The raw response body is not logged.
+Sensitive Data Redaction
+========================
+When request logging and/or debug output is enabled, the SDK redacts common credential-bearing values before writing
+request/response details to logs. This includes common authorization and token fields (for example, ``Authorization``,
+``opc-obo-token``, ``subject_token``, ``client_secret``, and other token/key-like fields), as well as token-like values
+found in query-string style data.
+
+For consistency with cross-SDK redaction behavior, sensitive HTTP header values are replaced with ``REDACTED``.
+Header-name matching is normalization-aware (case-insensitive; treats ``_`` and ``-`` as equivalent delimiters), and
+includes:
+
+* Exact sensitive header names (for example ``authorization``, ``proxy-authorization``, ``opc-obo-token``, ``x-api-key``,
+ ``cookie``, ``set-cookie``, ``security-context``, ``password``, ``passphrase``)
+* Explicit auth/key families (for example ``x-token*``, ``x-authorization*``, ``x-key-*``)
+* Credential-bearing suffixes (for example ``access-token``, ``refresh-token``, ``id-token``, ``security-token``,
+ ``session-token``, ``delegation-token``, ``client-secret``, ``private-key``)
+
+Redaction applies to SDK-emitted logging paths, including diagnostic request/response dumps and related error messages.
+Application-specific logging, custom middleware, or direct printing of request/response payloads remain the
+responsibility of the application.
+
Disable Logging
================
To disable particular client's logging, just need to disable the corresponding logger
diff --git a/docs/requirements.txt b/docs/requirements.txt
index 5f79bdb288..b689c0c6a0 100644
--- a/docs/requirements.txt
+++ b/docs/requirements.txt
@@ -13,4 +13,5 @@ Jinja2>=3.1.5,<4.0.0; python_version >= '3.7'
setuptools==59.6.0; python_version == '3.6'
setuptools==68.0.0; python_version == '3.7'
setuptools==75.3.2; python_version == '3.8'
-setuptools==78.1.1; python_version >= '3.9'
\ No newline at end of file
+setuptools>=78.1.1,<84; python_version >= '3.9'
+importlib-metadata; python_version < '3.8'
diff --git a/examples/database_tools/adbs_create_connection_public_ip.py b/examples/database_tools/adbs_create_connection_public_ip.py
index b63d875f72..af0903c7ce 100644
--- a/examples/database_tools/adbs_create_connection_public_ip.py
+++ b/examples/database_tools/adbs_create_connection_public_ip.py
@@ -34,7 +34,6 @@
from utils.dbtools import get_dbtools_clients, get_database_clients, get_secrets_client, get_kms_vault_client
from utils.dbtools import get_vaults_clients, get_wallet_and_create_secrets, delete_secret
-import pkg_resources
from datetime import datetime, timedelta
# Set do_clean_up_at_end = False to keep the secrets and connection created
@@ -49,7 +48,7 @@
# Specify the password for the ADB-S database ADMIN user
db_password = "example-password"
-print("Using oci version:", pkg_resources.get_distribution("oci").version)
+print("Using oci version:", oci.__version__)
class DBToolsExample:
diff --git a/examples/database_tools/adbs_create_connection_with_pe.py b/examples/database_tools/adbs_create_connection_with_pe.py
index 07e92c40ed..b7bc2c1e35 100644
--- a/examples/database_tools/adbs_create_connection_with_pe.py
+++ b/examples/database_tools/adbs_create_connection_with_pe.py
@@ -39,7 +39,6 @@
from utils.dbtools import get_vaults_clients, delete_secret, get_wallet_and_create_secrets
from utils.dbtools import Colors
-import pkg_resources
from datetime import datetime, timedelta
# Set do_clean_up_at_end = False to keep the secrets, connection, and PE created
@@ -61,7 +60,7 @@
db_username = "changeme_user"
db_password = "example-password"
-print("Using oci version:", pkg_resources.get_distribution("oci").version)
+print("Using oci version:", oci.__version__)
class DBToolsExample:
diff --git a/examples/database_tools/db_system_create_connection_private_subnet.py b/examples/database_tools/db_system_create_connection_private_subnet.py
index 0a599c1227..8e630a4936 100644
--- a/examples/database_tools/db_system_create_connection_private_subnet.py
+++ b/examples/database_tools/db_system_create_connection_private_subnet.py
@@ -41,7 +41,6 @@
from utils.dbtools import get_vaults_clients, create_secret, delete_secret
from utils.dbtools import Colors
-import pkg_resources
import base64
from datetime import datetime, timedelta
@@ -64,7 +63,7 @@
db_username = "system"
db_password = "example-password"
-print("Using oci version:", pkg_resources.get_distribution("oci").version)
+print("Using oci version:", oci.__version__)
class DBToolsExample:
diff --git a/examples/database_tools/mysql_create_connection_public_ip.py b/examples/database_tools/mysql_create_connection_public_ip.py
index 90009eac89..049b556b2c 100644
--- a/examples/database_tools/mysql_create_connection_public_ip.py
+++ b/examples/database_tools/mysql_create_connection_public_ip.py
@@ -37,7 +37,6 @@
from utils.dbtools import create_secret, delete_secret
from utils.dbtools import Colors
-import pkg_resources
import base64
from datetime import datetime, timedelta
@@ -57,7 +56,7 @@
db_username = "example-username"
db_password = "example-password"
-print("Using oci version:", pkg_resources.get_distribution("oci").version)
+print("Using oci version:", oci.__version__)
class DBToolsExample:
diff --git a/examples/database_tools/mysql_db_system_create_connection_with_pe.py b/examples/database_tools/mysql_db_system_create_connection_with_pe.py
index 8721ac88dd..3328f19b43 100644
--- a/examples/database_tools/mysql_db_system_create_connection_with_pe.py
+++ b/examples/database_tools/mysql_db_system_create_connection_with_pe.py
@@ -41,7 +41,6 @@
from utils.dbtools import create_secret, delete_secret
from utils.dbtools import Colors
-import pkg_resources
import base64
from datetime import datetime, timedelta
@@ -67,7 +66,7 @@
db_username = "example-username"
db_password = "example-password"
-print("Using oci version:", pkg_resources.get_distribution("oci").version)
+print("Using oci version:", oci.__version__)
class DBToolsExample:
diff --git a/examples/showoci/CHANGELOG.rst b/examples/showoci/CHANGELOG.rst
index 603d3343d2..09ea8ee1b3 100644
--- a/examples/showoci/CHANGELOG.rst
+++ b/examples/showoci/CHANGELOG.rst
@@ -4,6 +4,29 @@ All notable changes to this project will be documented in this file.
The format is based on `Keep a Changelog `_.
+=====================
+26.08.19 - 26.08.19
+=====================
+* Added Cloud Guard problems, managed lists, and data mask rules
+* Added enabled detector and responder recipe rule condition and configuration details
+* Added separate Cloud Guard detector and responder recipe CSV exports; detector rules include enabled rules only
+* Added separate OIC CSV columns for Process Automation and Human Task attachments
+* Added optional KMS key enrichment with key metadata and versions, expanded CSV and console output, and KMS key summary counts, use -keydata
+
+=====================
+26.07.14 - 26.07.14
+=====================
+* Added Log Analytics entities and active storage reporting
+* Added Operations Insights database and host insights
+* Added Vault Secrets inventory with Vault and encryption key details
+* Added IAM domains Dynamic Group full info
+* Added KMS Keys additional information
+
+=====================
+26.04.23 - 26.04.23
+=====================
+* Added groups attribute for IAM Domain list users
+
=====================
26.04.01 - 26.04.01
=====================
diff --git a/examples/showoci/showoci.py b/examples/showoci/showoci.py
index c2bf58c5b1..18d7c46b26 100644
--- a/examples/showoci/showoci.py
+++ b/examples/showoci/showoci.py
@@ -126,7 +126,7 @@
import os
import time
-version = "26.04.01"
+version = "26.08.19"
##########################################################################
# check OCI version
@@ -345,6 +345,7 @@ def set_parser_arguments(argsList=[]):
parser.add_argument('-ic', action='store_true', default=False, dest='identity_compartments', help='Print Identity Compartments only.')
parser.add_argument('-isc', action='store_true', default=False, dest='skip_identity_user_credential', help='Skip Identity User Credential extract.')
parser.add_argument('-ifilter', default="", dest='ifilter', help='Filter IAM domains by Domain Names using comma seperated')
+ parser.add_argument('-keydata', action='store_true', default=False, dest='kms_addiontal_keys_attributes', help='Fetch Additional KMS Key Attributes.')
parser.add_argument('-s', '-api', '-rm', '-fun', action='store_true', default=False, dest='streams_queues', help='Print API, Functions, Resource management, Gateways, FSDR, Streams and Queues.')
@@ -489,6 +490,9 @@ def set_service_extract_flags(cmd):
if cmd.threads:
prm.threads = cmd.threads
+ if cmd.kms_addiontal_keys_attributes:
+ prm.read_kms_addiontal_keys_attributes = True
+
if cmd.exclude:
prm.exclude = str(cmd.exclude).split(",")
diff --git a/examples/showoci/showoci_data.py b/examples/showoci/showoci_data.py
index 1f14e77c84..eb386f245f 100644
--- a/examples/showoci/showoci_data.py
+++ b/examples/showoci/showoci_data.py
@@ -20,7 +20,7 @@
class ShowOCIData(object):
- version = "26.04.01"
+ version = "26.08.19"
############################################
# ShowOCIService - Service object to query
@@ -4402,6 +4402,8 @@ def __get_monitoring_main(self, region_name, compartment):
advisor_recommendations = self.service.search_multi_items(self.service.C_MONITORING, self.service.C_MONITORING_ADVISOR_RECOMMENDATIONS, 'region_name', region_name, 'compartment_id', compartment['id'])
advisor_resource_actions = self.service.search_multi_items(self.service.C_MONITORING, self.service.C_MONITORING_ADVISOR_RESOURCE_ACTIONS, 'region_name', region_name, 'compartment_id', compartment['id'])
db_managements = self.service.search_multi_items(self.service.C_MONITORING, self.service.C_MONITORING_DB_MANAGEMENT, 'region_name', region_name, 'compartment_id', compartment['id'])
+ opsi_database_insights = self.service.search_multi_items(self.service.C_MONITORING, self.service.C_MONITORING_OPSI_DATABASE_INSIGHTS, 'region_name', region_name, 'compartment_id', compartment['id'])
+ opsi_host_insights = self.service.search_multi_items(self.service.C_MONITORING, self.service.C_MONITORING_OPSI_HOST_INSIGHTS, 'region_name', region_name, 'compartment_id', compartment['id'])
data = {}
# if events add it
@@ -4432,6 +4434,14 @@ def __get_monitoring_main(self, region_name, compartment):
if db_managements:
data['db_managements'] = db_managements
+ # if opsi database insights add it
+ if opsi_database_insights:
+ data['opsi_database_insights'] = opsi_database_insights
+
+ # if opsi host insights add it
+ if opsi_host_insights:
+ data['opsi_host_insights'] = opsi_host_insights
+
# if events add it
if alarms:
data['alarms'] = []
@@ -4663,6 +4673,19 @@ def __get_security_main(self, region_name, compartment):
if cg:
security_services['cloud_guard'] = cg
+ # Cloud Guard configuration and findings
+ cg_problems = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_CLOUD_GUARD_PROBLEMS, 'region_name', region_name, 'compartment_id', compartment['id'])
+ if cg_problems:
+ security_services['cloud_guard_problems'] = cg_problems
+
+ cg_managed_lists = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_CLOUD_GUARD_MANAGED_LISTS, 'region_name', region_name, 'compartment_id', compartment['id'])
+ if cg_managed_lists:
+ security_services['cloud_guard_managed_lists'] = cg_managed_lists
+
+ cg_data_mask_rules = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_CLOUD_GUARD_DATA_MASK_RULES, 'region_name', region_name, 'compartment_id', compartment['id'])
+ if cg_data_mask_rules:
+ security_services['cloud_guard_data_mask_rules'] = cg_data_mask_rules
+
# bastions
bs = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_BASTION, 'region_name', region_name, 'compartment_id', compartment['id'])
if bs:
@@ -4675,9 +4698,19 @@ def __get_security_main(self, region_name, compartment):
# logging unified agents
logua = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_LOGGING_UA, 'region_name', region_name, 'compartment_id', compartment['id'])
- if log:
+ if logua:
security_services['logging_unified_agents'] = logua
+ # log analytics sources
+ logan = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_LOG_ANALYTICS_NAMESPACE, 'region_name', region_name, 'compartment_id', self.service.get_tenancy_id())
+ if logan:
+ security_services['log_analytics_namespace'] = logan
+
+ # log analytics entities
+ loga = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_LOG_ANALYTICS, 'region_name', region_name, 'compartment_id', compartment['id'])
+ if loga:
+ security_services['log_analytics'] = loga
+
# kms_vaults
vaults = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_VAULTS, 'region_name', region_name, 'compartment_id', compartment['id'])
if vaults:
@@ -4686,8 +4719,30 @@ def __get_security_main(self, region_name, compartment):
# kms_keys
keys = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_KEYS, 'region_name', region_name, 'compartment_id', compartment['id'])
if keys:
+ for key in keys:
+ if not key['vault_name']:
+ vault = self.service.search_unique_item(
+ self.service.C_SECURITY,
+ self.service.C_SECURITY_VAULTS,
+ 'id',
+ key['vault_id']
+ )
+ key['vault_name'] = vault['name'] if vault else ""
security_services['kms_keys'] = keys
+ # kms_secrets
+ secrets = self.service.search_multi_items(self.service.C_SECURITY, self.service.C_SECURITY_SECRETS, 'region_name', region_name, 'compartment_id', compartment['id'])
+ if secrets:
+ for secret in secrets:
+ vault = self.service.search_unique_item(
+ self.service.C_SECURITY,
+ self.service.C_SECURITY_VAULTS,
+ 'id',
+ secret['vault_id']
+ )
+ secret['vault_name'] = vault['name'] if vault else ""
+ security_services['kms_secrets'] = secrets
+
# certificate
certificates = self.service.search_multi_items(self.service.C_CERTIFICATE, self.service.C_CERTIFICATE_CERTIFICATES, 'region_name', region_name, 'compartment_id', compartment['id'])
if certificates:
diff --git a/examples/showoci/showoci_output.py b/examples/showoci/showoci_output.py
index dfa3ff88f0..5880b7adda 100644
--- a/examples/showoci/showoci_output.py
+++ b/examples/showoci/showoci_output.py
@@ -22,7 +22,7 @@
class ShowOCIOutput(object):
- version = "26.04.01"
+ version = "26.08.19"
##########################################################################
# spaces for align
@@ -2435,6 +2435,31 @@ def __print_monitoring_main(self, monitorings):
for event in agents:
print(self.taba + event['name'] + ", " + event['database_type'] + ", " + str(event['database_sub_type']) + ", is_cluster = " + event['is_cluster'] + ", Created : " + event['time_created'][0:16])
+ # if opsi database insights
+ if 'opsi_database_insights' in monitorings:
+ if monitorings['opsi_database_insights']:
+ database_insights = monitorings['opsi_database_insights']
+ self.print_header("Operations Insights - Databases", 2)
+
+ for db in database_insights:
+ print(self.taba + db['database_display_name'] + ", " + db['database_type'] + ", Version = " + db['database_version'] + ", Source = " + db['entity_source'] + ", Status = " + db['status'])
+ if db['database_host_names']:
+ print(self.tabs + "Hosts : " + str(', '.join(x for x in db['database_host_names'])))
+ if db['cdb_name']:
+ print(self.tabs + "CDB : " + db['cdb_name'])
+ print("")
+
+ # if opsi host insights
+ if 'opsi_host_insights' in monitorings:
+ if monitorings['opsi_host_insights']:
+ host_insights = monitorings['opsi_host_insights']
+ self.print_header("Operations Insights - Hosts", 2)
+
+ for host in host_insights:
+ print(self.taba + host['host_display_name'] + ", " + host['host_type'] + ", Platform = " + host['platform_type'] + " " + host['platform_version'] + ", Source = " + host['entity_source'] + ", Status = " + host['status'])
+ print(self.tabs + "CPU : " + host['processor_count'] + ", Total CPUs: " + host['total_cpus'] + ", Memory GB: " + host['total_memory_in_gbs'])
+ print("")
+
except Exception as e:
self.__print_error("__print_monitoring_main", e)
@@ -2591,6 +2616,10 @@ def __print_paas_services_main(self, paas_services):
print(self.taba + val['display_name'] + ", (" + val['integration_instance_type'] + "), Created: " + val['time_created'][0:16] + " (" + val['lifecycle_state'] + ")")
print(self.tabs + "Pack : " + val['message_packs'] + ", " + ("BYOL License" if val['is_byol'] else "License Included"))
print(self.tabs + "URL : " + val['instance_url'])
+ if val['process_automation_attachments']:
+ print(self.tabs + "Process Automation: " + val['process_automation_attachments'])
+ if val['human_task_attachments']:
+ print(self.tabs + "Human Task: " + val['human_task_attachments'])
if val['disaster_recovery_role']:
print(self.tabs + "DR Role : " + val['disaster_recovery_role'])
if val['private_endpoint_outbound_connection_type']:
@@ -2715,9 +2744,28 @@ def __print_security_main(self, security):
for dr in val['target_detector_recipes']:
print(self.tabs + "Det Recipes: Owner = " + dr['owner'] + ", " + dr['display_name'] + ", Created: " + dr['time_created'][0:16] + " (" + dr['lifecycle_state'] + ")" + " Rules: " + str(len(dr['effective_detector_rules'])))
+ for rule in dr.get('enabled_rules', []):
+ print(self.tabs2 + "Enabled rule: " + rule['display_name'])
for dr in val['target_responder_recipes']:
print(self.tabs + "Res Recipes: Owner = " + dr['owner'] + ", " + dr['display_name'] + ", Created: " + dr['time_created'][0:16] + " Rules: " + str(len(dr['effective_responder_rules'])))
+ for rule in dr.get('enabled_rules', []):
+ print(self.tabs2 + "Enabled rule: " + rule['display_name'])
+
+ if 'cloud_guard_problems' in security:
+ self.print_header("Cloud Guard Problems", 2)
+ for val in security['cloud_guard_problems']:
+ print(self.taba + val['resource_name'] + ", " + val['risk_level'] + ", " + val['lifecycle_detail'])
+
+ if 'cloud_guard_managed_lists' in security:
+ self.print_header("Cloud Guard Managed Lists", 2)
+ for val in security['cloud_guard_managed_lists']:
+ print(self.taba + val['display_name'] + ", " + val['list_type'] + " (" + val['lifecycle_state'] + ")")
+
+ if 'cloud_guard_data_mask_rules' in security:
+ self.print_header("Cloud Guard Data Mask Rules", 2)
+ for val in security['cloud_guard_data_mask_rules']:
+ print(self.taba + val['display_name'] + ", " + val['data_mask_rule_status'] + " (" + val['lifecycle_state'] + ")")
# bastions
if 'bastions' in security:
@@ -2740,6 +2788,22 @@ def __print_security_main(self, security):
print(self.tabs2 + "Replicas : " + rep['status'] + ", " + rep['region'] + ", " + rep['crypto_endpoint'])
print("")
+ # kms_keys
+ if 'kms_keys' in security:
+ self.print_header("KMS Keys", 2)
+ for val in security['kms_keys']:
+ print(self.taba + val['name'] + ", Vault: " + val['vault_name'] + ", " +
+ val['key_algorithm'] + " " + val['key_length'] + ", Created: " +
+ val['time_created'][0:16] + " (" + val['lifecycle_state'] + ")")
+ print("")
+
+ # kms_secrets
+ if 'kms_secrets' in security:
+ self.print_header("KMS Vault Secrets", 2)
+ for val in security['kms_secrets']:
+ print(self.taba + val['name'] + ", Vault: " + val['vault_name'] + ", Created: " + val['time_created'][0:16] + " (" + val['lifecycle_state'] + ")")
+ print("")
+
# Logging
if 'logging' in security:
self.print_header("Logging Groups", 2)
@@ -2763,6 +2827,31 @@ def __print_security_main(self, security):
print(self.taba + val['display_name'] + ", (" + val['description'] + "), Is Enabled: " + val['is_enabled'] + ", Type: " + val['configuration_type'] + ", Created: " + val['time_created'][0:16])
print("")
+ # Log Analytics
+ if 'log_analytics_namespace' in security:
+ self.print_header("Log Analytics Namespaces", 2)
+ for val in security['log_analytics_namespace']:
+ print(self.taba + val['namespace_name'] + ", Active Storage Used GB: " + val['storage_active_data_size_in_gb'] + ", Archiving: " + val['namespace_is_archiving_enabled'] + ", State: " + val['namespace_lifecycle_state'])
+ print("")
+
+ if 'log_analytics' in security:
+ self.print_header("Log Analytics Entities", 2)
+ for val in security['log_analytics']:
+ print(self.taba + val['display_name'] + ", Type: " + val['type_display_name'] + ", Namespace: " + val['namespace_name'] + ", Sources: " + val['associated_sources_count'] + ", Updated: " + val['time_updated'][0:16] + " (" + val['lifecycle_state'] + ")")
+ if val['entity_names']:
+ print(self.tabs2 + "Entity Name : " + str(', '.join(x for x in val['entity_names'])))
+ if val['entity_type_display_names']:
+ print(self.tabs2 + "Entity Type : " + str(', '.join(x for x in val['entity_type_display_names'])))
+ if val['associated_sources_count']:
+ print(self.tabs2 + "Log Association : " + val['associated_sources_count'])
+ if val['log_purge']:
+ print(self.tabs2 + "Log Purge : " + str(', '.join(x['status'] + ":" + x['time_accepted'] for x in val['log_purge'])))
+ if val['entity_types']:
+ print(self.tabs2 + "Source Entity Types : " + str(', '.join(x['entity_type_display_name'] for x in val['entity_types'])))
+ if val['parsers']:
+ print(self.tabs2 + "Parsers : " + str(', '.join(x['display_name'] for x in val['parsers'])))
+ print("")
+
# Certificates
if 'certificates' in security:
self.print_header("Certificates", 2)
@@ -3558,12 +3647,20 @@ def __summary_security(self, security):
self.__summary_core_size(security['logging'])
if 'logging_unified_agents' in security:
self.__summary_core_size(security['logging_unified_agents'])
+ if 'log_analytics_namespace' in security:
+ self.__summary_core_size(security['log_analytics_namespace'])
+ if 'log_analytics' in security:
+ self.__summary_core_size(security['log_analytics'])
if 'bastions' in security:
self.__summary_core_size(security['bastions'])
if 'kms_vaults' in security:
self.__summary_core_size(security['kms_vaults'])
self.__summary_core_size(security['kms_vaults'], "sum_info_hsm", 'key_count')
self.__summary_core_size(security['kms_vaults'], "sum_info_soft", 'software_key_count')
+ if 'kms_keys' in security:
+ self.__summary_core_count(security['kms_keys'], "KMS Keys")
+ if 'kms_secrets' in security:
+ self.__summary_core_size(security['kms_secrets'])
if 'certificates' in security:
self.__summary_core_size(security['certificates'])
if 'certificate_associations' in security:
@@ -4523,8 +4620,17 @@ class ShowOCICSV(object):
csv_security_bastions = []
csv_security_logging = []
csv_security_log_unified_agents = []
+ csv_security_log_analytics_namespace = []
+ csv_security_log_analytics = []
csv_security_kms_vault = []
+ csv_security_kms_key = []
+ csv_security_kms_secret = []
csv_security_cloud_guard = []
+ csv_security_cloud_guard_detector_recipes = []
+ csv_security_cloud_guard_responder_recipes = []
+ csv_security_cloud_guard_problems = []
+ csv_security_cloud_guard_managed_lists = []
+ csv_security_cloud_guard_data_mask_rules = []
csv_container = []
csv_container_nodepool = []
csv_edge_waas_policies = []
@@ -4554,6 +4660,8 @@ class ShowOCICSV(object):
csv_streams_queues = []
csv_monitor_agents = []
csv_monitor_db_management = []
+ csv_monitor_opsi_database_insights = []
+ csv_monitor_opsi_host_insights = []
csv_monitor_alarms = []
csv_monitor_events = []
csv_notifications = []
@@ -4568,6 +4676,7 @@ class ShowOCICSV(object):
############################################
def __init__(self, start_time):
self.start_time = start_time
+ self.csv_security_log_analytics_namespace_ids = set()
##########################################################################
# get errors
@@ -4733,8 +4842,17 @@ def generate_csv(self, data, csv_file_header, tenancy, add_date_field=True, csv_
self.__export_to_csv_file("security_bastions", self.csv_security_bastions)
self.__export_to_csv_file("security_loggings", self.csv_security_logging)
self.__export_to_csv_file("security_log_unified_agents", self.csv_security_log_unified_agents)
+ self.__export_to_csv_file("security_log_analytics_ns", self.csv_security_log_analytics_namespace)
+ self.__export_to_csv_file("security_log_analytics", self.csv_security_log_analytics)
self.__export_to_csv_file("security_cloud_guards", self.csv_security_cloud_guard)
+ self.__export_to_csv_file("security_cloud_guard_detector_recipes", self.csv_security_cloud_guard_detector_recipes)
+ self.__export_to_csv_file("security_cloud_guard_responder_recipes", self.csv_security_cloud_guard_responder_recipes)
+ self.__export_to_csv_file("security_cloud_guard_problems", self.csv_security_cloud_guard_problems)
+ self.__export_to_csv_file("security_cloud_guard_managed_lists", self.csv_security_cloud_guard_managed_lists)
+ self.__export_to_csv_file("security_cloud_guard_data_mask_rules", self.csv_security_cloud_guard_data_mask_rules)
self.__export_to_csv_file("security_kms_vaults", self.csv_security_kms_vault)
+ self.__export_to_csv_file("security_kms_keys", self.csv_security_kms_key)
+ self.__export_to_csv_file("security_kms_secrets", self.csv_security_kms_secret)
self.__export_to_csv_file("containers", self.csv_container)
self.__export_to_csv_file("containers_nodepools", self.csv_container_nodepool)
self.__export_to_csv_file("edge_dns_steering_policies", self.csv_edge_dns_steering_policies)
@@ -4756,6 +4874,8 @@ def generate_csv(self, data, csv_file_header, tenancy, add_date_field=True, csv_
self.__export_to_csv_file("big_data_service", self.csv_data_ai_bds)
self.__export_to_csv_file("monitor_agents", self.csv_monitor_agents)
self.__export_to_csv_file("monitor_db_managements", self.csv_monitor_db_management)
+ self.__export_to_csv_file("monitor_opsi_database_insights", self.csv_monitor_opsi_database_insights)
+ self.__export_to_csv_file("monitor_opsi_host_insights", self.csv_monitor_opsi_host_insights)
self.__export_to_csv_file("monitor_alarms", self.csv_monitor_alarms)
self.__export_to_csv_file("monitor_events", self.csv_monitor_events)
self.__export_to_csv_file("monitor_topics_subs", self.csv_notifications)
@@ -4805,7 +4925,7 @@ def extract_tags_to_columns(self, list_of_dicts):
new_result = []
for row in list_of_dicts:
for tag_type in ['defined_tags', 'freeform_tags']:
- if tag_type in row:
+ if tag_type and tag_type in row and row[tag_type]:
tags = row[tag_type].split(', ')
for tag in tags:
tag_split = tag.split("=")
@@ -9316,12 +9436,35 @@ def __csv_security_main(self, region_name, data):
if 'logging_unified_agents' in data:
self.__csv_security_logging_unified_agents(region_name, data['logging_unified_agents'])
+ if 'log_analytics_namespace' in data:
+ self.__csv_security_log_analytics_namespace(region_name, data['log_analytics_namespace'])
+
+ if 'log_analytics' in data:
+ self.__csv_security_log_analytics(region_name, data['log_analytics'])
+
if 'cloud_guard' in data:
self.__csv_security_cloud_guard(region_name, data['cloud_guard'])
+ self.__csv_security_cloud_guard_detector_recipes(region_name, data['cloud_guard'])
+ self.__csv_security_cloud_guard_responder_recipes(region_name, data['cloud_guard'])
+
+ if 'cloud_guard_problems' in data:
+ self.__csv_security_cloud_guard_items(region_name, data['cloud_guard_problems'], self.csv_security_cloud_guard_problems)
+
+ if 'cloud_guard_managed_lists' in data:
+ self.__csv_security_cloud_guard_items(region_name, data['cloud_guard_managed_lists'], self.csv_security_cloud_guard_managed_lists)
+
+ if 'cloud_guard_data_mask_rules' in data:
+ self.__csv_security_cloud_guard_items(region_name, data['cloud_guard_data_mask_rules'], self.csv_security_cloud_guard_data_mask_rules)
if 'kms_vaults' in data:
self.__csv_security_kms_vaults(region_name, data['kms_vaults'])
+ if 'kms_keys' in data:
+ self.__csv_security_kms_keys(region_name, data['kms_keys'])
+
+ if 'kms_secrets' in data:
+ self.__csv_security_kms_secrets(region_name, data['kms_secrets'])
+
if 'certificates' in data:
self.__csv_certificate_certificates(region_name, data['certificates'])
@@ -9562,10 +9705,6 @@ def __csv_security_cloud_guard(self, region_name, cloud_guards):
'target_resource_name': ar['target_resource_name'],
'inherited_by_compartments': ar['inherited_by_compartments'],
'inherited_by_compartments_names': ar['inherited_by_compartments_names'],
- 'target_detector_recipes': self.__csv_list_to_str(ar['target_detector_recipes'], 'display_name'),
- 'target_responder_recipes': self.__csv_list_to_str(ar['target_responder_recipes'], 'display_name'),
- 'target_detector_rules': "",
- 'target_responder_rules': "",
'recipe_count': ar['recipe_count'],
'time_created': ar['time_created'][0:16],
'time_updated': ar['time_updated'][0:16],
@@ -9575,27 +9714,76 @@ def __csv_security_cloud_guard(self, region_name, cloud_guards):
'id': ar['id']
}
- # target_detector_rules
- if ar['target_detector_recipes']:
- arrrules = []
- for dt in ar['target_detector_recipes']:
- for rule in dt['effective_detector_rules']:
- arrrules.append(rule)
- data['target_detector_rules'] = self.__csv_list_to_str(list(set(arrrules)))
-
- # target_detector_rules
- if ar['target_responder_recipes']:
- arrrules = []
- for dt in ar['target_responder_recipes']:
- for rule in dt['effective_responder_rules']:
- arrrules.append(rule)
- data['target_responder_rules'] = self.__csv_list_to_str(list(set(arrrules)))
-
self.csv_security_cloud_guard.append(data)
except Exception as e:
self.__print_error("__csv_security_cloud_guard", e)
+ def __csv_security_cloud_guard_detector_recipes(self, region_name, cloud_guards):
+ try:
+ for target in cloud_guards:
+ for recipe in target['target_detector_recipes']:
+ for rule in recipe.get('enabled_rules', []):
+ self.csv_security_cloud_guard_detector_recipes.append({
+ 'region_name': region_name,
+ 'compartment_name': target['compartment_name'],
+ 'compartment_id': target['compartment_id'],
+ 'compartment_path': target['compartment_path'],
+ 'target_id': target['id'],
+ 'target_name': target['display_name'],
+ 'target_resource_id': target['target_resource_id'],
+ 'recipe_id': recipe['id'],
+ 'detector_recipe_id': recipe['detector_recipe_id'],
+ 'recipe_name': recipe['display_name'],
+ 'recipe_owner': recipe['owner'],
+ 'detector': recipe['detector'],
+ 'detector_rule_id': rule['id'],
+ 'detector_rule_name': rule['display_name'],
+ 'detector_rule_description': rule['description'],
+ 'condition': str(rule['condition']),
+ 'configurations': str(rule['configurations']),
+ 'rule_lifecycle_state': rule['lifecycle_state'],
+ 'rule_time_updated': rule['time_updated'][0:16]
+ })
+ except Exception as e:
+ self.__print_error("__csv_security_cloud_guard_detector_recipes", e)
+
+ def __csv_security_cloud_guard_responder_recipes(self, region_name, cloud_guards):
+ try:
+ for target in cloud_guards:
+ for recipe in target['target_responder_recipes']:
+ self.csv_security_cloud_guard_responder_recipes.append({
+ 'region_name': region_name,
+ 'compartment_name': target['compartment_name'],
+ 'compartment_id': target['compartment_id'],
+ 'compartment_path': target['compartment_path'],
+ 'target_id': target['id'],
+ 'target_name': target['display_name'],
+ 'target_resource_id': target['target_resource_id'],
+ 'recipe_id': recipe['id'],
+ 'responder_recipe_id': recipe['responder_recipe_id'],
+ 'name': recipe['display_name'],
+ 'description': recipe['description'],
+ 'owner': recipe['owner'],
+ 'effective_responder_rules': str(recipe['effective_responder_rules']),
+ 'enabled_rule_configurations': str(recipe.get('enabled_rules', [])),
+ 'time_created': recipe['time_created'][0:16],
+ 'time_updated': recipe['time_updated'][0:16]
+ })
+ except Exception as e:
+ self.__print_error("__csv_security_cloud_guard_responder_recipes", e)
+
+ def __csv_security_cloud_guard_items(self, region_name, items, output):
+ """Export dynamic Cloud Guard resources without dropping their configuration fields."""
+ try:
+ for item in items:
+ data = {'region_name': region_name}
+ for key, value in item.items():
+ data[key] = str(value) if isinstance(value, (dict, list)) else value
+ output.append(data)
+ except Exception as e:
+ self.__print_error("__csv_security_cloud_guard_items", e)
+
##########################################################################
# KMS Vaults
##########################################################################
@@ -9634,6 +9822,83 @@ def __csv_security_kms_vaults(self, region_name, kms_vaults):
except Exception as e:
self.__print_error("__csv_security_kms_vaults", e)
+ ##########################################################################
+ # KMS Keys
+ ##########################################################################
+ def __csv_security_kms_keys(self, region_name, kms_keys):
+ try:
+
+ if len(kms_keys) == 0:
+ return
+
+ for ar in kms_keys:
+ data = {
+ 'region_name': region_name,
+ 'compartment_name': ar['compartment_name'],
+ 'compartment_path': ar['compartment_path'],
+ 'compartment_id': ar['compartment_id'],
+ 'name': ar['name'],
+ 'current_key_version': ar['current_key_version'],
+ 'vault_id': ar['vault_id'],
+ 'vault_name': ar['vault_name'],
+ 'vault_management_endpoint': ar['vault_management_endpoint'],
+ 'key_algorithm': ar['key_algorithm'],
+ 'key_length': ar['key_length'],
+ 'time_created': ar['time_created'][0:16],
+ 'time_of_deletion': ar['time_of_deletion'],
+ 'lifecycle_state': ar['lifecycle_state'],
+ 'protection_mode': ar['protection_mode'],
+ 'restored_from_key_id': ar['restored_from_key_id'],
+ 'replica_details': str(ar['replica_details']),
+ 'is_primary': ar['is_primary'],
+ 'is_auto_rotation_enabled': ar['is_auto_rotation_enabled'],
+ 'auto_key_rotation_details': str(ar['auto_key_rotation_details']),
+ 'external_key_reference_details': str(ar['external_key_reference_details']),
+ 'key_versions': str(ar['key_versions']),
+ 'key_id': ar['id'],
+ 'id': ar['id'],
+ 'freeform_tags': self.__get_freeform_tags(ar['freeform_tags']),
+ 'defined_tags': self.__get_defined_tags(ar['defined_tags'])
+ }
+
+ self.csv_security_kms_key.append(data)
+ self.__csv_add_service(data, "KMS Key")
+
+ except Exception as e:
+ self.__print_error("__csv_security_kms_keys", e)
+
+ ##########################################################################
+ # Vault Secrets
+ ##########################################################################
+ def __csv_security_kms_secrets(self, region_name, kms_secrets):
+ try:
+
+ if len(kms_secrets) == 0:
+ return
+
+ for ar in kms_secrets:
+ data = {
+ 'region_name': region_name,
+ 'compartment_name': ar['compartment_name'],
+ 'compartment_path': ar['compartment_path'],
+ 'compartment_id': ar['compartment_id'],
+ 'name': ar['name'],
+ 'vault_name': ar['vault_name'],
+ 'vault_id': ar['vault_id'],
+ 'time_created': ar['time_created'],
+ 'lifecycle_state': ar['lifecycle_state'],
+ 'secret_id': ar['secret_id'],
+ 'id': ar['id'],
+ 'freeform_tags': self.__get_freeform_tags(ar['freeform_tags']),
+ 'defined_tags': self.__get_defined_tags(ar['defined_tags'])
+ }
+
+ self.csv_security_kms_secret.append(data)
+ self.__csv_add_service(data, "KMS Vault Secret")
+
+ except Exception as e:
+ self.__print_error("__csv_security_kms_secrets", e)
+
##########################################################################
# Logging
##########################################################################
@@ -9708,6 +9973,85 @@ def __csv_security_logging_unified_agents(self, region_name, logging_unified_age
except Exception as e:
self.__print_error("__csv_security_logging_unified_agents", e)
+ ##########################################################################
+ # Log Analytics
+ ##########################################################################
+ def __csv_security_log_analytics_namespace(self, region_name, log_analytics_namespace):
+ try:
+
+ if len(log_analytics_namespace) == 0:
+ return
+
+ if log_analytics_namespace:
+ for ar in log_analytics_namespace:
+ namespace_id = ar['id']
+ if namespace_id in self.csv_security_log_analytics_namespace_ids:
+ continue
+ self.csv_security_log_analytics_namespace_ids.add(namespace_id)
+
+ data = {
+ 'region_name': region_name,
+ 'namespace_name': ar['namespace_name'],
+ 'name': ar['namespace_name'],
+ 'namespace_lifecycle_state': ar['namespace_lifecycle_state'],
+ 'namespace_is_onboarded': ar['namespace_is_onboarded'],
+ 'namespace_is_log_set_enabled': ar['namespace_is_log_set_enabled'],
+ 'namespace_is_data_ever_ingested': ar['namespace_is_data_ever_ingested'],
+ 'namespace_is_archiving_enabled': ar['namespace_is_archiving_enabled'],
+ 'storage_active_data_size_in_bytes': ar['storage_active_data_size_in_bytes'],
+ 'storage_active_data_size_in_gb': ar['storage_active_data_size_in_gb'],
+ 'storage_archived_data_size_in_bytes': ar['storage_archived_data_size_in_bytes'],
+ 'storage_recalled_archived_data_size_in_bytes': ar['storage_recalled_archived_data_size_in_bytes'],
+ 'id': namespace_id
+ }
+
+ self.csv_security_log_analytics_namespace.append(data)
+ self.__csv_add_service(data, "Log Analytics Namespace")
+
+ except Exception as e:
+ self.__print_error("__csv_security_log_analytics_namespace", e)
+
+ def __csv_security_log_analytics(self, region_name, log_analytics):
+ try:
+
+ if len(log_analytics) == 0:
+ return
+
+ if log_analytics:
+ for ar in log_analytics:
+ data = {
+ 'region_name': region_name,
+ 'compartment_name': ar['compartment_name'],
+ 'compartment_path': ar['compartment_path'],
+ 'namespace_name': ar['namespace_name'],
+ 'entity_name': ar['entity_name'],
+ 'name': ar['entity_name'],
+ 'display_name': ar['entity_name'],
+ 'description': ar['description'],
+ 'entity_type_name': ar['entity_type_name'],
+ 'entity_type_internal_name': ar['entity_type_internal_name'],
+ 'management_agent_id': ar['management_agent_id'],
+ 'cloud_resource_id': ar['cloud_resource_id'],
+ 'timezone_region': ar['timezone_region'],
+ 'are_logs_collected': ar['are_logs_collected'],
+ 'associated_sources_count': ar['associated_sources_count'],
+ 'time_created': ar['time_created'][0:16],
+ 'time_updated': ar['time_updated'][0:16],
+ 'time_last_discovered': ar['time_last_discovered'][0:16],
+ 'lifecycle_state': ar['lifecycle_state'],
+ 'oci_log_analytics_entity_name': self.__csv_list_to_str(ar['entity_names']),
+ 'oci_log_analytics_entity_type': self.__csv_list_to_str(ar['entity_type_display_names']),
+ 'entity_type_names': self.__csv_list_to_str(ar['entity_type_names']),
+ 'source_id': ar['source_id'],
+ 'id': ar['id']
+ }
+
+ self.csv_security_log_analytics.append(data)
+ self.__csv_add_service(data, "Log Analytics Entity")
+
+ except Exception as e:
+ self.__print_error("__csv_security_log_analytics", e)
+
##########################################################################
# Container
##########################################################################
@@ -10077,6 +10421,8 @@ def __csv_paas_oic(self, region_name, services):
'idcs_info_app_name': ar['idcs_info_app_name'],
'idcs_info_instance_primary_audience_url': ar['idcs_info_instance_primary_audience_url'],
'attachments': str(ar['attachments']),
+ 'process_automation_attachments': ar['process_automation_attachments'],
+ 'human_task_attachments': ar['human_task_attachments'],
'disaster_recovery_role': ar['disaster_recovery_role'],
'disaster_recovery_regional_instance_url': ar['disaster_recovery_regional_instance_url'],
'disaster_recovery_peer_role': ar['disaster_recovery_peer_role'],
@@ -10917,6 +11263,12 @@ def __csv_monitoring(self, region_name, data):
if 'db_managements' in data:
self.__csv_monitor_db_managements(region_name, data['db_managements'])
+ if 'opsi_database_insights' in data:
+ self.__csv_monitor_opsi_database_insights(region_name, data['opsi_database_insights'])
+
+ if 'opsi_host_insights' in data:
+ self.__csv_monitor_opsi_host_insights(region_name, data['opsi_host_insights'])
+
if 'alarms' in data:
self.__csv_monitor_alarms(region_name, data['alarms'])
@@ -11113,6 +11465,99 @@ def __csv_monitor_db_managements(self, region_name, db_managements):
except Exception as e:
self.__print_error("__csv_monitor_db_managements", e)
+ ##########################################################################
+ # Monitor OPSI Database Insights
+ ##########################################################################
+ def __csv_monitor_opsi_database_insights(self, region_name, database_insights):
+ try:
+
+ if len(database_insights) == 0:
+ return
+
+ if database_insights:
+ for ar in database_insights:
+
+ data = {
+ 'region_name': region_name,
+ 'compartment_name': ar['compartment_name'],
+ 'compartment_path': ar['compartment_path'],
+ 'name': ar['database_display_name'],
+ 'database_name': ar['database_name'],
+ 'database_type': ar['database_type'],
+ 'database_version': ar['database_version'],
+ 'database_host_names': self.__csv_list_to_str(ar['database_host_names']),
+ 'entity_source': ar['entity_source'],
+ 'processor_count': ar['processor_count'],
+ 'status': ar['status'],
+ 'time_created': ar['time_created'][0:16],
+ 'time_updated': ar['time_updated'][0:16],
+ 'lifecycle_state': ar['lifecycle_state'],
+ 'lifecycle_details': ar['lifecycle_details'],
+ 'database_connection_status_details': ar['database_connection_status_details'],
+ 'is_advanced_features_enabled': ar['is_advanced_features_enabled'],
+ 'cdb_name': ar['cdb_name'],
+ 'database_id': ar['database_id'],
+ 'id': ar['id'],
+ 'freeform_tags': self.__get_freeform_tags(ar['freeform_tags']),
+ 'defined_tags': self.__get_defined_tags(ar['defined_tags'])
+ }
+
+ self.csv_monitor_opsi_database_insights.append(data)
+ self.__csv_add_service(data, "OPSI Database Insight")
+
+ except Exception as e:
+ self.__print_error("__csv_monitor_opsi_database_insights", e)
+
+ ##########################################################################
+ # Monitor OPSI Host Insights
+ ##########################################################################
+ def __csv_monitor_opsi_host_insights(self, region_name, host_insights):
+ try:
+
+ if len(host_insights) == 0:
+ return
+
+ if host_insights:
+ for ar in host_insights:
+
+ data = {
+ 'region_name': region_name,
+ 'compartment_name': ar['compartment_name'],
+ 'compartment_path': ar['compartment_path'],
+ 'name': ar['host_display_name'],
+ 'host_name': ar['host_name'],
+ 'host_type': ar['host_type'],
+ 'entity_source': ar['entity_source'],
+ 'processor_count': ar['processor_count'],
+ 'platform_type': ar['platform_type'],
+ 'platform_version': ar['platform_version'],
+ 'platform_vendor': ar['platform_vendor'],
+ 'total_cpus': ar['total_cpus'],
+ 'total_memory_in_gbs': ar['total_memory_in_gbs'],
+ 'cpu_architecture': ar['cpu_architecture'],
+ 'cpu_vendor': ar['cpu_vendor'],
+ 'cpu_frequency_in_mhz': ar['cpu_frequency_in_mhz'],
+ 'cores_per_socket': ar['cores_per_socket'],
+ 'total_sockets': ar['total_sockets'],
+ 'threads_per_socket': ar['threads_per_socket'],
+ 'is_hyper_threading_enabled': ar['is_hyper_threading_enabled'],
+ 'opsi_private_endpoint_id': ar['opsi_private_endpoint_id'],
+ 'status': ar['status'],
+ 'time_created': ar['time_created'][0:16],
+ 'time_updated': ar['time_updated'][0:16],
+ 'lifecycle_state': ar['lifecycle_state'],
+ 'lifecycle_details': ar['lifecycle_details'],
+ 'id': ar['id'],
+ 'freeform_tags': self.__get_freeform_tags(ar['freeform_tags']),
+ 'defined_tags': self.__get_defined_tags(ar['defined_tags'])
+ }
+
+ self.csv_monitor_opsi_host_insights.append(data)
+ self.__csv_add_service(data, "OPSI Host Insight")
+
+ except Exception as e:
+ self.__print_error("__csv_monitor_opsi_host_insights", e)
+
##########################################################################
# Monitor Alarms
##########################################################################
diff --git a/examples/showoci/showoci_service.py b/examples/showoci/showoci_service.py
index 5d36fae04e..b1777c3033 100644
--- a/examples/showoci/showoci_service.py
+++ b/examples/showoci/showoci_service.py
@@ -39,7 +39,7 @@
# class ShowOCIService
##########################################################################
class ShowOCIService(object):
- version = "26.04.01"
+ version = "26.08.19"
oci_compatible_version = "2.165.1"
thread_lock = threading.Lock()
collection_ljust = 40
@@ -199,6 +199,8 @@ class ShowOCIService(object):
C_MONITORING_ADVISOR_RESOURCE_ACTIONS = "advisor_resource_actions"
C_MONITORING_ADVISOR_RECOMMENDATIONS = "advisor_recommendations"
C_MONITORING_DB_MANAGEMENT = "db_management"
+ C_MONITORING_OPSI_DATABASE_INSIGHTS = "opsi_database_insights"
+ C_MONITORING_OPSI_HOST_INSIGHTS = "opsi_host_insights"
# Notifications
C_NOTIFICATIONS = "notifications"
@@ -259,10 +261,16 @@ class ShowOCIService(object):
# Security and Logging
C_SECURITY = "security"
C_SECURITY_CLOUD_GUARD = "cloud_guard"
+ C_SECURITY_CLOUD_GUARD_PROBLEMS = "cloud_guard_problems"
+ C_SECURITY_CLOUD_GUARD_MANAGED_LISTS = "cloud_guard_managed_lists"
+ C_SECURITY_CLOUD_GUARD_DATA_MASK_RULES = "cloud_guard_data_mask_rules"
C_SECURITY_VAULTS = "vaults"
C_SECURITY_KEYS = "keys"
+ C_SECURITY_SECRETS = "secrets"
C_SECURITY_BASTION = "bastion"
C_SECURITY_LOGGING = "logging"
+ C_SECURITY_LOG_ANALYTICS = "log_analytics"
+ C_SECURITY_LOG_ANALYTICS_NAMESPACE = "log_analytics_namespace"
C_SECURITY_LOGGING_UA = "unified_agents"
# Security Scores
@@ -321,6 +329,7 @@ class ShowOCIService(object):
EXCLUDE_GOLDENGATE = 'GOLDENGATE'
EXCLUDE_ANNOUNCEMENT = 'ANNOUNCEMENT'
EXCLUDE_ADVISOR = 'ADVISOR'
+ EXCLUDE_OPSI = 'OPSI'
EXCLUDE_CLOUDGUARD = 'CLOUDGUARD'
EXCLUDE_LOGGING = 'LOGGING'
EXCLUDE_BASTION = 'BASTION'
@@ -14848,7 +14857,7 @@ def __load_section_monitor_notification_security_quotas_main(self):
try:
section_start_time = time.time()
- print("Monitoring, Notifications, Events, Bastion, Logging, KMS, Limits, Quotas, E-Mail, Budget, Advisors, Certificates...")
+ print("Monitoring, Notifications, Events, Bastion, Logging, KMS, Limits, Quotas, E-Mail, Budget, Advisors, Operations Insights, Certificates...")
db_cloud_advisor_client = self.__create_client(oci.optimizer.OptimizerClient, key=self.EXCLUDE_ADVISOR)
monitor_client = self.__create_client(oci.monitoring.MonitoringClient)
@@ -14857,9 +14866,11 @@ def __load_section_monitor_notification_security_quotas_main(self):
event_client = self.__create_client(oci.events.EventsClient)
management_agent_client = self.__create_client(oci.management_agent.ManagementAgentClient)
db_management_client = self.__create_client(oci.database_management.DbManagementClient, key=self.EXCLUDE_DBMANAGEMENT)
+ opsi_client = self.__create_client(oci.opsi.OperationsInsightsClient, key=self.EXCLUDE_OPSI)
bs_client = self.__create_client(oci.bastion.BastionClient, key=self.EXCLUDE_BASTION)
cg_client = self.__create_client(oci.cloud_guard.CloudGuardClient, key=self.EXCLUDE_CLOUDGUARD)
log_client = self.__create_client(oci.logging.LoggingManagementClient, key=self.EXCLUDE_LOGGING)
+ log_analytics_client = self.__create_client(oci.log_analytics.LogAnalyticsClient, key=self.EXCLUDE_LOGGING)
kms_client = self.__create_client(oci.key_management.KmsVaultClient, key=self.EXCLUDE_KMS)
limits_client = self.__create_client(oci.limits.LimitsClient, key=self.EXCLUDE_LIMITS)
quotas_client = self.__create_client(oci.limits.QuotasClient, key=self.EXCLUDE_QUOTAS)
@@ -14877,9 +14888,15 @@ def __load_section_monitor_notification_security_quotas_main(self):
# add the key if not exists
self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_BASTION)
self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_CLOUD_GUARD)
+ self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_CLOUD_GUARD_PROBLEMS)
+ self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_CLOUD_GUARD_MANAGED_LISTS)
+ self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_CLOUD_GUARD_DATA_MASK_RULES)
self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_LOGGING_UA)
self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_LOGGING)
+ self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_LOG_ANALYTICS)
+ self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_LOG_ANALYTICS_NAMESPACE)
self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_KEYS)
+ self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_SECRETS)
self.__initialize_data_key(self.C_SECURITY, self.C_SECURITY_VAULTS)
self.__initialize_data_key(self.C_MONITORING, self.C_MONITORING_ADVISOR_RESOURCE_ACTIONS)
self.__initialize_data_key(self.C_MONITORING, self.C_MONITORING_ADVISOR_RECOMMENDATIONS)
@@ -14887,6 +14904,8 @@ def __load_section_monitor_notification_security_quotas_main(self):
self.__initialize_data_key(self.C_MONITORING, self.C_MONITORING_EVENTS)
self.__initialize_data_key(self.C_MONITORING, self.C_MONITORING_AGENTS)
self.__initialize_data_key(self.C_MONITORING, self.C_MONITORING_DB_MANAGEMENT)
+ self.__initialize_data_key(self.C_MONITORING, self.C_MONITORING_OPSI_DATABASE_INSIGHTS)
+ self.__initialize_data_key(self.C_MONITORING, self.C_MONITORING_OPSI_HOST_INSIGHTS)
self.__initialize_data_key(self.C_NOTIFICATIONS, self.C_NOTIFICATIONS_TOPICS)
self.__initialize_data_key(self.C_NOTIFICATIONS, self.C_NOTIFICATIONS_SUBSCRIPTIONS)
self.__initialize_data_key(self.C_LIMITS, self.C_LIMITS_SERVICES)
@@ -14916,6 +14935,8 @@ def __load_section_monitor_notification_security_quotas_main(self):
monitor[self.C_MONITORING_EVENTS] += self.__load_monitoring_events(event_client, compartments)
monitor[self.C_MONITORING_AGENTS] += self.__load_monitoring_agents(management_agent_client, compartments)
monitor[self.C_MONITORING_DB_MANAGEMENT] += self.__load_monitoring_database_management(db_management_client, compartments)
+ monitor[self.C_MONITORING_OPSI_DATABASE_INSIGHTS] += self.__load_monitoring_opsi_database_insights(opsi_client, compartments)
+ monitor[self.C_MONITORING_OPSI_HOST_INSIGHTS] += self.__load_monitoring_opsi_host_insights(opsi_client, compartments)
monitor[self.C_MONITORING_ADVISOR_RECOMMENDATIONS] += self.__load_monitoring_cloud_advisor_recommendations(db_cloud_advisor_client, tenancy['id'], compartments)
monitor[self.C_MONITORING_ADVISOR_RESOURCE_ACTIONS] += self.__load_monitoring_cloud_advisor_resource_actions(db_cloud_advisor_client, compartments)
@@ -14925,9 +14946,15 @@ def __load_section_monitor_notification_security_quotas_main(self):
sec[self.C_SECURITY_BASTION] += self.__load_security_bastions(bs_client, compartments)
sec[self.C_SECURITY_LOGGING_UA] += self.__load_security_log_unified_agents(log_client, compartments)
sec[self.C_SECURITY_LOGGING] += self.__load_security_log_groups(log_client, compartments)
+ sec[self.C_SECURITY_LOG_ANALYTICS_NAMESPACE] += self.__load_security_log_analytics_namespace(log_analytics_client)
+ sec[self.C_SECURITY_LOG_ANALYTICS] += self.__load_security_log_analytics_entities(log_analytics_client, compartments)
sec[self.C_SECURITY_VAULTS] += self.__load_security_kms_vaults(kms_client, compartments)
sec[self.C_SECURITY_KEYS] += self.__load_security_kms_keys(search_client)
+ sec[self.C_SECURITY_SECRETS] += self.__load_security_kms_secrets(search_client)
sec[self.C_SECURITY_CLOUD_GUARD] += self.__load_security_cloud_guard(cg_client, compartments)
+ sec[self.C_SECURITY_CLOUD_GUARD_PROBLEMS] += self.__load_security_cloud_guard_problems(cg_client, compartments)
+ sec[self.C_SECURITY_CLOUD_GUARD_MANAGED_LISTS] += self.__load_security_cloud_guard_managed_lists(cg_client, compartments)
+ sec[self.C_SECURITY_CLOUD_GUARD_DATA_MASK_RULES] += self.__load_security_cloud_guard_data_mask_rules(cg_client, compartments)
email[self.C_EMAIL_SENDERS] += self.__load_email_senders(email_client, compartments)
email[self.C_EMAIL_SUPPRESSIONS] += self.__load_email_suppressions(email_client, compartments)
@@ -14952,14 +14979,22 @@ def __load_section_monitor_notification_security_quotas_main(self):
future_MONITORING_EVENTS = executor.submit(self.__load_monitoring_events, event_client, compartments)
future_MONITORING_AGENTS = executor.submit(self.__load_monitoring_agents, management_agent_client, compartments)
future_MONITORING_DB_MANAGEMENT = executor.submit(self.__load_monitoring_database_management, db_management_client, compartments)
+ future_MONITORING_OPSI_DATABASE_INSIGHTS = executor.submit(self.__load_monitoring_opsi_database_insights, opsi_client, compartments)
+ future_MONITORING_OPSI_HOST_INSIGHTS = executor.submit(self.__load_monitoring_opsi_host_insights, opsi_client, compartments)
future_NOTIFICATIONS_TOPICS = executor.submit(self.__load_notifications_topics, ons_cp_client, compartments)
future_NOTIFICATIONS_SUBSCRIPTIONS = executor.submit(self.__load_notifications_subscriptions, ons_dp_client, compartments)
future_SECURITY_BASTION = executor.submit(self.__load_security_bastions, bs_client, compartments)
future_SECURITY_LOGGING = executor.submit(self.__load_security_log_groups, log_client, compartments)
+ future_SECURITY_LOG_ANALYTICS_NAMESPACE = executor.submit(self.__load_security_log_analytics_namespace, log_analytics_client)
+ future_SECURITY_LOG_ANALYTICS = executor.submit(self.__load_security_log_analytics_entities, log_analytics_client, compartments)
future_SECURITY_LOGGING_UA = executor.submit(self.__load_security_log_unified_agents, log_client, compartments)
future_SECURITY_VAULTS = executor.submit(self.__load_security_kms_vaults, kms_client, compartments)
future_SECURITY_KEYS = executor.submit(self.__load_security_kms_keys, search_client)
+ future_SECURITY_SECRETS = executor.submit(self.__load_security_kms_secrets, search_client)
future_SECURITY_CLOUD_GUARD = executor.submit(self.__load_security_cloud_guard, cg_client, compartments)
+ future_SECURITY_CLOUD_GUARD_PROBLEMS = executor.submit(self.__load_security_cloud_guard_problems, cg_client, compartments)
+ future_SECURITY_CLOUD_GUARD_MANAGED_LISTS = executor.submit(self.__load_security_cloud_guard_managed_lists, cg_client, compartments)
+ future_SECURITY_CLOUD_GUARD_DATA_MASK_RULES = executor.submit(self.__load_security_cloud_guard_data_mask_rules, cg_client, compartments)
future_EMAIL_SENDERS = executor.submit(self.__load_email_senders, email_client, compartments)
future_EMAIL_SUPPRESSIONS = executor.submit(self.__load_email_suppressions, email_client, compartments)
future_BUDGETS_BUDGETS = executor.submit(self.__load_budgets_budgets, budget_client, tenancy['id'])
@@ -14976,14 +15011,22 @@ def __load_section_monitor_notification_security_quotas_main(self):
monitor[self.C_MONITORING_EVENTS] += next(as_completed([future_MONITORING_EVENTS])).result()
monitor[self.C_MONITORING_AGENTS] += next(as_completed([future_MONITORING_AGENTS])).result()
monitor[self.C_MONITORING_DB_MANAGEMENT] += next(as_completed([future_MONITORING_DB_MANAGEMENT])).result()
+ monitor[self.C_MONITORING_OPSI_DATABASE_INSIGHTS] += next(as_completed([future_MONITORING_OPSI_DATABASE_INSIGHTS])).result()
+ monitor[self.C_MONITORING_OPSI_HOST_INSIGHTS] += next(as_completed([future_MONITORING_OPSI_HOST_INSIGHTS])).result()
notifications[self.C_NOTIFICATIONS_TOPICS] += next(as_completed([future_NOTIFICATIONS_TOPICS])).result()
notifications[self.C_NOTIFICATIONS_SUBSCRIPTIONS] += next(as_completed([future_NOTIFICATIONS_SUBSCRIPTIONS])).result()
sec[self.C_SECURITY_BASTION] += next(as_completed([future_SECURITY_BASTION])).result()
+ sec[self.C_SECURITY_LOG_ANALYTICS_NAMESPACE] += next(as_completed([future_SECURITY_LOG_ANALYTICS_NAMESPACE])).result()
+ sec[self.C_SECURITY_LOG_ANALYTICS] += next(as_completed([future_SECURITY_LOG_ANALYTICS])).result()
sec[self.C_SECURITY_LOGGING] += next(as_completed([future_SECURITY_LOGGING])).result()
sec[self.C_SECURITY_LOGGING_UA] += next(as_completed([future_SECURITY_LOGGING_UA])).result()
sec[self.C_SECURITY_VAULTS] += next(as_completed([future_SECURITY_VAULTS])).result()
sec[self.C_SECURITY_KEYS] += next(as_completed([future_SECURITY_KEYS])).result()
+ sec[self.C_SECURITY_SECRETS] += next(as_completed([future_SECURITY_SECRETS])).result()
sec[self.C_SECURITY_CLOUD_GUARD] += next(as_completed([future_SECURITY_CLOUD_GUARD])).result()
+ sec[self.C_SECURITY_CLOUD_GUARD_PROBLEMS] += next(as_completed([future_SECURITY_CLOUD_GUARD_PROBLEMS])).result()
+ sec[self.C_SECURITY_CLOUD_GUARD_MANAGED_LISTS] += next(as_completed([future_SECURITY_CLOUD_GUARD_MANAGED_LISTS])).result()
+ sec[self.C_SECURITY_CLOUD_GUARD_DATA_MASK_RULES] += next(as_completed([future_SECURITY_CLOUD_GUARD_DATA_MASK_RULES])).result()
email[self.C_EMAIL_SENDERS] += next(as_completed([future_EMAIL_SENDERS])).result()
email[self.C_EMAIL_SUPPRESSIONS] += next(as_completed([future_EMAIL_SUPPRESSIONS])).result()
budget[self.C_BUDGETS_BUDGETS] += next(as_completed([future_BUDGETS_BUDGETS])).result()
@@ -15512,6 +15555,271 @@ def __load_monitoring_database_management(self, db_management_client, compartmen
self.__print_error(e)
return data
+ ##########################################################################
+ # __load_monitoring_opsi_database_insights
+ ##########################################################################
+ def __load_monitoring_opsi_database_insights(self, opsi_client, compartments):
+
+ data = []
+ cnt = 0
+ start_time = time.time()
+
+ try:
+ errstr = ""
+ header = "OPSI Database Insights"
+ self.__load_print_status_with_threads(header)
+
+ if not opsi_client:
+ self.__load_print_thread_exclude(header)
+ return data
+
+ # loop on all compartments
+ for compartment in compartments:
+
+ # skip managed paas compartment
+ if self.__if_managed_paas_compartment(compartment['name']):
+ continue
+
+ database_configs = {}
+ try:
+ configs = oci.pagination.list_call_get_all_results(
+ opsi_client.list_database_configurations,
+ compartment_id=compartment['id'],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ for config in configs:
+ database_configs[config.database_insight_id] = config
+
+ except oci.exceptions.ServiceError as e:
+ if self.__check_service_error(e, compartment):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ else:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ except oci.exceptions.ConnectTimeout:
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ except Exception as e:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+
+ database_insights = []
+ try:
+ database_insights = oci.pagination.list_call_get_all_results(
+ opsi_client.list_database_insights,
+ compartment_id=compartment['id'],
+ lifecycle_state=["ACTIVE", "NEEDS_ATTENTION"],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ except oci.exceptions.ServiceError as e:
+ if self.__check_service_error(e, compartment):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ continue
+ else:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ continue
+ except oci.exceptions.ConnectTimeout:
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ continue
+ except Exception as e:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ continue
+
+ if self.flags.skip_threads:
+ print(".", end="")
+
+ # item = oci.opsi.models.DatabaseInsightSummary
+ for item in database_insights:
+ config = database_configs[item.id] if item.id in database_configs else None
+ val = {
+ 'id': self.get_value(item.id),
+ 'database_id': self.get_value(item.database_id),
+ 'database_name': self.get_value(item.database_name),
+ 'database_display_name': self.get_value(item.database_display_name),
+ 'database_type': self.get_value(item.database_type),
+ 'database_version': self.get_value(item.database_version),
+ 'database_host_names': self.get_values(item.database_host_names),
+ 'entity_source': self.get_value(item.entity_source),
+ 'processor_count': self.get_value(item.processor_count),
+ 'status': self.get_value(item.status),
+ 'time_created': self.get_date(item.time_created),
+ 'time_updated': self.get_date(item.time_updated),
+ 'lifecycle_state': self.get_value(item.lifecycle_state),
+ 'lifecycle_details': self.get_value(item.lifecycle_details),
+ 'database_connection_status_details': self.get_value(item.database_connection_status_details),
+ 'is_advanced_features_enabled': self.get_value(config.is_advanced_features_enabled) if config else "",
+ 'cdb_name': self.get_value(config.cdb_name) if config else "",
+ 'sum_info': "OPSI Database Insights",
+ 'sum_size_gb': str(1),
+ 'system_tags': [] if item.system_tags is None else item.system_tags,
+ 'defined_tags': [] if item.defined_tags is None else item.defined_tags,
+ 'freeform_tags': [] if item.freeform_tags is None else item.freeform_tags,
+ 'compartment_name': str(compartment['name']),
+ 'compartment_path': str(compartment['path']),
+ 'compartment_id': str(compartment['id']),
+ 'region_name': str(self.config['region'])
+ }
+
+ # add the data
+ cnt += 1
+ data.append(val)
+
+ self.__load_print_thread_cnt(header, cnt, start_time, errstr)
+ return data
+
+ except oci.exceptions.RequestException as e:
+ if self.__check_request_error(e):
+ return data
+ else:
+ self.__load_print_error(e)
+ return data
+ except Exception as e:
+ self.__print_error(e)
+ return data
+
+ ##########################################################################
+ # __load_monitoring_opsi_host_insights
+ ##########################################################################
+ def __load_monitoring_opsi_host_insights(self, opsi_client, compartments):
+
+ data = []
+ cnt = 0
+ start_time = time.time()
+
+ try:
+ errstr = ""
+ header = "OPSI Host Insights"
+ self.__load_print_status_with_threads(header)
+
+ if not opsi_client:
+ self.__load_print_thread_exclude(header)
+ return data
+
+ # loop on all compartments
+ for compartment in compartments:
+
+ # skip managed paas compartment
+ if self.__if_managed_paas_compartment(compartment['name']):
+ continue
+
+ host_configs = {}
+ try:
+ configs = oci.pagination.list_call_get_all_results(
+ opsi_client.list_host_configurations,
+ compartment_id=compartment['id'],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ for config in configs:
+ host_configs[config.host_insight_id] = config
+
+ except oci.exceptions.ServiceError as e:
+ if self.__check_service_error(e, compartment):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ else:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ except oci.exceptions.ConnectTimeout:
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ except Exception as e:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+
+ host_insights = []
+ try:
+ host_insights = oci.pagination.list_call_get_all_results(
+ opsi_client.list_host_insights,
+ compartment_id=compartment['id'],
+ lifecycle_state=["ACTIVE", "NEEDS_ATTENTION"],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ except oci.exceptions.ServiceError as e:
+ if self.__check_service_error(e, compartment):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ continue
+ else:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ continue
+ except oci.exceptions.ConnectTimeout:
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ continue
+ except Exception as e:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ continue
+
+ if self.flags.skip_threads:
+ print(".", end="")
+
+ # item = oci.opsi.models.HostInsightSummary
+ for item in host_insights:
+ config = host_configs[item.id] if item.id in host_configs else None
+ val = {
+ 'id': self.get_value(item.id),
+ 'host_name': self.get_value(item.host_name),
+ 'host_display_name': self.get_value(item.host_display_name),
+ 'host_type': self.get_value(item.host_type),
+ 'entity_source': self.get_value(item.entity_source),
+ 'processor_count': self.get_value(item.processor_count),
+ 'opsi_private_endpoint_id': self.get_value(item.opsi_private_endpoint_id),
+ 'status': self.get_value(item.status),
+ 'time_created': self.get_date(item.time_created),
+ 'time_updated': self.get_date(item.time_updated),
+ 'lifecycle_state': self.get_value(item.lifecycle_state),
+ 'lifecycle_details': self.get_value(item.lifecycle_details),
+ 'platform_type': self.get_value(config.platform_type) if config else "",
+ 'platform_version': self.get_value(config.platform_version) if config else "",
+ 'platform_vendor': self.get_value(config.platform_vendor) if config else "",
+ 'total_cpus': self.get_value(config.total_cpus) if config else "",
+ 'total_memory_in_gbs': self.get_value(config.total_memory_in_gbs) if config else "",
+ 'cpu_architecture': self.get_value(config.cpu_architecture) if config else "",
+ 'cpu_vendor': self.get_value(config.cpu_vendor) if config else "",
+ 'cpu_frequency_in_mhz': self.get_value(config.cpu_frequency_in_mhz) if config else "",
+ 'cores_per_socket': self.get_value(config.cores_per_socket) if config else "",
+ 'total_sockets': self.get_value(config.total_sockets) if config else "",
+ 'threads_per_socket': self.get_value(config.threads_per_socket) if config else "",
+ 'is_hyper_threading_enabled': self.get_value(config.is_hyper_threading_enabled) if config else "",
+ 'sum_info': "OPSI Host Insights",
+ 'sum_size_gb': str(1),
+ 'system_tags': [] if item.system_tags is None else item.system_tags,
+ 'defined_tags': [] if item.defined_tags is None else item.defined_tags,
+ 'freeform_tags': [] if item.freeform_tags is None else item.freeform_tags,
+ 'compartment_name': str(compartment['name']),
+ 'compartment_path': str(compartment['path']),
+ 'compartment_id': str(compartment['id']),
+ 'region_name': str(self.config['region'])
+ }
+
+ # add the data
+ cnt += 1
+ data.append(val)
+
+ self.__load_print_thread_cnt(header, cnt, start_time, errstr)
+ return data
+
+ except oci.exceptions.RequestException as e:
+ if self.__check_request_error(e):
+ return data
+ else:
+ self.__load_print_error(e)
+ return data
+ except Exception as e:
+ self.__print_error(e)
+ return data
+
##########################################################################
# __load_monitoring_alarms
##########################################################################
@@ -17677,6 +17985,8 @@ def __load_paas_oic(self, oic_client, compartments):
'idcs_info_app_name': '',
'idcs_info_instance_primary_audience_url': '',
'attachments': [],
+ 'process_automation_attachments': '',
+ 'human_task_attachments': '',
'disaster_recovery_role': '',
'disaster_recovery_regional_instance_url': '',
'disaster_recovery_peer_role': '',
@@ -17710,6 +18020,10 @@ def __load_paas_oic(self, oic_client, compartments):
'target_instance_url': self.get_value(x.target_instance_url),
'target_service_type': self.get_value(x.target_service_type)
} for x in oico.attachments] if oico.attachments else []
+ val['process_automation_attachments'] = self.__get_oic_attachments_by_service_type(
+ val['attachments'], 'PROCESS_AUTOMATION')
+ val['human_task_attachments'] = self.__get_oic_attachments_by_service_type(
+ val['attachments'], 'HUMAN')
val['disaster_recovery_role'] = self.get_value(oico.disaster_recovery_details.role) if oico.disaster_recovery_details else ""
val['disaster_recovery_regional_instance_url'] = self.get_value(oico.disaster_recovery_details.regional_instance_url) if oico.disaster_recovery_details else ""
val['disaster_recovery_peer_role'] = self.get_value(oico.disaster_recovery_details.cross_region_integration_instance_details.role) if oico.cross_region_integration_instance_details and oico.disaster_recovery_details.cross_region_integration_instance_details else ""
@@ -17735,6 +18049,17 @@ def __load_paas_oic(self, oic_client, compartments):
self.__print_error(e)
return data
+ ##########################################################################
+ # __get_oic_attachments_by_service_type
+ ##########################################################################
+ def __get_oic_attachments_by_service_type(self, attachments, service_type):
+ """Return attachment identifiers and URLs for a requested OIC service type."""
+ matches = []
+ for attachment in attachments:
+ if service_type in attachment['target_service_type'].upper():
+ matches.append(attachment['target_id'] + ' | ' + attachment['target_instance_url'])
+ return '; '.join(matches)
+
##########################################################################
# __load_paas_osvc - vmware
##########################################################################
@@ -18749,78 +19074,314 @@ def __load_quotas(self, quotas_client, compartments):
return data
##########################################################################
- # __load_security_cloud_guard
+ # Load Cloud Guard problems using list_problems
##########################################################################
- def __load_security_cloud_guard(self, cg_client, compartments):
-
+ def __load_security_cloud_guard_problems(self, cg_client, compartments):
data = []
cnt = 0
+ errstr = ""
start_time = time.time()
-
+ header = "Cloud Guard Problems"
try:
- errstr = ""
- header = "Cloud Guard"
self.__load_print_status_with_threads(header)
-
if not cg_client:
self.__load_print_thread_exclude(header)
return data
- # loop on all compartments
- for compartment in compartments:
+ # The Cloud Guard list_problems API is available only from the
+ # tenancy home region.
+ if self.config['region'] != self.tenancy_home_region:
+ errstr = "Can run on home region only, skipping."
+ self.__load_print_thread_cnt(header, cnt, start_time, errstr)
+ return data
- # skip managed paas compartment
+ for compartment in compartments:
if self.__if_managed_paas_compartment(compartment['name']):
continue
-
- array = []
try:
- array = oci.pagination.list_call_get_all_results(
- cg_client.list_targets,
+ problems = oci.pagination.list_call_get_all_results(
+ cg_client.list_problems,
compartment['id'],
- sort_by="displayName",
retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
).data
+ for problem in problems:
+ value = self.__cloud_guard_to_dict(problem)
+ value['compartment_name'] = str(compartment['name'])
+ value['compartment_path'] = str(compartment['path'])
+ value['region_name'] = str(self.config['region'])
+ data.append(value)
+ cnt += 1
+
except oci.exceptions.ServiceError as e:
if self.__check_service_error(e, compartment):
self.__load_print_auth_warning(to_print=self.flags.skip_threads)
errstr += "a"
- continue
else:
self.__load_print_error(e, compartment)
errstr += "e"
- continue
+
except oci.exceptions.ConnectTimeout:
self.__load_print_auth_warning(to_print=self.flags.skip_threads)
errstr += "a"
- continue
-
except Exception as e:
self.__load_print_error(e, compartment)
errstr += "e"
- continue
-
- if self.flags.skip_threads:
- print(".", end="")
-
- # item = oci.cloud_guard.models.TargetSummary
- for item in array:
- if not self.check_lifecycle_state_active(item.lifecycle_state):
- continue
+ self.__load_print_thread_cnt(header, cnt, start_time, errstr)
+ return data
+ except Exception as e:
+ self.__print_error(e)
+ return data
- val = {
- 'id': str(item.id),
- 'display_name': str(item.display_name),
- 'target_resource_type': str(item.target_resource_type),
- 'target_resource_id': str(item.target_resource_id),
- 'target_resource_name': "",
- 'inherited_by_compartments': "",
- 'inherited_by_compartments_names': "",
- 'target_detector_recipes': [],
- 'target_responder_recipes': [],
- 'recipe_count': str(item.recipe_count),
- 'time_created': str(item.time_created),
+ ##########################################################################
+ # Load Cloud Guard managed lists using list_managed_lists
+ ##########################################################################
+ def __load_security_cloud_guard_managed_lists(self, cg_client, compartments):
+ data = []
+ cnt = 0
+ errstr = ""
+ start_time = time.time()
+ header = "Cloud Guard Managed Lists"
+ try:
+ self.__load_print_status_with_threads(header)
+ if not cg_client:
+ self.__load_print_thread_exclude(header)
+ return data
+ for compartment in compartments:
+ if self.__if_managed_paas_compartment(compartment['name']):
+ continue
+ try:
+ managed_lists = oci.pagination.list_call_get_all_results(
+ cg_client.list_managed_lists, compartment['id'],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY).data
+ for managed_list in managed_lists:
+ value = self.__cloud_guard_to_dict(managed_list)
+ value['compartment_name'] = str(compartment['name'])
+ value['compartment_path'] = str(compartment['path'])
+ value['region_name'] = str(self.config['region'])
+ data.append(value)
+ cnt += 1
+ except oci.exceptions.ServiceError as e:
+ if self.__check_service_error(e, compartment):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ else:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ except oci.exceptions.ConnectTimeout:
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ except Exception as e:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ self.__load_print_thread_cnt(header, cnt, start_time, errstr)
+ return data
+ except Exception as e:
+ self.__print_error(e)
+ return data
+
+ ##########################################################################
+ # Load Cloud Guard data mask rules using list_data_mask_rules
+ ##########################################################################
+ def __load_security_cloud_guard_data_mask_rules(self, cg_client, compartments):
+
+ data = []
+ # A parent-compartment query can include rules from its subcompartments.
+ # Query every selected compartment (filters may omit the parent), but add
+ # each rule only once.
+
+ seen_rule_ids = set()
+ cnt = 0
+ errstr = ""
+ start_time = time.time()
+ header = "Cloud Guard Data Mask Rules"
+ try:
+ self.__load_print_status_with_threads(header)
+ if not cg_client:
+ self.__load_print_thread_exclude(header)
+ return data
+
+ for compartment in compartments:
+ if self.__if_managed_paas_compartment(compartment['name']):
+ continue
+ try:
+ data_mask_rules = oci.pagination.list_call_get_all_results(
+ cg_client.list_data_mask_rules, compartment['id'],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ for data_mask_rule in data_mask_rules:
+
+ # if rule already seen, skip it
+ rule_id = str(data_mask_rule.id)
+ if rule_id in seen_rule_ids:
+ continue
+
+ value = self.__cloud_guard_to_dict(data_mask_rule)
+ value['compartment_name'] = str(compartment['name'])
+ value['compartment_path'] = str(compartment['path'])
+ value['region_name'] = str(self.config['region'])
+ data.append(value)
+
+ # Add the rule ID to the set of seen rule IDs to avoid duplicates.
+ seen_rule_ids.add(rule_id)
+ cnt += 1
+
+ except oci.exceptions.ServiceError as e:
+ # Data Mask Rules are not available in every compartment.
+ if e.code == 'NotAuthorizedOrNotFound':
+ continue
+ if self.__check_service_error(e, compartment):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ else:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+
+ except oci.exceptions.ConnectTimeout:
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ except Exception as e:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+
+ self.__load_print_thread_cnt(header, cnt, start_time, errstr)
+ return data
+ except Exception as e:
+ self.__print_error(e)
+ return data
+
+ ##########################################################################
+ # __cloud_guard_to_dict
+ ##########################################################################
+ def __cloud_guard_to_dict(self, value):
+ """Convert SDK objects to plain, JSON-safe values for Cloud Guard output."""
+ value = oci.util.to_dict(value)
+ if isinstance(value, dict):
+ return {key: self.__cloud_guard_to_dict(val) for key, val in value.items()}
+ if isinstance(value, list):
+ return [self.__cloud_guard_to_dict(val) for val in value]
+ if isinstance(value, datetime.datetime):
+ return str(value)
+ return value
+
+ ##########################################################################
+ # Load enabled detector recipe rules using list_detector_recipe_detector_rules
+ ##########################################################################
+ def __load_cloud_guard_detector_recipe_rules(self, cg_client, recipe_id, compartment_id):
+ """Return condition and configuration for enabled detector recipe rules."""
+ try:
+ rules = oci.pagination.list_call_get_all_results(
+ cg_client.list_detector_recipe_detector_rules, recipe_id, compartment_id,
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY).data
+ enabled_rules = []
+ for rule in rules:
+ details = rule.detector_details
+ if details and getattr(details, 'is_enabled', False):
+ value = self.__cloud_guard_to_dict(rule)
+ value['condition'] = self.__cloud_guard_to_dict(getattr(details, 'condition', None))
+ value['configurations'] = self.__cloud_guard_to_dict(getattr(details, 'configurations', None))
+ enabled_rules.append(value)
+ return enabled_rules
+ except Exception as e:
+ self.__print_error(e)
+ return []
+
+ ##########################################################################
+ # Load enabled responder recipe rules using list_responder_recipe_responder_rules
+ ##########################################################################
+ def __load_cloud_guard_responder_recipe_rules(self, cg_client, recipe_id, compartment_id):
+ """Return condition and configuration for enabled responder recipe rules."""
+ try:
+ rules = oci.pagination.list_call_get_all_results(
+ cg_client.list_responder_recipe_responder_rules, recipe_id, compartment_id,
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY).data
+ enabled_rules = []
+ for rule in rules:
+ details = rule.details
+ if details and getattr(details, 'is_enabled', False):
+ value = self.__cloud_guard_to_dict(rule)
+ value['condition'] = self.__cloud_guard_to_dict(getattr(details, 'condition', None))
+ value['configurations'] = self.__cloud_guard_to_dict(getattr(details, 'configurations', None))
+ enabled_rules.append(value)
+ return enabled_rules
+ except Exception as e:
+ self.__print_error(e)
+ return []
+
+ ##########################################################################
+ # __load_security_cloud_guard
+ ##########################################################################
+ def __load_security_cloud_guard(self, cg_client, compartments):
+
+ data = []
+ cnt = 0
+ start_time = time.time()
+
+ try:
+ errstr = ""
+ header = "Cloud Guard"
+ self.__load_print_status_with_threads(header)
+
+ if not cg_client:
+ self.__load_print_thread_exclude(header)
+ return data
+
+ # loop on all compartments
+ for compartment in compartments:
+
+ # skip managed paas compartment
+ if self.__if_managed_paas_compartment(compartment['name']):
+ continue
+
+ array = []
+ try:
+ array = oci.pagination.list_call_get_all_results(
+ cg_client.list_targets,
+ compartment['id'],
+ sort_by="displayName",
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ except oci.exceptions.ServiceError as e:
+ if self.__check_service_error(e, compartment):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ continue
+ else:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ continue
+ except oci.exceptions.ConnectTimeout:
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ continue
+
+ except Exception as e:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ continue
+
+ if self.flags.skip_threads:
+ print(".", end="")
+
+ # item = oci.cloud_guard.models.TargetSummary
+ for item in array:
+ if not self.check_lifecycle_state_active(item.lifecycle_state):
+ continue
+
+ val = {
+ 'id': str(item.id),
+ 'display_name': str(item.display_name),
+ 'target_resource_type': str(item.target_resource_type),
+ 'target_resource_id': str(item.target_resource_id),
+ 'target_resource_name': "",
+ 'inherited_by_compartments': "",
+ 'inherited_by_compartments_names': "",
+ 'target_detector_recipes': [],
+ 'target_responder_recipes': [],
+ 'recipe_count': str(item.recipe_count),
+ 'time_created': str(item.time_created),
'time_updated': str(item.time_updated),
'lifecycle_state': str(item.lifecycle_state),
'lifecyle_details': str(item.lifecyle_details),
@@ -18865,6 +19426,7 @@ def __load_security_cloud_guard(self, cg_client, compartments):
'owner': str(arr.owner),
'detector': str(arr.detector),
'effective_detector_rules': [y.detector_rule_id for y in arr.effective_detector_rules] if arr.effective_detector_rules else [],
+ 'enabled_rules': self.__load_cloud_guard_detector_recipe_rules(cg_client, arr.detector_recipe_id, compartment['id']),
'time_created': str(arr.time_created),
'time_updated': str(arr.time_updated),
'lifecycle_state': str(arr.lifecycle_state),
@@ -18882,6 +19444,7 @@ def __load_security_cloud_guard(self, cg_client, compartments):
'time_created': str(arr.time_created),
'time_updated': str(arr.time_updated),
'effective_responder_rules': [y.responder_rule_id for y in arr.effective_responder_rules] if arr.effective_responder_rules else [],
+ 'enabled_rules': self.__load_cloud_guard_responder_recipe_rules(cg_client, arr.responder_recipe_id, compartment['id']),
} for arr in itemfull.target_responder_recipes] if itemfull.target_responder_recipes else []
except oci.exceptions.ServiceError as e:
@@ -18969,7 +19532,7 @@ def __load_security_kms_keys(self, search_client):
self.__load_print_status_with_threads(header)
key_search_detail = oci.resource_search.models.StructuredSearchDetails(
- query="query key resources",
+ query="query key resources return allAdditionalFields",
type='Structured',
matching_context_type=oci.resource_search.models.SearchDetails.MATCHING_CONTEXT_TYPE_NONE
)
@@ -18985,16 +19548,188 @@ def __load_security_kms_keys(self, search_client):
compartment = self.get_compartment_by_id(item.compartment_id)
if compartment:
-
+ ad = item.additional_details
val = {
'id': self.get_value(item.identifier),
'compartment_id': self.get_value(item.compartment_id),
'name': self.get_value(item.display_name),
'time_created': self.get_date(item.time_created),
+ 'compartment_name': str(compartment['name']),
+ 'compartment_path': str(compartment['path']),
+ 'region_name': str(self.config['region']),
+ # Added thanks to Herman
+ 'current_key_version': self.get_value(ad['currentKeyVersion']) if "currentKeyVersion" in ad else "",
+ 'vault_id': self.get_value(ad['vaultId']) if "vaultId" in ad else "",
+ 'key_algorithm': self.get_value(ad['keyShape']['algorithm']) if "vaultId" in ad and "algorithm" in ad['keyShape'] else "",
+ 'key_length': self.get_value(ad['keyShape']['length']) if "vaultId" in ad and "length" in ad['keyShape'] else "",
+ 'freeform_tags': [] if item.freeform_tags is None else item.freeform_tags,
+ # Added in case additional data requested
+ 'vault_name': "",
+ 'vault_management_endpoint': "",
+ 'defined_tags': [],
+ 'key_versions': [],
+ 'protection_mode': "",
+ 'lifecycle_state': "",
+ 'time_of_deletion': "",
+ 'restored_from_key_id': "",
+ 'replica_details': {},
+ 'is_primary': "",
+ 'is_auto_rotation_enabled': "",
+ 'auto_key_rotation_details': {},
+ 'external_key_reference_details': {}
+ }
+ cnt += 1
+ data.append(val)
+
+ if self.flags.read_kms_addiontal_keys_attributes:
+ self.__load_security_kms_keys_additional_data(data)
+
+ self.__load_print_thread_cnt(header, cnt, start_time, errstr)
+ return data
+
+ except oci.exceptions.RequestException as e:
+ if self.__check_request_error(e):
+ return data
+ else:
+ self.__load_print_error(e)
+ return data
+ except Exception as e:
+ self.__print_error(e)
+ return data
+
+ ##########################################################################
+ # __load_security_kms_keys_additional_data
+ ##########################################################################
+ def __load_security_kms_keys_additional_data(self, kms_keys):
+
+ try:
+ if not kms_keys:
+ return
+
+ kms_vault_client = self.__create_client(oci.key_management.KmsVaultClient, key=self.EXCLUDE_KMS)
+ if not kms_vault_client:
+ return
+
+ kms_keys.sort(key=lambda key: key['vault_id'])
+ vault_id = None
+ vault_name = ""
+ kms_management_client = None
+ vault_management_endpoint = ""
+
+ for kms_key in kms_keys:
+ try:
+ # Check if vault_id is present
+ if not kms_key['vault_id']:
+ continue
+
+ # check if vault_id is different from previous key, if so create new client for that vault
+ if kms_key['vault_id'] != vault_id:
+ vault = kms_vault_client.get_vault(
+ kms_key['vault_id'],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+ vault_name = self.get_value(vault.display_name)
+ vault_management_endpoint = self.get_value(vault.management_endpoint)
+ kms_management_client = self.__create_client(
+ oci.key_management.KmsManagementClient,
+ service_endpoint=vault_management_endpoint,
+ key=self.EXCLUDE_KMS
+ )
+ vault_id = kms_key['vault_id']
+
+ # if no management client, skip this key
+ if not kms_management_client:
+ continue
+
+ # query the key details and versions
+ key = kms_management_client.get_key(
+ kms_key['id'],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+ key_versions = oci.pagination.list_call_get_all_results(
+ kms_management_client.list_key_versions,
+ kms_key['id'],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ kms_key['vault_name'] = vault_name
+ kms_key['vault_management_endpoint'] = vault_management_endpoint
+ kms_key['freeform_tags'] = [] if key.freeform_tags is None else key.freeform_tags
+ kms_key['defined_tags'] = [] if key.defined_tags is None else key.defined_tags
+ kms_key['key_versions'] = [oci.util.to_dict(version) for version in key_versions]
+ kms_key['protection_mode'] = self.get_value(key.protection_mode)
+ kms_key['lifecycle_state'] = self.get_value(key.lifecycle_state)
+ kms_key['time_created'] = self.get_date(key.time_created)
+ kms_key['time_of_deletion'] = self.get_date(key.time_of_deletion)
+ kms_key['restored_from_key_id'] = self.get_value(key.restored_from_key_id)
+ kms_key['replica_details'] = {} if key.replica_details is None else oci.util.to_dict(key.replica_details)
+ kms_key['is_primary'] = self.get_value(key.is_primary)
+ kms_key['is_auto_rotation_enabled'] = self.get_value(key.is_auto_rotation_enabled)
+ kms_key['auto_key_rotation_details'] = {} if key.auto_key_rotation_details is None else oci.util.to_dict(key.auto_key_rotation_details)
+ kms_key['external_key_reference_details'] = {} if key.external_key_reference_details is None else oci.util.to_dict(key.external_key_reference_details)
+
+ # if failed to get key details, skip this key and continue with next
+ except oci.exceptions.RequestException as e:
+ if not self.__check_request_error(e):
+ self.__load_print_error(e)
+ except Exception as e:
+ self.__print_error(e)
+
+ except oci.exceptions.RequestException as e:
+ if self.__check_request_error(e):
+ return
+ else:
+ self.__load_print_error(e)
+ return
+ except Exception as e:
+ self.__print_error(e)
+
+ ##########################################################################
+ # __load_security_kms_secrets
+ ##########################################################################
+ def __load_security_kms_secrets(self, search_client):
+
+ data = []
+ cnt = 0
+ start_time = time.time()
+
+ try:
+ errstr = ""
+ header = "Vault Secrets"
+ self.__load_print_status_with_threads(header)
+
+ secret_search_detail = oci.resource_search.models.StructuredSearchDetails(
+ query="query vaultsecret resources return allAdditionalFields",
+ type='Structured',
+ matching_context_type=oci.resource_search.models.SearchDetails.MATCHING_CONTEXT_TYPE_NONE
+ )
+ secrets = oci.pagination.list_call_get_all_results(
+ search_client.search_resources,
+ secret_search_detail,
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ for item in secrets:
+ if self.check_lifecycle_state_active(item.lifecycle_state):
+
+ compartment = self.get_compartment_by_id(item.compartment_id)
+ if compartment:
+ ad = item.additional_details or {}
+ val = {
+ 'id': self.get_value(item.identifier),
+ 'compartment_id': self.get_value(item.compartment_id),
+ 'name': self.get_value(ad.get('name')),
+ 'secret_id': self.get_value(ad.get('secretId')),
+ 'time_created': self.get_date(item.time_created),
+ 'lifecycle_state': self.get_value(item.lifecycle_state),
'freeform_tags': [] if item.freeform_tags is None else item.freeform_tags,
+ 'defined_tags': [] if item.defined_tags is None else item.defined_tags,
'compartment_name': str(compartment['name']),
'compartment_path': str(compartment['path']),
- 'region_name': str(self.config['region'])
+ 'region_name': str(self.config['region']),
+ 'sum_info': "KMS Vault Secrets",
+ 'sum_size_gb': "1",
+ 'vault_id': self.get_value(ad.get('vaultId'))
}
cnt += 1
data.append(val)
@@ -19262,6 +19997,267 @@ def __load_security_cloud_guard_security_scores(self, cg_client, root_compartmen
self.__print_error(e)
return data
+ ##########################################################################
+ # __load_security_log_analytics_get_namespaces
+ ##########################################################################
+ def __load_security_log_analytics_get_namespaces(self, log_analytics_client, header, start_time):
+ namespaces = []
+ errstr = ""
+
+ try:
+ namespace_collection = log_analytics_client.list_namespaces(
+ self.get_tenancy_id(),
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+ namespaces = namespace_collection.items if namespace_collection and namespace_collection.items else []
+
+ except oci.exceptions.ServiceError as e:
+ if self.__check_service_error(e):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ else:
+ self.__load_print_error(e)
+ errstr += "e"
+ self.__load_print_thread_cnt(header, 0, start_time, errstr)
+ except oci.exceptions.ConnectTimeout:
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ self.__load_print_thread_cnt(header, 0, start_time, errstr)
+ except Exception as e:
+ self.__load_print_error(e)
+ errstr += "e"
+ self.__load_print_thread_cnt(header, 0, start_time, errstr)
+
+ return [namespace for namespace in namespaces if namespace.is_onboarded], errstr
+
+ ##########################################################################
+ # __load_security_log_analytics_namespace
+ ##########################################################################
+ def __load_security_log_analytics_namespace(self, log_analytics_client):
+ data = []
+ cnt = 0
+ start_time = time.time()
+
+ try:
+ errstr = ""
+ header = "Log Analytics Namespaces"
+ self.__load_print_status_with_threads(header)
+
+ if not log_analytics_client:
+ self.__load_print_thread_exclude(header)
+ return data
+
+ namespaces, errstr_ns = self.__load_security_log_analytics_get_namespaces(log_analytics_client, header, start_time)
+ errstr += errstr_ns
+
+ seen_namespace_ids = set()
+ for namespace in namespaces:
+ namespace_name = str(namespace.namespace_name)
+ namespace_id = namespace_name + ":" + str(self.config['region'])
+ if namespace_id in seen_namespace_ids:
+ continue
+ seen_namespace_ids.add(namespace_id)
+
+ storage_usage = None
+ storage_active_bytes = ""
+ storage_active_gb = ""
+
+ try:
+ storage_usage = log_analytics_client.get_storage_usage(
+ namespace_name,
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+ storage_active_bytes = self.get_value(storage_usage.active_data_size_in_bytes)
+ storage_active_gb = str(round(float(storage_usage.active_data_size_in_bytes) / 1024 / 1024 / 1024, 3)) if storage_usage and storage_usage.active_data_size_in_bytes else "0"
+
+ except oci.exceptions.ServiceError as e:
+ if self.__check_service_error(e):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ else:
+ self.__load_print_error(e)
+ errstr += "e"
+ except Exception:
+ pass
+
+ data.append({
+ 'id': namespace_id,
+ 'name': namespace_name,
+ 'namespace_name': namespace_name,
+ 'namespace_lifecycle_state': self.get_value(namespace.lifecycle_state),
+ 'namespace_is_onboarded': self.get_value(namespace.is_onboarded),
+ 'namespace_is_log_set_enabled': self.get_value(namespace.is_log_set_enabled),
+ 'namespace_is_data_ever_ingested': self.get_value(namespace.is_data_ever_ingested),
+ 'namespace_is_archiving_enabled': self.get_value(namespace.is_archiving_enabled),
+ 'storage_active_data_size_in_bytes': storage_active_bytes,
+ 'storage_active_data_size_in_gb': storage_active_gb,
+ 'storage_archived_data_size_in_bytes': self.get_value(storage_usage.archived_data_size_in_bytes) if storage_usage else "",
+ 'storage_recalled_archived_data_size_in_bytes': self.get_value(storage_usage.recalled_archived_data_size_in_bytes) if storage_usage else "",
+ 'sum_info': "Log Analytics Namespaces",
+ 'sum_size_gb': str(1),
+ 'compartment_name': "",
+ 'compartment_path': "",
+ 'compartment_id': self.get_tenancy_id(),
+ 'region_name': str(self.config['region'])
+ })
+ cnt += 1
+
+ self.__load_print_thread_cnt(header, cnt, start_time, errstr)
+ return data
+
+ except oci.exceptions.RequestException as e:
+ if self.__check_request_error(e):
+ return data
+ else:
+ self.__load_print_error(e)
+ return data
+ except Exception as e:
+ self.__print_error(e)
+ return data
+
+ ##########################################################################
+ # __load_security_log_analytics_entities
+ ##########################################################################
+ def __load_security_log_analytics_entities(self, log_analytics_client, compartments):
+ data = []
+ cnt = 0
+ start_time = time.time()
+
+ try:
+ errstr = ""
+ header = "Log Analytics Entities"
+ self.__load_print_status_with_threads(header)
+
+ if not log_analytics_client:
+ self.__load_print_thread_exclude(header)
+ return data
+
+ namespaces, errstr_ns = self.__load_security_log_analytics_get_namespaces(log_analytics_client, header, start_time)
+ errstr += errstr_ns
+
+ for namespace in namespaces:
+ namespace_name = str(namespace.namespace_name)
+
+ # loop on all compartments
+ for compartment in compartments:
+
+ # skip managed paas compartment
+ if self.__if_managed_paas_compartment(compartment['name']):
+ continue
+
+ array = []
+ try:
+ array = oci.pagination.list_call_get_all_results(
+ log_analytics_client.list_log_analytics_entities,
+ namespace_name,
+ compartment['id'],
+ lifecycle_state="ACTIVE",
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ except oci.exceptions.ServiceError as e:
+ if self.__check_service_error(e, compartment):
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ continue
+ else:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ continue
+ except oci.exceptions.ConnectTimeout:
+ self.__load_print_auth_warning(to_print=self.flags.skip_threads)
+ errstr += "a"
+ continue
+
+ except Exception as e:
+ self.__load_print_error(e, compartment)
+ errstr += "e"
+ continue
+
+ if self.flags.skip_threads:
+ print(".", end="")
+
+ # item = oci.log_analytics.models.LogAnalyticsEntitySummary
+ for item in array:
+ val = {
+ 'id': self.get_value(item.id),
+ 'source_id': self.get_value(item.source_id),
+ 'name': self.get_value(item.name),
+ 'display_name': self.get_value(item.name),
+ 'description': self.get_value(item.lifecycle_details),
+ 'edit_version': "",
+ 'type_name': self.get_value(item.entity_type_name),
+ 'type_display_name': self.get_value(item.entity_type_name),
+ 'is_system': "",
+ 'is_for_cloud': "",
+ 'is_secure_content': "",
+ 'is_auto_association_enabled': "",
+ 'is_auto_association_override': "",
+ 'is_timezone_override': "",
+ 'association_count': self.get_value(item.associated_sources_count),
+ 'pattern_count': "",
+ 'rule_id': "",
+ 'warning_config': "",
+ 'time_updated': self.get_date(item.time_updated),
+ 'lifecycle_state': self.get_value(item.lifecycle_state),
+ 'namespace_name': namespace_name,
+ 'namespace_lifecycle_state': self.get_value(namespace.lifecycle_state),
+ 'namespace_is_log_set_enabled': self.get_value(namespace.is_log_set_enabled),
+ 'namespace_is_data_ever_ingested': self.get_value(namespace.is_data_ever_ingested),
+ 'namespace_is_archiving_enabled': self.get_value(namespace.is_archiving_enabled),
+ 'custom_log_source': "",
+ 'parsers': [],
+ 'user_parsers': [],
+ 'oob_parsers': [],
+ 'labels': [],
+ 'entity_types': [],
+ 'source_properties': [],
+ 'parameters': [],
+ 'association_entity': [],
+ 'log_associations': [],
+ 'entity_names': [self.get_value(item.name)] if item.name else [],
+ 'entity_type_names': [self.get_value(item.entity_type_name)] if item.entity_type_name else [],
+ 'entity_type_display_names': [self.get_value(item.entity_type_name)] if item.entity_type_name else [],
+ 'log_purge': [],
+ 'endpoints': [],
+ 'entity_id': self.get_value(item.id),
+ 'entity_name': self.get_value(item.name),
+ 'entity_type_name': self.get_value(item.entity_type_name),
+ 'entity_type_internal_name': self.get_value(item.entity_type_internal_name),
+ 'management_agent_id': self.get_value(item.management_agent_id),
+ 'cloud_resource_id': self.get_value(item.cloud_resource_id),
+ 'timezone_region': self.get_value(item.timezone_region),
+ 'time_created': self.get_date(item.time_created),
+ 'time_last_discovered': self.get_date(item.time_last_discovered),
+ 'are_logs_collected': self.get_value(item.are_logs_collected),
+ 'associated_sources_count': self.get_value(item.associated_sources_count),
+ 'sum_info': "Log Analytics Entities",
+ 'sum_size_gb': str(1),
+ 'defined_tags': [] if item.defined_tags is None else item.defined_tags,
+ 'freeform_tags': [] if item.freeform_tags is None else item.freeform_tags,
+ 'compartment_name': str(compartment['name']),
+ 'compartment_path': str(compartment['path']),
+ 'compartment_id': str(compartment['id']),
+ 'region_name': str(self.config['region'])
+ }
+
+ # add the data
+ cnt += 1
+ data.append(val)
+
+ self.__load_print_thread_cnt(header, cnt, start_time, errstr)
+ return data
+
+ except oci.exceptions.RequestException as e:
+ if self.__check_request_error(e):
+ return data
+ else:
+ self.__load_print_error(e)
+ return data
+ except Exception as e:
+ self.__print_error(e)
+ return data
+
##########################################################################
# __load_security_log_groups
##########################################################################
@@ -20373,6 +21369,7 @@ class ShowOCIFlags(object):
read_root_compartment = True
read_paas_native = False
read_security = False
+ read_kms_addiontal_keys_attributes = False
read_function = False
read_api = False
read_limits = False
@@ -21097,6 +22094,24 @@ def __load_identity_domain_users(self, identity_domain_client, domain_name):
retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
).data
+ # 2026-04-24, it seems groups was removed from the default attributes,
+ # therefore querying groups and id and merge the results
+ users_groups = self.__list_call_get_all_results(
+ identity_domain_client.list_users,
+ attribute_sets=["all"],
+ attributes="id,groups",
+ sort_by="UserName",
+ count=500,
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+
+ # assign groups from users_group to users array
+ group_lookup = {ug.id: ug.groups for ug in users_groups}
+
+ # Assign groups to users
+ for user in users:
+ user.groups = group_lookup.get(user.id, [])
+
# oci.identity_domains.models.User
for var in users:
if var.delete_in_progress:
@@ -21692,17 +22707,30 @@ def __load_identity_domain_dynamic_resource_groups(self, identity_domain_client,
groups = self.__list_call_get_all_results(
identity_domain_client.list_dynamic_resource_groups,
attribute_sets=["all"],
+ # attributes=["id,ocid,schemas,meta,idcs_created_by,idcs_last_modified_by,idcs_prevented_operations,tags,idcs_last_upgraded_in_release,compartment_ocid,matching_rule,display_name,description,grants,dynamic_group_app_roles,freeform_tags,defined_tags"],
sort_by="DisplayName",
retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
).data
# oci.identity_domains.models.DynamicResourceGroup
- for var in groups:
- if var.delete_in_progress:
+ for var_list in groups:
+ if var_list.delete_in_progress:
continue
if self.skip_threads:
print(".", end="")
+ # list does not return all attributes, querying one by one with get_dynamic_resource_group
+ # Number of dynamic group is not high thererfore this will have small impact on performance
+ var = None
+ try:
+ var = identity_domain_client.get_dynamic_resource_group(
+ var_list.id,
+ attribute_sets=["all"],
+ retry_strategy=oci.retry.DEFAULT_RETRY_STRATEGY
+ ).data
+ except Exception:
+ var = var_list
+
data.append({
'id': self.get_value(var.id),
'ocid': self.get_value(var.ocid),
diff --git a/pyproject.toml b/pyproject.toml
index 8c203faf51..b72206fe9a 100644
--- a/pyproject.toml
+++ b/pyproject.toml
@@ -7,7 +7,7 @@ requires = [
"setuptools==59.6.0; python_version == '3.6'",
"setuptools==68.0.0; python_version == '3.7'",
"setuptools==75.3.2; python_version == '3.8'",
- "setuptools==78.1.1; python_version >= '3.9'",
+ "setuptools>=78.1.1,<84; python_version >= '3.9'",
"wheel"
]
build-backend = "setuptools.build_meta"
@@ -18,7 +18,11 @@ dynamic = ["version"]
description = "Oracle Cloud Infrastructure Python SDK"
readme = "README.rst"
authors = [
- {name = "Oracle", email = "joe.levy@oracle.com"},
+ {name = "Oracle", email = "jyoti.s.saini@oracle.com"},
+ {name = "Vidhi Bhansali", email = "vidhi.bhansali@oracle.com"},
+ {name = "Nishan Poojary", email = "nishan.poojary@oracle.com"},
+ {name = "Nivedita Parihar", email = "nivedita.parihar@oracle.com"},
+ {name = "Kalpana Ramasamy", email = "kalpana.ramasamy@oracle.com"},
]
license = {file = "LICENSE.txt"}
requires-python = ">=3.6"
@@ -31,18 +35,26 @@ classifiers=[
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
]
dependencies = [
"certifi",
"configparser==4.0.2 ; python_version < '3'",
- "cryptography>=3.2.1,<47.0.0",
+ "cryptography>=3.2.1,<51.0.0",
"pyOpenSSL>=17.5.0,<27.0.0",
"python-dateutil>=2.5.3,<3.0.0",
"pytz>=2016.10",
"circuitbreaker>=1.3.1,<2.0.0; python_version <= '3.6'",
"circuitbreaker>=1.3.1,<3.0.0; python_version >= '3.7'",
"urllib3==1.26.20; python_version < '3.10.0'",
- "urllib3>=2.6.3; python_version >= '3.10.0'"
+ "urllib3>=2.6.3; python_version >= '3.10.0'",
+ "PyJWT==2.4.0; python_version < '3.9'",
+ "PyJWT>=2.12.0; python_version >= '3.9'",
+ "crc32c==2.5; python_version == '3.6'",
+ "crc32c==2.8.0; python_version >= '3.7'"
]
[project.optional-dependencies]
diff --git a/requirements.txt b/requirements.txt
index 6b9050f27b..4a4158df90 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -1,29 +1,35 @@
certifi
coverage==4.5.2
cryptography==42.0.8; python_full_version == '3.9.0' or python_full_version == '3.9.1'
-cryptography>=3.2.1,<47.0.0; python_full_version != '3.9.0' and python_full_version != '3.9.1'
+cryptography>=3.2.1,<51.0.0; python_full_version != '3.9.0' and python_full_version != '3.9.1'
flake8>=3.6.0,<6
mock==2.0.0
pyOpenSSL>=17.5.0,<27.0.0
-pytest==4.1.0
+pytest==4.6.10; python_version <= '3.9'
+pytest==7.1.2; python_version >= '3.10'
pytest-cov==2.6.1
-attrs==19.1.0
+attrs==19.2.0
python-dateutil>=2.5.3,<=2.7.3
pytz>=2016.10
-tox==3.14.3
+tox==3.14.3; python_version < '3.12'
+tox==4.0.0; python_version >= '3.12'
virtualenv==20.0.6; python_version < '3.8'
virtualenv==20.17.1; python_version == '3.8'
virtualenv==20.36.1; python_version >= '3.9'
-vcrpy==2.0.1
+vcrpy==2.0.1; python_version < '3.9'
+vcrpy==7.0.0; python_version >= '3.9'
wheel<=0.39.0
setuptools==59.6.0; python_version == '3.6'
setuptools==68.0.0; python_version == '3.7'
setuptools==75.3.2; python_version == '3.8'
-setuptools==78.1.1; python_version >= '3.9'
+setuptools>=78.1.1,<84; python_version >= '3.9'
circuitbreaker>=1.3.1,<2.0.0; python_version <= '3.6'
circuitbreaker>=1.3.1,<3.0.0; python_version >= '3.7'
urllib3==1.26.20; python_version < '3.10.0'
urllib3>=2.6.3; python_version >= '3.10.0'
+PyJWT==2.4.0; python_version < '3.9'
+PyJWT>=2.12.0; python_version >= '3.9'
Jinja2<3.0.0; python_version == '3.6'
Jinja2>=3.1.5,<4.0.0; python_version >= '3.7'
-crc32c
\ No newline at end of file
+crc32c==2.5; python_version == '3.6'
+crc32c==2.8.0; python_version >= '3.7'
diff --git a/setup.py b/setup.py
index c71b90f7e5..6cd769ee9c 100644
--- a/setup.py
+++ b/setup.py
@@ -32,7 +32,7 @@ def open_relative(*path):
requires = [
"certifi",
"configparser==4.0.2 ; python_version < '3'",
- "cryptography>=3.2.1,<47.0.0",
+ "cryptography>=3.2.1,<51.0.0",
"pyOpenSSL>=17.5.0,<27.0.0",
"python-dateutil>=2.5.3,<3.0.0",
"pytz>=2016.10",
@@ -40,7 +40,10 @@ def open_relative(*path):
"circuitbreaker>=1.3.1,<3.0.0; python_version >= '3.7'",
"urllib3==1.26.20; python_version < '3.10.0'",
"urllib3>=2.6.3; python_version >= '3.10.0'",
- "crc32c"
+ "PyJWT==2.4.0; python_version < '3.9'",
+ "PyJWT>=2.12.0; python_version >= '3.9'",
+ "crc32c==2.5; python_version == '3.6'",
+ "crc32c==2.8.0; python_version >= '3.7'"
]
extras_require = {
@@ -59,7 +62,7 @@ def open_relative(*path):
description="Oracle Cloud Infrastructure Python SDK",
long_description=readme,
author="Oracle",
- author_email="joe.levy@oracle.com",
+ author_email="jyoti.s.saini@oracle.com",
packages=find_packages(where="src"),
package_dir={"": "src"},
include_package_data=True,
@@ -74,6 +77,10 @@ def open_relative(*path):
"Programming Language :: Python :: 3.7",
"Programming Language :: Python :: 3.8",
"Programming Language :: Python :: 3.9",
+ "Programming Language :: Python :: 3.10",
+ "Programming Language :: Python :: 3.11",
+ "Programming Language :: Python :: 3.12",
+ "Programming Language :: Python :: 3.13",
],
- extras_require = extras_require
+ extras_require=extras_require
)
diff --git a/src/oci/__init__.py b/src/oci/__init__.py
index 82dcab2f7a..a3dbcf22ff 100644
--- a/src/oci/__init__.py
+++ b/src/oci/__init__.py
@@ -19,7 +19,7 @@
else:
__all__ = [
"BaseClient", "Request", "Response", "Signer", "config", "constants", "decorators", "exceptions", "regions", "wait_until", "pagination", "auth", "retry", "fips", "circuit_breaker", "developer_tool_configuration",
- "access_governance_cp", "adm", "ai_data_platform", "ai_document", "ai_language", "ai_speech", "ai_vision", "analytics", "announcements_service", "api_platform", "apiaccesscontrol", "apigateway", "apm_config", "apm_control_plane", "apm_synthetics", "apm_traces", "appmgmt_control", "artifacts", "audit", "autoscaling", "bastion", "batch", "bds", "blockchain", "budget", "capacity_management", "certificates", "certificates_management", "cims", "cloud_bridge", "cloud_guard", "cloud_migrations", "cluster_placement_groups", "compute_cloud_at_customer", "compute_instance_agent", "container_engine", "container_instances", "container_registry", "core", "costad", "dashboard_service", "data_catalog", "data_flow", "data_integration", "data_labeling_service", "data_labeling_service_dataplane", "data_safe", "data_science", "database", "database_management", "database_migration", "database_tools", "database_tools_runtime", "dblm", "dbmulticloud", "delegate_access_control", "demand_signal", "desktops", "devops", "dif", "disaster_recovery", "distributed_database", "dns", "em_warehouse", "email", "email_data_plane", "events", "file_storage", "fleet_apps_management", "fleet_software_update", "functions", "fusion_apps", "gdp", "generative_ai", "generative_ai_agent", "generative_ai_agent_runtime", "generative_ai_data", "generative_ai_inference", "generic_artifacts_content", "golden_gate", "governance_rules_control_plane", "healthchecks", "identity", "identity_data_plane", "identity_domains", "integration", "iot", "jms", "jms_java_downloads", "jms_utils", "key_management", "license_manager", "limits", "limits_increase", "load_balancer", "lockbox", "log_analytics", "logging", "loggingingestion", "loggingsearch", "lustre_file_storage", "managed_kafka", "management_agent", "management_dashboard", "marketplace", "marketplace_private_offer", "marketplace_publisher", "media_services", "mngdmac", "model_deployment", "monitoring", "multicloud", "mysql", "network_firewall", "network_load_balancer", "nosql", "object_storage", "oce", "oci_control_center", "ocvp", "oda", "onesubscription", "ons", "opa", "opensearch", "operator_access_control", "opsi", "optimizer", "os_management_hub", "osp_gateway", "osub_billing_schedule", "osub_organization_subscription", "osub_subscription", "osub_usage", "psa", "psql", "queue", "recovery", "redis", "resource_analytics", "resource_manager", "resource_scheduler", "resource_search", "rover", "sch", "secrets", "security_attribute", "self", "service_catalog", "service_manager_proxy", "stack_monitoring", "streaming", "tenant_manager_control_plane", "threat_intelligence", "usage", "usage_api", "vault", "vbs_inst", "visual_builder", "vn_monitoring", "vulnerability_scanning", "waa", "waas", "waf", "wlms", "work_requests", "zpr"
+ "access_governance_cp", "adm", "ai_data_platform", "ai_document", "ai_language", "ai_speech", "ai_vision", "analytics", "announcements_service", "api_platform", "apiaccesscontrol", "apigateway", "apm_config", "apm_control_plane", "apm_synthetics", "apm_traces", "appmgmt_control", "artifacts", "audit", "autoscaling", "bastion", "batch", "bds", "blockchain", "budget", "capacity_management", "certificates", "certificates_management", "cims", "cloud_bridge", "cloud_guard", "cloud_migrations", "cluster_placement_groups", "compute_cloud_at_customer", "compute_instance_agent", "container_engine", "container_instances", "container_registry", "core", "costad", "dashboard_service", "data_catalog", "data_flow", "data_integration", "data_labeling_service", "data_labeling_service_dataplane", "data_safe", "data_science", "database", "database_management", "database_migration", "database_tools", "database_tools_runtime", "datacc", "dblm", "dbmulticloud", "ddfs", "delegate_access_control", "demand_signal", "desktops", "devops", "dif", "disaster_recovery", "distributed_database", "distributed_database_v26", "dns", "em_warehouse", "email", "email_data_plane", "events", "file_storage", "fleet_apps_management", "fleet_software_update", "functions", "fusion_apps", "gdp", "generative_ai", "generative_ai_agent", "generative_ai_agent_runtime", "generative_ai_data", "generative_ai_inference", "generic_artifacts_content", "golden_gate", "governance_rules_control_plane", "healthchecks", "identity", "identity_data_plane", "identity_domains", "integration", "iot", "jms", "jms_java_downloads", "jms_utils", "key_management", "license_manager", "limits", "limits_increase", "load_balancer", "lockbox", "log_analytics", "logging", "loggingingestion", "loggingsearch", "lustre_file_storage", "managed_kafka", "management_agent", "management_dashboard", "marketplace", "marketplace_private_offer", "marketplace_publisher", "media_services", "mngdmac", "model_deployment", "monitoring", "multicloud", "mysql", "network_firewall", "network_load_balancer", "nosql", "object_storage", "oce", "oci_control_center", "ocvp", "oda", "onesubscription", "ons", "opa", "opensearch", "operator_access_control", "opsi", "optimizer", "os_management_hub", "osp_gateway", "osub_billing_schedule", "osub_organization_subscription", "osub_subscription", "osub_usage", "psa", "psql", "queue", "recovery", "redis", "resource_analytics", "resource_manager", "resource_scheduler", "resource_search", "rover", "sch", "secrets", "security_attribute", "self", "service_catalog", "service_manager_proxy", "stack_monitoring", "streaming", "tenant_manager_control_plane", "threat_intelligence", "usage", "usage_api", "vault", "vbs_inst", "visual_builder", "vn_monitoring", "vulnerability_scanning", "waa", "waas", "waf", "wlms", "work_requests", "zpr"
]
if sys.version_info >= (3, 7) and os.getenv("OCI_PYTHON_SDK_LAZY_IMPORTS_DISABLED", "False").lower() != "true":
def __getattr__(x):
@@ -30,4 +30,4 @@ def __getattr__(x):
return importlib.import_module(__name__ + "." + x)
raise AttributeError("module " + __name__ + " has no attribute" + x)
else:
- from . import access_governance_cp, adm, ai_data_platform, ai_document, ai_language, ai_speech, ai_vision, analytics, announcements_service, api_platform, apiaccesscontrol, apigateway, apm_config, apm_control_plane, apm_synthetics, apm_traces, appmgmt_control, artifacts, audit, autoscaling, bastion, batch, bds, blockchain, budget, capacity_management, certificates, certificates_management, cims, cloud_bridge, cloud_guard, cloud_migrations, cluster_placement_groups, compute_cloud_at_customer, compute_instance_agent, container_engine, container_instances, container_registry, core, costad, dashboard_service, data_catalog, data_flow, data_integration, data_labeling_service, data_labeling_service_dataplane, data_safe, data_science, database, database_management, database_migration, database_tools, database_tools_runtime, dblm, dbmulticloud, delegate_access_control, demand_signal, desktops, devops, dif, disaster_recovery, distributed_database, dns, em_warehouse, email, email_data_plane, events, file_storage, fleet_apps_management, fleet_software_update, functions, fusion_apps, gdp, generative_ai, generative_ai_agent, generative_ai_agent_runtime, generative_ai_data, generative_ai_inference, generic_artifacts_content, golden_gate, governance_rules_control_plane, healthchecks, identity, identity_data_plane, identity_domains, integration, iot, jms, jms_java_downloads, jms_utils, key_management, license_manager, limits, limits_increase, load_balancer, lockbox, log_analytics, logging, loggingingestion, loggingsearch, lustre_file_storage, managed_kafka, management_agent, management_dashboard, marketplace, marketplace_private_offer, marketplace_publisher, media_services, mngdmac, model_deployment, monitoring, multicloud, mysql, network_firewall, network_load_balancer, nosql, object_storage, oce, oci_control_center, ocvp, oda, onesubscription, ons, opa, opensearch, operator_access_control, opsi, optimizer, os_management_hub, osp_gateway, osub_billing_schedule, osub_organization_subscription, osub_subscription, osub_usage, psa, psql, queue, recovery, redis, resource_analytics, resource_manager, resource_scheduler, resource_search, rover, sch, secrets, security_attribute, self, service_catalog, service_manager_proxy, stack_monitoring, streaming, tenant_manager_control_plane, threat_intelligence, usage, usage_api, vault, vbs_inst, visual_builder, vn_monitoring, vulnerability_scanning, waa, waas, waf, wlms, work_requests, zpr
+ from . import access_governance_cp, adm, ai_data_platform, ai_document, ai_language, ai_speech, ai_vision, analytics, announcements_service, api_platform, apiaccesscontrol, apigateway, apm_config, apm_control_plane, apm_synthetics, apm_traces, appmgmt_control, artifacts, audit, autoscaling, bastion, batch, bds, blockchain, budget, capacity_management, certificates, certificates_management, cims, cloud_bridge, cloud_guard, cloud_migrations, cluster_placement_groups, compute_cloud_at_customer, compute_instance_agent, container_engine, container_instances, container_registry, core, costad, dashboard_service, data_catalog, data_flow, data_integration, data_labeling_service, data_labeling_service_dataplane, data_safe, data_science, database, database_management, database_migration, database_tools, database_tools_runtime, datacc, dblm, dbmulticloud, ddfs, delegate_access_control, demand_signal, desktops, devops, dif, disaster_recovery, distributed_database, distributed_database_v26, dns, em_warehouse, email, email_data_plane, events, file_storage, fleet_apps_management, fleet_software_update, functions, fusion_apps, gdp, generative_ai, generative_ai_agent, generative_ai_agent_runtime, generative_ai_data, generative_ai_inference, generic_artifacts_content, golden_gate, governance_rules_control_plane, healthchecks, identity, identity_data_plane, identity_domains, integration, iot, jms, jms_java_downloads, jms_utils, key_management, license_manager, limits, limits_increase, load_balancer, lockbox, log_analytics, logging, loggingingestion, loggingsearch, lustre_file_storage, managed_kafka, management_agent, management_dashboard, marketplace, marketplace_private_offer, marketplace_publisher, media_services, mngdmac, model_deployment, monitoring, multicloud, mysql, network_firewall, network_load_balancer, nosql, object_storage, oce, oci_control_center, ocvp, oda, onesubscription, ons, opa, opensearch, operator_access_control, opsi, optimizer, os_management_hub, osp_gateway, osub_billing_schedule, osub_organization_subscription, osub_subscription, osub_usage, psa, psql, queue, recovery, redis, resource_analytics, resource_manager, resource_scheduler, resource_search, rover, sch, secrets, security_attribute, self, service_catalog, service_manager_proxy, stack_monitoring, streaming, tenant_manager_control_plane, threat_intelligence, usage, usage_api, vault, vbs_inst, visual_builder, vn_monitoring, vulnerability_scanning, waa, waas, waf, wlms, work_requests, zpr
diff --git a/src/oci/_log_redaction.py b/src/oci/_log_redaction.py
new file mode 100644
index 0000000000..3b3c0b64f4
--- /dev/null
+++ b/src/oci/_log_redaction.py
@@ -0,0 +1,244 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, 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
+
+import re
+
+try:
+ from collections.abc import Mapping
+except ImportError:
+ from collections import Mapping
+
+from ._vendor import six
+
+
+REDACTED_VALUE = "REDACTED"
+
+_NORMALIZED_DELIMITER_PATTERN = re.compile(r"[_-]+")
+
+_EXACT_SENSITIVE_HEADER_NAMES = frozenset([
+ "authorization",
+ "proxy-authorization",
+ "opc-obo-token",
+ "x-api-key",
+ "cookie",
+ "set-cookie",
+ "security-context",
+ "password",
+ "passphrase",
+])
+
+_SENSITIVE_HEADER_PREFIX_PATTERNS = (
+ re.compile(r"^x-token(?:-|$).*"),
+ re.compile(r"^x-authorization(?:-|$).*"),
+ re.compile(r"^x-key-.*"),
+)
+
+_SENSITIVE_HEADER_SUFFIXES = (
+ "access-token",
+ "refresh-token",
+ "id-token",
+ "security-token",
+ "session-token",
+ "delegation-token",
+ "client-secret",
+ "private-key",
+)
+
+_HEADER_LINE_PATTERN = re.compile(r"(?m)^([!#$%&'*+.^_`|~0-9A-Za-z_-]+)\s*:\s*([^\r\n]*)")
+
+_SENSITIVE_FIELD_NAMES = frozenset([
+ "authorization",
+ "proxy-authorization",
+ "opc-obo-token",
+ "x-api-key",
+ "token",
+ "accesstoken",
+ "access_token",
+ "refreshtoken",
+ "refresh_token",
+ "idtoken",
+ "id_token",
+ "delegationtoken",
+ "delegation_token",
+ "securitytoken",
+ "security_token",
+ "sessiontoken",
+ "session_token",
+ "serviceaccounttoken",
+ "service_account_token",
+ "subject_token",
+ "clientsecret",
+ "client_secret",
+ "passphrase",
+ "password",
+ "privatekey",
+ "private_key",
+ "publickey",
+ "public_key",
+ "podkey",
+ "pod_key",
+ "cookie",
+ "setcookie",
+ "set_cookie",
+ "securitycontext",
+ "security_context",
+])
+
+_SENSITIVE_FIELD_PATTERN = (
+ r"authorization|proxy-authorization|opc-obo-token|x-api-key|token|accessToken|"
+ r"access_token|refreshToken|refresh_token|idToken|id_token|delegationToken|"
+ r"delegation_token|securityToken|security_token|sessionToken|session_token|"
+ r"serviceAccountToken|service_account_token|subject_token|client_secret|"
+ r"clientSecret|passphrase|password|privateKey|private_key|publicKey|"
+ r"public_key|podKey|pod_key"
+)
+
+_SENSITIVE_LOG_PATTERNS = (
+ # JSON or Python-dict-like string values, for example "token":"value" or 'token': 'value'.
+ (
+ re.compile(r"(?i)([\"'](?:" + _SENSITIVE_FIELD_PATTERN + r")[\"']\s*:\s*)([\"'])(.*?)(\2)"),
+ r"\1\2" + REDACTED_VALUE + r"\2",
+ ),
+ # JSON or Python-dict-like non-string scalar values, for example "token":123.
+ (
+ re.compile(r"(?i)([\"'](?:" + _SENSITIVE_FIELD_PATTERN + r")[\"']\s*:\s*)(?![\"'])([^,}\]\s]+)"),
+ r"\1" + REDACTED_VALUE,
+ ),
+ # URL query strings and form bodies.
+ (
+ re.compile(r"(?i)(^|[?&\s])((?:" + _SENSITIVE_FIELD_PATTERN + r")=)([^&\s]*)"),
+ r"\1\2" + REDACTED_VALUE,
+ ),
+ # Common bearer/basic token fragments outside header-dump format.
+ (
+ re.compile(r"(?i)\b(Bearer|Basic)\s+[A-Za-z0-9._~+/=-]+"),
+ r"\1 " + REDACTED_VALUE,
+ ),
+ # Security tokens commonly start with ST$.
+ (
+ re.compile(r"\bST\$[A-Za-z0-9._-]+"),
+ "ST$" + REDACTED_VALUE,
+ ),
+ # JWT-looking strings, including Kubernetes service account tokens.
+ (
+ re.compile(r"\beyJ[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\.[A-Za-z0-9_-]+\b"),
+ REDACTED_VALUE,
+ ),
+ # PEM private keys should never be written to logs.
+ (
+ re.compile(r"-----BEGIN [A-Z ]*PRIVATE KEY-----.*?-----END [A-Z ]*PRIVATE KEY-----", re.DOTALL),
+ REDACTED_VALUE,
+ ),
+)
+
+
+def _normalize_header_name(key):
+ if key is None:
+ return None
+ normalized_header_name = str(key).strip().lower()
+ if not normalized_header_name:
+ return ""
+ return _NORMALIZED_DELIMITER_PATTERN.sub("-", normalized_header_name)
+
+
+def _normalize_key_name(key):
+ normalized_header_name = _normalize_header_name(key)
+ if normalized_header_name is None:
+ return None
+ return normalized_header_name.replace("-", "")
+
+
+def _matches_sensitive_header_rules(key):
+ normalized_header_name = _normalize_header_name(key)
+ if not normalized_header_name:
+ return False
+
+ if normalized_header_name in _EXACT_SENSITIVE_HEADER_NAMES:
+ return True
+
+ for pattern in _SENSITIVE_HEADER_PREFIX_PATTERNS:
+ if pattern.match(normalized_header_name):
+ return True
+
+ if normalized_header_name in _SENSITIVE_HEADER_SUFFIXES:
+ return True
+
+ for suffix in _SENSITIVE_HEADER_SUFFIXES:
+ if normalized_header_name.endswith("-" + suffix):
+ return True
+
+ return False
+
+
+def _is_sensitive_key(key):
+ if key is None:
+ return False
+
+ key_as_string = str(key)
+ normalized_key = _normalize_key_name(key_as_string)
+ return (
+ key_as_string.lower() in _SENSITIVE_FIELD_NAMES or
+ normalized_key in _SENSITIVE_FIELD_NAMES or
+ _matches_sensitive_header_rules(key_as_string)
+ )
+
+
+def _redact_sensitive_header_value(value):
+ if value is None:
+ return None
+ if isinstance(value, list):
+ return [REDACTED_VALUE for _ in value]
+ if isinstance(value, tuple):
+ return tuple(REDACTED_VALUE for _ in value)
+ return REDACTED_VALUE
+
+
+def _redact_sensitive_header_lines(value):
+ def _redact_header_match(match):
+ header_name = match.group(1)
+ if _matches_sensitive_header_rules(header_name):
+ return "{}: {}".format(header_name, REDACTED_VALUE)
+ return match.group(0)
+
+ return _HEADER_LINE_PATTERN.sub(_redact_header_match, value)
+
+
+def redact_sensitive_string_for_logs(value):
+ """Return a string with common credential-bearing values removed for logging."""
+ if value is None:
+ return None
+
+ redacted_value = value
+ if isinstance(redacted_value, bytes):
+ redacted_value = redacted_value.decode("utf-8", "replace")
+ elif not isinstance(redacted_value, six.string_types):
+ redacted_value = str(redacted_value)
+
+ redacted_value = _redact_sensitive_header_lines(redacted_value)
+
+ for pattern, replacement in _SENSITIVE_LOG_PATTERNS:
+ redacted_value = pattern.sub(replacement, redacted_value)
+ return redacted_value
+
+
+def redact_sensitive_data_for_logs(value):
+ """Return a redacted copy of data that is about to be written to logs."""
+ if isinstance(value, Mapping):
+ return {
+ key: _redact_sensitive_header_value(item) if _is_sensitive_key(key) else redact_sensitive_data_for_logs(item)
+ for key, item in six.iteritems(value)
+ }
+
+ if isinstance(value, list):
+ return [redact_sensitive_data_for_logs(item) for item in value]
+
+ if isinstance(value, tuple):
+ return tuple(redact_sensitive_data_for_logs(item) for item in value)
+
+ if isinstance(value, (bytes, six.string_types)):
+ return redact_sensitive_string_for_logs(value)
+
+ return value
diff --git a/src/oci/_vendor/__init__.py b/src/oci/_vendor/__init__.py
index a1dadf5205..1ae934020c 100644
--- a/src/oci/_vendor/__init__.py
+++ b/src/oci/_vendor/__init__.py
@@ -4,7 +4,6 @@
from . import chardet # noqa: F401
from . import httpsig_cffi # noqa: F401
-from . import jwt # noqa: F401
from . import idna # noqa: F401
from . import six # noqa: F401
from . import requests # noqa: F401
diff --git a/src/oci/_vendor/jwt/__init__.py b/src/oci/_vendor/jwt/__init__.py
deleted file mode 100644
index 75e8f7e9b9..0000000000
--- a/src/oci/_vendor/jwt/__init__.py
+++ /dev/null
@@ -1,75 +0,0 @@
-# coding: utf-8
-# Modified Work: Copyright (c) 2018, 2026, 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.
-# Original Work: Copyright (c) 2015-2022 JosƩ Padilla
-
-from .api_jwk import PyJWK, PyJWKSet
-from .api_jws import (
- PyJWS,
- get_unverified_header,
- register_algorithm,
- unregister_algorithm,
-)
-from .api_jwt import PyJWT, decode, encode
-from .exceptions import (
- DecodeError,
- ExpiredSignatureError,
- ImmatureSignatureError,
- InvalidAlgorithmError,
- InvalidAudienceError,
- InvalidIssuedAtError,
- InvalidIssuerError,
- InvalidKeyError,
- InvalidSignatureError,
- InvalidTokenError,
- MissingRequiredClaimError,
- PyJWKClientError,
- PyJWKError,
- PyJWKSetError,
- PyJWTError,
-)
-from .jwks_client import PyJWKClient
-
-__version__ = "2.4.0"
-
-__title__ = "PyJWT"
-__description__ = "JSON Web Token implementation in Python"
-__url__ = "https://pyjwt.readthedocs.io"
-__uri__ = __url__
-__doc__ = f"{__description__} <{__uri__}>"
-
-__author__ = "JosƩ Padilla"
-__email__ = "hello@jpadilla.com"
-
-__license__ = "MIT"
-__copyright__ = "Copyright 2015-2022 JosƩ Padilla"
-
-
-__all__ = [
- "PyJWS",
- "PyJWT",
- "PyJWKClient",
- "PyJWK",
- "PyJWKSet",
- "decode",
- "encode",
- "get_unverified_header",
- "register_algorithm",
- "unregister_algorithm",
- # Exceptions
- "DecodeError",
- "ExpiredSignatureError",
- "ImmatureSignatureError",
- "InvalidAlgorithmError",
- "InvalidAudienceError",
- "InvalidIssuedAtError",
- "InvalidIssuerError",
- "InvalidKeyError",
- "InvalidSignatureError",
- "InvalidTokenError",
- "MissingRequiredClaimError",
- "PyJWKClientError",
- "PyJWKError",
- "PyJWKSetError",
- "PyJWTError",
-]
diff --git a/src/oci/_vendor/jwt/algorithms.py b/src/oci/_vendor/jwt/algorithms.py
deleted file mode 100644
index af7fa104c3..0000000000
--- a/src/oci/_vendor/jwt/algorithms.py
+++ /dev/null
@@ -1,682 +0,0 @@
-# coding: utf-8
-# Modified Work: Copyright (c) 2018, 2026, 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.
-# Original Work: Copyright (c) 2015-2022 JosƩ Padilla
-
-import hashlib
-import hmac
-import json
-
-from .exceptions import InvalidKeyError
-from .utils import (
- base64url_decode,
- base64url_encode,
- der_to_raw_signature,
- force_bytes,
- from_base64url_uint,
- is_pem_format,
- is_ssh_key,
- raw_to_der_signature,
- to_base64url_uint,
-)
-
-try:
- import cryptography.exceptions
- from cryptography.exceptions import InvalidSignature
- from cryptography.hazmat.primitives import hashes
- from cryptography.hazmat.primitives.asymmetric import ec, padding
- from cryptography.hazmat.primitives.asymmetric.ec import (
- EllipticCurvePrivateKey,
- EllipticCurvePublicKey,
- )
- from cryptography.hazmat.primitives.asymmetric.ed448 import (
- Ed448PrivateKey,
- Ed448PublicKey,
- )
- from cryptography.hazmat.primitives.asymmetric.ed25519 import (
- Ed25519PrivateKey,
- Ed25519PublicKey,
- )
- from cryptography.hazmat.primitives.asymmetric.rsa import (
- RSAPrivateKey,
- RSAPrivateNumbers,
- RSAPublicKey,
- RSAPublicNumbers,
- rsa_crt_dmp1,
- rsa_crt_dmq1,
- rsa_crt_iqmp,
- rsa_recover_prime_factors,
- )
- from cryptography.hazmat.primitives.serialization import (
- Encoding,
- NoEncryption,
- PrivateFormat,
- PublicFormat,
- load_pem_private_key,
- load_pem_public_key,
- load_ssh_public_key,
- )
-
- has_crypto = True
-except ModuleNotFoundError:
- has_crypto = False
-
-requires_cryptography = {
- "RS256",
- "RS384",
- "RS512",
- "ES256",
- "ES256K",
- "ES384",
- "ES521",
- "ES512",
- "PS256",
- "PS384",
- "PS512",
- "EdDSA",
-}
-
-
-def get_default_algorithms():
- """
- Returns the algorithms that are implemented by the library.
- """
- default_algorithms = {
- "none": NoneAlgorithm(),
- "HS256": HMACAlgorithm(HMACAlgorithm.SHA256),
- "HS384": HMACAlgorithm(HMACAlgorithm.SHA384),
- "HS512": HMACAlgorithm(HMACAlgorithm.SHA512),
- }
-
- if has_crypto:
- default_algorithms.update(
- {
- "RS256": RSAAlgorithm(RSAAlgorithm.SHA256),
- "RS384": RSAAlgorithm(RSAAlgorithm.SHA384),
- "RS512": RSAAlgorithm(RSAAlgorithm.SHA512),
- "ES256": ECAlgorithm(ECAlgorithm.SHA256),
- "ES256K": ECAlgorithm(ECAlgorithm.SHA256),
- "ES384": ECAlgorithm(ECAlgorithm.SHA384),
- "ES521": ECAlgorithm(ECAlgorithm.SHA512),
- "ES512": ECAlgorithm(
- ECAlgorithm.SHA512
- ), # Backward compat for #219 fix
- "PS256": RSAPSSAlgorithm(RSAPSSAlgorithm.SHA256),
- "PS384": RSAPSSAlgorithm(RSAPSSAlgorithm.SHA384),
- "PS512": RSAPSSAlgorithm(RSAPSSAlgorithm.SHA512),
- "EdDSA": OKPAlgorithm(),
- }
- )
-
- return default_algorithms
-
-
-class Algorithm:
- """
- The interface for an algorithm used to sign and verify tokens.
- """
-
- def prepare_key(self, key):
- """
- Performs necessary validation and conversions on the key and returns
- the key value in the proper format for sign() and verify().
- """
- raise NotImplementedError
-
- def sign(self, msg, key):
- """
- Returns a digital signature for the specified message
- using the specified key value.
- """
- raise NotImplementedError
-
- def verify(self, msg, key, sig):
- """
- Verifies that the specified digital signature is valid
- for the specified message and key values.
- """
- raise NotImplementedError
-
- @staticmethod
- def to_jwk(key_obj):
- """
- Serializes a given RSA key into a JWK
- """
- raise NotImplementedError
-
- @staticmethod
- def from_jwk(jwk):
- """
- Deserializes a given RSA key from JWK back into a PublicKey or PrivateKey object
- """
- raise NotImplementedError
-
-
-class NoneAlgorithm(Algorithm):
- """
- Placeholder for use when no signing or verification
- operations are required.
- """
-
- def prepare_key(self, key):
- if key == "":
- key = None
-
- if key is not None:
- raise InvalidKeyError('When alg = "none", key value must be None.')
-
- return key
-
- def sign(self, msg, key):
- return b""
-
- def verify(self, msg, key, sig):
- return False
-
-
-class HMACAlgorithm(Algorithm):
- """
- Performs signing and verification operations using HMAC
- and the specified hash function.
- """
-
- SHA256 = hashlib.sha256
- SHA384 = hashlib.sha384
- SHA512 = hashlib.sha512
-
- def __init__(self, hash_alg):
- self.hash_alg = hash_alg
-
- def prepare_key(self, key):
- key = force_bytes(key)
-
- if is_pem_format(key) or is_ssh_key(key):
- raise InvalidKeyError(
- "The specified key is an asymmetric key or x509 certificate and"
- " should not be used as an HMAC secret."
- )
-
- return key
-
- @staticmethod
- def to_jwk(key_obj):
- return json.dumps(
- {
- "k": base64url_encode(force_bytes(key_obj)).decode(),
- "kty": "oct",
- }
- )
-
- @staticmethod
- def from_jwk(jwk):
- try:
- if isinstance(jwk, str):
- obj = json.loads(jwk)
- elif isinstance(jwk, dict):
- obj = jwk
- else:
- raise ValueError
- except ValueError:
- raise InvalidKeyError("Key is not valid JSON")
-
- if obj.get("kty") != "oct":
- raise InvalidKeyError("Not an HMAC key")
-
- return base64url_decode(obj["k"])
-
- def sign(self, msg, key):
- return hmac.new(key, msg, self.hash_alg).digest()
-
- def verify(self, msg, key, sig):
- return hmac.compare_digest(sig, self.sign(msg, key))
-
-
-if has_crypto:
-
- class RSAAlgorithm(Algorithm):
- """
- Performs signing and verification operations using
- RSASSA-PKCS-v1_5 and the specified hash function.
- """
-
- SHA256 = hashes.SHA256
- SHA384 = hashes.SHA384
- SHA512 = hashes.SHA512
-
- def __init__(self, hash_alg):
- self.hash_alg = hash_alg
-
- def prepare_key(self, key):
- if isinstance(key, (RSAPrivateKey, RSAPublicKey)):
- return key
-
- if not isinstance(key, (bytes, str)):
- raise TypeError("Expecting a PEM-formatted key.")
-
- key = force_bytes(key)
-
- try:
- if key.startswith(b"ssh-rsa"):
- key = load_ssh_public_key(key)
- else:
- key = load_pem_private_key(key, password=None)
- except ValueError:
- key = load_pem_public_key(key)
- return key
-
- @staticmethod
- def to_jwk(key_obj):
- obj = None
-
- if getattr(key_obj, "private_numbers", None):
- # Private key
- numbers = key_obj.private_numbers()
-
- obj = {
- "kty": "RSA",
- "key_ops": ["sign"],
- "n": to_base64url_uint(numbers.public_numbers.n).decode(),
- "e": to_base64url_uint(numbers.public_numbers.e).decode(),
- "d": to_base64url_uint(numbers.d).decode(),
- "p": to_base64url_uint(numbers.p).decode(),
- "q": to_base64url_uint(numbers.q).decode(),
- "dp": to_base64url_uint(numbers.dmp1).decode(),
- "dq": to_base64url_uint(numbers.dmq1).decode(),
- "qi": to_base64url_uint(numbers.iqmp).decode(),
- }
-
- elif getattr(key_obj, "verify", None):
- # Public key
- numbers = key_obj.public_numbers()
-
- obj = {
- "kty": "RSA",
- "key_ops": ["verify"],
- "n": to_base64url_uint(numbers.n).decode(),
- "e": to_base64url_uint(numbers.e).decode(),
- }
- else:
- raise InvalidKeyError("Not a public or private key")
-
- return json.dumps(obj)
-
- @staticmethod
- def from_jwk(jwk):
- try:
- if isinstance(jwk, str):
- obj = json.loads(jwk)
- elif isinstance(jwk, dict):
- obj = jwk
- else:
- raise ValueError
- except ValueError:
- raise InvalidKeyError("Key is not valid JSON")
-
- if obj.get("kty") != "RSA":
- raise InvalidKeyError("Not an RSA key")
-
- if "d" in obj and "e" in obj and "n" in obj:
- # Private key
- if "oth" in obj:
- raise InvalidKeyError(
- "Unsupported RSA private key: > 2 primes not supported"
- )
-
- other_props = ["p", "q", "dp", "dq", "qi"]
- props_found = [prop in obj for prop in other_props]
- any_props_found = any(props_found)
-
- if any_props_found and not all(props_found):
- raise InvalidKeyError(
- "RSA key must include all parameters if any are present besides d"
- )
-
- public_numbers = RSAPublicNumbers(
- from_base64url_uint(obj["e"]),
- from_base64url_uint(obj["n"]),
- )
-
- if any_props_found:
- numbers = RSAPrivateNumbers(
- d=from_base64url_uint(obj["d"]),
- p=from_base64url_uint(obj["p"]),
- q=from_base64url_uint(obj["q"]),
- dmp1=from_base64url_uint(obj["dp"]),
- dmq1=from_base64url_uint(obj["dq"]),
- iqmp=from_base64url_uint(obj["qi"]),
- public_numbers=public_numbers,
- )
- else:
- d = from_base64url_uint(obj["d"])
- p, q = rsa_recover_prime_factors(
- public_numbers.n, d, public_numbers.e
- )
-
- numbers = RSAPrivateNumbers(
- d=d,
- p=p,
- q=q,
- dmp1=rsa_crt_dmp1(d, p),
- dmq1=rsa_crt_dmq1(d, q),
- iqmp=rsa_crt_iqmp(p, q),
- public_numbers=public_numbers,
- )
-
- return numbers.private_key()
- elif "n" in obj and "e" in obj:
- # Public key
- numbers = RSAPublicNumbers(
- from_base64url_uint(obj["e"]),
- from_base64url_uint(obj["n"]),
- )
-
- return numbers.public_key()
- else:
- raise InvalidKeyError("Not a public or private key")
-
- def sign(self, msg, key):
- return key.sign(msg, padding.PKCS1v15(), self.hash_alg())
-
- def verify(self, msg, key, sig):
- try:
- key.verify(sig, msg, padding.PKCS1v15(), self.hash_alg())
- return True
- except InvalidSignature:
- return False
-
- class ECAlgorithm(Algorithm):
- """
- Performs signing and verification operations using
- ECDSA and the specified hash function
- """
-
- SHA256 = hashes.SHA256
- SHA384 = hashes.SHA384
- SHA512 = hashes.SHA512
-
- def __init__(self, hash_alg):
- self.hash_alg = hash_alg
-
- def prepare_key(self, key):
- if isinstance(key, (EllipticCurvePrivateKey, EllipticCurvePublicKey)):
- return key
-
- if not isinstance(key, (bytes, str)):
- raise TypeError("Expecting a PEM-formatted key.")
-
- key = force_bytes(key)
-
- # Attempt to load key. We don't know if it's
- # a Signing Key or a Verifying Key, so we try
- # the Verifying Key first.
- try:
- if key.startswith(b"ecdsa-sha2-"):
- key = load_ssh_public_key(key)
- else:
- key = load_pem_public_key(key)
- except ValueError:
- key = load_pem_private_key(key, password=None)
-
- # Explicit check the key to prevent confusing errors from cryptography
- if not isinstance(key, (EllipticCurvePrivateKey, EllipticCurvePublicKey)):
- raise InvalidKeyError(
- "Expecting a EllipticCurvePrivateKey/EllipticCurvePublicKey. Wrong key provided for ECDSA algorithms"
- )
-
- return key
-
- def sign(self, msg, key):
- der_sig = key.sign(msg, ec.ECDSA(self.hash_alg()))
-
- return der_to_raw_signature(der_sig, key.curve)
-
- def verify(self, msg, key, sig):
- try:
- der_sig = raw_to_der_signature(sig, key.curve)
- except ValueError:
- return False
-
- try:
- if isinstance(key, EllipticCurvePrivateKey):
- key = key.public_key()
- key.verify(der_sig, msg, ec.ECDSA(self.hash_alg()))
- return True
- except InvalidSignature:
- return False
-
- @staticmethod
- def from_jwk(jwk):
- try:
- if isinstance(jwk, str):
- obj = json.loads(jwk)
- elif isinstance(jwk, dict):
- obj = jwk
- else:
- raise ValueError
- except ValueError:
- raise InvalidKeyError("Key is not valid JSON")
-
- if obj.get("kty") != "EC":
- raise InvalidKeyError("Not an Elliptic curve key")
-
- if "x" not in obj or "y" not in obj:
- raise InvalidKeyError("Not an Elliptic curve key")
-
- x = base64url_decode(obj.get("x"))
- y = base64url_decode(obj.get("y"))
-
- curve = obj.get("crv")
- if curve == "P-256":
- if len(x) == len(y) == 32:
- curve_obj = ec.SECP256R1()
- else:
- raise InvalidKeyError("Coords should be 32 bytes for curve P-256")
- elif curve == "P-384":
- if len(x) == len(y) == 48:
- curve_obj = ec.SECP384R1()
- else:
- raise InvalidKeyError("Coords should be 48 bytes for curve P-384")
- elif curve == "P-521":
- if len(x) == len(y) == 66:
- curve_obj = ec.SECP521R1()
- else:
- raise InvalidKeyError("Coords should be 66 bytes for curve P-521")
- elif curve == "secp256k1":
- if len(x) == len(y) == 32:
- curve_obj = ec.SECP256K1()
- else:
- raise InvalidKeyError(
- "Coords should be 32 bytes for curve secp256k1"
- )
- else:
- raise InvalidKeyError(f"Invalid curve: {curve}")
-
- public_numbers = ec.EllipticCurvePublicNumbers(
- x=int.from_bytes(x, byteorder="big"),
- y=int.from_bytes(y, byteorder="big"),
- curve=curve_obj,
- )
-
- if "d" not in obj:
- return public_numbers.public_key()
-
- d = base64url_decode(obj.get("d"))
- if len(d) != len(x):
- raise InvalidKeyError(
- "D should be {} bytes for curve {}", len(x), curve
- )
-
- return ec.EllipticCurvePrivateNumbers(
- int.from_bytes(d, byteorder="big"), public_numbers
- ).private_key()
-
- class RSAPSSAlgorithm(RSAAlgorithm):
- """
- Performs a signature using RSASSA-PSS with MGF1
- """
-
- def sign(self, msg, key):
- return key.sign(
- msg,
- padding.PSS(
- mgf=padding.MGF1(self.hash_alg()),
- salt_length=self.hash_alg.digest_size,
- ),
- self.hash_alg(),
- )
-
- def verify(self, msg, key, sig):
- try:
- key.verify(
- sig,
- msg,
- padding.PSS(
- mgf=padding.MGF1(self.hash_alg()),
- salt_length=self.hash_alg.digest_size,
- ),
- self.hash_alg(),
- )
- return True
- except InvalidSignature:
- return False
-
- class OKPAlgorithm(Algorithm):
- """
- Performs signing and verification operations using EdDSA
-
- This class requires ``cryptography>=2.6`` to be installed.
- """
-
- def __init__(self, **kwargs):
- pass
-
- def prepare_key(self, key):
- if isinstance(key, (bytes, str)):
- if isinstance(key, str):
- key = key.encode("utf-8")
- str_key = key.decode("utf-8")
-
- if "-----BEGIN PUBLIC" in str_key:
- key = load_pem_public_key(key)
- elif "-----BEGIN PRIVATE" in str_key:
- key = load_pem_private_key(key, password=None)
- elif str_key[0:4] == "ssh-":
- key = load_ssh_public_key(key)
-
- # Explicit check the key to prevent confusing errors from cryptography
- if not isinstance(
- key,
- (Ed25519PrivateKey, Ed25519PublicKey, Ed448PrivateKey, Ed448PublicKey),
- ):
- raise InvalidKeyError(
- "Expecting a EllipticCurvePrivateKey/EllipticCurvePublicKey. Wrong key provided for EdDSA algorithms"
- )
-
- return key
-
- def sign(self, msg, key):
- """
- Sign a message ``msg`` using the EdDSA private key ``key``
- :param str|bytes msg: Message to sign
- :param Ed25519PrivateKey}Ed448PrivateKey key: A :class:`.Ed25519PrivateKey`
- or :class:`.Ed448PrivateKey` iinstance
- :return bytes signature: The signature, as bytes
- """
- msg = bytes(msg, "utf-8") if type(msg) is not bytes else msg
- return key.sign(msg)
-
- def verify(self, msg, key, sig):
- """
- Verify a given ``msg`` against a signature ``sig`` using the EdDSA key ``key``
-
- :param str|bytes sig: EdDSA signature to check ``msg`` against
- :param str|bytes msg: Message to sign
- :param Ed25519PrivateKey|Ed25519PublicKey|Ed448PrivateKey|Ed448PublicKey key:
- A private or public EdDSA key instance
- :return bool verified: True if signature is valid, False if not.
- """
- try:
- msg = bytes(msg, "utf-8") if type(msg) is not bytes else msg
- sig = bytes(sig, "utf-8") if type(sig) is not bytes else sig
-
- if isinstance(key, (Ed25519PrivateKey, Ed448PrivateKey)):
- key = key.public_key()
- key.verify(sig, msg)
- return True # If no exception was raised, the signature is valid.
- except cryptography.exceptions.InvalidSignature:
- return False
-
- @staticmethod
- def to_jwk(key):
- if isinstance(key, (Ed25519PublicKey, Ed448PublicKey)):
- x = key.public_bytes(
- encoding=Encoding.Raw,
- format=PublicFormat.Raw,
- )
- crv = "Ed25519" if isinstance(key, Ed25519PublicKey) else "Ed448"
- return json.dumps(
- {
- "x": base64url_encode(force_bytes(x)).decode(),
- "kty": "OKP",
- "crv": crv,
- }
- )
-
- if isinstance(key, (Ed25519PrivateKey, Ed448PrivateKey)):
- d = key.private_bytes(
- encoding=Encoding.Raw,
- format=PrivateFormat.Raw,
- encryption_algorithm=NoEncryption(),
- )
-
- x = key.public_key().public_bytes(
- encoding=Encoding.Raw,
- format=PublicFormat.Raw,
- )
-
- crv = "Ed25519" if isinstance(key, Ed25519PrivateKey) else "Ed448"
- return json.dumps(
- {
- "x": base64url_encode(force_bytes(x)).decode(),
- "d": base64url_encode(force_bytes(d)).decode(),
- "kty": "OKP",
- "crv": crv,
- }
- )
-
- raise InvalidKeyError("Not a public or private key")
-
- @staticmethod
- def from_jwk(jwk):
- try:
- if isinstance(jwk, str):
- obj = json.loads(jwk)
- elif isinstance(jwk, dict):
- obj = jwk
- else:
- raise ValueError
- except ValueError:
- raise InvalidKeyError("Key is not valid JSON")
-
- if obj.get("kty") != "OKP":
- raise InvalidKeyError("Not an Octet Key Pair")
-
- curve = obj.get("crv")
- if curve != "Ed25519" and curve != "Ed448":
- raise InvalidKeyError(f"Invalid curve: {curve}")
-
- if "x" not in obj:
- raise InvalidKeyError('OKP should have "x" parameter')
- x = base64url_decode(obj.get("x"))
-
- try:
- if "d" not in obj:
- if curve == "Ed25519":
- return Ed25519PublicKey.from_public_bytes(x)
- return Ed448PublicKey.from_public_bytes(x)
- d = base64url_decode(obj.get("d"))
- if curve == "Ed25519":
- return Ed25519PrivateKey.from_private_bytes(d)
- return Ed448PrivateKey.from_private_bytes(d)
- except ValueError as err:
- raise InvalidKeyError("Invalid key parameter") from err
diff --git a/src/oci/_vendor/jwt/api_jwk.py b/src/oci/_vendor/jwt/api_jwk.py
deleted file mode 100644
index 26494c9fb1..0000000000
--- a/src/oci/_vendor/jwt/api_jwk.py
+++ /dev/null
@@ -1,108 +0,0 @@
-# coding: utf-8
-# Modified Work: Copyright (c) 2018, 2026, 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.
-# Original Work: Copyright (c) 2015-2022 JosƩ Padilla
-
-import json
-
-from .algorithms import get_default_algorithms
-from .exceptions import InvalidKeyError, PyJWKError, PyJWKSetError
-
-
-class PyJWK:
- def __init__(self, jwk_data, algorithm=None):
- self._algorithms = get_default_algorithms()
- self._jwk_data = jwk_data
-
- kty = self._jwk_data.get("kty", None)
- if not kty:
- raise InvalidKeyError(f"kty is not found: {self._jwk_data}")
-
- if not algorithm and isinstance(self._jwk_data, dict):
- algorithm = self._jwk_data.get("alg", None)
-
- if not algorithm:
- # Determine alg with kty (and crv).
- crv = self._jwk_data.get("crv", None)
- if kty == "EC":
- if crv == "P-256" or not crv:
- algorithm = "ES256"
- elif crv == "P-384":
- algorithm = "ES384"
- elif crv == "P-521":
- algorithm = "ES512"
- elif crv == "secp256k1":
- algorithm = "ES256K"
- else:
- raise InvalidKeyError(f"Unsupported crv: {crv}")
- elif kty == "RSA":
- algorithm = "RS256"
- elif kty == "oct":
- algorithm = "HS256"
- elif kty == "OKP":
- if not crv:
- raise InvalidKeyError(f"crv is not found: {self._jwk_data}")
- if crv == "Ed25519":
- algorithm = "EdDSA"
- else:
- raise InvalidKeyError(f"Unsupported crv: {crv}")
- else:
- raise InvalidKeyError(f"Unsupported kty: {kty}")
-
- self.Algorithm = self._algorithms.get(algorithm)
-
- if not self.Algorithm:
- raise PyJWKError(f"Unable to find a algorithm for key: {self._jwk_data}")
-
- self.key = self.Algorithm.from_jwk(self._jwk_data)
-
- @staticmethod
- def from_dict(obj, algorithm=None):
- return PyJWK(obj, algorithm)
-
- @staticmethod
- def from_json(data, algorithm=None):
- obj = json.loads(data)
- return PyJWK.from_dict(obj, algorithm)
-
- @property
- def key_type(self):
- return self._jwk_data.get("kty", None)
-
- @property
- def key_id(self):
- return self._jwk_data.get("kid", None)
-
- @property
- def public_key_use(self):
- return self._jwk_data.get("use", None)
-
-
-class PyJWKSet:
- def __init__(self, keys):
- self.keys = []
-
- if not keys or not isinstance(keys, list):
- raise PyJWKSetError("Invalid JWK Set value")
-
- if len(keys) == 0:
- raise PyJWKSetError("The JWK Set did not contain any keys")
-
- for key in keys:
- self.keys.append(PyJWK(key))
-
- @staticmethod
- def from_dict(obj):
- keys = obj.get("keys", [])
- return PyJWKSet(keys)
-
- @staticmethod
- def from_json(data):
- obj = json.loads(data)
- return PyJWKSet.from_dict(obj)
-
- def __getitem__(self, kid):
- for key in self.keys:
- if key.key_id == kid:
- return key
- raise KeyError(f"keyset has no key for kid: {kid}")
diff --git a/src/oci/_vendor/jwt/api_jws.py b/src/oci/_vendor/jwt/api_jws.py
deleted file mode 100644
index 4925f828c6..0000000000
--- a/src/oci/_vendor/jwt/api_jws.py
+++ /dev/null
@@ -1,294 +0,0 @@
-# coding: utf-8
-# Modified Work: Copyright (c) 2018, 2026, 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.
-# Original Work: Copyright (c) 2015-2022 JosƩ Padilla
-
-import binascii
-import json
-from collections.abc import Mapping
-from typing import Any, Dict, List, Optional, Type
-
-from .algorithms import (
- Algorithm,
- get_default_algorithms,
- has_crypto,
- requires_cryptography,
-)
-from .exceptions import (
- DecodeError,
- InvalidAlgorithmError,
- InvalidSignatureError,
- InvalidTokenError,
-)
-from .utils import base64url_decode, base64url_encode
-
-
-class PyJWS:
- header_typ = "JWT"
-
- def __init__(self, algorithms=None, options=None):
- self._algorithms = get_default_algorithms()
- self._valid_algs = (
- set(algorithms) if algorithms is not None else set(self._algorithms)
- )
-
- # Remove algorithms that aren't on the whitelist
- for key in list(self._algorithms.keys()):
- if key not in self._valid_algs:
- del self._algorithms[key]
-
- if options is None:
- options = {}
- self.options = {**self._get_default_options(), **options}
-
- @staticmethod
- def _get_default_options():
- return {"verify_signature": True}
-
- def register_algorithm(self, alg_id, alg_obj):
- """
- Registers a new Algorithm for use when creating and verifying tokens.
- """
- if alg_id in self._algorithms:
- raise ValueError("Algorithm already has a handler.")
-
- if not isinstance(alg_obj, Algorithm):
- raise TypeError("Object is not of type `Algorithm`")
-
- self._algorithms[alg_id] = alg_obj
- self._valid_algs.add(alg_id)
-
- def unregister_algorithm(self, alg_id):
- """
- Unregisters an Algorithm for use when creating and verifying tokens
- Throws KeyError if algorithm is not registered.
- """
- if alg_id not in self._algorithms:
- raise KeyError(
- "The specified algorithm could not be removed"
- " because it is not registered."
- )
-
- del self._algorithms[alg_id]
- self._valid_algs.remove(alg_id)
-
- def get_algorithms(self):
- """
- Returns a list of supported values for the 'alg' parameter.
- """
- return list(self._valid_algs)
-
- def encode(
- self,
- payload: bytes,
- key: str,
- algorithm: Optional[str] = "HS256",
- headers: Optional[Dict] = None,
- json_encoder: Optional[Type[json.JSONEncoder]] = None,
- is_payload_detached: bool = False,
- ) -> str:
- segments = []
-
- if algorithm is None:
- algorithm = "none"
-
- # Prefer headers values if present to function parameters.
- if headers:
- headers_alg = headers.get("alg")
- if headers_alg:
- algorithm = headers["alg"]
-
- headers_b64 = headers.get("b64")
- if headers_b64 is False:
- is_payload_detached = True
-
- # Header
- header = {"typ": self.header_typ, "alg": algorithm} # type: Dict[str, Any]
-
- if headers:
- self._validate_headers(headers)
- header.update(headers)
-
- if not header["typ"]:
- del header["typ"]
-
- if is_payload_detached:
- header["b64"] = False
- elif "b64" in header:
- # True is the standard value for b64, so no need for it
- del header["b64"]
-
- json_header = json.dumps(
- header, separators=(",", ":"), cls=json_encoder
- ).encode()
-
- segments.append(base64url_encode(json_header))
-
- if is_payload_detached:
- msg_payload = payload
- else:
- msg_payload = base64url_encode(payload)
- segments.append(msg_payload)
-
- # Segments
- signing_input = b".".join(segments)
-
- try:
- alg_obj = self._algorithms[algorithm]
- key = alg_obj.prepare_key(key)
- signature = alg_obj.sign(signing_input, key)
-
- except KeyError as e:
- if not has_crypto and algorithm in requires_cryptography:
- raise NotImplementedError(
- f"Algorithm '{algorithm}' could not be found. Do you have cryptography installed?"
- ) from e
- raise NotImplementedError("Algorithm not supported") from e
-
- segments.append(base64url_encode(signature))
-
- # Don't put the payload content inside the encoded token when detached
- if is_payload_detached:
- segments[1] = b""
- encoded_string = b".".join(segments)
-
- return encoded_string.decode("utf-8")
-
- def decode_complete(
- self,
- jwt: str,
- key: str = "",
- algorithms: Optional[List[str]] = None,
- options: Optional[Dict] = None,
- detached_payload: Optional[bytes] = None,
- **kwargs,
- ) -> Dict[str, Any]:
- if options is None:
- options = {}
- merged_options = {**self.options, **options}
- verify_signature = merged_options["verify_signature"]
-
- if verify_signature and not algorithms:
- raise DecodeError(
- 'It is required that you pass in a value for the "algorithms" argument when calling decode().'
- )
-
- payload, signing_input, header, signature = self._load(jwt)
-
- if header.get("b64", True) is False:
- if detached_payload is None:
- raise DecodeError(
- 'It is required that you pass in a value for the "detached_payload" argument to decode a message having the b64 header set to false.'
- )
- payload = detached_payload
- signing_input = b".".join([signing_input.rsplit(b".", 1)[0], payload])
-
- if verify_signature:
- self._verify_signature(signing_input, header, signature, key, algorithms)
-
- return {
- "payload": payload,
- "header": header,
- "signature": signature,
- }
-
- def decode(
- self,
- jwt: str,
- key: str = "",
- algorithms: Optional[List[str]] = None,
- options: Optional[Dict] = None,
- **kwargs,
- ) -> str:
- decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
- return decoded["payload"]
-
- def get_unverified_header(self, jwt):
- """Returns back the JWT header parameters as a dict()
-
- Note: The signature is not verified so the header parameters
- should not be fully trusted until signature verification is complete
- """
- headers = self._load(jwt)[2]
- self._validate_headers(headers)
-
- return headers
-
- def _load(self, jwt):
- if isinstance(jwt, str):
- jwt = jwt.encode("utf-8")
-
- if not isinstance(jwt, bytes):
- raise DecodeError(f"Invalid token type. Token must be a {bytes}")
-
- try:
- signing_input, crypto_segment = jwt.rsplit(b".", 1)
- header_segment, payload_segment = signing_input.split(b".", 1)
- except ValueError as err:
- raise DecodeError("Not enough segments") from err
-
- try:
- header_data = base64url_decode(header_segment)
- except (TypeError, binascii.Error) as err:
- raise DecodeError("Invalid header padding") from err
-
- try:
- header = json.loads(header_data)
- except ValueError as e:
- raise DecodeError(f"Invalid header string: {e}") from e
-
- if not isinstance(header, Mapping):
- raise DecodeError("Invalid header string: must be a json object")
-
- try:
- payload = base64url_decode(payload_segment)
- except (TypeError, binascii.Error) as err:
- raise DecodeError("Invalid payload padding") from err
-
- try:
- signature = base64url_decode(crypto_segment)
- except (TypeError, binascii.Error) as err:
- raise DecodeError("Invalid crypto padding") from err
-
- return (payload, signing_input, header, signature)
-
- def _verify_signature(
- self,
- signing_input,
- header,
- signature,
- key="",
- algorithms=None,
- ):
-
- alg = header.get("alg")
-
- if algorithms is not None and alg not in algorithms:
- raise InvalidAlgorithmError("The specified alg value is not allowed")
-
- try:
- alg_obj = self._algorithms[alg]
- key = alg_obj.prepare_key(key)
-
- if not alg_obj.verify(signing_input, key, signature):
- raise InvalidSignatureError("Signature verification failed")
-
- except KeyError as e:
- raise InvalidAlgorithmError("Algorithm not supported") from e
-
- def _validate_headers(self, headers):
- if "kid" in headers:
- self._validate_kid(headers["kid"])
-
- def _validate_kid(self, kid):
- if not isinstance(kid, str):
- raise InvalidTokenError("Key ID header parameter must be a string")
-
-
-_jws_global_obj = PyJWS()
-encode = _jws_global_obj.encode
-decode_complete = _jws_global_obj.decode_complete
-decode = _jws_global_obj.decode
-register_algorithm = _jws_global_obj.register_algorithm
-unregister_algorithm = _jws_global_obj.unregister_algorithm
-get_unverified_header = _jws_global_obj.get_unverified_header
diff --git a/src/oci/_vendor/jwt/api_jwt.py b/src/oci/_vendor/jwt/api_jwt.py
deleted file mode 100644
index 131c981a1f..0000000000
--- a/src/oci/_vendor/jwt/api_jwt.py
+++ /dev/null
@@ -1,236 +0,0 @@
-# coding: utf-8
-# Modified Work: Copyright (c) 2018, 2026, 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.
-# Original Work: Copyright (c) 2015-2022 JosƩ Padilla
-
-import json
-import warnings
-from calendar import timegm
-from collections.abc import Iterable, Mapping
-from datetime import datetime, timedelta, timezone
-from typing import Any, Dict, List, Optional, Type, Union
-
-from . import api_jws
-from .exceptions import (
- DecodeError,
- ExpiredSignatureError,
- ImmatureSignatureError,
- InvalidAudienceError,
- InvalidIssuedAtError,
- InvalidIssuerError,
- MissingRequiredClaimError,
-)
-
-
-class PyJWT:
- def __init__(self, options=None):
- if options is None:
- options = {}
- self.options = {**self._get_default_options(), **options}
-
- @staticmethod
- def _get_default_options() -> Dict[str, Union[bool, List[str]]]:
- return {
- "verify_signature": True,
- "verify_exp": True,
- "verify_nbf": True,
- "verify_iat": True,
- "verify_aud": True,
- "verify_iss": True,
- "require": [],
- }
-
- def encode(
- self,
- payload: Dict[str, Any],
- key: str,
- algorithm: Optional[str] = "HS256",
- headers: Optional[Dict] = None,
- json_encoder: Optional[Type[json.JSONEncoder]] = None,
- ) -> str:
- # Check that we get a mapping
- if not isinstance(payload, Mapping):
- raise TypeError(
- "Expecting a mapping object, as JWT only supports "
- "JSON objects as payloads."
- )
-
- # Payload
- payload = payload.copy()
- for time_claim in ["exp", "iat", "nbf"]:
- # Convert datetime to a intDate value in known time-format claims
- if isinstance(payload.get(time_claim), datetime):
- payload[time_claim] = timegm(payload[time_claim].utctimetuple())
-
- json_payload = json.dumps(
- payload, separators=(",", ":"), cls=json_encoder
- ).encode("utf-8")
-
- return api_jws.encode(json_payload, key, algorithm, headers, json_encoder)
-
- def decode_complete(
- self,
- jwt: str,
- key: str = "",
- algorithms: Optional[List[str]] = None,
- options: Optional[Dict] = None,
- **kwargs,
- ) -> Dict[str, Any]:
- options = dict(options or {}) # shallow-copy or initialize an empty dict
- options.setdefault("verify_signature", True)
-
- # If the user has set the legacy `verify` argument, and it doesn't match
- # what the relevant `options` entry for the argument is, inform the user
- # that they're likely making a mistake.
- if "verify" in kwargs and kwargs["verify"] != options["verify_signature"]:
- warnings.warn(
- "The `verify` argument to `decode` does nothing in PyJWT 2.0 and newer. "
- "The equivalent is setting `verify_signature` to False in the `options` dictionary. "
- "This invocation has a mismatch between the kwarg and the option entry.",
- category=DeprecationWarning,
- )
-
- if not options["verify_signature"]:
- options.setdefault("verify_exp", False)
- options.setdefault("verify_nbf", False)
- options.setdefault("verify_iat", False)
- options.setdefault("verify_aud", False)
- options.setdefault("verify_iss", False)
-
- if options["verify_signature"] and not algorithms:
- raise DecodeError(
- 'It is required that you pass in a value for the "algorithms" argument when calling decode().'
- )
-
- decoded = api_jws.decode_complete(
- jwt,
- key=key,
- algorithms=algorithms,
- options=options,
- **kwargs,
- )
-
- try:
- payload = json.loads(decoded["payload"])
- except ValueError as e:
- raise DecodeError(f"Invalid payload string: {e}")
- if not isinstance(payload, dict):
- raise DecodeError("Invalid payload string: must be a json object")
-
- merged_options = {**self.options, **options}
- self._validate_claims(payload, merged_options, **kwargs)
-
- decoded["payload"] = payload
- return decoded
-
- def decode(
- self,
- jwt: str,
- key: str = "",
- algorithms: Optional[List[str]] = None,
- options: Optional[Dict] = None,
- **kwargs,
- ) -> Dict[str, Any]:
- decoded = self.decode_complete(jwt, key, algorithms, options, **kwargs)
- return decoded["payload"]
-
- def _validate_claims(
- self, payload, options, audience=None, issuer=None, leeway=0, **kwargs
- ):
- if isinstance(leeway, timedelta):
- leeway = leeway.total_seconds()
-
- if not isinstance(audience, (bytes, str, type(None), Iterable)):
- raise TypeError("audience must be a string, iterable, or None")
-
- self._validate_required_claims(payload, options)
-
- now = timegm(datetime.now(tz=timezone.utc).utctimetuple())
-
- if "iat" in payload and options["verify_iat"]:
- self._validate_iat(payload, now, leeway)
-
- if "nbf" in payload and options["verify_nbf"]:
- self._validate_nbf(payload, now, leeway)
-
- if "exp" in payload and options["verify_exp"]:
- self._validate_exp(payload, now, leeway)
-
- if options["verify_iss"]:
- self._validate_iss(payload, issuer)
-
- if options["verify_aud"]:
- self._validate_aud(payload, audience)
-
- def _validate_required_claims(self, payload, options):
- for claim in options["require"]:
- if payload.get(claim) is None:
- raise MissingRequiredClaimError(claim)
-
- def _validate_iat(self, payload, now, leeway):
- try:
- int(payload["iat"])
- except ValueError:
- raise InvalidIssuedAtError("Issued At claim (iat) must be an integer.")
-
- def _validate_nbf(self, payload, now, leeway):
- try:
- nbf = int(payload["nbf"])
- except ValueError:
- raise DecodeError("Not Before claim (nbf) must be an integer.")
-
- if nbf > (now + leeway):
- raise ImmatureSignatureError("The token is not yet valid (nbf)")
-
- def _validate_exp(self, payload, now, leeway):
- try:
- exp = int(payload["exp"])
- except ValueError:
- raise DecodeError("Expiration Time claim (exp) must be an" " integer.")
-
- if exp < (now - leeway):
- raise ExpiredSignatureError("Signature has expired")
-
- def _validate_aud(self, payload, audience):
- if audience is None:
- if "aud" not in payload or not payload["aud"]:
- return
- # Application did not specify an audience, but
- # the token has the 'aud' claim
- raise InvalidAudienceError("Invalid audience")
-
- if "aud" not in payload or not payload["aud"]:
- # Application specified an audience, but it could not be
- # verified since the token does not contain a claim.
- raise MissingRequiredClaimError("aud")
-
- audience_claims = payload["aud"]
-
- if isinstance(audience_claims, str):
- audience_claims = [audience_claims]
- if not isinstance(audience_claims, list):
- raise InvalidAudienceError("Invalid claim format in token")
- if any(not isinstance(c, str) for c in audience_claims):
- raise InvalidAudienceError("Invalid claim format in token")
-
- if isinstance(audience, str):
- audience = [audience]
-
- if all(aud not in audience_claims for aud in audience):
- raise InvalidAudienceError("Invalid audience")
-
- def _validate_iss(self, payload, issuer):
- if issuer is None:
- return
-
- if "iss" not in payload:
- raise MissingRequiredClaimError("iss")
-
- if payload["iss"] != issuer:
- raise InvalidIssuerError("Invalid issuer")
-
-
-_jwt_global_obj = PyJWT()
-encode = _jwt_global_obj.encode
-decode_complete = _jwt_global_obj.decode_complete
-decode = _jwt_global_obj.decode
diff --git a/src/oci/_vendor/jwt/exceptions.py b/src/oci/_vendor/jwt/exceptions.py
deleted file mode 100644
index 410f9daaee..0000000000
--- a/src/oci/_vendor/jwt/exceptions.py
+++ /dev/null
@@ -1,71 +0,0 @@
-# coding: utf-8
-# Modified Work: Copyright (c) 2018, 2026, 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.
-# Original Work: Copyright (c) 2015-2022 JosƩ Padilla
-
-class PyJWTError(Exception):
- """
- Base class for all exceptions
- """
-
- pass
-
-
-class InvalidTokenError(PyJWTError):
- pass
-
-
-class DecodeError(InvalidTokenError):
- pass
-
-
-class InvalidSignatureError(DecodeError):
- pass
-
-
-class ExpiredSignatureError(InvalidTokenError):
- pass
-
-
-class InvalidAudienceError(InvalidTokenError):
- pass
-
-
-class InvalidIssuerError(InvalidTokenError):
- pass
-
-
-class InvalidIssuedAtError(InvalidTokenError):
- pass
-
-
-class ImmatureSignatureError(InvalidTokenError):
- pass
-
-
-class InvalidKeyError(PyJWTError):
- pass
-
-
-class InvalidAlgorithmError(InvalidTokenError):
- pass
-
-
-class MissingRequiredClaimError(InvalidTokenError):
- def __init__(self, claim):
- self.claim = claim
-
- def __str__(self):
- return f'Token is missing the "{self.claim}" claim'
-
-
-class PyJWKError(PyJWTError):
- pass
-
-
-class PyJWKSetError(PyJWTError):
- pass
-
-
-class PyJWKClientError(PyJWTError):
- pass
diff --git a/src/oci/_vendor/jwt/help.py b/src/oci/_vendor/jwt/help.py
deleted file mode 100644
index 1e16a39f85..0000000000
--- a/src/oci/_vendor/jwt/help.py
+++ /dev/null
@@ -1,67 +0,0 @@
-# coding: utf-8
-# Modified Work: Copyright (c) 2018, 2026, 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.
-# Original Work: Copyright (c) 2015-2022 JosƩ Padilla
-
-from __future__ import print_function
-
-import json
-import platform
-import sys
-
-from . import __version__ as pyjwt_version
-
-try:
- import cryptography
-except ModuleNotFoundError:
- cryptography = None # type: ignore
-
-
-def info():
- """
- Generate information for a bug report.
- Based on the requests package help utility module.
- """
- try:
- platform_info = {
- "system": platform.system(),
- "release": platform.release(),
- }
- except OSError:
- platform_info = {"system": "Unknown", "release": "Unknown"}
-
- implementation = platform.python_implementation()
-
- if implementation == "CPython":
- implementation_version = platform.python_version()
- elif implementation == "PyPy":
- implementation_version = (
- f"{sys.pypy_version_info.major}."
- f"{sys.pypy_version_info.minor}."
- f"{sys.pypy_version_info.micro}"
- )
- if sys.pypy_version_info.releaselevel != "final":
- implementation_version = "".join(
- [implementation_version, sys.pypy_version_info.releaselevel]
- )
- else:
- implementation_version = "Unknown"
-
- return {
- "platform": platform_info,
- "implementation": {
- "name": implementation,
- "version": implementation_version,
- },
- "cryptography": {"version": getattr(cryptography, "__version__", "")},
- "pyjwt": {"version": pyjwt_version},
- }
-
-
-def main():
- """Pretty-print the bug information as JSON."""
- print(json.dumps(info(), sort_keys=True, indent=2))
-
-
-if __name__ == "__main__":
- main()
diff --git a/src/oci/_vendor/jwt/jwks_client.py b/src/oci/_vendor/jwt/jwks_client.py
deleted file mode 100644
index 5a0590532a..0000000000
--- a/src/oci/_vendor/jwt/jwks_client.py
+++ /dev/null
@@ -1,64 +0,0 @@
-# coding: utf-8
-# Modified Work: Copyright (c) 2018, 2026, 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.
-# Original Work: Copyright (c) 2015-2022 JosƩ Padilla
-
-import json
-import urllib.request
-from functools import lru_cache
-from typing import Any, List
-
-from .api_jwk import PyJWK, PyJWKSet
-from .api_jwt import decode_complete as decode_token
-from .exceptions import PyJWKClientError
-
-
-class PyJWKClient:
- def __init__(self, uri: str, cache_keys: bool = True, max_cached_keys: int = 16):
- self.uri = uri
- if cache_keys:
- # Cache signing keys
- # Ignore mypy (https://github.com/python/mypy/issues/2427)
- self.get_signing_key = lru_cache(maxsize=max_cached_keys)(self.get_signing_key) # type: ignore
-
- def fetch_data(self) -> Any:
- with urllib.request.urlopen(self.uri) as response:
- return json.load(response)
-
- def get_jwk_set(self) -> PyJWKSet:
- data = self.fetch_data()
- return PyJWKSet.from_dict(data)
-
- def get_signing_keys(self) -> List[PyJWK]:
- jwk_set = self.get_jwk_set()
- signing_keys = [
- jwk_set_key
- for jwk_set_key in jwk_set.keys
- if jwk_set_key.public_key_use in ["sig", None] and jwk_set_key.key_id
- ]
-
- if not signing_keys:
- raise PyJWKClientError("The JWKS endpoint did not contain any signing keys")
-
- return signing_keys
-
- def get_signing_key(self, kid: str) -> PyJWK:
- signing_keys = self.get_signing_keys()
- signing_key = None
-
- for key in signing_keys:
- if key.key_id == kid:
- signing_key = key
- break
-
- if not signing_key:
- raise PyJWKClientError(
- f'Unable to find a signing key that matches: "{kid}"'
- )
-
- return signing_key
-
- def get_signing_key_from_jwt(self, token: str) -> PyJWK:
- unverified = decode_token(token, options={"verify_signature": False})
- header = unverified["header"]
- return self.get_signing_key(header.get("kid"))
diff --git a/src/oci/_vendor/jwt/utils.py b/src/oci/_vendor/jwt/utils.py
deleted file mode 100644
index 8dc77b6811..0000000000
--- a/src/oci/_vendor/jwt/utils.py
+++ /dev/null
@@ -1,165 +0,0 @@
-# coding: utf-8
-# Modified Work: Copyright (c) 2018, 2026, 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.
-# Original Work: Copyright (c) 2015-2022 JosƩ Padilla
-
-import base64
-import binascii
-import re
-from typing import Any, Union
-
-try:
- from cryptography.hazmat.primitives.asymmetric.ec import EllipticCurve
- from cryptography.hazmat.primitives.asymmetric.utils import (
- decode_dss_signature,
- encode_dss_signature,
- )
-except ModuleNotFoundError:
- EllipticCurve = Any # type: ignore
-
-
-def force_bytes(value: Union[str, bytes]) -> bytes:
- if isinstance(value, str):
- return value.encode("utf-8")
- elif isinstance(value, bytes):
- return value
- else:
- raise TypeError("Expected a string value")
-
-
-def base64url_decode(input: Union[str, bytes]) -> bytes:
- if isinstance(input, str):
- input = input.encode("ascii")
-
- rem = len(input) % 4
-
- if rem > 0:
- input += b"=" * (4 - rem)
-
- return base64.urlsafe_b64decode(input)
-
-
-def base64url_encode(input: bytes) -> bytes:
- return base64.urlsafe_b64encode(input).replace(b"=", b"")
-
-
-def to_base64url_uint(val: int) -> bytes:
- if val < 0:
- raise ValueError("Must be a positive integer")
-
- int_bytes = bytes_from_int(val)
-
- if len(int_bytes) == 0:
- int_bytes = b"\x00"
-
- return base64url_encode(int_bytes)
-
-
-def from_base64url_uint(val: Union[str, bytes]) -> int:
- if isinstance(val, str):
- val = val.encode("ascii")
-
- data = base64url_decode(val)
- return int.from_bytes(data, byteorder="big")
-
-
-def number_to_bytes(num: int, num_bytes: int) -> bytes:
- padded_hex = "%0*x" % (2 * num_bytes, num)
- return binascii.a2b_hex(padded_hex.encode("ascii"))
-
-
-def bytes_to_number(string: bytes) -> int:
- return int(binascii.b2a_hex(string), 16)
-
-
-def bytes_from_int(val: int) -> bytes:
- remaining = val
- byte_length = 0
-
- while remaining != 0:
- remaining >>= 8
- byte_length += 1
-
- return val.to_bytes(byte_length, "big", signed=False)
-
-
-def der_to_raw_signature(der_sig: bytes, curve: EllipticCurve) -> bytes:
- num_bits = curve.key_size
- num_bytes = (num_bits + 7) // 8
-
- r, s = decode_dss_signature(der_sig)
-
- return number_to_bytes(r, num_bytes) + number_to_bytes(s, num_bytes)
-
-
-def raw_to_der_signature(raw_sig: bytes, curve: EllipticCurve) -> bytes:
- num_bits = curve.key_size
- num_bytes = (num_bits + 7) // 8
-
- if len(raw_sig) != 2 * num_bytes:
- raise ValueError("Invalid signature")
-
- r = bytes_to_number(raw_sig[:num_bytes])
- s = bytes_to_number(raw_sig[num_bytes:])
-
- return encode_dss_signature(r, s)
-
-
-# Based on https://github.com/hynek/pem/blob/7ad94db26b0bc21d10953f5dbad3acfdfacf57aa/src/pem/_core.py#L224-L252
-_PEMS = {
- b"CERTIFICATE",
- b"TRUSTED CERTIFICATE",
- b"PRIVATE KEY",
- b"PUBLIC KEY",
- b"ENCRYPTED PRIVATE KEY",
- b"OPENSSH PRIVATE KEY",
- b"DSA PRIVATE KEY",
- b"RSA PRIVATE KEY",
- b"RSA PUBLIC KEY",
- b"EC PRIVATE KEY",
- b"DH PARAMETERS",
- b"NEW CERTIFICATE REQUEST",
- b"CERTIFICATE REQUEST",
- b"SSH2 PUBLIC KEY",
- b"SSH2 ENCRYPTED PRIVATE KEY",
- b"X509 CRL",
-}
-
-_PEM_RE = re.compile(
- b"----[- ]BEGIN ("
- + b"|".join(_PEMS)
- + b""")[- ]----\r?
-.+?\r?
-----[- ]END \\1[- ]----\r?\n?""",
- re.DOTALL,
-)
-
-
-def is_pem_format(key: bytes) -> bool:
- return bool(_PEM_RE.search(key))
-
-
-# Based on https://github.com/pyca/cryptography/blob/bcb70852d577b3f490f015378c75cba74986297b/src/cryptography/hazmat/primitives/serialization/ssh.py#L40-L46
-_CERT_SUFFIX = b"-cert-v01@openssh.com"
-_SSH_PUBKEY_RC = re.compile(br"\A(\S+)[ \t]+(\S+)")
-_SSH_KEY_FORMATS = [
- b"ssh-ed25519",
- b"ssh-rsa",
- b"ssh-dss",
- b"ecdsa-sha2-nistp256",
- b"ecdsa-sha2-nistp384",
- b"ecdsa-sha2-nistp521",
-]
-
-
-def is_ssh_key(key: bytes) -> bool:
- if any(string_value in key for string_value in _SSH_KEY_FORMATS):
- return True
-
- ssh_pubkey_match = _SSH_PUBKEY_RC.match(key)
- if ssh_pubkey_match:
- key_type = ssh_pubkey_match.group(1)
- if _CERT_SUFFIX == key_type[-len(_CERT_SUFFIX) :]:
- return True
-
- return False
diff --git a/src/oci/_vendor/requests/adapters.py b/src/oci/_vendor/requests/adapters.py
index 56bd3cb040..5f22c44e3f 100644
--- a/src/oci/_vendor/requests/adapters.py
+++ b/src/oci/_vendor/requests/adapters.py
@@ -167,7 +167,7 @@ def init_poolmanager(self, connections, maxsize, block=DEFAULT_POOLBLOCK, **pool
self._pool_block = block
self.poolmanager = PoolManager(num_pools=connections, maxsize=maxsize,
- block=block, strict=True, **pool_kwargs)
+ block=block, **pool_kwargs)
def proxy_manager_for(self, proxy, **proxy_kwargs):
"""Return urllib3 ProxyManager for the given proxy.
diff --git a/src/oci/ai_data_platform/ai_data_platform_client.py b/src/oci/ai_data_platform/ai_data_platform_client.py
index 901ef7eaf6..a0fcaf834b 100644
--- a/src/oci/ai_data_platform/ai_data_platform_client.py
+++ b/src/oci/ai_data_platform/ai_data_platform_client.py
@@ -599,6 +599,137 @@ def delete_ai_data_platform(self, ai_data_platform_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def enable_ai_feature(self, ai_data_platform_id, enable_ai_feature_details, **kwargs):
+ """
+ The AiDataPlatform will be enabled with AI features
+
+
+ :param str ai_data_platform_id: (required)
+ The `OCID`__ of the AiDataPlatform.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.ai_data_platform.models.EnableAiFeatureDetails enable_ai_feature_details: (required)
+ The information to be updated.
+
+ :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, please provide the request ID.
+ The only valid characters for request IDs are letters, numbers,
+ underscore, and dash.
+
+ :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 running 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 removed 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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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 enable_ai_feature API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['aiDataPlatformId']
+ resource_path = "/aiDataPlatforms/{aiDataPlatformId}/actions/enableAiFeature"
+ method = "POST"
+ operation_name = "enable_ai_feature"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/ai-data-platform/20240831/AiDataPlatform/EnableAiFeature"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"enable_ai_feature got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "aiDataPlatformId": ai_data_platform_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy is None:
+ retry_strategy = retry.DEFAULT_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=enable_ai_feature_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=enable_ai_feature_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def get_ai_data_platform(self, ai_data_platform_id, **kwargs):
"""
Gets information about a AiDataPlatform.
diff --git a/src/oci/ai_data_platform/ai_data_platform_client_composite_operations.py b/src/oci/ai_data_platform/ai_data_platform_client_composite_operations.py
index 0c617307b0..976310b097 100644
--- a/src/oci/ai_data_platform/ai_data_platform_client_composite_operations.py
+++ b/src/oci/ai_data_platform/ai_data_platform_client_composite_operations.py
@@ -157,6 +157,50 @@ def delete_ai_data_platform_and_wait_for_state(self, ai_data_platform_id, wait_f
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def enable_ai_feature_and_wait_for_state(self, ai_data_platform_id, enable_ai_feature_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.ai_data_platform.AiDataPlatformClient.enable_ai_feature` and waits for the :py:class:`~oci.ai_data_platform.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str ai_data_platform_id: (required)
+ The `OCID`__ of the AiDataPlatform.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.ai_data_platform.models.EnableAiFeatureDetails enable_ai_feature_details: (required)
+ The information to be updated.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.ai_data_platform.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.ai_data_platform.AiDataPlatformClient.enable_ai_feature`
+
+ :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.enable_ai_feature(ai_data_platform_id, enable_ai_feature_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_work_request(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').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_ai_data_platform_and_wait_for_state(self, ai_data_platform_id, update_ai_data_platform_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.ai_data_platform.AiDataPlatformClient.update_ai_data_platform` and waits for the :py:class:`~oci.ai_data_platform.models.WorkRequest`
diff --git a/src/oci/ai_data_platform/models/__init__.py b/src/oci/ai_data_platform/models/__init__.py
index efc7c11659..2d219c9d79 100644
--- a/src/oci/ai_data_platform/models/__init__.py
+++ b/src/oci/ai_data_platform/models/__init__.py
@@ -11,6 +11,7 @@
from .ai_data_platform_summary import AiDataPlatformSummary
from .change_ai_data_platform_compartment_details import ChangeAiDataPlatformCompartmentDetails
from .create_ai_data_platform_details import CreateAiDataPlatformDetails
+from .enable_ai_feature_details import EnableAiFeatureDetails
from .update_ai_data_platform_details import UpdateAiDataPlatformDetails
from .work_request import WorkRequest
from .work_request_error import WorkRequestError
@@ -28,6 +29,7 @@
"AiDataPlatformSummary": AiDataPlatformSummary,
"ChangeAiDataPlatformCompartmentDetails": ChangeAiDataPlatformCompartmentDetails,
"CreateAiDataPlatformDetails": CreateAiDataPlatformDetails,
+ "EnableAiFeatureDetails": EnableAiFeatureDetails,
"UpdateAiDataPlatformDetails": UpdateAiDataPlatformDetails,
"WorkRequest": WorkRequest,
"WorkRequestError": WorkRequestError,
diff --git a/src/oci/ai_data_platform/models/ai_data_platform.py b/src/oci/ai_data_platform/models/ai_data_platform.py
index d9b5519a41..cf63f7b047 100644
--- a/src/oci/ai_data_platform/models/ai_data_platform.py
+++ b/src/oci/ai_data_platform/models/ai_data_platform.py
@@ -45,6 +45,22 @@ class AiDataPlatform(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the ai_feature_status property of a AiDataPlatform.
+ #: This constant has a value of "DISABLED"
+ AI_FEATURE_STATUS_DISABLED = "DISABLED"
+
+ #: A constant which can be used with the ai_feature_status property of a AiDataPlatform.
+ #: This constant has a value of "ENABLING"
+ AI_FEATURE_STATUS_ENABLING = "ENABLING"
+
+ #: A constant which can be used with the ai_feature_status property of a AiDataPlatform.
+ #: This constant has a value of "READY"
+ AI_FEATURE_STATUS_READY = "READY"
+
+ #: A constant which can be used with the ai_feature_status property of a AiDataPlatform.
+ #: This constant has a value of "FAILED"
+ AI_FEATURE_STATUS_FAILED = "FAILED"
+
def __init__(self, **kwargs):
"""
Initializes a new AiDataPlatform object with values from keyword arguments.
@@ -92,6 +108,12 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
+ :param ai_feature_status:
+ The value to assign to the ai_feature_status property of this AiDataPlatform.
+ Allowed values for this property are: "DISABLED", "ENABLING", "READY", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type ai_feature_status: str
+
:param lifecycle_details:
The value to assign to the lifecycle_details property of this AiDataPlatform.
:type lifecycle_details: str
@@ -120,6 +142,7 @@ def __init__(self, **kwargs):
'alias_key': 'str',
'web_socket_endpoint': 'str',
'lifecycle_state': 'str',
+ 'ai_feature_status': 'str',
'lifecycle_details': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
@@ -136,6 +159,7 @@ def __init__(self, **kwargs):
'alias_key': 'aliasKey',
'web_socket_endpoint': 'webSocketEndpoint',
'lifecycle_state': 'lifecycleState',
+ 'ai_feature_status': 'aiFeatureStatus',
'lifecycle_details': 'lifecycleDetails',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
@@ -151,6 +175,7 @@ def __init__(self, **kwargs):
self._alias_key = None
self._web_socket_endpoint = None
self._lifecycle_state = None
+ self._ai_feature_status = None
self._lifecycle_details = None
self._freeform_tags = None
self._defined_tags = None
@@ -430,6 +455,36 @@ def lifecycle_state(self, lifecycle_state):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
+ @property
+ def ai_feature_status(self):
+ """
+ Gets the ai_feature_status of this AiDataPlatform.
+ The current aiFeatureStatus of the AiDataPlatform.
+
+ Allowed values for this property are: "DISABLED", "ENABLING", "READY", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The ai_feature_status of this AiDataPlatform.
+ :rtype: str
+ """
+ return self._ai_feature_status
+
+ @ai_feature_status.setter
+ def ai_feature_status(self, ai_feature_status):
+ """
+ Sets the ai_feature_status of this AiDataPlatform.
+ The current aiFeatureStatus of the AiDataPlatform.
+
+
+ :param ai_feature_status: The ai_feature_status of this AiDataPlatform.
+ :type: str
+ """
+ allowed_values = ["DISABLED", "ENABLING", "READY", "FAILED"]
+ if not value_allowed_none_or_none_sentinel(ai_feature_status, allowed_values):
+ ai_feature_status = 'UNKNOWN_ENUM_VALUE'
+ self._ai_feature_status = ai_feature_status
+
@property
def lifecycle_details(self):
"""
diff --git a/src/oci/ai_data_platform/models/ai_data_platform_summary.py b/src/oci/ai_data_platform/models/ai_data_platform_summary.py
index b6aa0788c9..37a109686e 100644
--- a/src/oci/ai_data_platform/models/ai_data_platform_summary.py
+++ b/src/oci/ai_data_platform/models/ai_data_platform_summary.py
@@ -52,6 +52,10 @@ def __init__(self, **kwargs):
The value to assign to the alias_key property of this AiDataPlatformSummary.
:type alias_key: str
+ :param ai_feature_status:
+ The value to assign to the ai_feature_status property of this AiDataPlatformSummary.
+ :type ai_feature_status: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this AiDataPlatformSummary.
:type lifecycle_state: str
@@ -82,6 +86,7 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'time_updated': 'datetime',
'alias_key': 'str',
+ 'ai_feature_status': 'str',
'lifecycle_state': 'str',
'lifecycle_details': 'str',
'freeform_tags': 'dict(str, str)',
@@ -97,6 +102,7 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'alias_key': 'aliasKey',
+ 'ai_feature_status': 'aiFeatureStatus',
'lifecycle_state': 'lifecycleState',
'lifecycle_details': 'lifecycleDetails',
'freeform_tags': 'freeformTags',
@@ -111,6 +117,7 @@ def __init__(self, **kwargs):
self._time_created = None
self._time_updated = None
self._alias_key = None
+ self._ai_feature_status = None
self._lifecycle_state = None
self._lifecycle_details = None
self._freeform_tags = None
@@ -337,6 +344,30 @@ def alias_key(self, alias_key):
"""
self._alias_key = alias_key
+ @property
+ def ai_feature_status(self):
+ """
+ Gets the ai_feature_status of this AiDataPlatformSummary.
+ The current aiFeatureStatus of the AiDataPlatform.
+
+
+ :return: The ai_feature_status of this AiDataPlatformSummary.
+ :rtype: str
+ """
+ return self._ai_feature_status
+
+ @ai_feature_status.setter
+ def ai_feature_status(self, ai_feature_status):
+ """
+ Sets the ai_feature_status of this AiDataPlatformSummary.
+ The current aiFeatureStatus of the AiDataPlatform.
+
+
+ :param ai_feature_status: The ai_feature_status of this AiDataPlatformSummary.
+ :type: str
+ """
+ self._ai_feature_status = ai_feature_status
+
@property
def lifecycle_state(self):
"""
diff --git a/src/oci/ai_data_platform/models/create_ai_data_platform_details.py b/src/oci/ai_data_platform/models/create_ai_data_platform_details.py
index 3dc07eefd7..1b2f7eb519 100644
--- a/src/oci/ai_data_platform/models/create_ai_data_platform_details.py
+++ b/src/oci/ai_data_platform/models/create_ai_data_platform_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240831
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -28,6 +28,22 @@ def __init__(self, **kwargs):
The value to assign to the ai_data_platform_type property of this CreateAiDataPlatformDetails.
:type ai_data_platform_type: str
+ :param is_enable_ai_feature:
+ The value to assign to the is_enable_ai_feature property of this CreateAiDataPlatformDetails.
+ :type is_enable_ai_feature: bool
+
+ :param vector_db_id:
+ The value to assign to the vector_db_id property of this CreateAiDataPlatformDetails.
+ :type vector_db_id: str
+
+ :param vector_db_admin_cred:
+ The value to assign to the vector_db_admin_cred property of this CreateAiDataPlatformDetails.
+ :type vector_db_admin_cred: str
+
+ :param vector_db_admin_secret_id:
+ The value to assign to the vector_db_admin_secret_id property of this CreateAiDataPlatformDetails.
+ :type vector_db_admin_secret_id: str
+
:param compartment_id:
The value to assign to the compartment_id property of this CreateAiDataPlatformDetails.
:type compartment_id: str
@@ -52,6 +68,10 @@ def __init__(self, **kwargs):
self.swagger_types = {
'display_name': 'str',
'ai_data_platform_type': 'str',
+ 'is_enable_ai_feature': 'bool',
+ 'vector_db_id': 'str',
+ 'vector_db_admin_cred': 'str',
+ 'vector_db_admin_secret_id': 'str',
'compartment_id': 'str',
'default_workspace_name': 'str',
'freeform_tags': 'dict(str, str)',
@@ -61,14 +81,25 @@ def __init__(self, **kwargs):
self.attribute_map = {
'display_name': 'displayName',
'ai_data_platform_type': 'aiDataPlatformType',
+ 'is_enable_ai_feature': 'isEnableAiFeature',
+ 'vector_db_id': 'vectorDbId',
+ 'vector_db_admin_cred': 'vectorDbAdminCred',
+ 'vector_db_admin_secret_id': 'vectorDbAdminSecretId',
'compartment_id': 'compartmentId',
'default_workspace_name': 'defaultWorkspaceName',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
}
+ self._redacted_field_paths = [
+ ['vector_db_admin_cred'],
+ ]
self._display_name = None
self._ai_data_platform_type = None
+ self._is_enable_ai_feature = None
+ self._vector_db_id = None
+ self._vector_db_admin_cred = None
+ self._vector_db_admin_secret_id = None
self._compartment_id = None
self._default_workspace_name = None
self._freeform_tags = None
@@ -123,6 +154,110 @@ def ai_data_platform_type(self, ai_data_platform_type):
"""
self._ai_data_platform_type = ai_data_platform_type
+ @property
+ def is_enable_ai_feature(self):
+ """
+ Gets the is_enable_ai_feature of this CreateAiDataPlatformDetails.
+ The flag to enable/disable AiFeatures for the instance.
+
+
+ :return: The is_enable_ai_feature of this CreateAiDataPlatformDetails.
+ :rtype: bool
+ """
+ return self._is_enable_ai_feature
+
+ @is_enable_ai_feature.setter
+ def is_enable_ai_feature(self, is_enable_ai_feature):
+ """
+ Sets the is_enable_ai_feature of this CreateAiDataPlatformDetails.
+ The flag to enable/disable AiFeatures for the instance.
+
+
+ :param is_enable_ai_feature: The is_enable_ai_feature of this CreateAiDataPlatformDetails.
+ :type: bool
+ """
+ self._is_enable_ai_feature = is_enable_ai_feature
+
+ @property
+ def vector_db_id(self):
+ """
+ Gets the vector_db_id of this CreateAiDataPlatformDetails.
+ The `OCID`__ of the vector db Lakehouse 26ai.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The vector_db_id of this CreateAiDataPlatformDetails.
+ :rtype: str
+ """
+ return self._vector_db_id
+
+ @vector_db_id.setter
+ def vector_db_id(self, vector_db_id):
+ """
+ Sets the vector_db_id of this CreateAiDataPlatformDetails.
+ The `OCID`__ of the vector db Lakehouse 26ai.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param vector_db_id: The vector_db_id of this CreateAiDataPlatformDetails.
+ :type: str
+ """
+ self._vector_db_id = vector_db_id
+
+ @property
+ def vector_db_admin_cred(self):
+ """
+ Gets the vector_db_admin_cred of this CreateAiDataPlatformDetails.
+ The Vector DB Lakehouse 26ai ADMIN user password.
+
+
+ :return: The vector_db_admin_cred of this CreateAiDataPlatformDetails.
+ :rtype: str
+ """
+ return self._vector_db_admin_cred
+
+ @vector_db_admin_cred.setter
+ def vector_db_admin_cred(self, vector_db_admin_cred):
+ """
+ Sets the vector_db_admin_cred of this CreateAiDataPlatformDetails.
+ The Vector DB Lakehouse 26ai ADMIN user password.
+
+
+ :param vector_db_admin_cred: The vector_db_admin_cred of this CreateAiDataPlatformDetails.
+ :type: str
+ """
+ self._vector_db_admin_cred = vector_db_admin_cred
+
+ @property
+ def vector_db_admin_secret_id(self):
+ """
+ Gets the vector_db_admin_secret_id of this CreateAiDataPlatformDetails.
+ The `OCID`__ of the OCI Vault secret holding the vector db Lakehouse 26ai Admin user password.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The vector_db_admin_secret_id of this CreateAiDataPlatformDetails.
+ :rtype: str
+ """
+ return self._vector_db_admin_secret_id
+
+ @vector_db_admin_secret_id.setter
+ def vector_db_admin_secret_id(self, vector_db_admin_secret_id):
+ """
+ Sets the vector_db_admin_secret_id of this CreateAiDataPlatformDetails.
+ The `OCID`__ of the OCI Vault secret holding the vector db Lakehouse 26ai Admin user password.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param vector_db_admin_secret_id: The vector_db_admin_secret_id of this CreateAiDataPlatformDetails.
+ :type: str
+ """
+ self._vector_db_admin_secret_id = vector_db_admin_secret_id
+
@property
def compartment_id(self):
"""
@@ -272,7 +407,9 @@ def system_tags(self, system_tags):
self._system_tags = system_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['vector_db_admin_cred'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/ai_data_platform/models/enable_ai_feature_details.py b/src/oci/ai_data_platform/models/enable_ai_feature_details.py
new file mode 100644
index 0000000000..12edce4885
--- /dev/null
+++ b/src/oci/ai_data_platform/models/enable_ai_feature_details.py
@@ -0,0 +1,145 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20240831
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class EnableAiFeatureDetails(object):
+ """
+ The data to enable Ai Feature for AiDataPlatform.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new EnableAiFeatureDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param vector_db_id:
+ The value to assign to the vector_db_id property of this EnableAiFeatureDetails.
+ :type vector_db_id: str
+
+ :param vector_db_admin_cred:
+ The value to assign to the vector_db_admin_cred property of this EnableAiFeatureDetails.
+ :type vector_db_admin_cred: str
+
+ :param vector_db_admin_secret_id:
+ The value to assign to the vector_db_admin_secret_id property of this EnableAiFeatureDetails.
+ :type vector_db_admin_secret_id: str
+
+ """
+ self.swagger_types = {
+ 'vector_db_id': 'str',
+ 'vector_db_admin_cred': 'str',
+ 'vector_db_admin_secret_id': 'str'
+ }
+ self.attribute_map = {
+ 'vector_db_id': 'vectorDbId',
+ 'vector_db_admin_cred': 'vectorDbAdminCred',
+ 'vector_db_admin_secret_id': 'vectorDbAdminSecretId'
+ }
+ self._redacted_field_paths = [
+ ['vector_db_admin_cred'],
+ ]
+ self._vector_db_id = None
+ self._vector_db_admin_cred = None
+ self._vector_db_admin_secret_id = None
+
+ @property
+ def vector_db_id(self):
+ """
+ Gets the vector_db_id of this EnableAiFeatureDetails.
+ The `OCID`__ of the vector db Lakehouse 26ai.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The vector_db_id of this EnableAiFeatureDetails.
+ :rtype: str
+ """
+ return self._vector_db_id
+
+ @vector_db_id.setter
+ def vector_db_id(self, vector_db_id):
+ """
+ Sets the vector_db_id of this EnableAiFeatureDetails.
+ The `OCID`__ of the vector db Lakehouse 26ai.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param vector_db_id: The vector_db_id of this EnableAiFeatureDetails.
+ :type: str
+ """
+ self._vector_db_id = vector_db_id
+
+ @property
+ def vector_db_admin_cred(self):
+ """
+ Gets the vector_db_admin_cred of this EnableAiFeatureDetails.
+ The Vector DB Lakehouse 26ai ADMIN user password.
+
+
+ :return: The vector_db_admin_cred of this EnableAiFeatureDetails.
+ :rtype: str
+ """
+ return self._vector_db_admin_cred
+
+ @vector_db_admin_cred.setter
+ def vector_db_admin_cred(self, vector_db_admin_cred):
+ """
+ Sets the vector_db_admin_cred of this EnableAiFeatureDetails.
+ The Vector DB Lakehouse 26ai ADMIN user password.
+
+
+ :param vector_db_admin_cred: The vector_db_admin_cred of this EnableAiFeatureDetails.
+ :type: str
+ """
+ self._vector_db_admin_cred = vector_db_admin_cred
+
+ @property
+ def vector_db_admin_secret_id(self):
+ """
+ Gets the vector_db_admin_secret_id of this EnableAiFeatureDetails.
+ The `OCID`__ of the OCI Vault secret holding the vector db Lakehouse 26ai Admin user password.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The vector_db_admin_secret_id of this EnableAiFeatureDetails.
+ :rtype: str
+ """
+ return self._vector_db_admin_secret_id
+
+ @vector_db_admin_secret_id.setter
+ def vector_db_admin_secret_id(self, vector_db_admin_secret_id):
+ """
+ Sets the vector_db_admin_secret_id of this EnableAiFeatureDetails.
+ The `OCID`__ of the OCI Vault secret holding the vector db Lakehouse 26ai Admin user password.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param vector_db_admin_secret_id: The vector_db_admin_secret_id of this EnableAiFeatureDetails.
+ :type: str
+ """
+ self._vector_db_admin_secret_id = vector_db_admin_secret_id
+
+ def __repr__(self):
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['vector_db_admin_cred'])
+ return formatted_flat_dict(as_dict)
+
+ 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/ai_data_platform/models/work_request.py b/src/oci/ai_data_platform/models/work_request.py
index f5d7ebf895..89c86116c8 100644
--- a/src/oci/ai_data_platform/models/work_request.py
+++ b/src/oci/ai_data_platform/models/work_request.py
@@ -33,6 +33,26 @@ class WorkRequest(object):
#: This constant has a value of "MOVE_DATA_LAKE"
OPERATION_TYPE_MOVE_DATA_LAKE = "MOVE_DATA_LAKE"
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "CREATE_AI_DATA_PLATFORM"
+ OPERATION_TYPE_CREATE_AI_DATA_PLATFORM = "CREATE_AI_DATA_PLATFORM"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "UPDATE_AI_DATA_PLATFORM"
+ OPERATION_TYPE_UPDATE_AI_DATA_PLATFORM = "UPDATE_AI_DATA_PLATFORM"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "DELETE_AI_DATA_PLATFORM"
+ OPERATION_TYPE_DELETE_AI_DATA_PLATFORM = "DELETE_AI_DATA_PLATFORM"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "MOVE_AI_DATA_PLATFORM"
+ OPERATION_TYPE_MOVE_AI_DATA_PLATFORM = "MOVE_AI_DATA_PLATFORM"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "ENABLE_AI_FEATURES"
+ OPERATION_TYPE_ENABLE_AI_FEATURES = "ENABLE_AI_FEATURES"
+
#: A constant which can be used with the operation_type property of a WorkRequest.
#: This constant has a value of "CREATE_WORKSPACE"
OPERATION_TYPE_CREATE_WORKSPACE = "CREATE_WORKSPACE"
@@ -88,7 +108,7 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this WorkRequest.
- Allowed values for this property are: "CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_AI_DATA_PLATFORM", "UPDATE_AI_DATA_PLATFORM", "DELETE_AI_DATA_PLATFORM", "MOVE_AI_DATA_PLATFORM", "ENABLE_AI_FEATURES", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
@@ -172,7 +192,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this WorkRequest.
The asynchronous operation tracked by this work request.
- Allowed values for this property are: "CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_AI_DATA_PLATFORM", "UPDATE_AI_DATA_PLATFORM", "DELETE_AI_DATA_PLATFORM", "MOVE_AI_DATA_PLATFORM", "ENABLE_AI_FEATURES", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -191,7 +211,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequest.
:type: str
"""
- allowed_values = ["CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES"]
+ allowed_values = ["CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_AI_DATA_PLATFORM", "UPDATE_AI_DATA_PLATFORM", "DELETE_AI_DATA_PLATFORM", "MOVE_AI_DATA_PLATFORM", "ENABLE_AI_FEATURES", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
diff --git a/src/oci/ai_data_platform/models/work_request_summary.py b/src/oci/ai_data_platform/models/work_request_summary.py
index 092a63d055..dfda0b4f75 100644
--- a/src/oci/ai_data_platform/models/work_request_summary.py
+++ b/src/oci/ai_data_platform/models/work_request_summary.py
@@ -31,6 +31,26 @@ class WorkRequestSummary(object):
#: This constant has a value of "MOVE_DATA_LAKE"
OPERATION_TYPE_MOVE_DATA_LAKE = "MOVE_DATA_LAKE"
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "CREATE_AI_DATA_PLATFORM"
+ OPERATION_TYPE_CREATE_AI_DATA_PLATFORM = "CREATE_AI_DATA_PLATFORM"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "UPDATE_AI_DATA_PLATFORM"
+ OPERATION_TYPE_UPDATE_AI_DATA_PLATFORM = "UPDATE_AI_DATA_PLATFORM"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "DELETE_AI_DATA_PLATFORM"
+ OPERATION_TYPE_DELETE_AI_DATA_PLATFORM = "DELETE_AI_DATA_PLATFORM"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "MOVE_AI_DATA_PLATFORM"
+ OPERATION_TYPE_MOVE_AI_DATA_PLATFORM = "MOVE_AI_DATA_PLATFORM"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "ENABLE_AI_FEATURES"
+ OPERATION_TYPE_ENABLE_AI_FEATURES = "ENABLE_AI_FEATURES"
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
#: This constant has a value of "CREATE_WORKSPACE"
OPERATION_TYPE_CREATE_WORKSPACE = "CREATE_WORKSPACE"
@@ -86,7 +106,7 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this WorkRequestSummary.
- Allowed values for this property are: "CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_AI_DATA_PLATFORM", "UPDATE_AI_DATA_PLATFORM", "DELETE_AI_DATA_PLATFORM", "MOVE_AI_DATA_PLATFORM", "ENABLE_AI_FEATURES", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
@@ -170,7 +190,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this WorkRequestSummary.
The asynchronous operation tracked by this work request.
- Allowed values for this property are: "CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_AI_DATA_PLATFORM", "UPDATE_AI_DATA_PLATFORM", "DELETE_AI_DATA_PLATFORM", "MOVE_AI_DATA_PLATFORM", "ENABLE_AI_FEATURES", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -189,7 +209,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequestSummary.
:type: str
"""
- allowed_values = ["CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES"]
+ allowed_values = ["CREATE_DATA_LAKE", "UPDATE_DATA_LAKE", "DELETE_DATA_LAKE", "MOVE_DATA_LAKE", "CREATE_AI_DATA_PLATFORM", "UPDATE_AI_DATA_PLATFORM", "DELETE_AI_DATA_PLATFORM", "MOVE_AI_DATA_PLATFORM", "ENABLE_AI_FEATURES", "CREATE_WORKSPACE", "UPDATE_WORKSPACE", "DELETE_WORKSPACE", "EVALUATE_IAM_POLICIES"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
diff --git a/src/oci/analytics/analytics_client.py b/src/oci/analytics/analytics_client.py
index aa6d9047c0..9e143e616e 100644
--- a/src/oci/analytics/analytics_client.py
+++ b/src/oci/analytics/analytics_client.py
@@ -127,11 +127,11 @@ def __init__(self, config, **kwargs):
def change_analytics_instance_compartment(self, analytics_instance_id, change_compartment_details, **kwargs):
"""
Change the compartment of an Analytics instance. The operation is long-running
- and creates a new WorkRequest.
+ and creates a new work request.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.ChangeCompartmentDetails change_compartment_details: (required)
Input payload to move the resource to a different compartment.
@@ -253,15 +253,15 @@ def change_analytics_instance_compartment(self, analytics_instance_id, change_co
def change_analytics_instance_network_endpoint(self, analytics_instance_id, change_analytics_instance_network_endpoint_details, **kwargs):
"""
- Change an Analytics instance network endpoint. The operation is long-running
- and creates a new WorkRequest.
+ Change the network endpoint for an Analytics instance. The operation is long-running
+ and creates a new work request.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.ChangeAnalyticsInstanceNetworkEndpointDetails change_analytics_instance_network_endpoint_details: (required)
- Input payload for changing an Analytics instance network endpoint.
+ Input payload for changing a network endpoint for an Analytics instance.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -380,12 +380,12 @@ def change_analytics_instance_network_endpoint(self, analytics_instance_id, chan
def create_analytics_instance(self, create_analytics_instance_details, **kwargs):
"""
- Create a new AnalyticsInstance in the specified compartment. The operation is long-running
- and creates a new WorkRequest.
+ Create a new Analytics instance in the specified compartment. The operation is long-running
+ and creates a new work request.
:param oci.analytics.models.CreateAnalyticsInstanceDetails create_analytics_instance_details: (required)
- Analytics Instance details.
+ Analytics instance details.
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -487,12 +487,12 @@ def create_analytics_instance(self, create_analytics_instance_details, **kwargs)
def create_private_access_channel(self, analytics_instance_id, create_private_access_channel_details, **kwargs):
"""
- Create an Private access Channel for the Analytics instance. The operation is long-running
- and creates a new WorkRequest.
+ Create an private access channel for the Analytics instance. The operation is long-running
+ and creates a new work request.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.CreatePrivateAccessChannelDetails create_private_access_channel_details: (required)
Input payload for creating a private access channel for an Analytics instance.
@@ -605,17 +605,137 @@ def create_private_access_channel(self, analytics_instance_id, create_private_ac
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def create_resource_group(self, analytics_instance_id, create_resource_group_details, **kwargs):
+ """
+ Create a new resource group for the instance
+
+
+ :param str analytics_instance_id: (required)
+ The OCID of the Analytics instance.
+
+ :param oci.analytics.models.CreateResourceGroupDetails create_resource_group_details: (required)
+ Resource group details
+
+ :param str opc_request_id: (optional)
+ Unique 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. 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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.analytics.models.InstanceResourceGroup`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_resource_group API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['analyticsInstanceId']
+ resource_path = "/analyticsInstances/{analyticsInstanceId}/resourceGroups"
+ method = "POST"
+ operation_name = "create_resource_group"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/CreateResourceGroup"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"create_resource_group got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "analyticsInstanceId": analytics_instance_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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_resource_group_details,
+ response_type="InstanceResourceGroup",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=create_resource_group_details,
+ response_type="InstanceResourceGroup",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def create_vanity_url(self, analytics_instance_id, create_vanity_url_details, **kwargs):
"""
- Allows specifying a custom host name to be used to access the analytics instance. This requires prior setup of DNS entry and certificate
- for this host.
+ Allows you to specify a custom host name to be used to access the Analytics instance. You must set up a DNS entry and certificate for this host in advance.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.CreateVanityUrlDetails create_vanity_url_details: (required)
- Vanity url details.
+ Vanity URL details.
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -727,12 +847,12 @@ def create_vanity_url(self, analytics_instance_id, create_vanity_url_details, **
def delete_analytics_instance(self, analytics_instance_id, **kwargs):
"""
- Terminates the specified Analytics instance. The operation is long-running
- and creates a new WorkRequest.
+ Deletes the specified Analytics instance. The operation is long-running
+ and creates a new work request.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -849,14 +969,14 @@ def delete_analytics_instance(self, analytics_instance_id, **kwargs):
def delete_private_access_channel(self, private_access_channel_key, analytics_instance_id, **kwargs):
"""
- Delete an Analytics instance's Private access channel with the given unique identifier key.
+ Delete a private access channel with a given unique identifier key, for an Analytics instance.
:param str private_access_channel_key: (required)
- The unique identifier key of the Private Access Channel.
+ The unique identifier key of the private access channel.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -972,16 +1092,141 @@ def delete_private_access_channel(self, private_access_channel_key, analytics_in
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def delete_resource_group(self, analytics_instance_id, analytics_instance_resource_group_id, **kwargs):
+ """
+ Allows deleting a previously created resource group.
+
+
+ :param str analytics_instance_id: (required)
+ The OCID of the Analytics instance.
+
+ :param str analytics_instance_resource_group_id: (required)
+ Specify unique id of a resource group within an Analytics instance.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique 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. 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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_resource_group API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['analyticsInstanceId', 'analyticsInstanceResourceGroupId']
+ resource_path = "/analyticsInstances/{analyticsInstanceId}/resourceGroups/{analyticsInstanceResourceGroupId}"
+ method = "DELETE"
+ operation_name = "delete_resource_group"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/DeleteResourceGroup"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"delete_resource_group got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "analyticsInstanceId": analytics_instance_id,
+ "analyticsInstanceResourceGroupId": analytics_instance_resource_group_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy is None:
+ retry_strategy = retry.DEFAULT_RETRY_STRATEGY
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def delete_vanity_url(self, analytics_instance_id, vanity_url_key, **kwargs):
"""
- Allows deleting a previously created vanity url.
+ Deletes a previously created vanity URL.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str vanity_url_key: (required)
- Specify unique identifier key of a vanity url to update or delete.
+ Specify unique identifier key of a vanity URL to update or delete.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -1099,7 +1344,7 @@ def delete_vanity_url(self, analytics_instance_id, vanity_url_key, **kwargs):
def delete_work_request(self, work_request_id, **kwargs):
"""
- Cancel a work request that has not started yet.
+ Cancel a work request that hasn't started yet.
:param str work_request_id: (required)
@@ -1208,11 +1453,11 @@ def delete_work_request(self, work_request_id, **kwargs):
def get_analytics_instance(self, analytics_instance_id, **kwargs):
"""
- Info for a specific Analytics instance.
+ Information about a specific Analytics instance.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -1314,14 +1559,14 @@ def get_analytics_instance(self, analytics_instance_id, **kwargs):
def get_private_access_channel(self, private_access_channel_key, analytics_instance_id, **kwargs):
"""
- Retrieve private access channel in the specified Analytics Instance.
+ Retrieve private access channel for the specified Analytics Instance.
:param str private_access_channel_key: (required)
- The unique identifier key of the Private Access Channel.
+ The unique identifier key of the private access channel.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -1422,6 +1667,116 @@ def get_private_access_channel(self, private_access_channel_key, analytics_insta
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def get_resource_group(self, analytics_instance_id, analytics_instance_resource_group_id, **kwargs):
+ """
+ Get details of a resource group for an instance
+
+
+ :param str analytics_instance_id: (required)
+ The OCID of the Analytics instance.
+
+ :param str analytics_instance_resource_group_id: (required)
+ Specify unique id of a resource group within an Analytics instance.
+
+ :param str opc_request_id: (optional)
+ Unique 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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.analytics.models.InstanceResourceGroup`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_resource_group API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['analyticsInstanceId', 'analyticsInstanceResourceGroupId']
+ resource_path = "/analyticsInstances/{analyticsInstanceId}/resourceGroups/{analyticsInstanceResourceGroupId}"
+ method = "GET"
+ operation_name = "get_resource_group"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/GetResourceGroup"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_resource_group got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "analyticsInstanceId": analytics_instance_id,
+ "analyticsInstanceResourceGroupId": analytics_instance_resource_group_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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="InstanceResourceGroup",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="InstanceResourceGroup",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def get_work_request(self, work_request_id, **kwargs):
"""
Get the details of a work request.
@@ -1468,22 +1823,222 @@ def get_work_request(self, work_request_id, **kwargs):
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "opc_request_id"
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"get_work_request got unknown kwargs: {extra_kwargs!r}")
+
+ 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(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="WorkRequest",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_analytics_instances(self, compartment_id, **kwargs):
+ """
+ List Analytics instances.
+
+
+ :param str compartment_id: (required)
+ The OCID of the compartment.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+ If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str name: (optional)
+ A filter to return only resources that match the given name exactly.
+
+ :param str capacity_type: (optional)
+ A filter to only return resources matching the capacity type enum. Values are
+ case-insensitive.
+
+ Allowed values are: "OLPU_COUNT", "USER_COUNT"
+
+ :param str feature_set: (optional)
+ A filter to only return resources matching the feature set. Values are
+ case-insensitive.
+
+ Allowed values are: "SELF_SERVICE_ANALYTICS", "ENTERPRISE_ANALYTICS"
+
+ :param str lifecycle_state: (optional)
+ A filter to only return resources matching the lifecycle state. The state
+ value is case-insensitive.
+
+ Allowed values are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "INACTIVE", "UPDATING"
+
+ :param int limit: (optional)
+ For list pagination. The maximum number of results per page, or items to return in a paginated
+ \"List\" call. For important details about how pagination works, see
+ `List Pagination`__.
+
+ Example: `50`
+
+ __ https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str page: (optional)
+ For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
+ call. For important details about how pagination works, see
+ `List Pagination`__.
+
+ __ https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str sort_by: (optional)
+ The field to sort by (one column only). Default sort order is
+ ascending exception of `timeCreated` column (descending).
+
+ Allowed values are: "capacityType", "capacityValue", "featureSet", "lifecycleState", "name", "timeCreated"
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.analytics.models.AnalyticsInstanceSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_analytics_instances API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/analyticsInstances"
+ method = "GET"
+ operation_name = "list_analytics_instances"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstanceSummary/ListAnalyticsInstances"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_request_id",
+ "name",
+ "capacity_type",
+ "feature_set",
+ "lifecycle_state",
+ "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(
- f"get_work_request got unknown kwargs: {extra_kwargs!r}")
+ f"list_analytics_instances got unknown kwargs: {extra_kwargs!r}")
- path_params = {
- "workRequestId": work_request_id
- }
+ if 'capacity_type' in kwargs:
+ capacity_type_allowed_values = ["OLPU_COUNT", "USER_COUNT"]
+ if kwargs['capacity_type'] not in capacity_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `capacity_type`, must be one of { capacity_type_allowed_values }"
+ )
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+ if 'feature_set' in kwargs:
+ feature_set_allowed_values = ["SELF_SERVICE_ANALYTICS", "ENTERPRISE_ANALYTICS"]
+ if kwargs['feature_set'] not in feature_set_allowed_values:
+ raise ValueError(
+ f"Invalid value for `feature_set`, must be one of { feature_set_allowed_values }"
+ )
- for (k, v) in six.iteritems(path_params):
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
- raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "INACTIVE", "UPDATING"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["capacityType", "capacityValue", "featureSet", "lifecycleState", "name", "timeCreated"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { 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(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "name": kwargs.get("name", missing),
+ "capacityType": kwargs.get("capacity_type", missing),
+ "featureSet": kwargs.get("feature_set", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", 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",
@@ -1507,9 +2062,9 @@ def get_work_request(self, work_request_id, **kwargs):
self.base_client.call_api,
resource_path=resource_path,
method=method,
- path_params=path_params,
+ query_params=query_params,
header_params=header_params,
- response_type="WorkRequest",
+ response_type="list[AnalyticsInstanceSummary]",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -1519,22 +2074,22 @@ def get_work_request(self, work_request_id, **kwargs):
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="WorkRequest",
+ response_type="list[AnalyticsInstanceSummary]",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_analytics_instances(self, compartment_id, **kwargs):
+ def list_resource_groups(self, analytics_instance_id, **kwargs):
"""
- List Analytics instances.
+ List resource groups associated with an instance.
- :param str compartment_id: (required)
- The OCID of the compartment.
+ :param str analytics_instance_id: (required)
+ The OCID of the Analytics instance.
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -1543,24 +2098,6 @@ def list_analytics_instances(self, compartment_id, **kwargs):
:param str name: (optional)
A filter to return only resources that match the given name exactly.
- :param str capacity_type: (optional)
- A filter to only return resources matching the capacity type enum. Values are
- case-insensitive.
-
- Allowed values are: "OLPU_COUNT", "USER_COUNT"
-
- :param str feature_set: (optional)
- A filter to only return resources matching the feature set. Values are
- case-insensitive.
-
- Allowed values are: "SELF_SERVICE_ANALYTICS", "ENTERPRISE_ANALYTICS"
-
- :param str lifecycle_state: (optional)
- A filter to only return resources matching the lifecycle state. The state
- value is case-insensitive.
-
- Allowed values are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "INACTIVE", "UPDATING"
-
:param int limit: (optional)
For list pagination. The maximum number of results per page, or items to return in a paginated
\"List\" call. For important details about how pagination works, see
@@ -1579,9 +2116,9 @@ def list_analytics_instances(self, compartment_id, **kwargs):
:param str sort_by: (optional)
The field to sort by (one column only). Default sort order is
- ascending exception of `timeCreated` column (descending).
+ default group first, then sort by resource name, ascending.
- Allowed values are: "capacityType", "capacityValue", "featureSet", "lifecycleState", "name", "timeCreated"
+ Allowed values are: "id", "resourceName", "displayName", "description", "capacity", "status"
:param str sort_order: (optional)
The sort order to use, either ascending (`ASC`) or descending (`DESC`).
@@ -1604,18 +2141,18 @@ def list_analytics_instances(self, compartment_id, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.analytics.models.AnalyticsInstanceSummary`
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.analytics.models.InstanceResourceGroupSummary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_analytics_instances API.
+ Click `here `__ to see an example of how to use list_resource_groups API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['compartmentId']
- resource_path = "/analyticsInstances"
+ required_arguments = ['analyticsInstanceId']
+ resource_path = "/analyticsInstances/{analyticsInstanceId}/resourceGroups"
method = "GET"
- operation_name = "list_analytics_instances"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstanceSummary/ListAnalyticsInstances"
+ operation_name = "list_resource_groups"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/ListResourceGroups"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -1624,9 +2161,6 @@ def list_analytics_instances(self, compartment_id, **kwargs):
"retry_strategy",
"opc_request_id",
"name",
- "capacity_type",
- "feature_set",
- "lifecycle_state",
"limit",
"page",
"sort_by",
@@ -1635,31 +2169,20 @@ def list_analytics_instances(self, compartment_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"list_analytics_instances got unknown kwargs: {extra_kwargs!r}")
+ f"list_resource_groups got unknown kwargs: {extra_kwargs!r}")
- if 'capacity_type' in kwargs:
- capacity_type_allowed_values = ["OLPU_COUNT", "USER_COUNT"]
- if kwargs['capacity_type'] not in capacity_type_allowed_values:
- raise ValueError(
- f"Invalid value for `capacity_type`, must be one of { capacity_type_allowed_values }"
- )
+ path_params = {
+ "analyticsInstanceId": analytics_instance_id
+ }
- if 'feature_set' in kwargs:
- feature_set_allowed_values = ["SELF_SERVICE_ANALYTICS", "ENTERPRISE_ANALYTICS"]
- if kwargs['feature_set'] not in feature_set_allowed_values:
- raise ValueError(
- f"Invalid value for `feature_set`, must be one of { feature_set_allowed_values }"
- )
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
- if 'lifecycle_state' in kwargs:
- lifecycle_state_allowed_values = ["ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "INACTIVE", "UPDATING"]
- if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
- raise ValueError(
- f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
- )
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
if 'sort_by' in kwargs:
- sort_by_allowed_values = ["capacityType", "capacityValue", "featureSet", "lifecycleState", "name", "timeCreated"]
+ sort_by_allowed_values = ["id", "resourceName", "displayName", "description", "capacity", "status"]
if kwargs['sort_by'] not in sort_by_allowed_values:
raise ValueError(
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
@@ -1673,11 +2196,7 @@ def list_analytics_instances(self, compartment_id, **kwargs):
)
query_params = {
- "compartmentId": compartment_id,
"name": kwargs.get("name", missing),
- "capacityType": kwargs.get("capacity_type", missing),
- "featureSet": kwargs.get("feature_set", missing),
- "lifecycleState": kwargs.get("lifecycle_state", missing),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing),
"sortBy": kwargs.get("sort_by", missing),
@@ -1707,9 +2226,10 @@ def list_analytics_instances(self, compartment_id, **kwargs):
self.base_client.call_api,
resource_path=resource_path,
method=method,
+ path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[AnalyticsInstanceSummary]",
+ response_type="list[InstanceResourceGroupSummary]",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -1719,9 +2239,10 @@ def list_analytics_instances(self, compartment_id, **kwargs):
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[AnalyticsInstanceSummary]",
+ response_type="list[InstanceResourceGroupSummary]",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -2178,11 +2699,11 @@ def list_work_requests(self, compartment_id, **kwargs):
def scale_analytics_instance(self, analytics_instance_id, scale_analytics_instance_details, **kwargs):
"""
Scale an Analytics instance up or down. The operation is long-running
- and creates a new WorkRequest.
+ and creates a new work request.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.ScaleAnalyticsInstanceDetails scale_analytics_instance_details: (required)
Input payload for scaling an Analytics instance up or down.
@@ -2308,7 +2829,7 @@ def set_feature_bundle(self, analytics_instance_id, set_feature_bundle_details,
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.SetFeatureBundleDetails set_feature_bundle_details: (required)
Input payload for the feature set of an Analytics instance.
@@ -2430,14 +2951,14 @@ def set_feature_bundle(self, analytics_instance_id, set_feature_bundle_details,
def set_kms_key(self, analytics_instance_id, set_kms_key_details, **kwargs):
"""
- Encrypts the customer data of this Analytics instance using either a customer OCI Vault Key or Oracle managed default key.
+ Encrypts the customer data of this Analytics instance using either a customer OCI vault key or default Oracle-managed key.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.SetKmsKeyDetails set_kms_key_details: (required)
- Input payload to reset the OCI Vault encryption key.
+ Input payload to reset the OCI vault encryption key.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -2557,11 +3078,11 @@ def set_kms_key(self, analytics_instance_id, set_kms_key_details, **kwargs):
def start_analytics_instance(self, analytics_instance_id, **kwargs):
"""
Starts the specified Analytics instance. The operation is long-running
- and creates a new WorkRequest.
+ and creates a new work request.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -2679,11 +3200,11 @@ def start_analytics_instance(self, analytics_instance_id, **kwargs):
def stop_analytics_instance(self, analytics_instance_id, **kwargs):
"""
Stop the specified Analytics instance. The operation is long-running
- and creates a new WorkRequest.
+ and creates a new work request.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -2805,11 +3326,11 @@ def update_analytics_instance(self, analytics_instance_id, update_analytics_inst
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.UpdateAnalyticsInstanceDetails update_analytics_instance_details: (required)
- The Analytics Instance fields to update. Fields that are not provided
- will not be updated.
+ Update specified fields for an Analytics instance. Fields that aren't provided
+ won't be updated.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -2918,17 +3439,17 @@ def update_analytics_instance(self, analytics_instance_id, update_analytics_inst
def update_private_access_channel(self, private_access_channel_key, analytics_instance_id, update_private_access_channel_details, **kwargs):
"""
- Update the Private Access Channel with the given unique identifier key in the specified Analytics Instance.
+ Update the private access channel with the given unique identifier key in the specified Analytics instance.
:param str private_access_channel_key: (required)
- The unique identifier key of the Private Access Channel.
+ The unique identifier key of the private access channel.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.UpdatePrivateAccessChannelDetails update_private_access_channel_details: (required)
- Update the Private Access Channel with the given unique identifier key in the specified Analytics Instance.
+ Update the private access channel with the given unique identifier key in the specified Analytics instance.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -3046,19 +3567,151 @@ def update_private_access_channel(self, private_access_channel_key, analytics_in
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def update_resource_group(self, analytics_instance_id, analytics_instance_resource_group_id, update_resource_group_details, **kwargs):
+ """
+ Update any fields in a resource group
+
+
+ :param str analytics_instance_id: (required)
+ The OCID of the Analytics instance.
+
+ :param str analytics_instance_resource_group_id: (required)
+ Specify unique id of a resource group within an Analytics instance.
+
+ :param oci.analytics.models.UpdateResourceGroupDetails update_resource_group_details: (required)
+ Resource group details to update (certificate).
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+ 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. 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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.analytics.models.InstanceResourceGroup`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use update_resource_group API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['analyticsInstanceId', 'analyticsInstanceResourceGroupId']
+ resource_path = "/analyticsInstances/{analyticsInstanceId}/resourceGroups/{analyticsInstanceResourceGroupId}"
+ method = "PUT"
+ operation_name = "update_resource_group"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/analytics/20190331/AnalyticsInstance/UpdateResourceGroup"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"update_resource_group got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "analyticsInstanceId": analytics_instance_id,
+ "analyticsInstanceResourceGroupId": analytics_instance_resource_group_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+ if retry_strategy is None:
+ retry_strategy = retry.DEFAULT_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=update_resource_group_details,
+ response_type="InstanceResourceGroup",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_resource_group_details,
+ response_type="InstanceResourceGroup",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def update_vanity_url(self, analytics_instance_id, vanity_url_key, update_vanity_url_details, **kwargs):
"""
- Allows uploading a new certificate for a vanity url, which will have to be done when the current certificate is expiring.
+ Uploads a new certificate for a vanity URL. Required before the current certificate expires.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str vanity_url_key: (required)
- Specify unique identifier key of a vanity url to update or delete.
+ Specify unique identifier key of a vanity URL to update or delete.
:param oci.analytics.models.UpdateVanityUrlDetails update_vanity_url_details: (required)
- Vanity url details to update (certificate).
+ Vanity URL details to update (certificate).
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
diff --git a/src/oci/analytics/analytics_client_composite_operations.py b/src/oci/analytics/analytics_client_composite_operations.py
index 0577521966..1900fefcf8 100644
--- a/src/oci/analytics/analytics_client_composite_operations.py
+++ b/src/oci/analytics/analytics_client_composite_operations.py
@@ -31,7 +31,7 @@ def change_analytics_instance_compartment_and_wait_for_state(self, analytics_ins
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.ChangeCompartmentDetails change_compartment_details: (required)
Input payload to move the resource to a different compartment.
@@ -73,10 +73,10 @@ def change_analytics_instance_network_endpoint_and_wait_for_state(self, analytic
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.ChangeAnalyticsInstanceNetworkEndpointDetails change_analytics_instance_network_endpoint_details: (required)
- Input payload for changing an Analytics instance network endpoint.
+ Input payload for changing a network endpoint for an Analytics instance.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -115,7 +115,7 @@ def create_analytics_instance_and_wait_for_state(self, create_analytics_instance
to enter the given state(s).
:param oci.analytics.models.CreateAnalyticsInstanceDetails create_analytics_instance_details: (required)
- Analytics Instance details.
+ Analytics instance details.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -154,7 +154,7 @@ def create_private_access_channel_and_wait_for_state(self, analytics_instance_id
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.CreatePrivateAccessChannelDetails create_private_access_channel_details: (required)
Input payload for creating a private access channel for an Analytics instance.
@@ -190,16 +190,58 @@ def create_private_access_channel_and_wait_for_state(self, analytics_instance_id
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def create_resource_group_and_wait_for_state(self, analytics_instance_id, create_resource_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.analytics.AnalyticsClient.create_resource_group` and waits for the :py:class:`~oci.analytics.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str analytics_instance_id: (required)
+ The OCID of the Analytics instance.
+
+ :param oci.analytics.models.CreateResourceGroupDetails create_resource_group_details: (required)
+ Resource group details
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.analytics.AnalyticsClient.create_resource_group`
+
+ :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_resource_group(analytics_instance_id, create_resource_group_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_work_request(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').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_vanity_url_and_wait_for_state(self, analytics_instance_id, create_vanity_url_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.analytics.AnalyticsClient.create_vanity_url` and waits for the :py:class:`~oci.analytics.models.WorkRequest`
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.CreateVanityUrlDetails create_vanity_url_details: (required)
- Vanity url details.
+ Vanity URL details.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -238,7 +280,7 @@ def delete_analytics_instance_and_wait_for_state(self, analytics_instance_id, wa
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -285,10 +327,10 @@ def delete_private_access_channel_and_wait_for_state(self, private_access_channe
to enter the given state(s).
:param str private_access_channel_key: (required)
- The unique identifier key of the Private Access Channel.
+ The unique identifier key of the private access channel.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -329,16 +371,66 @@ def delete_private_access_channel_and_wait_for_state(self, private_access_channe
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def delete_resource_group_and_wait_for_state(self, analytics_instance_id, analytics_instance_resource_group_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.analytics.AnalyticsClient.delete_resource_group` and waits for the :py:class:`~oci.analytics.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str analytics_instance_id: (required)
+ The OCID of the Analytics instance.
+
+ :param str analytics_instance_resource_group_id: (required)
+ Specify unique id of a resource group within an Analytics instance.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.analytics.AnalyticsClient.delete_resource_group`
+
+ :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 = None
+ try:
+ operation_result = self.client.delete_resource_group(analytics_instance_id, analytics_instance_resource_group_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]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_work_request(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').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_vanity_url_and_wait_for_state(self, analytics_instance_id, vanity_url_key, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.analytics.AnalyticsClient.delete_vanity_url` and waits for the :py:class:`~oci.analytics.models.WorkRequest`
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str vanity_url_key: (required)
- Specify unique identifier key of a vanity url to update or delete.
+ Specify unique identifier key of a vanity URL to update or delete.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -385,7 +477,7 @@ def scale_analytics_instance_and_wait_for_state(self, analytics_instance_id, sca
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.ScaleAnalyticsInstanceDetails scale_analytics_instance_details: (required)
Input payload for scaling an Analytics instance up or down.
@@ -427,7 +519,7 @@ def set_feature_bundle_and_wait_for_state(self, analytics_instance_id, set_featu
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.SetFeatureBundleDetails set_feature_bundle_details: (required)
Input payload for the feature set of an Analytics instance.
@@ -469,10 +561,10 @@ def set_kms_key_and_wait_for_state(self, analytics_instance_id, set_kms_key_deta
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.SetKmsKeyDetails set_kms_key_details: (required)
- Input payload to reset the OCI Vault encryption key.
+ Input payload to reset the OCI vault encryption key.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -511,7 +603,7 @@ def start_analytics_instance_and_wait_for_state(self, analytics_instance_id, wai
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -550,7 +642,7 @@ def stop_analytics_instance_and_wait_for_state(self, analytics_instance_id, wait
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -589,11 +681,11 @@ def update_analytics_instance_and_wait_for_state(self, analytics_instance_id, up
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.UpdateAnalyticsInstanceDetails update_analytics_instance_details: (required)
- The Analytics Instance fields to update. Fields that are not provided
- will not be updated.
+ Update specified fields for an Analytics instance. Fields that aren't provided
+ won't be updated.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.AnalyticsInstance.lifecycle_state`
@@ -635,13 +727,13 @@ def update_private_access_channel_and_wait_for_state(self, private_access_channe
to enter the given state(s).
:param str private_access_channel_key: (required)
- The unique identifier key of the Private Access Channel.
+ The unique identifier key of the private access channel.
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param oci.analytics.models.UpdatePrivateAccessChannelDetails update_private_access_channel_details: (required)
- Update the Private Access Channel with the given unique identifier key in the specified Analytics Instance.
+ Update the private access channel with the given unique identifier key in the specified Analytics instance.
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
@@ -674,19 +766,64 @@ def update_private_access_channel_and_wait_for_state(self, private_access_channe
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def update_resource_group_and_wait_for_state(self, analytics_instance_id, analytics_instance_resource_group_id, update_resource_group_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.analytics.AnalyticsClient.update_resource_group` and waits for the :py:class:`~oci.analytics.models.WorkRequest`
+ to enter the given state(s).
+
+ :param str analytics_instance_id: (required)
+ The OCID of the Analytics instance.
+
+ :param str analytics_instance_resource_group_id: (required)
+ Specify unique id of a resource group within an Analytics instance.
+
+ :param oci.analytics.models.UpdateResourceGroupDetails update_resource_group_details: (required)
+ Resource group details to update (certificate).
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.analytics.AnalyticsClient.update_resource_group`
+
+ :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_resource_group(analytics_instance_id, analytics_instance_resource_group_id, update_resource_group_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ wait_for_resource_id = operation_result.headers['opc-work-request-id']
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_work_request(wait_for_resource_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').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_vanity_url_and_wait_for_state(self, analytics_instance_id, vanity_url_key, update_vanity_url_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.analytics.AnalyticsClient.update_vanity_url` and waits for the :py:class:`~oci.analytics.models.WorkRequest`
to enter the given state(s).
:param str analytics_instance_id: (required)
- The OCID of the AnalyticsInstance.
+ The OCID of the Analytics instance.
:param str vanity_url_key: (required)
- Specify unique identifier key of a vanity url to update or delete.
+ Specify unique identifier key of a vanity URL to update or delete.
:param oci.analytics.models.UpdateVanityUrlDetails update_vanity_url_details: (required)
- Vanity url details to update (certificate).
+ Vanity URL details to update (certificate).
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.analytics.models.WorkRequest.status`
diff --git a/src/oci/analytics/models/__init__.py b/src/oci/analytics/models/__init__.py
index 5fd79e3b78..47e80ae416 100644
--- a/src/oci/analytics/models/__init__.py
+++ b/src/oci/analytics/models/__init__.py
@@ -13,7 +13,10 @@
from .change_compartment_details import ChangeCompartmentDetails
from .create_analytics_instance_details import CreateAnalyticsInstanceDetails
from .create_private_access_channel_details import CreatePrivateAccessChannelDetails
+from .create_resource_group_details import CreateResourceGroupDetails
from .create_vanity_url_details import CreateVanityUrlDetails
+from .instance_resource_group import InstanceResourceGroup
+from .instance_resource_group_summary import InstanceResourceGroupSummary
from .network_endpoint_details import NetworkEndpointDetails
from .private_access_channel import PrivateAccessChannel
from .private_endpoint_details import PrivateEndpointDetails
@@ -25,6 +28,7 @@
from .set_kms_key_details import SetKmsKeyDetails
from .update_analytics_instance_details import UpdateAnalyticsInstanceDetails
from .update_private_access_channel_details import UpdatePrivateAccessChannelDetails
+from .update_resource_group_details import UpdateResourceGroupDetails
from .update_vanity_url_details import UpdateVanityUrlDetails
from .vanity_url_details import VanityUrlDetails
from .virtual_cloud_network import VirtualCloudNetwork
@@ -43,7 +47,10 @@
"ChangeCompartmentDetails": ChangeCompartmentDetails,
"CreateAnalyticsInstanceDetails": CreateAnalyticsInstanceDetails,
"CreatePrivateAccessChannelDetails": CreatePrivateAccessChannelDetails,
+ "CreateResourceGroupDetails": CreateResourceGroupDetails,
"CreateVanityUrlDetails": CreateVanityUrlDetails,
+ "InstanceResourceGroup": InstanceResourceGroup,
+ "InstanceResourceGroupSummary": InstanceResourceGroupSummary,
"NetworkEndpointDetails": NetworkEndpointDetails,
"PrivateAccessChannel": PrivateAccessChannel,
"PrivateEndpointDetails": PrivateEndpointDetails,
@@ -55,6 +62,7 @@
"SetKmsKeyDetails": SetKmsKeyDetails,
"UpdateAnalyticsInstanceDetails": UpdateAnalyticsInstanceDetails,
"UpdatePrivateAccessChannelDetails": UpdatePrivateAccessChannelDetails,
+ "UpdateResourceGroupDetails": UpdateResourceGroupDetails,
"UpdateVanityUrlDetails": UpdateVanityUrlDetails,
"VanityUrlDetails": VanityUrlDetails,
"VirtualCloudNetwork": VirtualCloudNetwork,
diff --git a/src/oci/analytics/models/analytics_instance.py b/src/oci/analytics/models/analytics_instance.py
index 025cb8c06e..71c71dc89b 100644
--- a/src/oci/analytics/models/analytics_instance.py
+++ b/src/oci/analytics/models/analytics_instance.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class AnalyticsInstance(object):
"""
- Analytics Instance metadata.
+ Analytics instance metadata.
"""
#: A constant which can be used with the lifecycle_state property of a AnalyticsInstance.
@@ -83,6 +83,10 @@ class AnalyticsInstance(object):
#: This constant has a value of "FAW_FREE"
FEATURE_BUNDLE_FAW_FREE = "FAW_FREE"
+ #: A constant which can be used with the feature_bundle property of a AnalyticsInstance.
+ #: This constant has a value of "FDI_BASE"
+ FEATURE_BUNDLE_FDI_BASE = "FDI_BASE"
+
#: A constant which can be used with the feature_bundle property of a AnalyticsInstance.
#: This constant has a value of "EE_EMBEDDED"
FEATURE_BUNDLE_EE_EMBEDDED = "EE_EMBEDDED"
@@ -186,7 +190,7 @@ def __init__(self, **kwargs):
:param feature_bundle:
The value to assign to the feature_bundle property of this AnalyticsInstance.
- Allowed values for this property are: "FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "FAW_PAID", "FAW_FREE", "FDI_BASE", "EE_EMBEDDED", "SE_EMBEDDED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type feature_bundle: str
@@ -194,6 +198,10 @@ def __init__(self, **kwargs):
The value to assign to the domain_id property of this AnalyticsInstance.
:type domain_id: str
+ :param resource_groups:
+ The value to assign to the resource_groups property of this AnalyticsInstance.
+ :type resource_groups: list[oci.analytics.models.InstanceResourceGroup]
+
"""
self.swagger_types = {
'id': 'str',
@@ -217,7 +225,8 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'time_updated': 'datetime',
'feature_bundle': 'str',
- 'domain_id': 'str'
+ 'domain_id': 'str',
+ 'resource_groups': 'list[InstanceResourceGroup]'
}
self.attribute_map = {
'id': 'id',
@@ -241,7 +250,8 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'feature_bundle': 'featureBundle',
- 'domain_id': 'domainId'
+ 'domain_id': 'domainId',
+ 'resource_groups': 'resourceGroups'
}
self._id = None
self._name = None
@@ -265,6 +275,7 @@ def __init__(self, **kwargs):
self._time_updated = None
self._feature_bundle = None
self._domain_id = None
+ self._resource_groups = None
@property
def id(self):
@@ -294,7 +305,8 @@ def id(self, id):
def name(self):
"""
**[Required]** Gets the name of this AnalyticsInstance.
- The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed.
+ The name of the Analytics instance. This name must be unique in the tenancy and can't be changed.
+ The name must start with a letter and can contain only letters, numbers and dash (-).
:return: The name of this AnalyticsInstance.
@@ -306,7 +318,8 @@ def name(self):
def name(self, name):
"""
Sets the name of this AnalyticsInstance.
- The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed.
+ The name of the Analytics instance. This name must be unique in the tenancy and can't be changed.
+ The name must start with a letter and can contain only letters, numbers and dash (-).
:param name: The name of this AnalyticsInstance.
@@ -366,7 +379,7 @@ def compartment_id(self, compartment_id):
def lifecycle_state(self):
"""
**[Required]** Gets the lifecycle_state of this AnalyticsInstance.
- The current state of an instance.
+ The current state of the Analytics instance.
Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "INACTIVE", "UPDATING", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -381,7 +394,7 @@ def lifecycle_state(self):
def lifecycle_state(self, lifecycle_state):
"""
Sets the lifecycle_state of this AnalyticsInstance.
- The current state of an instance.
+ The current state of the Analytics instance.
:param lifecycle_state: The lifecycle_state of this AnalyticsInstance.
@@ -396,7 +409,7 @@ def lifecycle_state(self, lifecycle_state):
def feature_set(self):
"""
**[Required]** Gets the feature_set of this AnalyticsInstance.
- Analytics feature set.
+ The feature set. Either `SELF_SERVICE_ANALYTICS` (Professional Edition) or `ENTERPRISE_ANALYTICS` (Enterprise Edition).
Allowed values for this property are: "SELF_SERVICE_ANALYTICS", "ENTERPRISE_ANALYTICS", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -411,7 +424,7 @@ def feature_set(self):
def feature_set(self, feature_set):
"""
Sets the feature_set of this AnalyticsInstance.
- Analytics feature set.
+ The feature set. Either `SELF_SERVICE_ANALYTICS` (Professional Edition) or `ENTERPRISE_ANALYTICS` (Enterprise Edition).
:param feature_set: The feature_set of this AnalyticsInstance.
@@ -500,7 +513,7 @@ def email_notification(self, email_notification):
def update_channel(self):
"""
Gets the update_channel of this AnalyticsInstance.
- Analytics instance update channel.
+ The Analytics instance update cycle.
Allowed values for this property are: "REGULAR", "EARLY", "PHASE_2", "PHASE_1", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -515,7 +528,7 @@ def update_channel(self):
def update_channel(self, update_channel):
"""
Sets the update_channel of this AnalyticsInstance.
- Analytics instance update channel.
+ The Analytics instance update cycle.
:param update_channel: The update_channel of this AnalyticsInstance.
@@ -598,7 +611,7 @@ def vanity_url_details(self, vanity_url_details):
def service_url(self):
"""
Gets the service_url of this AnalyticsInstance.
- URL of the Analytics service.
+ URL of the Analytics instance.
:return: The service_url of this AnalyticsInstance.
@@ -610,7 +623,7 @@ def service_url(self):
def service_url(self, service_url):
"""
Sets the service_url of this AnalyticsInstance.
- URL of the Analytics service.
+ URL of the Analytics instance.
:param service_url: The service_url of this AnalyticsInstance.
@@ -716,7 +729,7 @@ def system_tags(self, system_tags):
def kms_key_id(self):
"""
Gets the kms_key_id of this AnalyticsInstance.
- OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
+ OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates that the default Oracle-managed encryption is used.
:return: The kms_key_id of this AnalyticsInstance.
@@ -728,7 +741,7 @@ def kms_key_id(self):
def kms_key_id(self, kms_key_id):
"""
Sets the kms_key_id of this AnalyticsInstance.
- OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
+ OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates that the default Oracle-managed encryption is used.
:param kms_key_id: The kms_key_id of this AnalyticsInstance.
@@ -740,7 +753,7 @@ def kms_key_id(self, kms_key_id):
def time_created(self):
"""
**[Required]** Gets the time_created of this AnalyticsInstance.
- The date and time the instance was created, in the format defined by RFC3339.
+ The date and time the Analytics instance was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -754,7 +767,7 @@ def time_created(self):
def time_created(self, time_created):
"""
Sets the time_created of this AnalyticsInstance.
- The date and time the instance was created, in the format defined by RFC3339.
+ The date and time the Analytics instance was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -768,9 +781,9 @@ def time_created(self, time_created):
def time_updated(self):
"""
Gets the time_updated of this AnalyticsInstance.
- The date and time the instance was last updated (in the format defined by RFC3339).
- This timestamp represents updates made through this API. External events do not
- influence it.
+ The date and time the Analytics instance was last updated (in the format defined by RFC3339).
+ This timestamp represents updates made through this API. External events don't
+ affect it.
:return: The time_updated of this AnalyticsInstance.
@@ -782,9 +795,9 @@ def time_updated(self):
def time_updated(self, time_updated):
"""
Sets the time_updated of this AnalyticsInstance.
- The date and time the instance was last updated (in the format defined by RFC3339).
- This timestamp represents updates made through this API. External events do not
- influence it.
+ The date and time the Analytics instance was last updated (in the format defined by RFC3339).
+ This timestamp represents updates made through this API. External events don't
+ affect it.
:param time_updated: The time_updated of this AnalyticsInstance.
@@ -798,7 +811,7 @@ def feature_bundle(self):
Gets the feature_bundle of this AnalyticsInstance.
The feature set of an Analytics instance.
- Allowed values for this property are: "FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "FAW_PAID", "FAW_FREE", "FDI_BASE", "EE_EMBEDDED", "SE_EMBEDDED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -817,7 +830,7 @@ def feature_bundle(self, feature_bundle):
:param feature_bundle: The feature_bundle of this AnalyticsInstance.
:type: str
"""
- allowed_values = ["FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED"]
+ allowed_values = ["FAW_PAID", "FAW_FREE", "FDI_BASE", "EE_EMBEDDED", "SE_EMBEDDED"]
if not value_allowed_none_or_none_sentinel(feature_bundle, allowed_values):
feature_bundle = 'UNKNOWN_ENUM_VALUE'
self._feature_bundle = feature_bundle
@@ -846,6 +859,30 @@ def domain_id(self, domain_id):
"""
self._domain_id = domain_id
+ @property
+ def resource_groups(self):
+ """
+ Gets the resource_groups of this AnalyticsInstance.
+ List of resource groups for this Analytics instance. The resource group id must be unique within the instance.
+
+
+ :return: The resource_groups of this AnalyticsInstance.
+ :rtype: list[oci.analytics.models.InstanceResourceGroup]
+ """
+ return self._resource_groups
+
+ @resource_groups.setter
+ def resource_groups(self, resource_groups):
+ """
+ Sets the resource_groups of this AnalyticsInstance.
+ List of resource groups for this Analytics instance. The resource group id must be unique within the instance.
+
+
+ :param resource_groups: The resource_groups of this AnalyticsInstance.
+ :type: list[oci.analytics.models.InstanceResourceGroup]
+ """
+ self._resource_groups = resource_groups
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/analytics/models/analytics_instance_summary.py b/src/oci/analytics/models/analytics_instance_summary.py
index 30b1e245a2..b810ec9f69 100644
--- a/src/oci/analytics/models/analytics_instance_summary.py
+++ b/src/oci/analytics/models/analytics_instance_summary.py
@@ -216,7 +216,8 @@ def id(self, id):
def name(self):
"""
**[Required]** Gets the name of this AnalyticsInstanceSummary.
- The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed.
+ The name of the Analytics instance. This name must be unique in the tenancy and can't be changed.
+ The name must start with a letter and can contain only letters, numbers and dash (-).
:return: The name of this AnalyticsInstanceSummary.
@@ -228,7 +229,8 @@ def name(self):
def name(self, name):
"""
Sets the name of this AnalyticsInstanceSummary.
- The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed.
+ The name of the Analytics instance. This name must be unique in the tenancy and can't be changed.
+ The name must start with a letter and can contain only letters, numbers and dash (-).
:param name: The name of this AnalyticsInstanceSummary.
@@ -288,7 +290,7 @@ def compartment_id(self, compartment_id):
def lifecycle_state(self):
"""
**[Required]** Gets the lifecycle_state of this AnalyticsInstanceSummary.
- The current state of an instance.
+ The current state of the Analytics instance.
Allowed values for this property are: "ACTIVE", "CREATING", "DELETED", "DELETING", "FAILED", "INACTIVE", "UPDATING", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -303,7 +305,7 @@ def lifecycle_state(self):
def lifecycle_state(self, lifecycle_state):
"""
Sets the lifecycle_state of this AnalyticsInstanceSummary.
- The current state of an instance.
+ The current state of the Analytics instance.
:param lifecycle_state: The lifecycle_state of this AnalyticsInstanceSummary.
@@ -318,7 +320,7 @@ def lifecycle_state(self, lifecycle_state):
def feature_set(self):
"""
**[Required]** Gets the feature_set of this AnalyticsInstanceSummary.
- Analytics feature set.
+ The feature set. Either `SELF_SERVICE_ANALYTICS` (Professional Edition) or `ENTERPRISE_ANALYTICS` (Enterprise Edition).
Allowed values for this property are: "SELF_SERVICE_ANALYTICS", "ENTERPRISE_ANALYTICS", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -333,7 +335,7 @@ def feature_set(self):
def feature_set(self, feature_set):
"""
Sets the feature_set of this AnalyticsInstanceSummary.
- Analytics feature set.
+ The feature set. Either `SELF_SERVICE_ANALYTICS` (Professional Edition) or `ENTERPRISE_ANALYTICS` (Enterprise Edition).
:param feature_set: The feature_set of this AnalyticsInstanceSummary.
@@ -442,7 +444,7 @@ def network_endpoint_details(self, network_endpoint_details):
def service_url(self):
"""
Gets the service_url of this AnalyticsInstanceSummary.
- URL of the Analytics service.
+ URL of the Analytics instance.
:return: The service_url of this AnalyticsInstanceSummary.
@@ -454,7 +456,7 @@ def service_url(self):
def service_url(self, service_url):
"""
Sets the service_url of this AnalyticsInstanceSummary.
- URL of the Analytics service.
+ URL of the Analytics instance.
:param service_url: The service_url of this AnalyticsInstanceSummary.
@@ -560,7 +562,7 @@ def system_tags(self, system_tags):
def time_created(self):
"""
**[Required]** Gets the time_created of this AnalyticsInstanceSummary.
- The date and time the instance was created, in the format defined by RFC3339.
+ The date and time the Analytics instance was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -574,7 +576,7 @@ def time_created(self):
def time_created(self, time_created):
"""
Sets the time_created of this AnalyticsInstanceSummary.
- The date and time the instance was created, in the format defined by RFC3339.
+ The date and time the Analytics instance was created, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -588,9 +590,9 @@ def time_created(self, time_created):
def time_updated(self):
"""
Gets the time_updated of this AnalyticsInstanceSummary.
- The date and time the instance was last updated (in the format defined by RFC3339).
- This timestamp represents updates made through this API. External events do not
- influence it.
+ The date and time the Analytics instance was last updated (in the format defined by RFC3339).
+ This timestamp represents updates made through this API. External events don't
+ affect it.
:return: The time_updated of this AnalyticsInstanceSummary.
@@ -602,9 +604,9 @@ def time_updated(self):
def time_updated(self, time_updated):
"""
Sets the time_updated of this AnalyticsInstanceSummary.
- The date and time the instance was last updated (in the format defined by RFC3339).
- This timestamp represents updates made through this API. External events do not
- influence it.
+ The date and time the Analytics instance was last updated (in the format defined by RFC3339).
+ This timestamp represents updates made through this API. External events don't
+ affect it.
:param time_updated: The time_updated of this AnalyticsInstanceSummary.
diff --git a/src/oci/analytics/models/capacity.py b/src/oci/analytics/models/capacity.py
index 6451873a3c..347d38317d 100644
--- a/src/oci/analytics/models/capacity.py
+++ b/src/oci/analytics/models/capacity.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class Capacity(object):
"""
- Service instance capacity metadata (e.g.: OLPU count, number of users, ...etc...).
+ Service instance capacity metadata (for example, OLPU count, number of users, and so on).
"""
#: A constant which can be used with the capacity_type property of a Capacity.
@@ -89,7 +89,7 @@ def capacity_value(self):
"""
**[Required]** Gets the capacity_value of this Capacity.
The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT).
- This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the instance.
+ This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics instance.
:return: The capacity_value of this Capacity.
@@ -102,7 +102,7 @@ def capacity_value(self, capacity_value):
"""
Sets the capacity_value of this Capacity.
The capacity value selected, either the number of OCPUs (OLPU_COUNT) or the number of users (USER_COUNT).
- This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the instance.
+ This parameter affects the number of OCPUs, amount of memory, and other resources allocated to the Analytics instance.
:param capacity_value: The capacity_value of this Capacity.
diff --git a/src/oci/analytics/models/change_analytics_instance_network_endpoint_details.py b/src/oci/analytics/models/change_analytics_instance_network_endpoint_details.py
index 20b3f91ce1..e84d4dc89b 100644
--- a/src/oci/analytics/models/change_analytics_instance_network_endpoint_details.py
+++ b/src/oci/analytics/models/change_analytics_instance_network_endpoint_details.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class ChangeAnalyticsInstanceNetworkEndpointDetails(object):
"""
- Input payload to update an Analytics instance endpoint details.
+ Input payload to update endpoint details for an Analytics instance.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/analytics/models/create_analytics_instance_details.py b/src/oci/analytics/models/create_analytics_instance_details.py
index 73fbb91d5a..6a3541c9f3 100644
--- a/src/oci/analytics/models/create_analytics_instance_details.py
+++ b/src/oci/analytics/models/create_analytics_instance_details.py
@@ -55,6 +55,10 @@ class CreateAnalyticsInstanceDetails(object):
#: This constant has a value of "FAW_FREE"
FEATURE_BUNDLE_FAW_FREE = "FAW_FREE"
+ #: A constant which can be used with the feature_bundle property of a CreateAnalyticsInstanceDetails.
+ #: This constant has a value of "FDI_BASE"
+ FEATURE_BUNDLE_FDI_BASE = "FDI_BASE"
+
#: A constant which can be used with the feature_bundle property of a CreateAnalyticsInstanceDetails.
#: This constant has a value of "EE_EMBEDDED"
FEATURE_BUNDLE_EE_EMBEDDED = "EE_EMBEDDED"
@@ -133,7 +137,7 @@ def __init__(self, **kwargs):
:param feature_bundle:
The value to assign to the feature_bundle property of this CreateAnalyticsInstanceDetails.
- Allowed values for this property are: "FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED"
+ Allowed values for this property are: "FAW_PAID", "FAW_FREE", "FDI_BASE", "EE_EMBEDDED", "SE_EMBEDDED"
:type feature_bundle: str
"""
@@ -194,7 +198,8 @@ def __init__(self, **kwargs):
def name(self):
"""
**[Required]** Gets the name of this CreateAnalyticsInstanceDetails.
- The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed.
+ The name of the Analytics instance. This name must be unique in the tenancy and can't be changed.
+ The name must start with a letter and can contain only letters, numbers and dash (-).
:return: The name of this CreateAnalyticsInstanceDetails.
@@ -206,7 +211,8 @@ def name(self):
def name(self, name):
"""
Sets the name of this CreateAnalyticsInstanceDetails.
- The name of the Analytics instance. This name must be unique in the tenancy and cannot be changed.
+ The name of the Analytics instance. This name must be unique in the tenancy and can't be changed.
+ The name must start with a letter and can contain only letters, numbers and dash (-).
:param name: The name of this CreateAnalyticsInstanceDetails.
@@ -266,7 +272,7 @@ def compartment_id(self, compartment_id):
def feature_set(self):
"""
**[Required]** Gets the feature_set of this CreateAnalyticsInstanceDetails.
- Analytics feature set.
+ The feature set. Either `SELF_SERVICE_ANALYTICS` (Professional Edition) or `ENTERPRISE_ANALYTICS` (Enterprise Edition).
Allowed values for this property are: "SELF_SERVICE_ANALYTICS", "ENTERPRISE_ANALYTICS"
@@ -280,7 +286,7 @@ def feature_set(self):
def feature_set(self, feature_set):
"""
Sets the feature_set of this CreateAnalyticsInstanceDetails.
- Analytics feature set.
+ The feature set. Either `SELF_SERVICE_ANALYTICS` (Professional Edition) or `ENTERPRISE_ANALYTICS` (Enterprise Edition).
:param feature_set: The feature_set of this CreateAnalyticsInstanceDetails.
@@ -484,7 +490,7 @@ def freeform_tags(self, freeform_tags):
def update_channel(self):
"""
Gets the update_channel of this CreateAnalyticsInstanceDetails.
- Analytics instance update channel.
+ The Analytics instance update cycle.
Allowed values for this property are: "REGULAR", "EARLY", "PHASE_2", "PHASE_1"
@@ -498,7 +504,7 @@ def update_channel(self):
def update_channel(self, update_channel):
"""
Sets the update_channel of this CreateAnalyticsInstanceDetails.
- Analytics instance update channel.
+ The Analytics instance update cycle.
:param update_channel: The update_channel of this CreateAnalyticsInstanceDetails.
@@ -515,7 +521,7 @@ def update_channel(self, update_channel):
def kms_key_id(self):
"""
Gets the kms_key_id of this CreateAnalyticsInstanceDetails.
- OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
+ OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates that the default Oracle-managed encryption is used.
:return: The kms_key_id of this CreateAnalyticsInstanceDetails.
@@ -527,7 +533,7 @@ def kms_key_id(self):
def kms_key_id(self, kms_key_id):
"""
Sets the kms_key_id of this CreateAnalyticsInstanceDetails.
- OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates Oracle managed default encryption.
+ OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. A null value indicates that the default Oracle-managed encryption is used.
:param kms_key_id: The kms_key_id of this CreateAnalyticsInstanceDetails.
@@ -539,7 +545,7 @@ def kms_key_id(self, kms_key_id):
def domain_id(self):
"""
Gets the domain_id of this CreateAnalyticsInstanceDetails.
- domain id for which the user is authorized.
+ The OCID of the identity domain to use for the new Analytics instance. For example: ocid1.domain.oc1..ocid1.domain.oc1..aaaaaa111111bbbbbb222222cccccc333333dddddd444444eeeeee5555.
:return: The domain_id of this CreateAnalyticsInstanceDetails.
@@ -551,7 +557,7 @@ def domain_id(self):
def domain_id(self, domain_id):
"""
Sets the domain_id of this CreateAnalyticsInstanceDetails.
- domain id for which the user is authorized.
+ The OCID of the identity domain to use for the new Analytics instance. For example: ocid1.domain.oc1..ocid1.domain.oc1..aaaaaa111111bbbbbb222222cccccc333333dddddd444444eeeeee5555.
:param domain_id: The domain_id of this CreateAnalyticsInstanceDetails.
@@ -563,7 +569,7 @@ def domain_id(self, domain_id):
def admin_user(self):
"""
Gets the admin_user of this CreateAnalyticsInstanceDetails.
- user name of the authorized user.
+ The Analytics instance administrator user. This must be the user name (not OCID) of a user in the nominated identity domain. For example: john.smith@example.com.
:return: The admin_user of this CreateAnalyticsInstanceDetails.
@@ -575,7 +581,7 @@ def admin_user(self):
def admin_user(self, admin_user):
"""
Sets the admin_user of this CreateAnalyticsInstanceDetails.
- user name of the authorized user.
+ The Analytics instance administrator user. This must be the user name (not OCID) of a user in the nominated identity domain. For example: john.smith@example.com.
:param admin_user: The admin_user of this CreateAnalyticsInstanceDetails.
@@ -589,7 +595,7 @@ def feature_bundle(self):
Gets the feature_bundle of this CreateAnalyticsInstanceDetails.
The feature set of an Analytics instance.
- Allowed values for this property are: "FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED"
+ Allowed values for this property are: "FAW_PAID", "FAW_FREE", "FDI_BASE", "EE_EMBEDDED", "SE_EMBEDDED"
:return: The feature_bundle of this CreateAnalyticsInstanceDetails.
@@ -607,7 +613,7 @@ def feature_bundle(self, feature_bundle):
:param feature_bundle: The feature_bundle of this CreateAnalyticsInstanceDetails.
:type: str
"""
- allowed_values = ["FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED"]
+ allowed_values = ["FAW_PAID", "FAW_FREE", "FDI_BASE", "EE_EMBEDDED", "SE_EMBEDDED"]
if not value_allowed_none_or_none_sentinel(feature_bundle, allowed_values):
raise ValueError(
f"Invalid value for `feature_bundle`, must be None or one of {allowed_values}"
diff --git a/src/oci/analytics/models/create_private_access_channel_details.py b/src/oci/analytics/models/create_private_access_channel_details.py
index a04350f789..b5dae6e315 100644
--- a/src/oci/analytics/models/create_private_access_channel_details.py
+++ b/src/oci/analytics/models/create_private_access_channel_details.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class CreatePrivateAccessChannelDetails(object):
"""
- Input payload to create a Private Access Channel.
+ Input payload to create a private access channel.
"""
def __init__(self, **kwargs):
@@ -72,7 +72,7 @@ def __init__(self, **kwargs):
def display_name(self):
"""
**[Required]** Gets the display_name of this CreatePrivateAccessChannelDetails.
- Display Name of the Private Access Channel.
+ Display name of the private access channel.
:return: The display_name of this CreatePrivateAccessChannelDetails.
@@ -84,7 +84,7 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this CreatePrivateAccessChannelDetails.
- Display Name of the Private Access Channel.
+ Display name of the private access channel.
:param display_name: The display_name of this CreatePrivateAccessChannelDetails.
@@ -96,7 +96,7 @@ def display_name(self, display_name):
def vcn_id(self):
"""
**[Required]** Gets the vcn_id of this CreatePrivateAccessChannelDetails.
- OCID of the customer VCN peered with private access channel.
+ OCID of the customer VCN peered with the private access channel.
:return: The vcn_id of this CreatePrivateAccessChannelDetails.
@@ -108,7 +108,7 @@ def vcn_id(self):
def vcn_id(self, vcn_id):
"""
Sets the vcn_id of this CreatePrivateAccessChannelDetails.
- OCID of the customer VCN peered with private access channel.
+ OCID of the customer VCN peered with the private access channel.
:param vcn_id: The vcn_id of this CreatePrivateAccessChannelDetails.
@@ -120,7 +120,7 @@ def vcn_id(self, vcn_id):
def subnet_id(self):
"""
**[Required]** Gets the subnet_id of this CreatePrivateAccessChannelDetails.
- OCID of the customer subnet connected to private access channel.
+ OCID of the customer subnet connected to the private access channel.
:return: The subnet_id of this CreatePrivateAccessChannelDetails.
@@ -132,7 +132,7 @@ def subnet_id(self):
def subnet_id(self, subnet_id):
"""
Sets the subnet_id of this CreatePrivateAccessChannelDetails.
- OCID of the customer subnet connected to private access channel.
+ OCID of the customer subnet connected to the private access channel.
:param subnet_id: The subnet_id of this CreatePrivateAccessChannelDetails.
@@ -144,9 +144,9 @@ def subnet_id(self, subnet_id):
def private_source_dns_zones(self):
"""
**[Required]** Gets the private_source_dns_zones of this CreatePrivateAccessChannelDetails.
- List of Private Source DNS zones registered with Private Access Channel,
- where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance.
- Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
+ List of private source DNS zones registered with the private access channel. The
+ datasource hostnames from these DNS zones / domains will be resolved in the peered VCN for access from the Analytics instance.
+ Minimum 1 private source is required. Maximum 30 private source DNS zones can be registered.
:return: The private_source_dns_zones of this CreatePrivateAccessChannelDetails.
@@ -158,9 +158,9 @@ def private_source_dns_zones(self):
def private_source_dns_zones(self, private_source_dns_zones):
"""
Sets the private_source_dns_zones of this CreatePrivateAccessChannelDetails.
- List of Private Source DNS zones registered with Private Access Channel,
- where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance.
- Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
+ List of private source DNS zones registered with the private access channel. The
+ datasource hostnames from these DNS zones / domains will be resolved in the peered VCN for access from the Analytics instance.
+ Minimum 1 private source is required. Maximum 30 private source DNS zones can be registered.
:param private_source_dns_zones: The private_source_dns_zones of this CreatePrivateAccessChannelDetails.
@@ -172,7 +172,7 @@ def private_source_dns_zones(self, private_source_dns_zones):
def private_source_scan_hosts(self):
"""
Gets the private_source_scan_hosts of this CreatePrivateAccessChannelDetails.
- List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
+ List of private source database SCAN hosts registered with the private access channel for access from the Analytics instance.
:return: The private_source_scan_hosts of this CreatePrivateAccessChannelDetails.
@@ -184,7 +184,7 @@ def private_source_scan_hosts(self):
def private_source_scan_hosts(self, private_source_scan_hosts):
"""
Sets the private_source_scan_hosts of this CreatePrivateAccessChannelDetails.
- List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
+ List of private source database SCAN hosts registered with the private access channel for access from the Analytics instance.
:param private_source_scan_hosts: The private_source_scan_hosts of this CreatePrivateAccessChannelDetails.
@@ -196,7 +196,7 @@ def private_source_scan_hosts(self, private_source_scan_hosts):
def network_security_group_ids(self):
"""
Gets the network_security_group_ids of this CreatePrivateAccessChannelDetails.
- Network Security Group OCIDs for an Analytics instance.
+ Network Security Group OCIDs for the Analytics instance.
:return: The network_security_group_ids of this CreatePrivateAccessChannelDetails.
@@ -208,7 +208,7 @@ def network_security_group_ids(self):
def network_security_group_ids(self, network_security_group_ids):
"""
Sets the network_security_group_ids of this CreatePrivateAccessChannelDetails.
- Network Security Group OCIDs for an Analytics instance.
+ Network Security Group OCIDs for the Analytics instance.
:param network_security_group_ids: The network_security_group_ids of this CreatePrivateAccessChannelDetails.
diff --git a/src/oci/analytics/models/create_resource_group_details.py b/src/oci/analytics/models/create_resource_group_details.py
new file mode 100644
index 0000000000..6e87fdbea8
--- /dev/null
+++ b/src/oci/analytics/models/create_resource_group_details.py
@@ -0,0 +1,163 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190331
+
+
+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 CreateResourceGroupDetails(object):
+ """
+ Input payload to create resource group.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateResourceGroupDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param resource_name:
+ The value to assign to the resource_name property of this CreateResourceGroupDetails.
+ :type resource_name: str
+
+ :param display_name:
+ The value to assign to the display_name property of this CreateResourceGroupDetails.
+ :type display_name: str
+
+ :param description:
+ The value to assign to the description property of this CreateResourceGroupDetails.
+ :type description: str
+
+ :param capacity:
+ The value to assign to the capacity property of this CreateResourceGroupDetails.
+ :type capacity: int
+
+ """
+ self.swagger_types = {
+ 'resource_name': 'str',
+ 'display_name': 'str',
+ 'description': 'str',
+ 'capacity': 'int'
+ }
+ self.attribute_map = {
+ 'resource_name': 'resourceName',
+ 'display_name': 'displayName',
+ 'description': 'description',
+ 'capacity': 'capacity'
+ }
+ self._resource_name = None
+ self._display_name = None
+ self._description = None
+ self._capacity = None
+
+ @property
+ def resource_name(self):
+ """
+ **[Required]** Gets the resource_name of this CreateResourceGroupDetails.
+ Meaningful name of resource group for end user
+
+
+ :return: The resource_name of this CreateResourceGroupDetails.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this CreateResourceGroupDetails.
+ Meaningful name of resource group for end user
+
+
+ :param resource_name: The resource_name of this CreateResourceGroupDetails.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def display_name(self):
+ """
+ Gets the display_name of this CreateResourceGroupDetails.
+ Meaningful name of resource group for end user
+
+
+ :return: The display_name of this CreateResourceGroupDetails.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this CreateResourceGroupDetails.
+ Meaningful name of resource group for end user
+
+
+ :param display_name: The display_name of this CreateResourceGroupDetails.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CreateResourceGroupDetails.
+ Optional description of the resource group
+
+
+ :return: The description of this CreateResourceGroupDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateResourceGroupDetails.
+ Optional description of the resource group
+
+
+ :param description: The description of this CreateResourceGroupDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def capacity(self):
+ """
+ **[Required]** Gets the capacity of this CreateResourceGroupDetails.
+ The capacity (in OCPU's) to be allocated for this resource.
+
+
+ :return: The capacity of this CreateResourceGroupDetails.
+ :rtype: int
+ """
+ return self._capacity
+
+ @capacity.setter
+ def capacity(self, capacity):
+ """
+ Sets the capacity of this CreateResourceGroupDetails.
+ The capacity (in OCPU's) to be allocated for this resource.
+
+
+ :param capacity: The capacity of this CreateResourceGroupDetails.
+ :type: int
+ """
+ self._capacity = capacity
+
+ 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/analytics/models/create_vanity_url_details.py b/src/oci/analytics/models/create_vanity_url_details.py
index 4e55010370..c89f86a194 100644
--- a/src/oci/analytics/models/create_vanity_url_details.py
+++ b/src/oci/analytics/models/create_vanity_url_details.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class CreateVanityUrlDetails(object):
"""
- Input payload to create a vanity url.
+ Input payload to create a vanity URL.
"""
def __init__(self, **kwargs):
@@ -96,7 +96,7 @@ def description(self, description):
def hosts(self):
"""
**[Required]** Gets the hosts of this CreateVanityUrlDetails.
- List of fully qualified hostnames supported by this vanity URL definition (max of 3).
+ List of fully-qualified hostnames supported by this vanity URL definition (maximum of 3).
:return: The hosts of this CreateVanityUrlDetails.
@@ -108,7 +108,7 @@ def hosts(self):
def hosts(self, hosts):
"""
Sets the hosts of this CreateVanityUrlDetails.
- List of fully qualified hostnames supported by this vanity URL definition (max of 3).
+ List of fully-qualified hostnames supported by this vanity URL definition (maximum of 3).
:param hosts: The hosts of this CreateVanityUrlDetails.
@@ -120,7 +120,7 @@ def hosts(self, hosts):
def passphrase(self):
"""
Gets the passphrase of this CreateVanityUrlDetails.
- Passphrase for the PEM Private key (if any).
+ Passphrase for the PEM private key (if any).
:return: The passphrase of this CreateVanityUrlDetails.
@@ -132,7 +132,7 @@ def passphrase(self):
def passphrase(self, passphrase):
"""
Sets the passphrase of this CreateVanityUrlDetails.
- Passphrase for the PEM Private key (if any).
+ Passphrase for the PEM private key (if any).
:param passphrase: The passphrase of this CreateVanityUrlDetails.
@@ -144,7 +144,7 @@ def passphrase(self, passphrase):
def private_key(self):
"""
**[Required]** Gets the private_key of this CreateVanityUrlDetails.
- PEM Private key for HTTPS connections.
+ PEM private key for HTTPS connections.
:return: The private_key of this CreateVanityUrlDetails.
@@ -156,7 +156,7 @@ def private_key(self):
def private_key(self, private_key):
"""
Sets the private_key of this CreateVanityUrlDetails.
- PEM Private key for HTTPS connections.
+ PEM private key for HTTPS connections.
:param private_key: The private_key of this CreateVanityUrlDetails.
@@ -192,7 +192,7 @@ def public_certificate(self, public_certificate):
def ca_certificate(self):
"""
**[Required]** Gets the ca_certificate of this CreateVanityUrlDetails.
- PEM CA certificate(s) for HTTPS connections. This may include multiple PEM certificates.
+ PEM CA certificates for HTTPS connections. This may include multiple PEM certificates.
:return: The ca_certificate of this CreateVanityUrlDetails.
@@ -204,7 +204,7 @@ def ca_certificate(self):
def ca_certificate(self, ca_certificate):
"""
Sets the ca_certificate of this CreateVanityUrlDetails.
- PEM CA certificate(s) for HTTPS connections. This may include multiple PEM certificates.
+ PEM CA certificates for HTTPS connections. This may include multiple PEM certificates.
:param ca_certificate: The ca_certificate of this CreateVanityUrlDetails.
diff --git a/src/oci/analytics/models/instance_resource_group.py b/src/oci/analytics/models/instance_resource_group.py
new file mode 100644
index 0000000000..66069aaca1
--- /dev/null
+++ b/src/oci/analytics/models/instance_resource_group.py
@@ -0,0 +1,194 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190331
+
+
+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 InstanceResourceGroup(object):
+ """
+ Resource Groups for Instance
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new InstanceResourceGroup 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 InstanceResourceGroup.
+ :type id: str
+
+ :param resource_name:
+ The value to assign to the resource_name property of this InstanceResourceGroup.
+ :type resource_name: str
+
+ :param display_name:
+ The value to assign to the display_name property of this InstanceResourceGroup.
+ :type display_name: str
+
+ :param description:
+ The value to assign to the description property of this InstanceResourceGroup.
+ :type description: str
+
+ :param capacity:
+ The value to assign to the capacity property of this InstanceResourceGroup.
+ :type capacity: int
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'resource_name': 'str',
+ 'display_name': 'str',
+ 'description': 'str',
+ 'capacity': 'int'
+ }
+ self.attribute_map = {
+ 'id': 'id',
+ 'resource_name': 'resourceName',
+ 'display_name': 'displayName',
+ 'description': 'description',
+ 'capacity': 'capacity'
+ }
+ self._id = None
+ self._resource_name = None
+ self._display_name = None
+ self._description = None
+ self._capacity = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this InstanceResourceGroup.
+ Unique identifier and name of resource group. Must be unique within the instance
+
+
+ :return: The id of this InstanceResourceGroup.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this InstanceResourceGroup.
+ Unique identifier and name of resource group. Must be unique within the instance
+
+
+ :param id: The id of this InstanceResourceGroup.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def resource_name(self):
+ """
+ **[Required]** Gets the resource_name of this InstanceResourceGroup.
+ Meaningful name of resource group for end user
+
+
+ :return: The resource_name of this InstanceResourceGroup.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this InstanceResourceGroup.
+ Meaningful name of resource group for end user
+
+
+ :param resource_name: The resource_name of this InstanceResourceGroup.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def display_name(self):
+ """
+ Gets the display_name of this InstanceResourceGroup.
+ Meaningful name of resource group for end user
+
+
+ :return: The display_name of this InstanceResourceGroup.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this InstanceResourceGroup.
+ Meaningful name of resource group for end user
+
+
+ :param display_name: The display_name of this InstanceResourceGroup.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this InstanceResourceGroup.
+ Optional description of the resource group
+
+
+ :return: The description of this InstanceResourceGroup.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this InstanceResourceGroup.
+ Optional description of the resource group
+
+
+ :param description: The description of this InstanceResourceGroup.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def capacity(self):
+ """
+ **[Required]** Gets the capacity of this InstanceResourceGroup.
+ The capacity (in OCPU's) to be allocated for this resource.
+
+
+ :return: The capacity of this InstanceResourceGroup.
+ :rtype: int
+ """
+ return self._capacity
+
+ @capacity.setter
+ def capacity(self, capacity):
+ """
+ Sets the capacity of this InstanceResourceGroup.
+ The capacity (in OCPU's) to be allocated for this resource.
+
+
+ :param capacity: The capacity of this InstanceResourceGroup.
+ :type: int
+ """
+ self._capacity = capacity
+
+ 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/analytics/models/instance_resource_group_summary.py b/src/oci/analytics/models/instance_resource_group_summary.py
new file mode 100644
index 0000000000..fad1e2ca99
--- /dev/null
+++ b/src/oci/analytics/models/instance_resource_group_summary.py
@@ -0,0 +1,194 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190331
+
+
+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 InstanceResourceGroupSummary(object):
+ """
+ Resource Groups for Instance
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new InstanceResourceGroupSummary 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 InstanceResourceGroupSummary.
+ :type id: str
+
+ :param resource_name:
+ The value to assign to the resource_name property of this InstanceResourceGroupSummary.
+ :type resource_name: str
+
+ :param display_name:
+ The value to assign to the display_name property of this InstanceResourceGroupSummary.
+ :type display_name: str
+
+ :param description:
+ The value to assign to the description property of this InstanceResourceGroupSummary.
+ :type description: str
+
+ :param capacity:
+ The value to assign to the capacity property of this InstanceResourceGroupSummary.
+ :type capacity: int
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'resource_name': 'str',
+ 'display_name': 'str',
+ 'description': 'str',
+ 'capacity': 'int'
+ }
+ self.attribute_map = {
+ 'id': 'id',
+ 'resource_name': 'resourceName',
+ 'display_name': 'displayName',
+ 'description': 'description',
+ 'capacity': 'capacity'
+ }
+ self._id = None
+ self._resource_name = None
+ self._display_name = None
+ self._description = None
+ self._capacity = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this InstanceResourceGroupSummary.
+ Unique identifier and name of resource group. Must be unique within the instance
+
+
+ :return: The id of this InstanceResourceGroupSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this InstanceResourceGroupSummary.
+ Unique identifier and name of resource group. Must be unique within the instance
+
+
+ :param id: The id of this InstanceResourceGroupSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def resource_name(self):
+ """
+ **[Required]** Gets the resource_name of this InstanceResourceGroupSummary.
+ Meaningful name of resource group for end user
+
+
+ :return: The resource_name of this InstanceResourceGroupSummary.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this InstanceResourceGroupSummary.
+ Meaningful name of resource group for end user
+
+
+ :param resource_name: The resource_name of this InstanceResourceGroupSummary.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def display_name(self):
+ """
+ Gets the display_name of this InstanceResourceGroupSummary.
+ Meaningful name of resource group for end user
+
+
+ :return: The display_name of this InstanceResourceGroupSummary.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this InstanceResourceGroupSummary.
+ Meaningful name of resource group for end user
+
+
+ :param display_name: The display_name of this InstanceResourceGroupSummary.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this InstanceResourceGroupSummary.
+ Optional description of the resource group
+
+
+ :return: The description of this InstanceResourceGroupSummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this InstanceResourceGroupSummary.
+ Optional description of the resource group
+
+
+ :param description: The description of this InstanceResourceGroupSummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def capacity(self):
+ """
+ **[Required]** Gets the capacity of this InstanceResourceGroupSummary.
+ The capacity (in OCPU's) to be allocated for this resource.
+
+
+ :return: The capacity of this InstanceResourceGroupSummary.
+ :rtype: int
+ """
+ return self._capacity
+
+ @capacity.setter
+ def capacity(self, capacity):
+ """
+ Sets the capacity of this InstanceResourceGroupSummary.
+ The capacity (in OCPU's) to be allocated for this resource.
+
+
+ :param capacity: The capacity of this InstanceResourceGroupSummary.
+ :type: int
+ """
+ self._capacity = capacity
+
+ 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/analytics/models/private_access_channel.py b/src/oci/analytics/models/private_access_channel.py
index cb5fcee039..d51038e3e4 100644
--- a/src/oci/analytics/models/private_access_channel.py
+++ b/src/oci/analytics/models/private_access_channel.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class PrivateAccessChannel(object):
"""
- Analytics Instance Private Access Channel model.
+ Analytics instance private access channel model.
"""
def __init__(self, **kwargs):
@@ -93,7 +93,7 @@ def __init__(self, **kwargs):
def key(self):
"""
**[Required]** Gets the key of this PrivateAccessChannel.
- Private Access Channel unique identifier key.
+ Private access channel unique identifier key.
:return: The key of this PrivateAccessChannel.
@@ -105,7 +105,7 @@ def key(self):
def key(self, key):
"""
Sets the key of this PrivateAccessChannel.
- Private Access Channel unique identifier key.
+ Private access channel unique identifier key.
:param key: The key of this PrivateAccessChannel.
@@ -117,7 +117,7 @@ def key(self, key):
def display_name(self):
"""
**[Required]** Gets the display_name of this PrivateAccessChannel.
- Display Name of the Private Access Channel.
+ Display name of the private access channel.
:return: The display_name of this PrivateAccessChannel.
@@ -129,7 +129,7 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this PrivateAccessChannel.
- Display Name of the Private Access Channel.
+ Display name of the private access channel.
:param display_name: The display_name of this PrivateAccessChannel.
@@ -141,7 +141,7 @@ def display_name(self, display_name):
def vcn_id(self):
"""
**[Required]** Gets the vcn_id of this PrivateAccessChannel.
- OCID of the customer VCN peered with private access channel.
+ OCID of the customer VCN peered with the private access channel.
:return: The vcn_id of this PrivateAccessChannel.
@@ -153,7 +153,7 @@ def vcn_id(self):
def vcn_id(self, vcn_id):
"""
Sets the vcn_id of this PrivateAccessChannel.
- OCID of the customer VCN peered with private access channel.
+ OCID of the customer VCN peered with the private access channel.
:param vcn_id: The vcn_id of this PrivateAccessChannel.
@@ -165,7 +165,7 @@ def vcn_id(self, vcn_id):
def subnet_id(self):
"""
**[Required]** Gets the subnet_id of this PrivateAccessChannel.
- OCID of the customer subnet connected to private access channel.
+ OCID of the customer subnet connected to the private access channel.
:return: The subnet_id of this PrivateAccessChannel.
@@ -177,7 +177,7 @@ def subnet_id(self):
def subnet_id(self, subnet_id):
"""
Sets the subnet_id of this PrivateAccessChannel.
- OCID of the customer subnet connected to private access channel.
+ OCID of the customer subnet connected to the private access channel.
:param subnet_id: The subnet_id of this PrivateAccessChannel.
@@ -189,7 +189,7 @@ def subnet_id(self, subnet_id):
def ip_address(self):
"""
**[Required]** Gets the ip_address of this PrivateAccessChannel.
- IP Address of the Private Access channel.
+ IP address of the private access channel.
:return: The ip_address of this PrivateAccessChannel.
@@ -201,7 +201,7 @@ def ip_address(self):
def ip_address(self, ip_address):
"""
Sets the ip_address of this PrivateAccessChannel.
- IP Address of the Private Access channel.
+ IP address of the private access channel.
:param ip_address: The ip_address of this PrivateAccessChannel.
@@ -213,8 +213,8 @@ def ip_address(self, ip_address):
def egress_source_ip_addresses(self):
"""
**[Required]** Gets the egress_source_ip_addresses of this PrivateAccessChannel.
- The list of IP addresses from the customer subnet connected to private access channel, used as a source Ip by Private Access Channel
- for network traffic from the AnalyticsInstance to Private Sources.
+ List of IP addresses from the customer subnet connected to the private access channel, used as a source IP by the private access channel
+ for network traffic from the Analytics instance to the private sources.
:return: The egress_source_ip_addresses of this PrivateAccessChannel.
@@ -226,8 +226,8 @@ def egress_source_ip_addresses(self):
def egress_source_ip_addresses(self, egress_source_ip_addresses):
"""
Sets the egress_source_ip_addresses of this PrivateAccessChannel.
- The list of IP addresses from the customer subnet connected to private access channel, used as a source Ip by Private Access Channel
- for network traffic from the AnalyticsInstance to Private Sources.
+ List of IP addresses from the customer subnet connected to the private access channel, used as a source IP by the private access channel
+ for network traffic from the Analytics instance to the private sources.
:param egress_source_ip_addresses: The egress_source_ip_addresses of this PrivateAccessChannel.
@@ -239,9 +239,9 @@ def egress_source_ip_addresses(self, egress_source_ip_addresses):
def private_source_dns_zones(self):
"""
Gets the private_source_dns_zones of this PrivateAccessChannel.
- List of Private Source DNS zones registered with Private Access Channel,
- where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance.
- Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
+ List of private source DNS zones registered with the private access channel. The
+ datasource hostnames from these DNS zones / domains will be resolved in the peered VCN for access from the Analytics instance.
+ Minimum 1 private source is required. Maximum 30 private source DNS zones can be registered.
:return: The private_source_dns_zones of this PrivateAccessChannel.
@@ -253,9 +253,9 @@ def private_source_dns_zones(self):
def private_source_dns_zones(self, private_source_dns_zones):
"""
Sets the private_source_dns_zones of this PrivateAccessChannel.
- List of Private Source DNS zones registered with Private Access Channel,
- where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance.
- Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
+ List of private source DNS zones registered with the private access channel. The
+ datasource hostnames from these DNS zones / domains will be resolved in the peered VCN for access from the Analytics instance.
+ Minimum 1 private source is required. Maximum 30 private source DNS zones can be registered.
:param private_source_dns_zones: The private_source_dns_zones of this PrivateAccessChannel.
@@ -267,7 +267,7 @@ def private_source_dns_zones(self, private_source_dns_zones):
def private_source_scan_hosts(self):
"""
Gets the private_source_scan_hosts of this PrivateAccessChannel.
- List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
+ List of private source database SCAN hosts registered with the private access channel for access from the Analytics instance.
:return: The private_source_scan_hosts of this PrivateAccessChannel.
@@ -279,7 +279,7 @@ def private_source_scan_hosts(self):
def private_source_scan_hosts(self, private_source_scan_hosts):
"""
Sets the private_source_scan_hosts of this PrivateAccessChannel.
- List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
+ List of private source database SCAN hosts registered with the private access channel for access from the Analytics instance.
:param private_source_scan_hosts: The private_source_scan_hosts of this PrivateAccessChannel.
@@ -291,7 +291,7 @@ def private_source_scan_hosts(self, private_source_scan_hosts):
def network_security_group_ids(self):
"""
Gets the network_security_group_ids of this PrivateAccessChannel.
- Network Security Group OCIDs for an Analytics instance.
+ Network Security Group OCIDs for the Analytics instance.
:return: The network_security_group_ids of this PrivateAccessChannel.
@@ -303,7 +303,7 @@ def network_security_group_ids(self):
def network_security_group_ids(self, network_security_group_ids):
"""
Sets the network_security_group_ids of this PrivateAccessChannel.
- Network Security Group OCIDs for an Analytics instance.
+ Network Security Group OCIDs for the Analytics instance.
:param network_security_group_ids: The network_security_group_ids of this PrivateAccessChannel.
diff --git a/src/oci/analytics/models/private_endpoint_details.py b/src/oci/analytics/models/private_endpoint_details.py
index 4f4ae24144..257c43f571 100644
--- a/src/oci/analytics/models/private_endpoint_details.py
+++ b/src/oci/analytics/models/private_endpoint_details.py
@@ -109,7 +109,7 @@ def subnet_id(self, subnet_id):
def network_security_group_ids(self):
"""
Gets the network_security_group_ids of this PrivateEndpointDetails.
- Network Security Group OCIDs for an Analytics instance.
+ Network Security Group OCIDs for the Analytics instance.
:return: The network_security_group_ids of this PrivateEndpointDetails.
@@ -121,7 +121,7 @@ def network_security_group_ids(self):
def network_security_group_ids(self, network_security_group_ids):
"""
Sets the network_security_group_ids of this PrivateEndpointDetails.
- Network Security Group OCIDs for an Analytics instance.
+ Network Security Group OCIDs for the Analytics instance.
:param network_security_group_ids: The network_security_group_ids of this PrivateEndpointDetails.
diff --git a/src/oci/analytics/models/private_source_dns_zone.py b/src/oci/analytics/models/private_source_dns_zone.py
index 6f9c6ef358..03bcdf1a92 100644
--- a/src/oci/analytics/models/private_source_dns_zone.py
+++ b/src/oci/analytics/models/private_source_dns_zone.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class PrivateSourceDnsZone(object):
"""
- Private source DNS Zone model.
+ Private source DNS zone model.
"""
def __init__(self, **kwargs):
@@ -44,7 +44,7 @@ def __init__(self, **kwargs):
def dns_zone(self):
"""
**[Required]** Gets the dns_zone of this PrivateSourceDnsZone.
- Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
+ Private source DNS zone. For example: example-vcn.oraclevcn.com, corp.example.com.
:return: The dns_zone of this PrivateSourceDnsZone.
@@ -56,7 +56,7 @@ def dns_zone(self):
def dns_zone(self, dns_zone):
"""
Sets the dns_zone of this PrivateSourceDnsZone.
- Private Source DNS Zone. Ex: example-vcn.oraclevcn.com, corp.example.com.
+ Private source DNS zone. For example: example-vcn.oraclevcn.com, corp.example.com.
:param dns_zone: The dns_zone of this PrivateSourceDnsZone.
@@ -68,7 +68,7 @@ def dns_zone(self, dns_zone):
def description(self):
"""
Gets the description of this PrivateSourceDnsZone.
- Description of private source dns zone.
+ Description of the private source DNS zone.
:return: The description of this PrivateSourceDnsZone.
@@ -80,7 +80,7 @@ def description(self):
def description(self, description):
"""
Sets the description of this PrivateSourceDnsZone.
- Description of private source dns zone.
+ Description of the private source DNS zone.
:param description: The description of this PrivateSourceDnsZone.
diff --git a/src/oci/analytics/models/private_source_scan_host.py b/src/oci/analytics/models/private_source_scan_host.py
index f9541dd8e5..fe03c57a11 100644
--- a/src/oci/analytics/models/private_source_scan_host.py
+++ b/src/oci/analytics/models/private_source_scan_host.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class PrivateSourceScanHost(object):
"""
- Private source Scan Hostname model.
+ Private source SCAN hostname model.
"""
def __init__(self, **kwargs):
@@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def scan_hostname(self):
"""
**[Required]** Gets the scan_hostname of this PrivateSourceScanHost.
- Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
+ Private source SCAN hostname. For example: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
:return: The scan_hostname of this PrivateSourceScanHost.
@@ -63,7 +63,7 @@ def scan_hostname(self):
def scan_hostname(self, scan_hostname):
"""
Sets the scan_hostname of this PrivateSourceScanHost.
- Private Source Scan hostname. Ex: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
+ Private source SCAN hostname. For example: db01-scan.corp.example.com, prd-db01-scan.mycompany.com.
:param scan_hostname: The scan_hostname of this PrivateSourceScanHost.
@@ -75,7 +75,7 @@ def scan_hostname(self, scan_hostname):
def scan_port(self):
"""
**[Required]** Gets the scan_port of this PrivateSourceScanHost.
- Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
+ Private source SCAN host port. This is the source port where the SCAN protocol connects (for example, 1521).
:return: The scan_port of this PrivateSourceScanHost.
@@ -87,7 +87,7 @@ def scan_port(self):
def scan_port(self, scan_port):
"""
Sets the scan_port of this PrivateSourceScanHost.
- Private Source Scan host port. This is the source port where SCAN protocol will get connected (e.g. 1521).
+ Private source SCAN host port. This is the source port where the SCAN protocol connects (for example, 1521).
:param scan_port: The scan_port of this PrivateSourceScanHost.
@@ -99,7 +99,7 @@ def scan_port(self, scan_port):
def description(self):
"""
Gets the description of this PrivateSourceScanHost.
- Description of private source scan host zone.
+ Description of private source SCAN host zone.
:return: The description of this PrivateSourceScanHost.
@@ -111,7 +111,7 @@ def description(self):
def description(self, description):
"""
Sets the description of this PrivateSourceScanHost.
- Description of private source scan host zone.
+ Description of private source SCAN host zone.
:param description: The description of this PrivateSourceScanHost.
diff --git a/src/oci/analytics/models/public_endpoint_details.py b/src/oci/analytics/models/public_endpoint_details.py
index f6af3bbf33..19afdac9a0 100644
--- a/src/oci/analytics/models/public_endpoint_details.py
+++ b/src/oci/analytics/models/public_endpoint_details.py
@@ -116,7 +116,7 @@ def whitelisted_vcns(self, whitelisted_vcns):
def whitelisted_services(self):
"""
Gets the whitelisted_services of this PublicEndpointDetails.
- Oracle Cloud Services that are allowed to access this Analytics instance.
+ Oracle Cloud services that are allowed to access this Analytics instance.
Allowed values for items in this list are: "ALL", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -131,7 +131,7 @@ def whitelisted_services(self):
def whitelisted_services(self, whitelisted_services):
"""
Sets the whitelisted_services of this PublicEndpointDetails.
- Oracle Cloud Services that are allowed to access this Analytics instance.
+ Oracle Cloud services that are allowed to access this Analytics instance.
:param whitelisted_services: The whitelisted_services of this PublicEndpointDetails.
diff --git a/src/oci/analytics/models/set_feature_bundle_details.py b/src/oci/analytics/models/set_feature_bundle_details.py
index d14f438313..fad5e87f88 100644
--- a/src/oci/analytics/models/set_feature_bundle_details.py
+++ b/src/oci/analytics/models/set_feature_bundle_details.py
@@ -23,6 +23,10 @@ class SetFeatureBundleDetails(object):
#: This constant has a value of "FAW_FREE"
FEATURE_BUNDLE_FAW_FREE = "FAW_FREE"
+ #: A constant which can be used with the feature_bundle property of a SetFeatureBundleDetails.
+ #: This constant has a value of "FDI_BASE"
+ FEATURE_BUNDLE_FDI_BASE = "FDI_BASE"
+
#: A constant which can be used with the feature_bundle property of a SetFeatureBundleDetails.
#: This constant has a value of "EE_EMBEDDED"
FEATURE_BUNDLE_EE_EMBEDDED = "EE_EMBEDDED"
@@ -38,7 +42,7 @@ def __init__(self, **kwargs):
:param feature_bundle:
The value to assign to the feature_bundle property of this SetFeatureBundleDetails.
- Allowed values for this property are: "FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED"
+ Allowed values for this property are: "FAW_PAID", "FAW_FREE", "FDI_BASE", "EE_EMBEDDED", "SE_EMBEDDED"
:type feature_bundle: str
"""
@@ -56,7 +60,7 @@ def feature_bundle(self):
Gets the feature_bundle of this SetFeatureBundleDetails.
The feature set of an Analytics instance.
- Allowed values for this property are: "FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED"
+ Allowed values for this property are: "FAW_PAID", "FAW_FREE", "FDI_BASE", "EE_EMBEDDED", "SE_EMBEDDED"
:return: The feature_bundle of this SetFeatureBundleDetails.
@@ -74,7 +78,7 @@ def feature_bundle(self, feature_bundle):
:param feature_bundle: The feature_bundle of this SetFeatureBundleDetails.
:type: str
"""
- allowed_values = ["FAW_PAID", "FAW_FREE", "EE_EMBEDDED", "SE_EMBEDDED"]
+ allowed_values = ["FAW_PAID", "FAW_FREE", "FDI_BASE", "EE_EMBEDDED", "SE_EMBEDDED"]
if not value_allowed_none_or_none_sentinel(feature_bundle, allowed_values):
raise ValueError(
f"Invalid value for `feature_bundle`, must be None or one of {allowed_values}"
diff --git a/src/oci/analytics/models/set_kms_key_details.py b/src/oci/analytics/models/set_kms_key_details.py
index c77e66fcc7..49c37766bb 100644
--- a/src/oci/analytics/models/set_kms_key_details.py
+++ b/src/oci/analytics/models/set_kms_key_details.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class SetKmsKeyDetails(object):
"""
- Input payload to reset the OCI Vault encryption key.
+ Input payload to reset the OCI vault encryption key.
"""
def __init__(self, **kwargs):
@@ -37,7 +37,7 @@ def __init__(self, **kwargs):
def kms_key_id(self):
"""
**[Required]** Gets the kms_key_id of this SetKmsKeyDetails.
- OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. An empty value indicates Oracle managed default encryption (null is not supported in this API).
+ OCID of the OCI vault key encrypting the customer data stored in this Analytics instance. An empty value indicates the default Oracle-managed encryption (this API doesn't support null).
:return: The kms_key_id of this SetKmsKeyDetails.
@@ -49,7 +49,7 @@ def kms_key_id(self):
def kms_key_id(self, kms_key_id):
"""
Sets the kms_key_id of this SetKmsKeyDetails.
- OCID of the OCI Vault Key encrypting the customer data stored in this Analytics instance. An empty value indicates Oracle managed default encryption (null is not supported in this API).
+ OCID of the OCI vault key encrypting the customer data stored in this Analytics instance. An empty value indicates the default Oracle-managed encryption (this API doesn't support null).
:param kms_key_id: The kms_key_id of this SetKmsKeyDetails.
diff --git a/src/oci/analytics/models/update_analytics_instance_details.py b/src/oci/analytics/models/update_analytics_instance_details.py
index 7764066967..447b304a57 100644
--- a/src/oci/analytics/models/update_analytics_instance_details.py
+++ b/src/oci/analytics/models/update_analytics_instance_details.py
@@ -12,8 +12,8 @@
@init_model_state_from_kwargs
class UpdateAnalyticsInstanceDetails(object):
"""
- Input payload to update an Analytics instance. Fields that are not provided
- will not be updated.
+ Input payload to update an Analytics instance. Fields that aren't provided
+ won't be updated.
"""
#: A constant which can be used with the license_type property of a UpdateAnalyticsInstanceDetails.
@@ -246,7 +246,7 @@ def freeform_tags(self, freeform_tags):
def update_channel(self):
"""
Gets the update_channel of this UpdateAnalyticsInstanceDetails.
- Analytics instance update channel.
+ The Analytics instance update cycle.
Allowed values for this property are: "REGULAR", "EARLY", "PHASE_2", "PHASE_1"
@@ -260,7 +260,7 @@ def update_channel(self):
def update_channel(self, update_channel):
"""
Sets the update_channel of this UpdateAnalyticsInstanceDetails.
- Analytics instance update channel.
+ The Analytics instance update cycle.
:param update_channel: The update_channel of this UpdateAnalyticsInstanceDetails.
diff --git a/src/oci/analytics/models/update_private_access_channel_details.py b/src/oci/analytics/models/update_private_access_channel_details.py
index 2f5555cb28..98c5d89862 100644
--- a/src/oci/analytics/models/update_private_access_channel_details.py
+++ b/src/oci/analytics/models/update_private_access_channel_details.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class UpdatePrivateAccessChannelDetails(object):
"""
- Input payload to update a Private Access Channel.
+ Input payload to update a private access channel.
"""
def __init__(self, **kwargs):
@@ -72,7 +72,7 @@ def __init__(self, **kwargs):
def display_name(self):
"""
Gets the display_name of this UpdatePrivateAccessChannelDetails.
- Display Name of the Private Access Channel.
+ Display name of the private access channel.
:return: The display_name of this UpdatePrivateAccessChannelDetails.
@@ -84,7 +84,7 @@ def display_name(self):
def display_name(self, display_name):
"""
Sets the display_name of this UpdatePrivateAccessChannelDetails.
- Display Name of the Private Access Channel.
+ Display name of the private access channel.
:param display_name: The display_name of this UpdatePrivateAccessChannelDetails.
@@ -96,7 +96,7 @@ def display_name(self, display_name):
def vcn_id(self):
"""
Gets the vcn_id of this UpdatePrivateAccessChannelDetails.
- OCID of the customer VCN peered with private access channel.
+ OCID of the customer VCN peered with the private access channel.
:return: The vcn_id of this UpdatePrivateAccessChannelDetails.
@@ -108,7 +108,7 @@ def vcn_id(self):
def vcn_id(self, vcn_id):
"""
Sets the vcn_id of this UpdatePrivateAccessChannelDetails.
- OCID of the customer VCN peered with private access channel.
+ OCID of the customer VCN peered with the private access channel.
:param vcn_id: The vcn_id of this UpdatePrivateAccessChannelDetails.
@@ -120,7 +120,7 @@ def vcn_id(self, vcn_id):
def subnet_id(self):
"""
Gets the subnet_id of this UpdatePrivateAccessChannelDetails.
- OCID of the customer subnet connected to private access channel.
+ OCID of the customer subnet connected to the private access channel.
:return: The subnet_id of this UpdatePrivateAccessChannelDetails.
@@ -132,7 +132,7 @@ def subnet_id(self):
def subnet_id(self, subnet_id):
"""
Sets the subnet_id of this UpdatePrivateAccessChannelDetails.
- OCID of the customer subnet connected to private access channel.
+ OCID of the customer subnet connected to the private access channel.
:param subnet_id: The subnet_id of this UpdatePrivateAccessChannelDetails.
@@ -144,9 +144,9 @@ def subnet_id(self, subnet_id):
def private_source_dns_zones(self):
"""
Gets the private_source_dns_zones of this UpdatePrivateAccessChannelDetails.
- List of Private Source DNS zones registered with Private Access Channel,
- where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance.
- Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
+ List of private source DNS zones registered with the private access channel. The
+ datasource hostnames from these DNS zones / domains will be resolved in the peered VCN for access from the Analytics instance.
+ Minimum 1 private source is required. Maximum 30 private source DNS zones can be registered.
:return: The private_source_dns_zones of this UpdatePrivateAccessChannelDetails.
@@ -158,9 +158,9 @@ def private_source_dns_zones(self):
def private_source_dns_zones(self, private_source_dns_zones):
"""
Sets the private_source_dns_zones of this UpdatePrivateAccessChannelDetails.
- List of Private Source DNS zones registered with Private Access Channel,
- where datasource hostnames from these dns zones / domains will be resolved in the peered VCN for access from Analytics Instance.
- Min of 1 is required and Max of 30 Private Source DNS zones can be registered.
+ List of private source DNS zones registered with the private access channel. The
+ datasource hostnames from these DNS zones / domains will be resolved in the peered VCN for access from the Analytics instance.
+ Minimum 1 private source is required. Maximum 30 private source DNS zones can be registered.
:param private_source_dns_zones: The private_source_dns_zones of this UpdatePrivateAccessChannelDetails.
@@ -172,7 +172,7 @@ def private_source_dns_zones(self, private_source_dns_zones):
def private_source_scan_hosts(self):
"""
Gets the private_source_scan_hosts of this UpdatePrivateAccessChannelDetails.
- List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
+ List of private source database SCAN hosts registered with the private access channel for access from the Analytics instance.
:return: The private_source_scan_hosts of this UpdatePrivateAccessChannelDetails.
@@ -184,7 +184,7 @@ def private_source_scan_hosts(self):
def private_source_scan_hosts(self, private_source_scan_hosts):
"""
Sets the private_source_scan_hosts of this UpdatePrivateAccessChannelDetails.
- List of Private Source DB SCAN hosts registered with Private Access Channel for access from Analytics Instance.
+ List of private source database SCAN hosts registered with the private access channel for access from the Analytics instance.
:param private_source_scan_hosts: The private_source_scan_hosts of this UpdatePrivateAccessChannelDetails.
@@ -196,7 +196,7 @@ def private_source_scan_hosts(self, private_source_scan_hosts):
def network_security_group_ids(self):
"""
Gets the network_security_group_ids of this UpdatePrivateAccessChannelDetails.
- Network Security Group OCIDs for an Analytics instance.
+ Network Security Group OCIDs for the Analytics instance.
:return: The network_security_group_ids of this UpdatePrivateAccessChannelDetails.
@@ -208,7 +208,7 @@ def network_security_group_ids(self):
def network_security_group_ids(self, network_security_group_ids):
"""
Sets the network_security_group_ids of this UpdatePrivateAccessChannelDetails.
- Network Security Group OCIDs for an Analytics instance.
+ Network Security Group OCIDs for the Analytics instance.
:param network_security_group_ids: The network_security_group_ids of this UpdatePrivateAccessChannelDetails.
diff --git a/src/oci/analytics/models/update_resource_group_details.py b/src/oci/analytics/models/update_resource_group_details.py
new file mode 100644
index 0000000000..46f2e6ff57
--- /dev/null
+++ b/src/oci/analytics/models/update_resource_group_details.py
@@ -0,0 +1,163 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190331
+
+
+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 UpdateResourceGroupDetails(object):
+ """
+ Input payload to update a resource group.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateResourceGroupDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param resource_name:
+ The value to assign to the resource_name property of this UpdateResourceGroupDetails.
+ :type resource_name: str
+
+ :param display_name:
+ The value to assign to the display_name property of this UpdateResourceGroupDetails.
+ :type display_name: str
+
+ :param description:
+ The value to assign to the description property of this UpdateResourceGroupDetails.
+ :type description: str
+
+ :param capacity:
+ The value to assign to the capacity property of this UpdateResourceGroupDetails.
+ :type capacity: int
+
+ """
+ self.swagger_types = {
+ 'resource_name': 'str',
+ 'display_name': 'str',
+ 'description': 'str',
+ 'capacity': 'int'
+ }
+ self.attribute_map = {
+ 'resource_name': 'resourceName',
+ 'display_name': 'displayName',
+ 'description': 'description',
+ 'capacity': 'capacity'
+ }
+ self._resource_name = None
+ self._display_name = None
+ self._description = None
+ self._capacity = None
+
+ @property
+ def resource_name(self):
+ """
+ **[Required]** Gets the resource_name of this UpdateResourceGroupDetails.
+ Meaningful name of resource group for end user
+
+
+ :return: The resource_name of this UpdateResourceGroupDetails.
+ :rtype: str
+ """
+ return self._resource_name
+
+ @resource_name.setter
+ def resource_name(self, resource_name):
+ """
+ Sets the resource_name of this UpdateResourceGroupDetails.
+ Meaningful name of resource group for end user
+
+
+ :param resource_name: The resource_name of this UpdateResourceGroupDetails.
+ :type: str
+ """
+ self._resource_name = resource_name
+
+ @property
+ def display_name(self):
+ """
+ Gets the display_name of this UpdateResourceGroupDetails.
+ Meaningful name of resource group for end user
+
+
+ :return: The display_name of this UpdateResourceGroupDetails.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this UpdateResourceGroupDetails.
+ Meaningful name of resource group for end user
+
+
+ :param display_name: The display_name of this UpdateResourceGroupDetails.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def description(self):
+ """
+ Gets the description of this UpdateResourceGroupDetails.
+ Optional description of the resource group
+
+
+ :return: The description of this UpdateResourceGroupDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this UpdateResourceGroupDetails.
+ Optional description of the resource group
+
+
+ :param description: The description of this UpdateResourceGroupDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def capacity(self):
+ """
+ **[Required]** Gets the capacity of this UpdateResourceGroupDetails.
+ The capacity (in OCPU's) to be allocated for this resource.
+
+
+ :return: The capacity of this UpdateResourceGroupDetails.
+ :rtype: int
+ """
+ return self._capacity
+
+ @capacity.setter
+ def capacity(self, capacity):
+ """
+ Sets the capacity of this UpdateResourceGroupDetails.
+ The capacity (in OCPU's) to be allocated for this resource.
+
+
+ :param capacity: The capacity of this UpdateResourceGroupDetails.
+ :type: int
+ """
+ self._capacity = capacity
+
+ 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/analytics/models/update_vanity_url_details.py b/src/oci/analytics/models/update_vanity_url_details.py
index 00d7a10b39..4d96e8b830 100644
--- a/src/oci/analytics/models/update_vanity_url_details.py
+++ b/src/oci/analytics/models/update_vanity_url_details.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class UpdateVanityUrlDetails(object):
"""
- Input payload to update a vanity url.
+ Input payload to update a vanity URL.
"""
def __init__(self, **kwargs):
@@ -58,7 +58,7 @@ def __init__(self, **kwargs):
def passphrase(self):
"""
Gets the passphrase of this UpdateVanityUrlDetails.
- Passphrase for the PEM Private key (if any).
+ Passphrase for the PEM private key (if any).
:return: The passphrase of this UpdateVanityUrlDetails.
@@ -70,7 +70,7 @@ def passphrase(self):
def passphrase(self, passphrase):
"""
Sets the passphrase of this UpdateVanityUrlDetails.
- Passphrase for the PEM Private key (if any).
+ Passphrase for the PEM private key (if any).
:param passphrase: The passphrase of this UpdateVanityUrlDetails.
@@ -82,7 +82,7 @@ def passphrase(self, passphrase):
def private_key(self):
"""
**[Required]** Gets the private_key of this UpdateVanityUrlDetails.
- PEM Private key for HTTPS connections.
+ PEM private key for HTTPS connections.
:return: The private_key of this UpdateVanityUrlDetails.
@@ -94,7 +94,7 @@ def private_key(self):
def private_key(self, private_key):
"""
Sets the private_key of this UpdateVanityUrlDetails.
- PEM Private key for HTTPS connections.
+ PEM private key for HTTPS connections.
:param private_key: The private_key of this UpdateVanityUrlDetails.
@@ -130,7 +130,7 @@ def public_certificate(self, public_certificate):
def ca_certificate(self):
"""
**[Required]** Gets the ca_certificate of this UpdateVanityUrlDetails.
- PEM CA certificate(s) for HTTPS connections. This may include multiple PEM certificates.
+ PEM CA certificates for HTTPS connections. This may include multiple PEM certificates.
:return: The ca_certificate of this UpdateVanityUrlDetails.
@@ -142,7 +142,7 @@ def ca_certificate(self):
def ca_certificate(self, ca_certificate):
"""
Sets the ca_certificate of this UpdateVanityUrlDetails.
- PEM CA certificate(s) for HTTPS connections. This may include multiple PEM certificates.
+ PEM CA certificates for HTTPS connections. This may include multiple PEM certificates.
:param ca_certificate: The ca_certificate of this UpdateVanityUrlDetails.
diff --git a/src/oci/analytics/models/vanity_url_details.py b/src/oci/analytics/models/vanity_url_details.py
index 46c20af393..d7c69ad7b9 100644
--- a/src/oci/analytics/models/vanity_url_details.py
+++ b/src/oci/analytics/models/vanity_url_details.py
@@ -12,7 +12,7 @@
@init_model_state_from_kwargs
class VanityUrlDetails(object):
"""
- Vanity url configuration details.
+ Vanity URL configuration details.
"""
def __init__(self, **kwargs):
@@ -65,7 +65,7 @@ def __init__(self, **kwargs):
def key(self):
"""
Gets the key of this VanityUrlDetails.
- The vanity url unique identifier key.
+ The vanity URL unique identifier key.
:return: The key of this VanityUrlDetails.
@@ -77,7 +77,7 @@ def key(self):
def key(self, key):
"""
Sets the key of this VanityUrlDetails.
- The vanity url unique identifier key.
+ The vanity URL unique identifier key.
:param key: The key of this VanityUrlDetails.
@@ -89,7 +89,7 @@ def key(self, key):
def description(self):
"""
Gets the description of this VanityUrlDetails.
- Description of the vanity url.
+ Description of the vanity URL.
:return: The description of this VanityUrlDetails.
@@ -101,7 +101,7 @@ def description(self):
def description(self, description):
"""
Sets the description of this VanityUrlDetails.
- Description of the vanity url.
+ Description of the vanity URL.
:param description: The description of this VanityUrlDetails.
@@ -113,7 +113,7 @@ def description(self, description):
def urls(self):
"""
Gets the urls of this VanityUrlDetails.
- List of urls supported by this vanity URL definition (max of 3).
+ List of URLs supported by this vanity URL definition (maximum of 3).
:return: The urls of this VanityUrlDetails.
@@ -125,7 +125,7 @@ def urls(self):
def urls(self, urls):
"""
Sets the urls of this VanityUrlDetails.
- List of urls supported by this vanity URL definition (max of 3).
+ List of URLs supported by this vanity URL definition (maximum of 3).
:param urls: The urls of this VanityUrlDetails.
@@ -137,7 +137,7 @@ def urls(self, urls):
def hosts(self):
"""
Gets the hosts of this VanityUrlDetails.
- List of fully qualified hostnames supported by this vanity URL definition (max of 3).
+ List of fully-qualified hostnames supported by this vanity URL definition (maximum of 3).
:return: The hosts of this VanityUrlDetails.
@@ -149,7 +149,7 @@ def hosts(self):
def hosts(self, hosts):
"""
Sets the hosts of this VanityUrlDetails.
- List of fully qualified hostnames supported by this vanity URL definition (max of 3).
+ List of fully-qualified hostnames supported by this vanity URL definition (maximum of 3).
:param hosts: The hosts of this VanityUrlDetails.
diff --git a/src/oci/analytics/models/work_request.py b/src/oci/analytics/models/work_request.py
index 849ff83937..165798f8e4 100644
--- a/src/oci/analytics/models/work_request.py
+++ b/src/oci/analytics/models/work_request.py
@@ -71,6 +71,22 @@ class WorkRequest(object):
#: This constant has a value of "UPDATE_INSTANCE_ENCRYPTION_KEY"
OPERATION_TYPE_UPDATE_INSTANCE_ENCRYPTION_KEY = "UPDATE_INSTANCE_ENCRYPTION_KEY"
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "CREATE_RESOURCE_GROUP"
+ OPERATION_TYPE_CREATE_RESOURCE_GROUP = "CREATE_RESOURCE_GROUP"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "UPDATE_RESOURCE_GROUP"
+ OPERATION_TYPE_UPDATE_RESOURCE_GROUP = "UPDATE_RESOURCE_GROUP"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "DELETE_RESOURCE_GROUP"
+ OPERATION_TYPE_DELETE_RESOURCE_GROUP = "DELETE_RESOURCE_GROUP"
+
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "SET_FEATURE_SET"
+ OPERATION_TYPE_SET_FEATURE_SET = "SET_FEATURE_SET"
+
#: A constant which can be used with the status property of a WorkRequest.
#: This constant has a value of "ACCEPTED"
STATUS_ACCEPTED = "ACCEPTED"
@@ -106,7 +122,7 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this WorkRequest.
- Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", "CREATE_RESOURCE_GROUP", "UPDATE_RESOURCE_GROUP", "DELETE_RESOURCE_GROUP", "SET_FEATURE_SET", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
@@ -203,7 +219,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this WorkRequest.
The operation performed by the work request.
- Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", "CREATE_RESOURCE_GROUP", "UPDATE_RESOURCE_GROUP", "DELETE_RESOURCE_GROUP", "SET_FEATURE_SET", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -222,7 +238,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequest.
:type: str
"""
- allowed_values = ["CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY"]
+ allowed_values = ["CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", "CREATE_RESOURCE_GROUP", "UPDATE_RESOURCE_GROUP", "DELETE_RESOURCE_GROUP", "SET_FEATURE_SET"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
diff --git a/src/oci/analytics/models/work_request_error.py b/src/oci/analytics/models/work_request_error.py
index 2ab0e4bb38..6aa90a88c0 100644
--- a/src/oci/analytics/models/work_request_error.py
+++ b/src/oci/analytics/models/work_request_error.py
@@ -51,7 +51,7 @@ def __init__(self, **kwargs):
def code(self):
"""
**[Required]** Gets the code of this WorkRequestError.
- A short error code that defines the error, meant for programmatic parsing.
+ A short error code that defines the error, for programmatic parsing.
:return: The code of this WorkRequestError.
@@ -63,7 +63,7 @@ def code(self):
def code(self, code):
"""
Sets the code of this WorkRequestError.
- A short error code that defines the error, meant for programmatic parsing.
+ A short error code that defines the error, for programmatic parsing.
:param code: The code of this WorkRequestError.
@@ -99,7 +99,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestError.
- The date and time the error occured, in the format defined by RFC3339.
+ The date and time the error occurred, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -113,7 +113,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestError.
- The date and time the error occured, in the format defined by RFC3339.
+ The date and time the error occurred, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
diff --git a/src/oci/analytics/models/work_request_log.py b/src/oci/analytics/models/work_request_log.py
index a01c9556b3..7319a46ca9 100644
--- a/src/oci/analytics/models/work_request_log.py
+++ b/src/oci/analytics/models/work_request_log.py
@@ -68,7 +68,7 @@ def message(self, message):
def timestamp(self):
"""
**[Required]** Gets the timestamp of this WorkRequestLog.
- The date and time the log entry occured, in the format defined by RFC3339.
+ The date and time the log entry occurred, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
@@ -82,7 +82,7 @@ def timestamp(self):
def timestamp(self, timestamp):
"""
Sets the timestamp of this WorkRequestLog.
- The date and time the log entry occured, in the format defined by RFC3339.
+ The date and time the log entry occurred, in the format defined by RFC3339.
Example: `2016-08-25T21:10:29.600Z`
diff --git a/src/oci/analytics/models/work_request_resource.py b/src/oci/analytics/models/work_request_resource.py
index addb984d28..937aec3389 100644
--- a/src/oci/analytics/models/work_request_resource.py
+++ b/src/oci/analytics/models/work_request_resource.py
@@ -71,6 +71,18 @@ class WorkRequestResource(object):
#: This constant has a value of "NONE"
ACTION_RESULT_NONE = "NONE"
+ #: A constant which can be used with the action_result property of a WorkRequestResource.
+ #: This constant has a value of "RESOURCE_GROUP_CREATED"
+ ACTION_RESULT_RESOURCE_GROUP_CREATED = "RESOURCE_GROUP_CREATED"
+
+ #: A constant which can be used with the action_result property of a WorkRequestResource.
+ #: This constant has a value of "RESOURCE_GROUP_UPDATED"
+ ACTION_RESULT_RESOURCE_GROUP_UPDATED = "RESOURCE_GROUP_UPDATED"
+
+ #: A constant which can be used with the action_result property of a WorkRequestResource.
+ #: This constant has a value of "RESOURCE_GROUP_DELETED"
+ ACTION_RESULT_RESOURCE_GROUP_DELETED = "RESOURCE_GROUP_DELETED"
+
#: A constant which can be used with the resource_type property of a WorkRequestResource.
#: This constant has a value of "ANALYTICS_INSTANCE"
RESOURCE_TYPE_ANALYTICS_INSTANCE = "ANALYTICS_INSTANCE"
@@ -82,7 +94,7 @@ def __init__(self, **kwargs):
:param action_result:
The value to assign to the action_result property of this WorkRequestResource.
- Allowed values for this property are: "COMPARTMENT_CHANGED", "CREATED", "DELETED", "STARTED", "STOPPED", "SCALED", "NETWORK_ENDPOINT_CHANGED", "VANITY_URL_CREATED", "VANITY_URL_UPDATED", "VANITY_URL_DELETED", "PRIVATE_ACCESS_CHANNEL_CREATED", "PRIVATE_ACCESS_CHANNEL_UPDATED", "PRIVATE_ACCESS_CHANNEL_DELETED", "NONE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "COMPARTMENT_CHANGED", "CREATED", "DELETED", "STARTED", "STOPPED", "SCALED", "NETWORK_ENDPOINT_CHANGED", "VANITY_URL_CREATED", "VANITY_URL_UPDATED", "VANITY_URL_DELETED", "PRIVATE_ACCESS_CHANNEL_CREATED", "PRIVATE_ACCESS_CHANNEL_UPDATED", "PRIVATE_ACCESS_CHANNEL_DELETED", "NONE", "RESOURCE_GROUP_CREATED", "RESOURCE_GROUP_UPDATED", "RESOURCE_GROUP_DELETED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type action_result: str
@@ -129,9 +141,9 @@ def __init__(self, **kwargs):
def action_result(self):
"""
**[Required]** Gets the action_result of this WorkRequestResource.
- The way in which this resource was affected by this work request.
+ The way this resource was affected by this work request.
- Allowed values for this property are: "COMPARTMENT_CHANGED", "CREATED", "DELETED", "STARTED", "STOPPED", "SCALED", "NETWORK_ENDPOINT_CHANGED", "VANITY_URL_CREATED", "VANITY_URL_UPDATED", "VANITY_URL_DELETED", "PRIVATE_ACCESS_CHANNEL_CREATED", "PRIVATE_ACCESS_CHANNEL_UPDATED", "PRIVATE_ACCESS_CHANNEL_DELETED", "NONE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "COMPARTMENT_CHANGED", "CREATED", "DELETED", "STARTED", "STOPPED", "SCALED", "NETWORK_ENDPOINT_CHANGED", "VANITY_URL_CREATED", "VANITY_URL_UPDATED", "VANITY_URL_DELETED", "PRIVATE_ACCESS_CHANNEL_CREATED", "PRIVATE_ACCESS_CHANNEL_UPDATED", "PRIVATE_ACCESS_CHANNEL_DELETED", "NONE", "RESOURCE_GROUP_CREATED", "RESOURCE_GROUP_UPDATED", "RESOURCE_GROUP_DELETED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -144,13 +156,13 @@ def action_result(self):
def action_result(self, action_result):
"""
Sets the action_result of this WorkRequestResource.
- The way in which this resource was affected by this work request.
+ The way this resource was affected by this work request.
:param action_result: The action_result of this WorkRequestResource.
:type: str
"""
- allowed_values = ["COMPARTMENT_CHANGED", "CREATED", "DELETED", "STARTED", "STOPPED", "SCALED", "NETWORK_ENDPOINT_CHANGED", "VANITY_URL_CREATED", "VANITY_URL_UPDATED", "VANITY_URL_DELETED", "PRIVATE_ACCESS_CHANNEL_CREATED", "PRIVATE_ACCESS_CHANNEL_UPDATED", "PRIVATE_ACCESS_CHANNEL_DELETED", "NONE"]
+ allowed_values = ["COMPARTMENT_CHANGED", "CREATED", "DELETED", "STARTED", "STOPPED", "SCALED", "NETWORK_ENDPOINT_CHANGED", "VANITY_URL_CREATED", "VANITY_URL_UPDATED", "VANITY_URL_DELETED", "PRIVATE_ACCESS_CHANNEL_CREATED", "PRIVATE_ACCESS_CHANNEL_UPDATED", "PRIVATE_ACCESS_CHANNEL_DELETED", "NONE", "RESOURCE_GROUP_CREATED", "RESOURCE_GROUP_UPDATED", "RESOURCE_GROUP_DELETED"]
if not value_allowed_none_or_none_sentinel(action_result, allowed_values):
action_result = 'UNKNOWN_ENUM_VALUE'
self._action_result = action_result
diff --git a/src/oci/analytics/models/work_request_summary.py b/src/oci/analytics/models/work_request_summary.py
index 736e015eb3..2035cfbdce 100644
--- a/src/oci/analytics/models/work_request_summary.py
+++ b/src/oci/analytics/models/work_request_summary.py
@@ -71,6 +71,22 @@ class WorkRequestSummary(object):
#: This constant has a value of "UPDATE_INSTANCE_ENCRYPTION_KEY"
OPERATION_TYPE_UPDATE_INSTANCE_ENCRYPTION_KEY = "UPDATE_INSTANCE_ENCRYPTION_KEY"
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "CREATE_RESOURCE_GROUP"
+ OPERATION_TYPE_CREATE_RESOURCE_GROUP = "CREATE_RESOURCE_GROUP"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "UPDATE_RESOURCE_GROUP"
+ OPERATION_TYPE_UPDATE_RESOURCE_GROUP = "UPDATE_RESOURCE_GROUP"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "DELETE_RESOURCE_GROUP"
+ OPERATION_TYPE_DELETE_RESOURCE_GROUP = "DELETE_RESOURCE_GROUP"
+
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "SET_FEATURE_SET"
+ OPERATION_TYPE_SET_FEATURE_SET = "SET_FEATURE_SET"
+
#: A constant which can be used with the status property of a WorkRequestSummary.
#: This constant has a value of "ACCEPTED"
STATUS_ACCEPTED = "ACCEPTED"
@@ -106,7 +122,7 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this WorkRequestSummary.
- Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", "CREATE_RESOURCE_GROUP", "UPDATE_RESOURCE_GROUP", "DELETE_RESOURCE_GROUP", "SET_FEATURE_SET", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
@@ -196,7 +212,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this WorkRequestSummary.
The operation performed by the work request.
- Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", "CREATE_RESOURCE_GROUP", "UPDATE_RESOURCE_GROUP", "DELETE_RESOURCE_GROUP", "SET_FEATURE_SET", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -215,7 +231,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequestSummary.
:type: str
"""
- allowed_values = ["CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY"]
+ allowed_values = ["CREATE_ANALYTICS_INSTANCE", "DELETE_ANALYTICS_INSTANCE", "START_ANALYTICS_INSTANCE", "STOP_ANALYTICS_INSTANCE", "SCALE_ANALYTICS_INSTANCE", "CHANGE_ANALYTICS_INSTANCE_COMPARTMENT", "CHANGE_ANALYTICS_INSTANCE_NETWORK_ENDPOINT", "CREATE_VANITY_URL", "UPDATE_VANITY_URL", "DELETE_VANITY_URL", "CREATE_PRIVATE_ACCESS_CHANNEL", "UPDATE_PRIVATE_ACCESS_CHANNEL", "DELETE_PRIVATE_ACCESS_CHANNEL", "UPDATE_INSTANCE_ENCRYPTION_KEY", "CREATE_RESOURCE_GROUP", "UPDATE_RESOURCE_GROUP", "DELETE_RESOURCE_GROUP", "SET_FEATURE_SET"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
diff --git a/src/oci/apiaccesscontrol/api_metadata_client.py b/src/oci/apiaccesscontrol/api_metadata_client.py
index 9f3e226321..0f1d4f8e60 100644
--- a/src/oci/apiaccesscontrol/api_metadata_client.py
+++ b/src/oci/apiaccesscontrol/api_metadata_client.py
@@ -239,12 +239,12 @@ def get_api_metadata(self, api_metadata_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_api_metadata(self, **kwargs):
+ def list_api_metadata(self, compartment_id, **kwargs):
"""
Gets a list of ApiMetadata.
- :param str compartment_id: (optional)
+ :param str compartment_id: (required)
The `OCID`__ of the compartment in which to list resources.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -315,7 +315,7 @@ def list_api_metadata(self, **kwargs):
Click `here `__ to see an example of how to use list_api_metadata API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = []
+ required_arguments = ['compartmentId']
resource_path = "/apiMetadatas"
method = "GET"
operation_name = "list_api_metadata"
@@ -326,7 +326,6 @@ def list_api_metadata(self, **kwargs):
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "compartment_id",
"lifecycle_state",
"resource_type",
"display_name",
@@ -363,7 +362,7 @@ def list_api_metadata(self, **kwargs):
)
query_params = {
- "compartmentId": kwargs.get("compartment_id", missing),
+ "compartmentId": compartment_id,
"lifecycleState": kwargs.get("lifecycle_state", missing),
"resourceType": kwargs.get("resource_type", missing),
"displayName": kwargs.get("display_name", missing),
@@ -417,12 +416,12 @@ def list_api_metadata(self, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_api_metadata_by_entity_types(self, **kwargs):
+ def list_api_metadata_by_entity_types(self, compartment_id, **kwargs):
"""
Gets a list of ApiMetadata Grouped By Entity Types.
- :param str compartment_id: (optional)
+ :param str compartment_id: (required)
The `OCID`__ of the compartment in which to list resources.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -493,7 +492,7 @@ def list_api_metadata_by_entity_types(self, **kwargs):
Click `here `__ to see an example of how to use list_api_metadata_by_entity_types API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = []
+ required_arguments = ['compartmentId']
resource_path = "/apiMetadatas/byEntityType"
method = "GET"
operation_name = "list_api_metadata_by_entity_types"
@@ -504,7 +503,6 @@ def list_api_metadata_by_entity_types(self, **kwargs):
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "compartment_id",
"lifecycle_state",
"resource_type",
"display_name",
@@ -541,7 +539,7 @@ def list_api_metadata_by_entity_types(self, **kwargs):
)
query_params = {
- "compartmentId": kwargs.get("compartment_id", missing),
+ "compartmentId": compartment_id,
"lifecycleState": kwargs.get("lifecycle_state", missing),
"resourceType": kwargs.get("resource_type", missing),
"displayName": kwargs.get("display_name", missing),
diff --git a/src/oci/apiaccesscontrol/models/__init__.py b/src/oci/apiaccesscontrol/models/__init__.py
index abb81b254e..fcd90825ce 100644
--- a/src/oci/apiaccesscontrol/models/__init__.py
+++ b/src/oci/apiaccesscontrol/models/__init__.py
@@ -13,6 +13,7 @@
from .api_metadata_summary import ApiMetadataSummary
from .approve_privileged_api_request_details import ApprovePrivilegedApiRequestDetails
from .approver_detail import ApproverDetail
+from .approver_group_level import ApproverGroupLevel
from .change_privileged_api_control_compartment_details import ChangePrivilegedApiControlCompartmentDetails
from .close_privileged_api_request_details import ClosePrivilegedApiRequestDetails
from .create_privileged_api_control_details import CreatePrivilegedApiControlDetails
@@ -46,6 +47,7 @@
"ApiMetadataSummary": ApiMetadataSummary,
"ApprovePrivilegedApiRequestDetails": ApprovePrivilegedApiRequestDetails,
"ApproverDetail": ApproverDetail,
+ "ApproverGroupLevel": ApproverGroupLevel,
"ChangePrivilegedApiControlCompartmentDetails": ChangePrivilegedApiControlCompartmentDetails,
"ClosePrivilegedApiRequestDetails": ClosePrivilegedApiRequestDetails,
"CreatePrivilegedApiControlDetails": CreatePrivilegedApiControlDetails,
diff --git a/src/oci/apiaccesscontrol/models/api_metadata.py b/src/oci/apiaccesscontrol/models/api_metadata.py
index e860b64c73..a4cd387c7f 100644
--- a/src/oci/apiaccesscontrol/models/api_metadata.py
+++ b/src/oci/apiaccesscontrol/models/api_metadata.py
@@ -78,6 +78,10 @@ def __init__(self, **kwargs):
The value to assign to the fields property of this ApiMetadata.
:type fields: list[str]
+ :param attributes:
+ The value to assign to the attributes property of this ApiMetadata.
+ :type attributes: list[str]
+
:param time_created:
The value to assign to the time_created property of this ApiMetadata.
:type time_created: datetime
@@ -121,6 +125,7 @@ def __init__(self, **kwargs):
'entity_type': 'str',
'api_name': 'str',
'fields': 'list[str]',
+ 'attributes': 'list[str]',
'time_created': 'datetime',
'time_updated': 'datetime',
'time_deleted': 'datetime',
@@ -138,6 +143,7 @@ def __init__(self, **kwargs):
'entity_type': 'entityType',
'api_name': 'apiName',
'fields': 'fields',
+ 'attributes': 'attributes',
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'time_deleted': 'timeDeleted',
@@ -154,6 +160,7 @@ def __init__(self, **kwargs):
self._entity_type = None
self._api_name = None
self._fields = None
+ self._attributes = None
self._time_created = None
self._time_updated = None
self._time_deleted = None
@@ -315,7 +322,7 @@ def api_name(self, api_name):
def fields(self):
"""
Gets the fields of this ApiMetadata.
- List of the fields that is use while calling post or put for the data.
+ deprecated; Use attributes field instead.
:return: The fields of this ApiMetadata.
@@ -327,7 +334,7 @@ def fields(self):
def fields(self, fields):
"""
Sets the fields of this ApiMetadata.
- List of the fields that is use while calling post or put for the data.
+ deprecated; Use attributes field instead.
:param fields: The fields of this ApiMetadata.
@@ -335,6 +342,30 @@ def fields(self, fields):
"""
self._fields = fields
+ @property
+ def attributes(self):
+ """
+ Gets the attributes of this ApiMetadata.
+ List of the fields that is use while calling post or put for the data.
+
+
+ :return: The attributes of this ApiMetadata.
+ :rtype: list[str]
+ """
+ return self._attributes
+
+ @attributes.setter
+ def attributes(self, attributes):
+ """
+ Sets the attributes of this ApiMetadata.
+ List of the fields that is use while calling post or put for the data.
+
+
+ :param attributes: The attributes of this ApiMetadata.
+ :type: list[str]
+ """
+ self._attributes = attributes
+
@property
def time_created(self):
"""
diff --git a/src/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.py b/src/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.py
index 8877427b3b..c444f18a96 100644
--- a/src/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.py
+++ b/src/oci/apiaccesscontrol/models/api_metadata_by_entity_type_summary.py
@@ -20,6 +20,10 @@ def __init__(self, **kwargs):
Initializes a new ApiMetadataByEntityTypeSummary 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 ApiMetadataByEntityTypeSummary.
+ :type compartment_id: str
+
:param entity_type:
The value to assign to the entity_type property of this ApiMetadataByEntityTypeSummary.
:type entity_type: str
@@ -42,6 +46,7 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
+ 'compartment_id': 'str',
'entity_type': 'str',
'api_metadatas': 'list[ApiMetadataSummary]',
'freeform_tags': 'dict(str, str)',
@@ -49,18 +54,44 @@ def __init__(self, **kwargs):
'system_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
+ 'compartment_id': 'compartmentId',
'entity_type': 'entityType',
'api_metadatas': 'apiMetadatas',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
}
+ self._compartment_id = None
self._entity_type = None
self._api_metadatas = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
+ @property
+ def compartment_id(self):
+ """
+ Gets the compartment_id of this ApiMetadataByEntityTypeSummary.
+ The OCID of the compartment that contains the Service Provider Action.
+
+
+ :return: The compartment_id of this ApiMetadataByEntityTypeSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this ApiMetadataByEntityTypeSummary.
+ The OCID of the compartment that contains the Service Provider Action.
+
+
+ :param compartment_id: The compartment_id of this ApiMetadataByEntityTypeSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
@property
def entity_type(self):
"""
diff --git a/src/oci/apiaccesscontrol/models/approver_detail.py b/src/oci/apiaccesscontrol/models/approver_detail.py
index debe166588..30309072cd 100644
--- a/src/oci/apiaccesscontrol/models/approver_detail.py
+++ b/src/oci/apiaccesscontrol/models/approver_detail.py
@@ -28,6 +28,10 @@ def __init__(self, **kwargs):
The value to assign to the approval_action property of this ApproverDetail.
:type approval_action: str
+ :param approver_group_level:
+ The value to assign to the approver_group_level property of this ApproverDetail.
+ :type approver_group_level: int
+
:param approval_comment:
The value to assign to the approval_comment property of this ApproverDetail.
:type approval_comment: str
@@ -44,6 +48,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'approver_id': 'str',
'approval_action': 'str',
+ 'approver_group_level': 'int',
'approval_comment': 'str',
'time_of_authorization': 'datetime',
'time_approved_for_access': 'datetime'
@@ -51,12 +56,14 @@ def __init__(self, **kwargs):
self.attribute_map = {
'approver_id': 'approverId',
'approval_action': 'approvalAction',
+ 'approver_group_level': 'approverGroupLevel',
'approval_comment': 'approvalComment',
'time_of_authorization': 'timeOfAuthorization',
'time_approved_for_access': 'timeApprovedForAccess'
}
self._approver_id = None
self._approval_action = None
+ self._approver_group_level = None
self._approval_comment = None
self._time_of_authorization = None
self._time_approved_for_access = None
@@ -109,6 +116,30 @@ def approval_action(self, approval_action):
"""
self._approval_action = approval_action
+ @property
+ def approver_group_level(self):
+ """
+ Gets the approver_group_level of this ApproverDetail.
+ The group level at which the approver approved.
+
+
+ :return: The approver_group_level of this ApproverDetail.
+ :rtype: int
+ """
+ return self._approver_group_level
+
+ @approver_group_level.setter
+ def approver_group_level(self, approver_group_level):
+ """
+ Sets the approver_group_level of this ApproverDetail.
+ The group level at which the approver approved.
+
+
+ :param approver_group_level: The approver_group_level of this ApproverDetail.
+ :type: int
+ """
+ self._approver_group_level = approver_group_level
+
@property
def approval_comment(self):
"""
diff --git a/src/oci/apiaccesscontrol/models/approver_group_level.py b/src/oci/apiaccesscontrol/models/approver_group_level.py
new file mode 100644
index 0000000000..bed2052a98
--- /dev/null
+++ b/src/oci/apiaccesscontrol/models/approver_group_level.py
@@ -0,0 +1,101 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20241130
+
+
+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 ApproverGroupLevel(object):
+ """
+ It represents the group level detail for authorization
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ApproverGroupLevel object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param group_id:
+ The value to assign to the group_id property of this ApproverGroupLevel.
+ :type group_id: list[str]
+
+ :param group_level:
+ The value to assign to the group_level property of this ApproverGroupLevel.
+ :type group_level: int
+
+ """
+ self.swagger_types = {
+ 'group_id': 'list[str]',
+ 'group_level': 'int'
+ }
+ self.attribute_map = {
+ 'group_id': 'groupId',
+ 'group_level': 'groupLevel'
+ }
+ self._group_id = None
+ self._group_level = None
+
+ @property
+ def group_id(self):
+ """
+ **[Required]** Gets the group_id of this ApproverGroupLevel.
+ id of the group.
+
+
+ :return: The group_id of this ApproverGroupLevel.
+ :rtype: list[str]
+ """
+ return self._group_id
+
+ @group_id.setter
+ def group_id(self, group_id):
+ """
+ Sets the group_id of this ApproverGroupLevel.
+ id of the group.
+
+
+ :param group_id: The group_id of this ApproverGroupLevel.
+ :type: list[str]
+ """
+ self._group_id = group_id
+
+ @property
+ def group_level(self):
+ """
+ **[Required]** Gets the group_level of this ApproverGroupLevel.
+ level of the group.
+
+
+ :return: The group_level of this ApproverGroupLevel.
+ :rtype: int
+ """
+ return self._group_level
+
+ @group_level.setter
+ def group_level(self, group_level):
+ """
+ Sets the group_level of this ApproverGroupLevel.
+ level of the group.
+
+
+ :param group_level: The group_level of this ApproverGroupLevel.
+ :type: int
+ """
+ self._group_level = group_level
+
+ 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/apiaccesscontrol/models/create_privileged_api_control_details.py b/src/oci/apiaccesscontrol/models/create_privileged_api_control_details.py
index b8c09b8c77..02e77fdc8b 100644
--- a/src/oci/apiaccesscontrol/models/create_privileged_api_control_details.py
+++ b/src/oci/apiaccesscontrol/models/create_privileged_api_control_details.py
@@ -40,6 +40,10 @@ def __init__(self, **kwargs):
The value to assign to the approver_group_id_list property of this CreatePrivilegedApiControlDetails.
:type approver_group_id_list: list[str]
+ :param approver_group_level_list:
+ The value to assign to the approver_group_level_list property of this CreatePrivilegedApiControlDetails.
+ :type approver_group_level_list: list[oci.apiaccesscontrol.models.ApproverGroupLevel]
+
:param privileged_operation_list:
The value to assign to the privileged_operation_list property of this CreatePrivilegedApiControlDetails.
:type privileged_operation_list: list[oci.apiaccesscontrol.models.PrivilegedApiDetails]
@@ -71,6 +75,7 @@ def __init__(self, **kwargs):
'compartment_id': 'str',
'notification_topic_id': 'str',
'approver_group_id_list': 'list[str]',
+ 'approver_group_level_list': 'list[ApproverGroupLevel]',
'privileged_operation_list': 'list[PrivilegedApiDetails]',
'resource_type': 'str',
'resources': 'list[str]',
@@ -84,6 +89,7 @@ def __init__(self, **kwargs):
'compartment_id': 'compartmentId',
'notification_topic_id': 'notificationTopicId',
'approver_group_id_list': 'approverGroupIdList',
+ 'approver_group_level_list': 'approverGroupLevelList',
'privileged_operation_list': 'privilegedOperationList',
'resource_type': 'resourceType',
'resources': 'resources',
@@ -96,6 +102,7 @@ def __init__(self, **kwargs):
self._compartment_id = None
self._notification_topic_id = None
self._approver_group_id_list = None
+ self._approver_group_level_list = None
self._privileged_operation_list = None
self._resource_type = None
self._resources = None
@@ -183,7 +190,7 @@ def compartment_id(self, compartment_id):
def notification_topic_id(self):
"""
**[Required]** Gets the notification_topic_id of this CreatePrivilegedApiControlDetails.
- The OCID of the OCI Notification topic to publish messages related to this Delegation Control.
+ The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.
:return: The notification_topic_id of this CreatePrivilegedApiControlDetails.
@@ -195,7 +202,7 @@ def notification_topic_id(self):
def notification_topic_id(self, notification_topic_id):
"""
Sets the notification_topic_id of this CreatePrivilegedApiControlDetails.
- The OCID of the OCI Notification topic to publish messages related to this Delegation Control.
+ The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.
:param notification_topic_id: The notification_topic_id of this CreatePrivilegedApiControlDetails.
@@ -227,6 +234,30 @@ def approver_group_id_list(self, approver_group_id_list):
"""
self._approver_group_id_list = approver_group_id_list
+ @property
+ def approver_group_level_list(self):
+ """
+ Gets the approver_group_level_list of this CreatePrivilegedApiControlDetails.
+ List of Group containing the levels at which the users belonging to the group can authorize.
+
+
+ :return: The approver_group_level_list of this CreatePrivilegedApiControlDetails.
+ :rtype: list[oci.apiaccesscontrol.models.ApproverGroupLevel]
+ """
+ return self._approver_group_level_list
+
+ @approver_group_level_list.setter
+ def approver_group_level_list(self, approver_group_level_list):
+ """
+ Sets the approver_group_level_list of this CreatePrivilegedApiControlDetails.
+ List of Group containing the levels at which the users belonging to the group can authorize.
+
+
+ :param approver_group_level_list: The approver_group_level_list of this CreatePrivilegedApiControlDetails.
+ :type: list[oci.apiaccesscontrol.models.ApproverGroupLevel]
+ """
+ self._approver_group_level_list = approver_group_level_list
+
@property
def privileged_operation_list(self):
"""
@@ -278,7 +309,7 @@ def resource_type(self, resource_type):
@property
def resources(self):
"""
- **[Required]** Gets the resources of this CreatePrivilegedApiControlDetails.
+ Gets the resources of this CreatePrivilegedApiControlDetails.
contains Resource details
diff --git a/src/oci/apiaccesscontrol/models/create_privileged_api_request_details.py b/src/oci/apiaccesscontrol/models/create_privileged_api_request_details.py
index 7f9f678e40..5d147fabc9 100644
--- a/src/oci/apiaccesscontrol/models/create_privileged_api_request_details.py
+++ b/src/oci/apiaccesscontrol/models/create_privileged_api_request_details.py
@@ -169,7 +169,7 @@ def reason_summary(self, reason_summary):
@property
def compartment_id(self):
"""
- Gets the compartment_id of this CreatePrivilegedApiRequestDetails.
+ **[Required]** Gets the compartment_id of this CreatePrivilegedApiRequestDetails.
The `OCID`__ of the compartment.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
diff --git a/src/oci/apiaccesscontrol/models/privileged_api_control.py b/src/oci/apiaccesscontrol/models/privileged_api_control.py
index 7760f8e2c4..a83ac61905 100644
--- a/src/oci/apiaccesscontrol/models/privileged_api_control.py
+++ b/src/oci/apiaccesscontrol/models/privileged_api_control.py
@@ -78,6 +78,10 @@ def __init__(self, **kwargs):
The value to assign to the approver_group_id_list property of this PrivilegedApiControl.
:type approver_group_id_list: list[str]
+ :param approver_group_level_list:
+ The value to assign to the approver_group_level_list property of this PrivilegedApiControl.
+ :type approver_group_level_list: list[oci.apiaccesscontrol.models.ApproverGroupLevel]
+
:param resource_type:
The value to assign to the resource_type property of this PrivilegedApiControl.
:type resource_type: str
@@ -144,6 +148,7 @@ def __init__(self, **kwargs):
'description': 'str',
'notification_topic_id': 'str',
'approver_group_id_list': 'list[str]',
+ 'approver_group_level_list': 'list[ApproverGroupLevel]',
'resource_type': 'str',
'resources': 'list[str]',
'privileged_operation_list': 'list[PrivilegedApiDetails]',
@@ -166,6 +171,7 @@ def __init__(self, **kwargs):
'description': 'description',
'notification_topic_id': 'notificationTopicId',
'approver_group_id_list': 'approverGroupIdList',
+ 'approver_group_level_list': 'approverGroupLevelList',
'resource_type': 'resourceType',
'resources': 'resources',
'privileged_operation_list': 'privilegedOperationList',
@@ -187,6 +193,7 @@ def __init__(self, **kwargs):
self._description = None
self._notification_topic_id = None
self._approver_group_id_list = None
+ self._approver_group_level_list = None
self._resource_type = None
self._resources = None
self._privileged_operation_list = None
@@ -354,6 +361,30 @@ def approver_group_id_list(self, approver_group_id_list):
"""
self._approver_group_id_list = approver_group_id_list
+ @property
+ def approver_group_level_list(self):
+ """
+ Gets the approver_group_level_list of this PrivilegedApiControl.
+ List of Group containing the levels at which the users belonging to the group can authorize.
+
+
+ :return: The approver_group_level_list of this PrivilegedApiControl.
+ :rtype: list[oci.apiaccesscontrol.models.ApproverGroupLevel]
+ """
+ return self._approver_group_level_list
+
+ @approver_group_level_list.setter
+ def approver_group_level_list(self, approver_group_level_list):
+ """
+ Sets the approver_group_level_list of this PrivilegedApiControl.
+ List of Group containing the levels at which the users belonging to the group can authorize.
+
+
+ :param approver_group_level_list: The approver_group_level_list of this PrivilegedApiControl.
+ :type: list[oci.apiaccesscontrol.models.ApproverGroupLevel]
+ """
+ self._approver_group_level_list = approver_group_level_list
+
@property
def resource_type(self):
"""
@@ -455,7 +486,6 @@ def time_created(self):
"""
**[Required]** Gets the time_created of this PrivilegedApiControl.
The date and time the PrivilegedApiControl was created, in the format defined by `RFC 3339`__.
-
Example: `2016-08-25T21:10:29.600Z`
__ https://tools.ietf.org/html/rfc3339
@@ -471,7 +501,6 @@ def time_created(self, time_created):
"""
Sets the time_created of this PrivilegedApiControl.
The date and time the PrivilegedApiControl was created, in the format defined by `RFC 3339`__.
-
Example: `2016-08-25T21:10:29.600Z`
__ https://tools.ietf.org/html/rfc3339
diff --git a/src/oci/apiaccesscontrol/models/privileged_api_control_summary.py b/src/oci/apiaccesscontrol/models/privileged_api_control_summary.py
index 301b7fb0ee..a964e8775c 100644
--- a/src/oci/apiaccesscontrol/models/privileged_api_control_summary.py
+++ b/src/oci/apiaccesscontrol/models/privileged_api_control_summary.py
@@ -280,7 +280,6 @@ def time_updated(self):
"""
Gets the time_updated of this PrivilegedApiControlSummary.
The date and time the PrivilegedApiControl was updated, in the format defined by `RFC 3339`__.
-
Example: `2016-08-25T21:10:29.600Z`
__ https://tools.ietf.org/html/rfc3339
@@ -296,7 +295,6 @@ def time_updated(self, time_updated):
"""
Sets the time_updated of this PrivilegedApiControlSummary.
The date and time the PrivilegedApiControl was updated, in the format defined by `RFC 3339`__.
-
Example: `2016-08-25T21:10:29.600Z`
__ https://tools.ietf.org/html/rfc3339
diff --git a/src/oci/apiaccesscontrol/models/update_privileged_api_control_details.py b/src/oci/apiaccesscontrol/models/update_privileged_api_control_details.py
index c85e612250..b2ae525dbb 100644
--- a/src/oci/apiaccesscontrol/models/update_privileged_api_control_details.py
+++ b/src/oci/apiaccesscontrol/models/update_privileged_api_control_details.py
@@ -44,6 +44,10 @@ def __init__(self, **kwargs):
The value to assign to the approver_group_id_list property of this UpdatePrivilegedApiControlDetails.
:type approver_group_id_list: list[str]
+ :param approver_group_level_list:
+ The value to assign to the approver_group_level_list property of this UpdatePrivilegedApiControlDetails.
+ :type approver_group_level_list: list[oci.apiaccesscontrol.models.ApproverGroupLevel]
+
:param privileged_operation_list:
The value to assign to the privileged_operation_list property of this UpdatePrivilegedApiControlDetails.
:type privileged_operation_list: list[oci.apiaccesscontrol.models.PrivilegedApiDetails]
@@ -68,6 +72,7 @@ def __init__(self, **kwargs):
'resources': 'list[str]',
'notification_topic_id': 'str',
'approver_group_id_list': 'list[str]',
+ 'approver_group_level_list': 'list[ApproverGroupLevel]',
'privileged_operation_list': 'list[PrivilegedApiDetails]',
'number_of_approvers': 'int',
'freeform_tags': 'dict(str, str)',
@@ -80,6 +85,7 @@ def __init__(self, **kwargs):
'resources': 'resources',
'notification_topic_id': 'notificationTopicId',
'approver_group_id_list': 'approverGroupIdList',
+ 'approver_group_level_list': 'approverGroupLevelList',
'privileged_operation_list': 'privilegedOperationList',
'number_of_approvers': 'numberOfApprovers',
'freeform_tags': 'freeformTags',
@@ -91,6 +97,7 @@ def __init__(self, **kwargs):
self._resources = None
self._notification_topic_id = None
self._approver_group_id_list = None
+ self._approver_group_level_list = None
self._privileged_operation_list = None
self._number_of_approvers = None
self._freeform_tags = None
@@ -196,7 +203,7 @@ def resources(self, resources):
def notification_topic_id(self):
"""
Gets the notification_topic_id of this UpdatePrivilegedApiControlDetails.
- The OCID of the OCI Notification topic to publish messages related to this Delegation Control.
+ The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.
:return: The notification_topic_id of this UpdatePrivilegedApiControlDetails.
@@ -208,7 +215,7 @@ def notification_topic_id(self):
def notification_topic_id(self, notification_topic_id):
"""
Sets the notification_topic_id of this UpdatePrivilegedApiControlDetails.
- The OCID of the OCI Notification topic to publish messages related to this Delegation Control.
+ The OCID of the OCI Notification topic to publish messages related to this Privileged Api Control.
:param notification_topic_id: The notification_topic_id of this UpdatePrivilegedApiControlDetails.
@@ -240,6 +247,30 @@ def approver_group_id_list(self, approver_group_id_list):
"""
self._approver_group_id_list = approver_group_id_list
+ @property
+ def approver_group_level_list(self):
+ """
+ Gets the approver_group_level_list of this UpdatePrivilegedApiControlDetails.
+ List of Group containing the levels at which the users belonging to the group can authorize.
+
+
+ :return: The approver_group_level_list of this UpdatePrivilegedApiControlDetails.
+ :rtype: list[oci.apiaccesscontrol.models.ApproverGroupLevel]
+ """
+ return self._approver_group_level_list
+
+ @approver_group_level_list.setter
+ def approver_group_level_list(self, approver_group_level_list):
+ """
+ Sets the approver_group_level_list of this UpdatePrivilegedApiControlDetails.
+ List of Group containing the levels at which the users belonging to the group can authorize.
+
+
+ :param approver_group_level_list: The approver_group_level_list of this UpdatePrivilegedApiControlDetails.
+ :type: list[oci.apiaccesscontrol.models.ApproverGroupLevel]
+ """
+ self._approver_group_level_list = approver_group_level_list
+
@property
def privileged_operation_list(self):
"""
diff --git a/src/oci/apiaccesscontrol/privileged_api_control_client.py b/src/oci/apiaccesscontrol/privileged_api_control_client.py
index e40719eab6..f4896843da 100644
--- a/src/oci/apiaccesscontrol/privileged_api_control_client.py
+++ b/src/oci/apiaccesscontrol/privileged_api_control_client.py
@@ -608,12 +608,12 @@ def get_privileged_api_control(self, privileged_api_control_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_privileged_api_controls(self, **kwargs):
+ def list_privileged_api_controls(self, compartment_id, **kwargs):
"""
Gets a list of PrivilegedApiControls.
- :param str compartment_id: (optional)
+ :param str compartment_id: (required)
The `OCID`__ of the compartment in which to list resources.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -689,7 +689,7 @@ def list_privileged_api_controls(self, **kwargs):
Click `here `__ to see an example of how to use list_privileged_api_controls API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = []
+ required_arguments = ['compartmentId']
resource_path = "/privilegedApiControls"
method = "GET"
operation_name = "list_privileged_api_controls"
@@ -700,7 +700,6 @@ def list_privileged_api_controls(self, **kwargs):
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "compartment_id",
"id",
"lifecycle_state",
"display_name",
@@ -738,7 +737,7 @@ def list_privileged_api_controls(self, **kwargs):
)
query_params = {
- "compartmentId": kwargs.get("compartment_id", missing),
+ "compartmentId": compartment_id,
"id": kwargs.get("id", missing),
"lifecycleState": kwargs.get("lifecycle_state", missing),
"displayName": kwargs.get("display_name", missing),
diff --git a/src/oci/apiaccesscontrol/privileged_api_requests_client.py b/src/oci/apiaccesscontrol/privileged_api_requests_client.py
index c5c4158b33..43435b6733 100644
--- a/src/oci/apiaccesscontrol/privileged_api_requests_client.py
+++ b/src/oci/apiaccesscontrol/privileged_api_requests_client.py
@@ -603,12 +603,12 @@ def get_privileged_api_request(self, privileged_api_request_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_privileged_api_requests(self, **kwargs):
+ def list_privileged_api_requests(self, compartment_id, **kwargs):
"""
Lists all privilegedApi requests in the compartment.
- :param str compartment_id: (optional)
+ :param str compartment_id: (required)
The `OCID`__ of the compartment in which to list resources.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -695,7 +695,7 @@ def list_privileged_api_requests(self, **kwargs):
Click `here `__ to see an example of how to use list_privileged_api_requests API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = []
+ required_arguments = ['compartmentId']
resource_path = "/privilegedApiRequests"
method = "GET"
operation_name = "list_privileged_api_requests"
@@ -706,7 +706,6 @@ def list_privileged_api_requests(self, **kwargs):
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "compartment_id",
"id",
"display_name",
"resource_id",
@@ -753,7 +752,7 @@ def list_privileged_api_requests(self, **kwargs):
)
query_params = {
- "compartmentId": kwargs.get("compartment_id", missing),
+ "compartmentId": compartment_id,
"id": kwargs.get("id", missing),
"displayName": kwargs.get("display_name", missing),
"resourceId": kwargs.get("resource_id", missing),
diff --git a/src/oci/apiaccesscontrol/privileged_api_work_request_client.py b/src/oci/apiaccesscontrol/privileged_api_work_request_client.py
index a60087fb04..45d28d256e 100644
--- a/src/oci/apiaccesscontrol/privileged_api_work_request_client.py
+++ b/src/oci/apiaccesscontrol/privileged_api_work_request_client.py
@@ -679,12 +679,12 @@ def list_work_request_logs(self, work_request_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_work_requests(self, **kwargs):
+ def list_work_requests(self, compartment_id, **kwargs):
"""
Lists the work requests in a compartment.
- :param str compartment_id: (optional)
+ :param str compartment_id: (required)
The `OCID`__ of the compartment in which to list resources.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -757,7 +757,7 @@ def list_work_requests(self, **kwargs):
Click `here `__ to see an example of how to use list_work_requests API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = []
+ required_arguments = ['compartmentId']
resource_path = "/workRequests"
method = "GET"
operation_name = "list_work_requests"
@@ -768,7 +768,6 @@ def list_work_requests(self, **kwargs):
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "compartment_id",
"work_request_id",
"status",
"resource_id",
@@ -805,7 +804,7 @@ def list_work_requests(self, **kwargs):
)
query_params = {
- "compartmentId": kwargs.get("compartment_id", missing),
+ "compartmentId": compartment_id,
"workRequestId": kwargs.get("work_request_id", missing),
"status": kwargs.get("status", missing),
"resourceId": kwargs.get("resource_id", missing),
diff --git a/src/oci/apigateway/api_gateway_client.py b/src/oci/apigateway/api_gateway_client.py
index 782d77cc57..0b365b6c78 100644
--- a/src/oci/apigateway/api_gateway_client.py
+++ b/src/oci/apigateway/api_gateway_client.py
@@ -3376,7 +3376,7 @@ def update_sdk(self, sdk_id, update_sdk_details, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :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.apigateway.models.Sdk`
:rtype: :class:`~oci.response.Response`
:example:
@@ -3443,6 +3443,7 @@ def update_sdk(self, sdk_id, update_sdk_details, **kwargs):
query_params=query_params,
header_params=header_params,
body=update_sdk_details,
+ response_type="Sdk",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -3456,6 +3457,7 @@ def update_sdk(self, sdk_id, update_sdk_details, **kwargs):
query_params=query_params,
header_params=header_params,
body=update_sdk_details,
+ response_type="Sdk",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
diff --git a/src/oci/apigateway/api_gateway_client_composite_operations.py b/src/oci/apigateway/api_gateway_client_composite_operations.py
index 27a1277216..f1d4255523 100644
--- a/src/oci/apigateway/api_gateway_client_composite_operations.py
+++ b/src/oci/apigateway/api_gateway_client_composite_operations.py
@@ -678,3 +678,48 @@ def update_certificate_and_wait_for_state(self, certificate_id, update_certifica
return result_to_return
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def update_sdk_and_wait_for_state(self, sdk_id, update_sdk_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.apigateway.ApiGatewayClient.update_sdk` and waits for the :py:class:`~oci.apigateway.models.Sdk` acted upon
+ to enter the given state(s).
+
+ :param str sdk_id: (required)
+ The ocid of the SDK.
+
+ :param oci.apigateway.models.UpdateSdkDetails update_sdk_details: (required)
+ The information to be updated.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.apigateway.models.Sdk.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.apigateway.ApiGatewayClient.update_sdk`
+
+ :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_sdk(sdk_id, update_sdk_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ sdk_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_sdk(sdk_id), # noqa: F821
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except (NameError, TypeError) as e:
+ if not e.args:
+ e.args = ('',)
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
diff --git a/src/oci/apigateway/models/__init__.py b/src/oci/apigateway/models/__init__.py
index 31b105fff0..3d5b33df8a 100644
--- a/src/oci/apigateway/models/__init__.py
+++ b/src/oci/apigateway/models/__init__.py
@@ -92,6 +92,7 @@
from .mutual_tls_details import MutualTlsDetails
from .no_cache import NoCache
from .no_content_validation import NoContentValidation
+from .o_auth2_login_backend import OAuth2LoginBackend
from .o_auth2_logout_backend import OAuth2LogoutBackend
from .o_auth2_response_validation_failure_policy import OAuth2ResponseValidationFailurePolicy
from .oracle_function_backend import OracleFunctionBackend
@@ -256,6 +257,7 @@
"MutualTlsDetails": MutualTlsDetails,
"NoCache": NoCache,
"NoContentValidation": NoContentValidation,
+ "OAuth2LoginBackend": OAuth2LoginBackend,
"OAuth2LogoutBackend": OAuth2LogoutBackend,
"OAuth2ResponseValidationFailurePolicy": OAuth2ResponseValidationFailurePolicy,
"OracleFunctionBackend": OracleFunctionBackend,
diff --git a/src/oci/apigateway/models/api_specification_route_backend.py b/src/oci/apigateway/models/api_specification_route_backend.py
index b67713efde..b224a0638a 100644
--- a/src/oci/apigateway/models/api_specification_route_backend.py
+++ b/src/oci/apigateway/models/api_specification_route_backend.py
@@ -35,6 +35,10 @@ class ApiSpecificationRouteBackend(object):
#: This constant has a value of "OAUTH2_LOGOUT_BACKEND"
TYPE_OAUTH2_LOGOUT_BACKEND = "OAUTH2_LOGOUT_BACKEND"
+ #: A constant which can be used with the type property of a ApiSpecificationRouteBackend.
+ #: This constant has a value of "OAUTH2_LOGIN_BACKEND"
+ TYPE_OAUTH2_LOGIN_BACKEND = "OAUTH2_LOGIN_BACKEND"
+
def __init__(self, **kwargs):
"""
Initializes a new ApiSpecificationRouteBackend object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
@@ -44,13 +48,14 @@ def __init__(self, **kwargs):
* :class:`~oci.apigateway.models.HTTPBackend`
* :class:`~oci.apigateway.models.OracleFunctionBackend`
* :class:`~oci.apigateway.models.StockResponseBackend`
+ * :class:`~oci.apigateway.models.OAuth2LoginBackend`
* :class:`~oci.apigateway.models.DynamicRoutingBackend`
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 ApiSpecificationRouteBackend.
- Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", "OAUTH2_LOGIN_BACKEND", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type type: str
@@ -83,6 +88,9 @@ def get_subtype(object_dictionary):
if type == 'STOCK_RESPONSE_BACKEND':
return 'StockResponseBackend'
+ if type == 'OAUTH2_LOGIN_BACKEND':
+ return 'OAuth2LoginBackend'
+
if type == 'DYNAMIC_ROUTING_BACKEND':
return 'DynamicRoutingBackend'
else:
@@ -94,7 +102,7 @@ def type(self):
**[Required]** Gets the type of this ApiSpecificationRouteBackend.
Type of the API backend.
- Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", "OAUTH2_LOGIN_BACKEND", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -113,7 +121,7 @@ def type(self, type):
:param type: The type of this ApiSpecificationRouteBackend.
:type: str
"""
- allowed_values = ["ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND"]
+ allowed_values = ["ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", "OAUTH2_LOGIN_BACKEND"]
if not value_allowed_none_or_none_sentinel(type, allowed_values):
type = 'UNKNOWN_ENUM_VALUE'
self._type = type
diff --git a/src/oci/apigateway/models/dynamic_routing_backend.py b/src/oci/apigateway/models/dynamic_routing_backend.py
index 3c2ac81e06..85972e203a 100644
--- a/src/oci/apigateway/models/dynamic_routing_backend.py
+++ b/src/oci/apigateway/models/dynamic_routing_backend.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this DynamicRoutingBackend.
- Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND"
+ Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", "OAUTH2_LOGIN_BACKEND"
:type type: str
:param selection_source:
diff --git a/src/oci/apigateway/models/http_backend.py b/src/oci/apigateway/models/http_backend.py
index 5cfb510003..5cc21f61a8 100644
--- a/src/oci/apigateway/models/http_backend.py
+++ b/src/oci/apigateway/models/http_backend.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this HTTPBackend.
- Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND"
+ Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", "OAUTH2_LOGIN_BACKEND"
:type type: str
:param url:
diff --git a/src/oci/apigateway/models/json_web_key.py b/src/oci/apigateway/models/json_web_key.py
index b8c64fc374..b62c3ca967 100644
--- a/src/oci/apigateway/models/json_web_key.py
+++ b/src/oci/apigateway/models/json_web_key.py
@@ -197,7 +197,7 @@ def key_ops(self, key_ops):
@property
def alg(self):
"""
- **[Required]** Gets the alg of this JsonWebKey.
+ Gets the alg of this JsonWebKey.
The algorithm intended for use with this key.
diff --git a/src/oci/apigateway/models/o_auth2_login_backend.py b/src/oci/apigateway/models/o_auth2_login_backend.py
new file mode 100644
index 0000000000..8729e22896
--- /dev/null
+++ b/src/oci/apigateway/models/o_auth2_login_backend.py
@@ -0,0 +1,49 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190501
+
+from .api_specification_route_backend import ApiSpecificationRouteBackend
+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 OAuth2LoginBackend(ApiSpecificationRouteBackend):
+ """
+ Backend which completes OAuth2/OIDC flow post redirection from Idp.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new OAuth2LoginBackend object with values from keyword arguments. The default value of the :py:attr:`~oci.apigateway.models.OAuth2LoginBackend.type` attribute
+ of this class is ``OAUTH2_LOGIN_BACKEND`` and it should not be changed.
+ 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 OAuth2LoginBackend.
+ Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", "OAUTH2_LOGIN_BACKEND"
+ :type type: str
+
+ """
+ self.swagger_types = {
+ 'type': 'str'
+ }
+ self.attribute_map = {
+ 'type': 'type'
+ }
+ self._type = None
+ self._type = 'OAUTH2_LOGIN_BACKEND'
+
+ 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/apigateway/models/o_auth2_logout_backend.py b/src/oci/apigateway/models/o_auth2_logout_backend.py
index 37961a4ffa..93652d541a 100644
--- a/src/oci/apigateway/models/o_auth2_logout_backend.py
+++ b/src/oci/apigateway/models/o_auth2_logout_backend.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this OAuth2LogoutBackend.
- Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND"
+ Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", "OAUTH2_LOGIN_BACKEND"
:type type: str
:param allowed_post_logout_uris:
diff --git a/src/oci/apigateway/models/o_auth2_response_validation_failure_policy.py b/src/oci/apigateway/models/o_auth2_response_validation_failure_policy.py
index 7bba51e370..6d939ef536 100644
--- a/src/oci/apigateway/models/o_auth2_response_validation_failure_policy.py
+++ b/src/oci/apigateway/models/o_auth2_response_validation_failure_policy.py
@@ -73,6 +73,10 @@ def __init__(self, **kwargs):
The value to assign to the logout_path property of this OAuth2ResponseValidationFailurePolicy.
:type logout_path: str
+ :param login_path:
+ The value to assign to the login_path property of this OAuth2ResponseValidationFailurePolicy.
+ :type login_path: str
+
"""
self.swagger_types = {
'type': 'str',
@@ -85,7 +89,8 @@ def __init__(self, **kwargs):
'use_pkce': 'bool',
'response_type': 'str',
'fallback_redirect_path': 'str',
- 'logout_path': 'str'
+ 'logout_path': 'str',
+ 'login_path': 'str'
}
self.attribute_map = {
'type': 'type',
@@ -98,7 +103,8 @@ def __init__(self, **kwargs):
'use_pkce': 'usePkce',
'response_type': 'responseType',
'fallback_redirect_path': 'fallbackRedirectPath',
- 'logout_path': 'logoutPath'
+ 'logout_path': 'logoutPath',
+ 'login_path': 'loginPath'
}
self._type = None
self._client_details = None
@@ -111,6 +117,7 @@ def __init__(self, **kwargs):
self._response_type = None
self._fallback_redirect_path = None
self._logout_path = None
+ self._login_path = None
self._type = 'OAUTH2'
@property
@@ -353,6 +360,34 @@ def logout_path(self, logout_path):
"""
self._logout_path = logout_path
+ @property
+ def login_path(self):
+ """
+ Gets the login_path of this OAuth2ResponseValidationFailurePolicy.
+ The path (relative to the deployment) where the Identity Provider
+ will redirect the user after authentication. This path must match
+ a route in the specification that uses the OAUTH2_LOGIN_BACKEND.
+
+
+ :return: The login_path of this OAuth2ResponseValidationFailurePolicy.
+ :rtype: str
+ """
+ return self._login_path
+
+ @login_path.setter
+ def login_path(self, login_path):
+ """
+ Sets the login_path of this OAuth2ResponseValidationFailurePolicy.
+ The path (relative to the deployment) where the Identity Provider
+ will redirect the user after authentication. This path must match
+ a route in the specification that uses the OAUTH2_LOGIN_BACKEND.
+
+
+ :param login_path: The login_path of this OAuth2ResponseValidationFailurePolicy.
+ :type: str
+ """
+ self._login_path = login_path
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/apigateway/models/oracle_function_backend.py b/src/oci/apigateway/models/oracle_function_backend.py
index 9281ee1803..3619ac500e 100644
--- a/src/oci/apigateway/models/oracle_function_backend.py
+++ b/src/oci/apigateway/models/oracle_function_backend.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this OracleFunctionBackend.
- Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND"
+ Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", "OAUTH2_LOGIN_BACKEND"
:type type: str
:param function_id:
diff --git a/src/oci/apigateway/models/stock_response_backend.py b/src/oci/apigateway/models/stock_response_backend.py
index 0127f0f109..eef1b6767f 100644
--- a/src/oci/apigateway/models/stock_response_backend.py
+++ b/src/oci/apigateway/models/stock_response_backend.py
@@ -23,7 +23,7 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this StockResponseBackend.
- Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND"
+ Allowed values for this property are: "ORACLE_FUNCTIONS_BACKEND", "HTTP_BACKEND", "STOCK_RESPONSE_BACKEND", "DYNAMIC_ROUTING_BACKEND", "OAUTH2_LOGOUT_BACKEND", "OAUTH2_LOGIN_BACKEND"
:type type: str
:param body:
diff --git a/src/oci/apm_config/config_client.py b/src/oci/apm_config/config_client.py
index 1d3ddf1e96..089c1c29b2 100644
--- a/src/oci/apm_config/config_client.py
+++ b/src/oci/apm_config/config_client.py
@@ -14,6 +14,7 @@
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 oci.util import back_up_body_calculate_stream_content_length, is_content_length_calculable_by_req_util
from oci.exceptions import InvalidDeveloperToolConfiguration
from oci.developer_tool_configuration import OCI_SDK_ENABLED_SERVICES_SET
from .models import apm_config_type_mapping
@@ -492,6 +493,142 @@ def delete_config(self, apm_domain_id, config_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def delete_data_file(self, data_file_name, apm_domain_id, apm_type, **kwargs):
+ """
+ Removes the data file.
+
+
+ :param str data_file_name: (required)
+ The name of the data file.
+
+ :param str apm_domain_id: (required)
+ The APM Domain ID the request is intended for.
+
+ :param str apm_type: (required)
+ The type of the data file.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the `if-match` parameter to the value of the
+ etag from a previous GET or POST response for that resource.
+ The resource will be updated or deleted only if the etag you
+ provide matches the resource's current etag value.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param str opc_client_request_id: (optional)
+ The client request ID for tracing.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_data_file API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['dataFileName', 'apmDomainId', 'apmType']
+ resource_path = "/dataFiles/{dataFileName}"
+ method = "DELETE"
+ operation_name = "delete_data_file"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/DataFile/DeleteDataFile"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "if_match",
+ "opc_retry_token",
+ "opc_client_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"delete_data_file got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "dataFileName": data_file_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(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ query_params = {
+ "apmDomainId": apm_domain_id,
+ "apmType": apm_type
+ }
+ 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-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-client-request-id": kwargs.get("opc_client_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 is None:
+ retry_strategy = retry.DEFAULT_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,
+ query_params=query_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def export_configuration(self, export_configuration_details, apm_domain_id, **kwargs):
"""
Exports configurations for the whole domain by domainId.
@@ -726,17 +863,29 @@ def get_config(self, apm_domain_id, config_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_match_agents_with_attribute_key(self, apm_domain_id, **kwargs):
+ def get_data_file(self, data_file_name, apm_domain_id, apm_type, **kwargs):
"""
- The domain-wide agents matching attribute key.
+ Retrieves the Data file with the specified name and type.
+ :param str data_file_name: (required)
+ The name of the data file.
+
:param str apm_domain_id: (required)
The APM Domain ID the request is intended for.
- :param str opc_request_id: (optional)
- Unique identifier for the request.
- If you need to contact Oracle about a particular request, please provide the request ID.
+ :param str apm_type: (required)
+ The type of the data file.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param str opc_client_request_id: (optional)
+ The client request ID for tracing.
: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.
@@ -754,40 +903,53 @@ def get_match_agents_with_attribute_key(self, apm_domain_id, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_config.models.MatchAgentsWithAttributeKey`
+ :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_match_agents_with_attribute_key API.
+ Click `here `__ to see an example of how to use get_data_file API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['apmDomainId']
- resource_path = "/actions/matchAgentsWithAttributeKey"
+ required_arguments = ['dataFileName', 'apmDomainId', 'apmType']
+ resource_path = "/dataFiles/{dataFileName}"
method = "GET"
- operation_name = "get_match_agents_with_attribute_key"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/MatchAgentsWithAttributeKey/GetMatchAgentsWithAttributeKey"
+ operation_name = "get_data_file"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/DataFile/GetDataFile"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "opc_request_id"
+ "opc_retry_token",
+ "opc_client_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_match_agents_with_attribute_key got unknown kwargs: {extra_kwargs!r}")
+ f"get_data_file got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "dataFileName": data_file_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(f'Parameter {k} cannot be None, whitespace or empty string')
query_params = {
- "apmDomainId": apm_domain_id
+ "apmDomainId": apm_domain_id,
+ "apmType": apm_type
}
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)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-client-request-id": kwargs.get("opc_client_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}
@@ -800,15 +962,17 @@ def get_match_agents_with_attribute_key(self, apm_domain_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,
query_params=query_params,
header_params=header_params,
- response_type="MatchAgentsWithAttributeKey",
+ response_type="stream",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -818,33 +982,24 @@ def get_match_agents_with_attribute_key(self, apm_domain_id, **kwargs):
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="MatchAgentsWithAttributeKey",
+ response_type="stream",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def import_configuration(self, import_configuration_details, apm_domain_id, **kwargs):
+ def get_match_agents_with_attribute_key(self, apm_domain_id, **kwargs):
"""
- Import configurations Item(s) with its dependencies into a destination domain.
-
+ The domain-wide agents matching attribute key.
- :param oci.apm_config.models.ImportConfigurationDetails import_configuration_details: (required)
- JSON metadata for importing configurations domain.
:param str apm_domain_id: (required)
The APM Domain ID the request is intended for.
- :param str opc_retry_token: (optional)
- A token that uniquely identifies a request so it can be retried in case of a timeout or
- server error without risk of executing that same action again. Retry tokens expire after 24
- hours, but can be invalidated before then due to conflicting operations. For example, if a resource
- has been deleted and purged from the system, then a retry of the original creation request
- might be rejected.
-
:param str opc_request_id: (optional)
Unique identifier for the request.
If you need to contact Oracle about a particular request, please provide the request ID.
@@ -865,31 +1020,30 @@ def import_configuration(self, import_configuration_details, apm_domain_id, **kw
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_config.models.ImportConfigurationFailedItemsCollection`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_config.models.MatchAgentsWithAttributeKey`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use import_configuration API.
+ Click `here `__ to see an example of how to use get_match_agents_with_attribute_key API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
required_arguments = ['apmDomainId']
- resource_path = "/actions/importConfiguration"
- method = "POST"
- operation_name = "import_configuration"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/ImportConfigurationDetails/ImportConfiguration"
+ resource_path = "/actions/matchAgentsWithAttributeKey"
+ method = "GET"
+ operation_name = "get_match_agents_with_attribute_key"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/MatchAgentsWithAttributeKey/GetMatchAgentsWithAttributeKey"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"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(
- f"import_configuration got unknown kwargs: {extra_kwargs!r}")
+ f"get_match_agents_with_attribute_key got unknown kwargs: {extra_kwargs!r}")
query_params = {
"apmDomainId": apm_domain_id
@@ -899,7 +1053,6 @@ def import_configuration(self, import_configuration_details, apm_domain_id, **kw
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}
@@ -913,7 +1066,6 @@ def import_configuration(self, import_configuration_details, apm_domain_id, **kw
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(
@@ -922,8 +1074,7 @@ def import_configuration(self, import_configuration_details, apm_domain_id, **kw
method=method,
query_params=query_params,
header_params=header_params,
- body=import_configuration_details,
- response_type="ImportConfigurationFailedItemsCollection",
+ response_type="MatchAgentsWithAttributeKey",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -935,57 +1086,299 @@ def import_configuration(self, import_configuration_details, apm_domain_id, **kw
method=method,
query_params=query_params,
header_params=header_params,
- body=import_configuration_details,
- response_type="ImportConfigurationFailedItemsCollection",
+ response_type="MatchAgentsWithAttributeKey",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_configs(self, apm_domain_id, **kwargs):
+ def head_data_file(self, data_file_name, apm_domain_id, apm_type, **kwargs):
"""
- Returns all configuration items, which can optionally be filtered by configuration type.
+ Returns metadata about the datafile.
+ :param str data_file_name: (required)
+ The name of the data file.
+
:param str apm_domain_id: (required)
The APM Domain ID the request is intended for.
- :param str opc_request_id: (optional)
- Unique identifier for the request.
- If you need to contact Oracle about a particular request, please provide the request ID.
+ :param str apm_type: (required)
+ The type of the data file.
- :param str config_type: (optional)
- A filter to match configuration items of a given type.
- Supported values are SPAN_FILTER, METRIC_GROUP, APDEX, AGENT and MACS_APM_EXTENSION.
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
- :param str display_name: (optional)
- A filter to return resources that match the given display name.
+ :param str opc_client_request_id: (optional)
+ The client request ID for tracing.
- :param int limit: (optional)
- The maximum number of items to return.
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
- :param str page: (optional)
- The maximum number of results per page, or items to return in a paginated \"List\" call. For information on
- how pagination works, see `List Pagination`__.
- Example: `50`
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
- __ https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
- :param str sort_order: (optional)
- The sort order to use, either ascending (`ASC`) or descending (`DESC`). The displayName sort order
- is case-sensitive.
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
- Allowed values are: "ASC", "DESC"
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
- :param str sort_by: (optional)
- The field to sort by. You can provide one \"sortBy\" value. The default order for displayName, timeCreated
- and timeUpdated is ascending. The displayName sort by is case-sensitive.
+ :return: A :class:`~oci.response.Response` object with data of type None
+ :rtype: :class:`~oci.response.Response`
- Allowed values are: "displayName", "timeCreated", "timeUpdated"
+ :example:
+ Click `here `__ to see an example of how to use head_data_file API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['dataFileName', 'apmDomainId', 'apmType']
+ resource_path = "/dataFiles/{dataFileName}"
+ method = "HEAD"
+ operation_name = "head_data_file"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/DataFile/HeadDataFile"
- :param str options_group: (optional)
- A filter to return OPTIONS resources that match the given group.
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_retry_token",
+ "opc_client_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"head_data_file got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "dataFileName": data_file_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(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ query_params = {
+ "apmDomainId": apm_domain_id,
+ "apmType": apm_type
+ }
+ 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-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-client-request-id": kwargs.get("opc_client_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 is None:
+ retry_strategy = retry.DEFAULT_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,
+ query_params=query_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def import_configuration(self, import_configuration_details, apm_domain_id, **kwargs):
+ """
+ Import configurations Item(s) with its dependencies into a destination domain.
+
+
+ :param oci.apm_config.models.ImportConfigurationDetails import_configuration_details: (required)
+ JSON metadata for importing configurations domain.
+
+ :param str apm_domain_id: (required)
+ The APM Domain ID the request is intended for.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param str opc_request_id: (optional)
+ Unique 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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_config.models.ImportConfigurationFailedItemsCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use import_configuration API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['apmDomainId']
+ resource_path = "/actions/importConfiguration"
+ method = "POST"
+ operation_name = "import_configuration"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/ImportConfigurationDetails/ImportConfiguration"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"import_configuration got unknown kwargs: {extra_kwargs!r}")
+
+ query_params = {
+ "apmDomainId": apm_domain_id
+ }
+ 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-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 is None:
+ retry_strategy = retry.DEFAULT_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,
+ query_params=query_params,
+ header_params=header_params,
+ body=import_configuration_details,
+ response_type="ImportConfigurationFailedItemsCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ body=import_configuration_details,
+ response_type="ImportConfigurationFailedItemsCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_configs(self, apm_domain_id, **kwargs):
+ """
+ Returns all configuration items, which can optionally be filtered by configuration type.
+
+
+ :param str apm_domain_id: (required)
+ The APM Domain ID the request is intended for.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+ If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param str config_type: (optional)
+ A filter to match configuration items of a given type.
+ Supported values are SPAN_FILTER, METRIC_GROUP, APDEX, AGENT and MACS_APM_EXTENSION.
+
+ :param str display_name: (optional)
+ A filter to return resources that match the given display name.
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ The maximum number of results per page, or items to return in a paginated \"List\" call. For information on
+ how pagination works, see `List Pagination`__.
+ Example: `50`
+
+ __ https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`). The displayName sort order
+ is case-sensitive.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one \"sortBy\" value. The default order for displayName, timeCreated
+ and timeUpdated is ascending. The displayName sort by is case-sensitive.
+
+ Allowed values are: "displayName", "timeCreated", "timeUpdated"
+
+ :param str options_group: (optional)
+ A filter to return OPTIONS resources that match the given group.
:param list[str] defined_tag_equals: (optional)
A list of tag filters to apply. Only resources with a defined tag matching the value will be returned.
@@ -1137,6 +1530,404 @@ def list_configs(self, apm_domain_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def list_data_files(self, apm_domain_id, **kwargs):
+ """
+ Fetches a list of Data files using some parameters.
+
+
+ :param str apm_domain_id: (required)
+ The APM Domain ID the request is intended for.
+
+ :param str apm_type: (optional)
+ The type of the data file.
+
+ :param str name: (optional)
+ A filter to return resources that match the specified name. Supports regular expressions to filter data files.
+
+ :param datetime time_last_modified_before: (optional)
+ Return data files with time 'timeLastModified' before the specified time, expressed in `RFC 3339`__
+ timestamp format.
+ Example: `2020-02-19T22:47:12.613Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+ :param datetime time_last_modified_after: (optional)
+ Return data files with the 'timeLastModified' after the specified time, expressed in `RFC 3339`__
+ timestamp format.
+ Example: `2020-02-19T22:47:12.613Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+ :param int limit: (optional)
+ The maximum number of items to return.
+
+ :param str page: (optional)
+ The maximum number of results per page, or items to return in a paginated \"List\" call. For information on
+ how pagination works, see `List Pagination`__.
+ Example: `50`
+
+ __ https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`). The displayName sort order
+ is case-sensitive.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one \"sortBy\" value. The default order for displayName, timeCreated
+ and timeUpdated is ascending. The displayName sort by is case-sensitive.
+
+ Allowed values are: "displayName", "timeCreated", "timeUpdated"
+
+ :param str metadata: (optional)
+ A string containing a JSON-encoded object with metadata related to the uploaded file or resource.
+ Example:
+ {\"fileName\":\"report.pdf\",\"uploader\":\"jane.doe\",\"category\":\"financial\"}
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param str opc_client_request_id: (optional)
+ The client request ID for tracing.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.apm_config.models.DataFileSummaryCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_data_files API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['apmDomainId']
+ resource_path = "/dataFiles"
+ method = "GET"
+ operation_name = "list_data_files"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/DataFileSummaryCollection/ListDataFiles"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "apm_type",
+ "name",
+ "time_last_modified_before",
+ "time_last_modified_after",
+ "limit",
+ "page",
+ "sort_order",
+ "sort_by",
+ "metadata",
+ "opc_retry_token",
+ "opc_client_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_data_files got unknown kwargs: {extra_kwargs!r}")
+
+ if 'sort_order' in kwargs:
+ sort_order_allowed_values = ["ASC", "DESC"]
+ if kwargs['sort_order'] not in sort_order_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["displayName", "timeCreated", "timeUpdated"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
+ )
+
+ query_params = {
+ "apmDomainId": apm_domain_id,
+ "apmType": kwargs.get("apm_type", missing),
+ "name": kwargs.get("name", missing),
+ "timeLastModifiedBefore": kwargs.get("time_last_modified_before", missing),
+ "timeLastModifiedAfter": kwargs.get("time_last_modified_after", 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",
+ "metadata": kwargs.get("metadata", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-client-request-id": kwargs.get("opc_client_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 is None:
+ retry_strategy = retry.DEFAULT_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,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="DataFileSummaryCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="DataFileSummaryCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def put_data_file(self, put_data_file_body, data_file_name, apm_domain_id, apm_type, **kwargs):
+ """
+ Creates a new data file or replaces an existing one with the same name and type.
+
+
+ :param stream put_data_file_body: (required)
+ The data file to be uploaded.
+
+ :param str data_file_name: (required)
+ The name of the data file.
+
+ :param str apm_domain_id: (required)
+ The APM Domain ID the request is intended for.
+
+ :param str apm_type: (required)
+ The type of the data file.
+
+ :param str content_md5: (optional)
+ Optional base64-encoded MD5 hash of the request body. If provided, the server will perform
+ a data integrity check by computing the MD5 of the received content and comparing it to the
+ supplied value.
+
+ If the values do not match, the request will be rejected with an HTTP 400 error and a message such as:
+
+ \"The computed MD5 of the request body (ACTUAL_MD5) does not match the Content-MD5 header (HEADER_MD5)\"
+
+ :param str content_type: (optional)
+ Optional parameter specifying the media type (MIME type) of the request or response body.
+ If not specified, the default is `application/octet-stream`.
+
+ This value can be used by recipients to determine how to interpret or render the content.
+
+ :param str content_language: (optional)
+ Optional parameter that indicates the natural language of the content.
+ This value can be used by clients or intermediaries to select or display content based on language preferences.
+
+ :param str content_encoding: (optional)
+ Optional parameter indicating the content encodings applied to the request body (e.g., gzip, deflate).
+ This value can be used by recipients to determine how to decode the content.
+
+ :param str content_disposition: (optional)
+ Optional parameter that provides presentation information for how the content should be displayed or handled by the recipient.
+
+ For example, to prompt a file download with a custom filename:
+ `attachment; filename=\"example.txt\"`
+
+ :param str metadata: (optional)
+ A string containing a JSON-encoded object with metadata related to the uploaded file or resource.
+ Example:
+ {\"fileName\":\"report.pdf\",\"uploader\":\"jane.doe\",\"category\":\"financial\"}
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ might be rejected.
+
+ :param str opc_client_request_id: (optional)
+ The client request ID for tracing.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :param int buffer_limit: (optional)
+ A buffer limit for the stream to be buffered. buffer_limit is used to set the buffer size capacity. Streams will be read until the size of the buffer reaches the buffer_limit.
+ If the stream size is greater than the buffer_limit, a BufferError exception will be thrown.
+
+ The buffer_limit parameter is used when the stream object does not have a `seek`, `tell`, or `fileno` property for the Python Request library to calculate out the content length.
+ If buffer_limit is not passed, then the buffer_limit will be defaulted to 100MB.
+ Large streams can cause the process to freeze, consider passing in content-length for large streams instead.
+
+ :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 put_data_file API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['dataFileName', 'apmDomainId', 'apmType']
+ resource_path = "/dataFiles/{dataFileName}"
+ method = "PUT"
+ operation_name = "put_data_file"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/apm-config/20210201/DataFile/PutDataFile"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "buffer_limit",
+ "content_md5",
+ "content_type",
+ "content_language",
+ "content_encoding",
+ "content_disposition",
+ "metadata",
+ "opc_retry_token",
+ "opc_client_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"put_data_file got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "dataFileName": data_file_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(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ query_params = {
+ "apmDomainId": apm_domain_id,
+ "apmType": apm_type
+ }
+ 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-MD5": kwargs.get("content_md5", missing),
+ "Content-Type": kwargs.get("content_type", missing),
+ "Content-Language": kwargs.get("content_language", missing),
+ "Content-Encoding": kwargs.get("content_encoding", missing),
+ "Content-Disposition": kwargs.get("content_disposition", missing),
+ "metadata": kwargs.get("metadata", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-client-request-id": kwargs.get("opc_client_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}
+
+ # If the body parameter is optional we need to assign it to a variable so additional type checking can be performed.
+ try:
+ put_data_file_body
+ except NameError:
+ put_data_file_body = kwargs.get("put_data_file_body", missing)
+
+ if put_data_file_body is not missing and put_data_file_body is not None:
+ if (not isinstance(put_data_file_body, (six.binary_type, six.string_types)) and
+ not hasattr(put_data_file_body, "read")):
+ raise TypeError('The body must be a string, bytes, or provide a read() method.')
+
+ if hasattr(put_data_file_body, 'fileno') and hasattr(put_data_file_body, 'name') and put_data_file_body.name != '':
+ if requests.utils.super_len(put_data_file_body) == 0:
+ header_params['Content-Length'] = '0'
+
+ # If content length is not given and stream object have no 'fileno' and is not a string or bytes, try to calculate content length
+ elif 'Content-Length' not in header_params and not is_content_length_calculable_by_req_util(put_data_file_body):
+ calculated_obj = back_up_body_calculate_stream_content_length(put_data_file_body, kwargs.get("buffer_limit"))
+ header_params['Content-Length'] = calculated_obj["content_length"]
+ put_data_file_body = calculated_obj["byte_content"]
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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,
+ query_params=query_params,
+ header_params=header_params,
+ body=put_data_file_body,
+ enforce_content_headers=False,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ body=put_data_file_body,
+ enforce_content_headers=False,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def retrieve_namespace_metrics(self, apm_domain_id, retrieve_namespace_metrics_details, **kwargs):
"""
Returns all metrics associated with the specified namespace.
diff --git a/src/oci/apm_config/models/__init__.py b/src/oci/apm_config/models/__init__.py
index 45381b14a5..19eff82cd4 100644
--- a/src/oci/apm_config/models/__init__.py
+++ b/src/oci/apm_config/models/__init__.py
@@ -26,6 +26,9 @@
from .create_metric_group_details import CreateMetricGroupDetails
from .create_options_details import CreateOptionsDetails
from .create_span_filter_details import CreateSpanFilterDetails
+from .data_file import DataFile
+from .data_file_summary import DataFileSummary
+from .data_file_summary_collection import DataFileSummaryCollection
from .dimension import Dimension
from .export_configuration_details import ExportConfigurationDetails
from .export_configuration_response_details import ExportConfigurationResponseDetails
@@ -90,6 +93,9 @@
"CreateMetricGroupDetails": CreateMetricGroupDetails,
"CreateOptionsDetails": CreateOptionsDetails,
"CreateSpanFilterDetails": CreateSpanFilterDetails,
+ "DataFile": DataFile,
+ "DataFileSummary": DataFileSummary,
+ "DataFileSummaryCollection": DataFileSummaryCollection,
"Dimension": Dimension,
"ExportConfigurationDetails": ExportConfigurationDetails,
"ExportConfigurationResponseDetails": ExportConfigurationResponseDetails,
diff --git a/src/oci/apm_config/models/data_file.py b/src/oci/apm_config/models/data_file.py
new file mode 100644
index 0000000000..9f6dab5340
--- /dev/null
+++ b/src/oci/apm_config/models/data_file.py
@@ -0,0 +1,39 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210201
+
+
+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 DataFile(object):
+ """
+ The data file to be uploaded.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new DataFile object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ """
+ self.swagger_types = {
+ }
+ self.attribute_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/apm_config/models/data_file_summary.py b/src/oci/apm_config/models/data_file_summary.py
new file mode 100644
index 0000000000..477abe89f3
--- /dev/null
+++ b/src/oci/apm_config/models/data_file_summary.py
@@ -0,0 +1,237 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210201
+
+
+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 DataFileSummary(object):
+ """
+ Properties related to the file.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new DataFileSummary 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 DataFileSummary.
+ :type name: str
+
+ :param apm_type:
+ The value to assign to the apm_type property of this DataFileSummary.
+ :type apm_type: str
+
+ :param size_in_bytes:
+ The value to assign to the size_in_bytes property of this DataFileSummary.
+ :type size_in_bytes: int
+
+ :param md5:
+ The value to assign to the md5 property of this DataFileSummary.
+ :type md5: str
+
+ :param time_last_modified:
+ The value to assign to the time_last_modified property of this DataFileSummary.
+ :type time_last_modified: datetime
+
+ :param metadata:
+ The value to assign to the metadata property of this DataFileSummary.
+ :type metadata: dict(str, str)
+
+ """
+ self.swagger_types = {
+ 'name': 'str',
+ 'apm_type': 'str',
+ 'size_in_bytes': 'int',
+ 'md5': 'str',
+ 'time_last_modified': 'datetime',
+ 'metadata': 'dict(str, str)'
+ }
+ self.attribute_map = {
+ 'name': 'name',
+ 'apm_type': 'apmType',
+ 'size_in_bytes': 'sizeInBytes',
+ 'md5': 'md5',
+ 'time_last_modified': 'timeLastModified',
+ 'metadata': 'metadata'
+ }
+ self._name = None
+ self._apm_type = None
+ self._size_in_bytes = None
+ self._md5 = None
+ self._time_last_modified = None
+ self._metadata = None
+
+ @property
+ def name(self):
+ """
+ **[Required]** Gets the name of this DataFileSummary.
+ The name to use as identifier for the data file.
+
+
+ :return: The name of this DataFileSummary.
+ :rtype: str
+ """
+ return self._name
+
+ @name.setter
+ def name(self, name):
+ """
+ Sets the name of this DataFileSummary.
+ The name to use as identifier for the data file.
+
+
+ :param name: The name of this DataFileSummary.
+ :type: str
+ """
+ self._name = name
+
+ @property
+ def apm_type(self):
+ """
+ **[Required]** Gets the apm_type of this DataFileSummary.
+ The type of the data file, indicating its intended use
+ Example: `source_map`
+
+
+ :return: The apm_type of this DataFileSummary.
+ :rtype: str
+ """
+ return self._apm_type
+
+ @apm_type.setter
+ def apm_type(self, apm_type):
+ """
+ Sets the apm_type of this DataFileSummary.
+ The type of the data file, indicating its intended use
+ Example: `source_map`
+
+
+ :param apm_type: The apm_type of this DataFileSummary.
+ :type: str
+ """
+ self._apm_type = apm_type
+
+ @property
+ def size_in_bytes(self):
+ """
+ Gets the size_in_bytes of this DataFileSummary.
+ Size of the object in bytes.
+
+
+ :return: The size_in_bytes of this DataFileSummary.
+ :rtype: int
+ """
+ return self._size_in_bytes
+
+ @size_in_bytes.setter
+ def size_in_bytes(self, size_in_bytes):
+ """
+ Sets the size_in_bytes of this DataFileSummary.
+ Size of the object in bytes.
+
+
+ :param size_in_bytes: The size_in_bytes of this DataFileSummary.
+ :type: int
+ """
+ self._size_in_bytes = size_in_bytes
+
+ @property
+ def md5(self):
+ """
+ Gets the md5 of this DataFileSummary.
+ Base64-encoded MD5 hash of the object data.
+
+
+ :return: The md5 of this DataFileSummary.
+ :rtype: str
+ """
+ return self._md5
+
+ @md5.setter
+ def md5(self, md5):
+ """
+ Sets the md5 of this DataFileSummary.
+ Base64-encoded MD5 hash of the object data.
+
+
+ :param md5: The md5 of this DataFileSummary.
+ :type: str
+ """
+ self._md5 = md5
+
+ @property
+ def time_last_modified(self):
+ """
+ Gets the time_last_modified of this DataFileSummary.
+ The last time the object was modified, as described in `RFC 2616`__.
+ Expressed in `RFC 3339`__ timestamp format.
+ Example: `2020-02-19T22:47:12.613Z`
+
+ __ https://tools.ietf.org/html/rfc2616#section-14.29
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_last_modified of this DataFileSummary.
+ :rtype: datetime
+ """
+ return self._time_last_modified
+
+ @time_last_modified.setter
+ def time_last_modified(self, time_last_modified):
+ """
+ Sets the time_last_modified of this DataFileSummary.
+ The last time the object was modified, as described in `RFC 2616`__.
+ Expressed in `RFC 3339`__ timestamp format.
+ Example: `2020-02-19T22:47:12.613Z`
+
+ __ https://tools.ietf.org/html/rfc2616#section-14.29
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_last_modified: The time_last_modified of this DataFileSummary.
+ :type: datetime
+ """
+ self._time_last_modified = time_last_modified
+
+ @property
+ def metadata(self):
+ """
+ Gets the metadata of this DataFileSummary.
+ Metadata properties related to the data file.
+
+
+ :return: The metadata of this DataFileSummary.
+ :rtype: dict(str, str)
+ """
+ return self._metadata
+
+ @metadata.setter
+ def metadata(self, metadata):
+ """
+ Sets the metadata of this DataFileSummary.
+ Metadata properties related to the data file.
+
+
+ :param metadata: The metadata of this DataFileSummary.
+ :type: dict(str, str)
+ """
+ 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/apm_config/models/data_file_summary_collection.py b/src/oci/apm_config/models/data_file_summary_collection.py
new file mode 100644
index 0000000000..a46b5f9155
--- /dev/null
+++ b/src/oci/apm_config/models/data_file_summary_collection.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210201
+
+
+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 DataFileSummaryCollection(object):
+ """
+ A collection of Data File summaries.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new DataFileSummaryCollection 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 DataFileSummaryCollection.
+ :type items: list[oci.apm_config.models.DataFileSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[DataFileSummary]'
+ }
+ self.attribute_map = {
+ 'items': 'items'
+ }
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this DataFileSummaryCollection.
+ A list of Data File summaries.
+
+
+ :return: The items of this DataFileSummaryCollection.
+ :rtype: list[oci.apm_config.models.DataFileSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this DataFileSummaryCollection.
+ A list of Data File summaries.
+
+
+ :param items: The items of this DataFileSummaryCollection.
+ :type: list[oci.apm_config.models.DataFileSummary]
+ """
+ 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/apm_control_plane/models/apm_domain.py b/src/oci/apm_control_plane/models/apm_domain.py
index 9f8f7210cd..2c4b4cd039 100644
--- a/src/oci/apm_control_plane/models/apm_domain.py
+++ b/src/oci/apm_control_plane/models/apm_domain.py
@@ -74,6 +74,10 @@ def __init__(self, **kwargs):
The value to assign to the is_free_tier property of this ApmDomain.
:type is_free_tier: bool
+ :param log_group_id:
+ The value to assign to the log_group_id property of this ApmDomain.
+ :type log_group_id: str
+
:param time_created:
The value to assign to the time_created property of this ApmDomain.
:type time_created: datetime
@@ -99,6 +103,7 @@ def __init__(self, **kwargs):
'compartment_id': 'str',
'lifecycle_state': 'str',
'is_free_tier': 'bool',
+ 'log_group_id': 'str',
'time_created': 'datetime',
'time_updated': 'datetime',
'freeform_tags': 'dict(str, str)',
@@ -112,6 +117,7 @@ def __init__(self, **kwargs):
'compartment_id': 'compartmentId',
'lifecycle_state': 'lifecycleState',
'is_free_tier': 'isFreeTier',
+ 'log_group_id': 'logGroupId',
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'freeform_tags': 'freeformTags',
@@ -124,6 +130,7 @@ def __init__(self, **kwargs):
self._compartment_id = None
self._lifecycle_state = None
self._is_free_tier = None
+ self._log_group_id = None
self._time_created = None
self._time_updated = None
self._freeform_tags = None
@@ -303,6 +310,30 @@ def is_free_tier(self, is_free_tier):
"""
self._is_free_tier = is_free_tier
+ @property
+ def log_group_id(self):
+ """
+ Gets the log_group_id of this ApmDomain.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :return: The log_group_id of this ApmDomain.
+ :rtype: str
+ """
+ return self._log_group_id
+
+ @log_group_id.setter
+ def log_group_id(self, log_group_id):
+ """
+ Sets the log_group_id of this ApmDomain.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :param log_group_id: The log_group_id of this ApmDomain.
+ :type: str
+ """
+ self._log_group_id = log_group_id
+
@property
def time_created(self):
"""
diff --git a/src/oci/apm_control_plane/models/apm_domain_summary.py b/src/oci/apm_control_plane/models/apm_domain_summary.py
index 1d538acab3..b0774afbfa 100644
--- a/src/oci/apm_control_plane/models/apm_domain_summary.py
+++ b/src/oci/apm_control_plane/models/apm_domain_summary.py
@@ -70,6 +70,10 @@ def __init__(self, **kwargs):
The value to assign to the is_free_tier property of this ApmDomainSummary.
:type is_free_tier: bool
+ :param log_group_id:
+ The value to assign to the log_group_id property of this ApmDomainSummary.
+ :type log_group_id: str
+
:param time_created:
The value to assign to the time_created property of this ApmDomainSummary.
:type time_created: datetime
@@ -94,6 +98,7 @@ def __init__(self, **kwargs):
'compartment_id': 'str',
'lifecycle_state': 'str',
'is_free_tier': 'bool',
+ 'log_group_id': 'str',
'time_created': 'datetime',
'time_updated': 'datetime',
'freeform_tags': 'dict(str, str)',
@@ -106,6 +111,7 @@ def __init__(self, **kwargs):
'compartment_id': 'compartmentId',
'lifecycle_state': 'lifecycleState',
'is_free_tier': 'isFreeTier',
+ 'log_group_id': 'logGroupId',
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'freeform_tags': 'freeformTags',
@@ -117,6 +123,7 @@ def __init__(self, **kwargs):
self._compartment_id = None
self._lifecycle_state = None
self._is_free_tier = None
+ self._log_group_id = None
self._time_created = None
self._time_updated = None
self._freeform_tags = None
@@ -272,6 +279,30 @@ def is_free_tier(self, is_free_tier):
"""
self._is_free_tier = is_free_tier
+ @property
+ def log_group_id(self):
+ """
+ Gets the log_group_id of this ApmDomainSummary.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :return: The log_group_id of this ApmDomainSummary.
+ :rtype: str
+ """
+ return self._log_group_id
+
+ @log_group_id.setter
+ def log_group_id(self, log_group_id):
+ """
+ Sets the log_group_id of this ApmDomainSummary.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :param log_group_id: The log_group_id of this ApmDomainSummary.
+ :type: str
+ """
+ self._log_group_id = log_group_id
+
@property
def time_created(self):
"""
diff --git a/src/oci/apm_control_plane/models/base_domain_details.py b/src/oci/apm_control_plane/models/base_domain_details.py
index 0c04e0da98..dffc6cee7c 100644
--- a/src/oci/apm_control_plane/models/base_domain_details.py
+++ b/src/oci/apm_control_plane/models/base_domain_details.py
@@ -70,6 +70,10 @@ def __init__(self, **kwargs):
The value to assign to the is_free_tier property of this BaseDomainDetails.
:type is_free_tier: bool
+ :param log_group_id:
+ The value to assign to the log_group_id property of this BaseDomainDetails.
+ :type log_group_id: str
+
:param time_created:
The value to assign to the time_created property of this BaseDomainDetails.
:type time_created: datetime
@@ -94,6 +98,7 @@ def __init__(self, **kwargs):
'compartment_id': 'str',
'lifecycle_state': 'str',
'is_free_tier': 'bool',
+ 'log_group_id': 'str',
'time_created': 'datetime',
'time_updated': 'datetime',
'freeform_tags': 'dict(str, str)',
@@ -106,6 +111,7 @@ def __init__(self, **kwargs):
'compartment_id': 'compartmentId',
'lifecycle_state': 'lifecycleState',
'is_free_tier': 'isFreeTier',
+ 'log_group_id': 'logGroupId',
'time_created': 'timeCreated',
'time_updated': 'timeUpdated',
'freeform_tags': 'freeformTags',
@@ -117,6 +123,7 @@ def __init__(self, **kwargs):
self._compartment_id = None
self._lifecycle_state = None
self._is_free_tier = None
+ self._log_group_id = None
self._time_created = None
self._time_updated = None
self._freeform_tags = None
@@ -272,6 +279,30 @@ def is_free_tier(self, is_free_tier):
"""
self._is_free_tier = is_free_tier
+ @property
+ def log_group_id(self):
+ """
+ Gets the log_group_id of this BaseDomainDetails.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :return: The log_group_id of this BaseDomainDetails.
+ :rtype: str
+ """
+ return self._log_group_id
+
+ @log_group_id.setter
+ def log_group_id(self, log_group_id):
+ """
+ Sets the log_group_id of this BaseDomainDetails.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :param log_group_id: The log_group_id of this BaseDomainDetails.
+ :type: str
+ """
+ self._log_group_id = log_group_id
+
@property
def time_created(self):
"""
diff --git a/src/oci/apm_control_plane/models/create_apm_domain_details.py b/src/oci/apm_control_plane/models/create_apm_domain_details.py
index 42c7d79344..e3706ab63e 100644
--- a/src/oci/apm_control_plane/models/create_apm_domain_details.py
+++ b/src/oci/apm_control_plane/models/create_apm_domain_details.py
@@ -32,6 +32,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateApmDomainDetails.
:type compartment_id: str
+ :param log_group_id:
+ The value to assign to the log_group_id property of this CreateApmDomainDetails.
+ :type log_group_id: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this CreateApmDomainDetails.
:type freeform_tags: dict(str, str)
@@ -49,6 +53,7 @@ def __init__(self, **kwargs):
'display_name': 'str',
'description': 'str',
'compartment_id': 'str',
+ 'log_group_id': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'is_free_tier': 'bool'
@@ -57,6 +62,7 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'description': 'description',
'compartment_id': 'compartmentId',
+ 'log_group_id': 'logGroupId',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'is_free_tier': 'isFreeTier'
@@ -64,6 +70,7 @@ def __init__(self, **kwargs):
self._display_name = None
self._description = None
self._compartment_id = None
+ self._log_group_id = None
self._freeform_tags = None
self._defined_tags = None
self._is_free_tier = None
@@ -140,6 +147,30 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def log_group_id(self):
+ """
+ Gets the log_group_id of this CreateApmDomainDetails.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :return: The log_group_id of this CreateApmDomainDetails.
+ :rtype: str
+ """
+ return self._log_group_id
+
+ @log_group_id.setter
+ def log_group_id(self, log_group_id):
+ """
+ Sets the log_group_id of this CreateApmDomainDetails.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :param log_group_id: The log_group_id of this CreateApmDomainDetails.
+ :type: str
+ """
+ self._log_group_id = log_group_id
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/apm_control_plane/models/update_apm_domain_details.py b/src/oci/apm_control_plane/models/update_apm_domain_details.py
index ff5c18fed8..e8a0172c91 100644
--- a/src/oci/apm_control_plane/models/update_apm_domain_details.py
+++ b/src/oci/apm_control_plane/models/update_apm_domain_details.py
@@ -28,6 +28,10 @@ def __init__(self, **kwargs):
The value to assign to the description property of this UpdateApmDomainDetails.
:type description: str
+ :param log_group_id:
+ The value to assign to the log_group_id property of this UpdateApmDomainDetails.
+ :type log_group_id: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this UpdateApmDomainDetails.
:type freeform_tags: dict(str, str)
@@ -40,17 +44,20 @@ def __init__(self, **kwargs):
self.swagger_types = {
'display_name': 'str',
'description': 'str',
+ 'log_group_id': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'display_name': 'displayName',
'description': 'description',
+ 'log_group_id': 'logGroupId',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
self._display_name = None
self._description = None
+ self._log_group_id = None
self._freeform_tags = None
self._defined_tags = None
@@ -102,6 +109,30 @@ def description(self, description):
"""
self._description = description
+ @property
+ def log_group_id(self):
+ """
+ Gets the log_group_id of this UpdateApmDomainDetails.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :return: The log_group_id of this UpdateApmDomainDetails.
+ :rtype: str
+ """
+ return self._log_group_id
+
+ @log_group_id.setter
+ def log_group_id(self, log_group_id):
+ """
+ Sets the log_group_id of this UpdateApmDomainDetails.
+ The OCID of the Log Analytics log group to which the data uploaded to this APM domain will be mapped to.
+
+
+ :param log_group_id: The log_group_id of this UpdateApmDomainDetails.
+ :type: str
+ """
+ self._log_group_id = log_group_id
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/apm_synthetics/models/password_in_text.py b/src/oci/apm_synthetics/models/password_in_text.py
index e6f30eb422..5177e8a569 100644
--- a/src/oci/apm_synthetics/models/password_in_text.py
+++ b/src/oci/apm_synthetics/models/password_in_text.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200630
from .password import Password
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -39,6 +39,9 @@ def __init__(self, **kwargs):
'password_type': 'passwordType',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._password_type = None
self._password = None
self._password_type = 'IN_TEXT'
@@ -68,7 +71,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/auth/federation_client.py b/src/oci/auth/federation_client.py
index 36ae2272f5..1eeea905f1 100644
--- a/src/oci/auth/federation_client.py
+++ b/src/oci/auth/federation_client.py
@@ -19,6 +19,7 @@
from circuitbreaker import CircuitBreakerMonitor
from oci.version import __version__
from oci import constants
+from oci._log_redaction import redact_sensitive_data_for_logs, redact_sensitive_string_for_logs
import platform
import os
import random
@@ -228,15 +229,21 @@ def _get_security_token_from_auth_service(self):
self.logger.debug("Requesting token from : %s " % self.federation_endpoint)
response = self.requests_session.post(self.federation_endpoint, json=request_payload, auth=signer, verify=self.cert_bundle_verify, timeout=(10, 60), headers={constants.HEADER_USER_AGENT: self.user_agent})
+ debug_response_data = redact_sensitive_data_for_logs({
+ "status_code": response.status_code,
+ "url": response.url,
+ "header": dict(response.headers.items()),
+ "reason": response.reason
+ })
self.logger.debug("Receiving token response......\n{}\n".format(pprint.pformat(
- {"status_code": response.status_code, "url": response.url, "header": dict(response.headers.items()),
- "reason": response.reason}, indent=2)))
+ debug_response_data, indent=2)))
parsed_response = None
try:
parsed_response = response.json()
except ValueError:
- error_text = 'Unable to parse response from auth service ({}): {}'.format(self.federation_endpoint, response.text)
+ redacted_response_text = redact_sensitive_string_for_logs(response.text)
+ error_text = f'Unable to parse response from auth service ({self.federation_endpoint}): {redacted_response_text}'
# If the response was a 2xx but unparseable, raise it straight away because it implies a potential service issue. If
# we have a non-2xx but it is not parseable that is a more ambiguous scenario (e.g. could have been an issue with a
@@ -265,19 +272,20 @@ def _get_security_token_from_auth_service(self):
response.status_code,
parsed_response.get('code'),
response.headers,
- parsed_response.get('message')
+ redact_sensitive_string_for_logs(parsed_response.get('message'))
)
raise oci.exceptions.ServiceError(
response.status_code,
parsed_response.get('code'),
response.headers,
- parsed_response.get('message')
+ redact_sensitive_string_for_logs(parsed_response.get('message'))
)
else:
if 'token' in parsed_response:
self.security_token = SecurityTokenContainer(self.session_key_supplier, response.json()['token'])
else:
- raise RuntimeError('Could not find token in response from auth service ({}): {}'.format(self.federation_endpoint, parsed_response))
+ redacted_response = redact_sensitive_data_for_logs(parsed_response)
+ raise RuntimeError(f'Could not find token in response from auth service ({self.federation_endpoint}): {redacted_response}')
class AuthTokenRequestSigner(oci.signer.AbstractBaseSigner):
diff --git a/src/oci/auth/security_token_container.py b/src/oci/auth/security_token_container.py
index 8d21abcb8d..61fd790005 100644
--- a/src/oci/auth/security_token_container.py
+++ b/src/oci/auth/security_token_container.py
@@ -2,7 +2,7 @@
# Copyright (c) 2016, 2026, 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._vendor.jwt as jwt
+import jwt
import time
diff --git a/src/oci/auth/signers/instance_principals_security_token_signer.py b/src/oci/auth/signers/instance_principals_security_token_signer.py
index b7d09e54c9..64626da111 100644
--- a/src/oci/auth/signers/instance_principals_security_token_signer.py
+++ b/src/oci/auth/signers/instance_principals_security_token_signer.py
@@ -66,9 +66,12 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
region, federation endpoint, and the response for receiving the token from the federation endpoint
"""
METADATA_URL_BASE_ENV_VAR = 'OCI_METADATA_BASE_URL'
- DEFAULT_METADATA_URL_BASE = 'http://169.254.169.254/opc/v2'
+ IMDS_IPV4_HOST = '169.254.169.254'
+ IMDS_IPV6_HOST = 'fd00:c1::a9fe:a9fe'
# IPv6 literal hosts in URLs must be enclosed in square brackets (RFC 3986).
- DEFAULT_METADATA_URL_BASE_IPV6 = 'http://[fd00:c1::a9fe:a9fe]/opc/v2'
+ IMDS_IPV6_HOST_BRACKETED = '[{}]'.format(IMDS_IPV6_HOST)
+ DEFAULT_METADATA_URL_BASE = 'http://{}/opc/v2'.format(IMDS_IPV4_HOST)
+ DEFAULT_METADATA_URL_BASE_IPV6 = 'http://{}/opc/v2'.format(IMDS_IPV6_HOST_BRACKETED)
METADATA_URL_BASE = DEFAULT_METADATA_URL_BASE
GET_REGION_URL = '{}/instance/region'.format(DEFAULT_METADATA_URL_BASE)
LEAF_CERTIFICATE_URL = '{}/identity/cert.pem'.format(DEFAULT_METADATA_URL_BASE)
@@ -81,7 +84,7 @@ class InstancePrincipalsSecurityTokenSigner(X509FederationClientBasedSecurityTok
"See https://docs.oracle.com/en-us/iaas/Content/Identity/Tasks/callingservicesfrominstances.htm for more info."
)
- IMDS_IPV4_PROBE_HOST = '169.254.169.254'
+ IMDS_IPV4_PROBE_HOST = IMDS_IPV4_HOST
IMDS_IPV4_PROBE_PORT = 80
IMDS_IPV4_PROBE_TIMEOUT_SECONDS = 0.2
@@ -153,7 +156,9 @@ def _get_env_override_metadata_base_url(self):
env_override_metadata_base_url = env_override_metadata_base_url.strip()
if not env_override_metadata_base_url:
logger.debug("%s is whitespace-only and will be treated as unset", self.METADATA_URL_BASE_ENV_VAR)
- return env_override_metadata_base_url if env_override_metadata_base_url else None
+ return None
+
+ return env_override_metadata_base_url
def _has_ipv4_route_for_imds(self):
logger = self._get_logger()
@@ -244,7 +249,7 @@ def _initialize_certificate_retrievers_from_imds_candidates(self, log_requests=F
raise RuntimeError("Unable to initialize IMDS certificate retrievers for all candidate endpoints")
def __init__(self, **kwargs):
- self.logger = logging.getLogger("{}.{}".format(__name__, id(self)))
+ self.logger = logging.getLogger(f"{__name__}.{id(self)}")
self.logger.addHandler(logging.NullHandler())
if kwargs.get('log_requests'):
self.logger.disabled = False
@@ -269,7 +274,7 @@ def __init__(self, **kwargs):
if 'federation_endpoint' in kwargs and kwargs['federation_endpoint']:
federation_endpoint = kwargs['federation_endpoint']
else:
- federation_endpoint = '{}/v1/x509'.format(oci.regions.endpoint_for('auth', self.region))
+ federation_endpoint = f"{oci.regions.endpoint_for('auth', self.region)}/v1/x509"
self.logger.debug("federation endpoint is set to : %s " % (federation_endpoint))
@@ -282,7 +287,8 @@ def __init__(self, **kwargs):
cert_bundle_verify=kwargs.get('federation_client_cert_bundle_verify', None),
retry_strategy=kwargs.get('federation_client_retry_strategy', None),
purpose=kwargs.get('purpose', None),
- log_requests=kwargs.get('log_requests')
+ log_requests=kwargs.get('log_requests'),
+ circuit_breaker_strategy=kwargs.get('federation_client_circuit_breaker_strategy', None)
)
if 'generic_headers' in kwargs:
generic_headers = kwargs['generic_headers']
diff --git a/src/oci/auth/signers/oke_workload_identity_resource_principal_signer.py b/src/oci/auth/signers/oke_workload_identity_resource_principal_signer.py
index 76e87a1b92..9784ab990f 100644
--- a/src/oci/auth/signers/oke_workload_identity_resource_principal_signer.py
+++ b/src/oci/auth/signers/oke_workload_identity_resource_principal_signer.py
@@ -11,6 +11,7 @@
import json
import oci
from oci._vendor import requests
+from oci._log_redaction import redact_sensitive_data_for_logs, redact_sensitive_string_for_logs
from .. import auth_utils
from ..certificate_retriever import FileBasedCertificateRetriever
from ..session_key_supplier import SessionKeySupplier
@@ -129,9 +130,14 @@ def _get_resource_principal_session_token(self):
self.logger.debug("Requesting token from : {} ".format(self.proxymux_endpoint))
response = self.requests_session.post(self.proxymux_endpoint, json=request_payload, headers=headers, verify=self.sa_cert_path, timeout=(10, 60))
+ debug_response_data = redact_sensitive_data_for_logs({
+ "status_code": response.status_code,
+ "url": response.url,
+ "header": dict(response.headers.items()),
+ "reason": response.reason
+ })
self.logger.debug("Receiving token response......\n{}\n".format(pprint.pformat(
- {"status_code": response.status_code, "url": response.url, "header": dict(response.headers.items()),
- "reason": response.reason}, indent=2)))
+ debug_response_data, indent=2)))
if not response.ok:
if response.status_code == 403:
@@ -150,12 +156,14 @@ def _get_resource_principal_session_token(self):
try:
decoded_response = base64.b64decode(response.content).decode("UTF-8")
except ValueError:
- error_text = "Unable to decode the response from auth service ({}): {}. Please contact OKE team for help.".format(self.proxymux_endpoint, response.text)
+ redacted_response_text = redact_sensitive_string_for_logs(response.text)
+ error_text = "Unable to decode the response from auth service ({}): {}. Please contact OKE team for help.".format(self.proxymux_endpoint, redacted_response_text)
raise RuntimeError(error_text)
if 'token' in decoded_response:
response_json = json.loads(decoded_response)
self.security_token = SecurityTokenContainer(self.session_key_supplier, response_json['token'][3:])
else:
- error_text = "Could not find token in the decoded response from auth service ({}): {}.".format(self.proxymux_endpoint, decoded_response)
+ redacted_decoded_response = redact_sensitive_string_for_logs(decoded_response)
+ error_text = "Could not find token in the decoded response from auth service ({}): {}.".format(self.proxymux_endpoint, redacted_decoded_response)
raise RuntimeError(error_text)
diff --git a/src/oci/base_client.py b/src/oci/base_client.py
index 3f1cf2b066..23b117c334 100644
--- a/src/oci/base_client.py
+++ b/src/oci/base_client.py
@@ -31,6 +31,7 @@
from . import constants, exceptions, regions, retry
from .auth import signers
from .config import get_config_value_or_default, validate_config
+from ._log_redaction import redact_sensitive_data_for_logs, redact_sensitive_string_for_logs
from .request import Request
from .response import Response
from .circuit_breaker import CircuitBreakerStrategy, NoCircuitBreakerStrategy
@@ -86,7 +87,7 @@ def build_user_agent(extra=""):
def utc_now():
- return " " + str(datetime.utcnow()) + ": "
+ return " " + str(datetime.now(timezone.utc)) + ": "
def _get_propagation_request_id_file_path():
@@ -358,17 +359,33 @@ def __init__(self, *args, **kwargs):
class OCIHTTPAdapter(requests.adapters.HTTPAdapter):
- """HTTP adapter that confines OCI Expect-header support to one session."""
-
- # UploadManager uses this marker to preserve OCI transport behavior when it
- # replaces an adapter only to increase connection pool size.
- uses_oci_connection_pool = True
+ """HTTPS transport adapter for configuring certain OCI-specific request behavior.
+ This adapter is mounted for all HTTPS requests made by ``BaseClient``. It preserves OCI-specific transport behavior
+ for:
+ - the Expect-header flow
+ - applying the underscore-hostname workaround needed for urllib3 2.x
+ hostname verification.
+ """
+
+ # UploadManager uses this marker to preserve OCI transport adapter behavior
+ # when it replaces an adapter only to increase connection pool size.
+ preserves_oci_https_adapter_behavior = True
def init_poolmanager(self, connections, maxsize, block=requests.adapters.DEFAULT_POOLBLOCK, **pool_kwargs):
- """Initialize a per-adapter pool manager with OCI HTTPS support."""
+ """Initialize a per-adapter pool manager."""
self._pool_connections = connections
self._pool_maxsize = maxsize
self._pool_block = block
+ self._use_oci_connection_pool = enable_expect_header # as of now we only need to use a custom pool if the enable expect header is set
+
+ if not self._use_oci_connection_pool:
+ self.poolmanager = urllib3.PoolManager(
+ num_pools=connections,
+ maxsize=maxsize,
+ block=block,
+ **pool_kwargs
+ )
+ return
self.poolmanager = OCIPoolManager(
num_pools=connections,
@@ -379,6 +396,9 @@ def init_poolmanager(self, connections, maxsize, block=requests.adapters.DEFAULT
def proxy_manager_for(self, proxy, **proxy_kwargs):
"""Return a scoped OCI proxy manager for regular HTTP/HTTPS proxies."""
+ if not getattr(self, '_use_oci_connection_pool', enable_expect_header):
+ return super(OCIHTTPAdapter, self).proxy_manager_for(proxy, **proxy_kwargs)
+
if proxy in self.proxy_manager:
return self.proxy_manager[proxy]
@@ -396,6 +416,35 @@ def proxy_manager_for(self, proxy, **proxy_kwargs):
self.proxy_manager[proxy] = manager
return manager
+ def cert_verify(self, conn, url, verify, cert):
+ """Verify a SSL certificate while preserving certificate verification while using urllib3 hostname matching for
+ underscore-containing hosts.
+
+ urllib3 2.x relies on Python/OpenSSL certificate verification by default:
+ https://urllib3.readthedocs.io/en/stable/v2-migration-guide.html#certificate-verification-via-sslcontext
+ OpenSSL rejects some underscore-containing host labels during hostname verification. Setting ``assert_hostname``
+ for these hosts makes urllib3 perform hostname matching against the request host while certificate verification
+ remains enabled.
+ References:
+ https://urllib3.readthedocs.io/en/stable/advanced-usage.html#verifying-tls-against-a-different-host
+ https://requests.readthedocs.io/en/latest/api/#requests.adapters.HTTPAdapter.cert_verify
+ """
+ super(OCIHTTPAdapter, self).cert_verify(conn, url, verify, cert)
+ if not verify:
+ return
+
+ # Respect explicit caller behavior if already configured.
+ if getattr(conn, 'assert_hostname', None) is not None:
+ return
+
+ try:
+ parsed_host = urllib3.util.parse_url(url).host
+ except Exception:
+ return
+
+ if parsed_host and "_" in parsed_host:
+ conn.assert_hostname = parsed_host
+
class BaseClient(object):
primitive_type_map = {
@@ -465,7 +514,7 @@ def __init__(self, service, config, signer, type_mapping, **kwargs):
self.complex_type_mappings = type_mapping
self.type_mappings = merge_type_mappings(self.primitive_type_map, type_mapping)
self.session = requests.Session()
- self._configure_session_for_expect_header()
+ self._configure_http_adapter()
# If the user doesn't specify timeout explicitly we would use default timeout.
self.timeout = kwargs.get('timeout') if 'timeout' in kwargs else (DEFAULT_CONNECTION_TIMEOUT, DEFAULT_READ_TIMEOUT)
@@ -502,14 +551,18 @@ def __init__(self, service, config, signer, type_mapping, **kwargs):
self.request = circuit_breaker(self.request)
self.logger.debug('Endpoint: {}'.format(self._endpoint))
- def _configure_session_for_expect_header(self):
- """Mount OCI's scoped HTTPS adapter when Expect-header support is enabled.
+ def _configure_http_adapter(self):
+ """Mount OCI's HTTPS transport adapter for all client HTTPS requests.
- This keeps OCIConnectionPool limited to this BaseClient session instead
- of replacing urllib3's process-wide HTTPS pool class.
+ Previously an adapter was added only to those requests that had enable expect header set to True. This adapter
+ is no longer limited to the Expect-header flow. It is now mounted for every HTTPS request so one transport path
+ can handle:
+ - OCI-specific connection-pool behavior when Expect-header support is enabled
+ - request-level hostname handling for underscore-containing hosts under urllib3 2.x.
+ Also since a single session can mount only one adapter, modifying any flow would require updates to this single
+ transport adapter.
"""
- if enable_expect_header:
- self.session.mount('https://', OCIHTTPAdapter())
+ self.session.mount('https://', OCIHTTPAdapter())
def handle_service_endpoint_template(self, region_id, service_endpoint_template, service_endpoint_template_per_realm):
should_enable_realm_template = self.should_allow_template_per_realm()
@@ -802,10 +855,18 @@ def _validate_endpoint_host_components(self, endpoint):
parsed_endpoint = six.moves.urllib.parse.urlparse(endpoint)
if parsed_endpoint.scheme not in ('http', 'https'):
- raise ValueError('host is invalid. endpoint scheme must be http or https')
+ raise ValueError('Invalid endpoint host: endpoint scheme must be http or https.')
+
+ try:
+ parsed_endpoint.port
+ except ValueError:
+ raise ValueError('Invalid endpoint host: endpoint host must contain only letters, digits, underscores, hyphens, and periods.')
if parsed_endpoint.username is not None or parsed_endpoint.password is not None:
- raise ValueError('host is invalid. endpoint must not contain user info, path, query, or fragment')
+ raise ValueError('Invalid endpoint host: endpoint must not contain user info.')
+
+ if not self._is_valid_endpoint_hostname(parsed_endpoint.hostname):
+ raise ValueError('Invalid endpoint host: endpoint host must contain only letters, digits, underscores, hyphens, and periods.')
has_disallowed_endpoint_components = any([
not self._is_valid_endpoint_path(parsed_endpoint.path),
@@ -814,17 +875,39 @@ def _validate_endpoint_host_components(self, endpoint):
])
if has_disallowed_endpoint_components:
- raise ValueError('host is invalid. endpoint must not contain user info, path, query, or fragment')
+ raise ValueError('Invalid endpoint host: endpoint must not contain path, query, or fragment.')
def _is_valid_endpoint_path(self, endpoint_path):
if self._base_path == '/':
return endpoint_path in ('', '/')
if self._base_path:
- return endpoint_path in (self._base_path, f'{self._base_path}/')
+ endpoint_host_and_path = self._endpoint.rstrip('/').split('://', 1)[-1]
+ configured_path_start_index = endpoint_host_and_path.find('/')
+ configured_path = '' if configured_path_start_index == -1 else endpoint_host_and_path[configured_path_start_index:]
+ configured_path_without_trailing_slash = configured_path.rstrip('/')
+
+ if configured_path_without_trailing_slash == '':
+ return endpoint_path in ('', '/')
+
+ return endpoint_path in (
+ configured_path_without_trailing_slash,
+ f'{configured_path_without_trailing_slash}/'
+ )
return endpoint_path == ''
+ @staticmethod
+ def _is_valid_endpoint_hostname(hostname):
+ if not hostname:
+ return False
+
+ labels = hostname.split('.')
+ if any(label == '' for label in labels):
+ return False
+
+ return all(re.match(r'^[A-Za-z0-9_-]+$', label) for label in labels)
+
def get_bool_env_var(envVar: str, default=False) -> bool:
if envVar is None:
return False
@@ -1015,24 +1098,25 @@ def _reset_session(self, response=None, reason="connection issue"):
:param response: The response object (if available) to ensure it's fully consumed
:param reason: Reason for resetting the session (for logging purposes)
"""
- self.logger.warning(f"Resetting session due to {reason}")
+ self.logger.warning(f"Resetting session due to {redact_sensitive_string_for_logs(reason)}")
if response is not None:
try:
# Read the response content to ensure the socket is fully drained
_ = response.content
response.close()
except Exception as e:
- self.logger.warning(f"Error while closing response during session reset: {e}")
+ self.logger.warning(f"Error while closing response during session reset: {redact_sensitive_string_for_logs(e)}")
# Create a new session and close the old one
new_session = copy.copy(self.session)
try:
self.session.close()
except Exception as e:
- self.logger.error(f"Error while closing old session: {e}")
+ self.logger.error(f"Error while closing old session: {redact_sensitive_string_for_logs(e)}")
self.session = new_session
def request(self, request, allow_control_chars=None, operation_name=None, api_reference_link=None):
- self.logger.info(utc_now() + "Request: %s %s" % (str(request.method), request.url))
+ redacted_request_url = redact_sensitive_string_for_logs(request.url)
+ self.logger.info(f"{utc_now()} Request: {str(request.method)} {redacted_request_url}")
initial_circuit_breaker_state = None
if self.circuit_breaker_name:
@@ -1057,6 +1141,7 @@ def request(self, request, allow_control_chars=None, operation_name=None, api_re
max_header_error_retries = int(os.environ.get(OCI_HEADER_PARSING_ERROR_MAX_RETRIES, 2))
if max_header_error_retries < 0:
raise ValueError("max_header_error_retries must be a positive integer.")
+
total_attempts = max_header_error_retries + 1
response = None
for attempt in range(total_attempts):
@@ -1082,16 +1167,18 @@ def request(self, request, allow_control_chars=None, operation_name=None, api_re
self.logger.debug(f"Response opc-request-id: {response.headers[constants.HEADER_REQUEST_ID]}")
break # Request succeeded, exit retry loop
except HeaderParsingError as e:
+ redacted_error = redact_sensitive_string_for_logs(e)
self.logger.warning(
- f"HeaderParsingError encountered on attempt {attempt + 1}/{total_attempts}: {str(e)}")
+ f"HeaderParsingError encountered on attempt {attempt + 1}/{total_attempts}: {redacted_error}")
# Reset the session to clear the connection pool
- self._reset_session(reason=f"HeaderParsingError ({str(e)[:100]})")
+ self._reset_session(reason=f"HeaderParsingError ({redacted_error[:100]})")
if attempt >= max_header_error_retries:
# Last attempt failed, re-raise as RequestException
if not e.args:
e.args = ('',)
+ e.args = tuple(redact_sensitive_string_for_logs(arg) for arg in e.args)
e.args = e.args + (
- f"Request Endpoint: {request.method} {request.url}. "
+ f"Request Endpoint: {request.method} {redacted_request_url}. "
f"HeaderParsingError indicates connection reuse issue. "
f"See {TROUBLESHOOT_URL} for help troubleshooting this error, or contact support and provide this full error message.",)
raise exceptions.RequestException(e)
@@ -1102,25 +1189,30 @@ def request(self, request, allow_control_chars=None, operation_name=None, api_re
except requests.exceptions.ConnectTimeout as e:
if not e.args:
e.args = ('',)
- e.args = e.args + ("Request Endpoint: " + request.method + " " + request.url + " See {} for help troubleshooting this error, or contact support and provide this full error message.".format(TROUBLESHOOT_URL),)
+ e.args = tuple(redact_sensitive_string_for_logs(arg) for arg in e.args)
+ e.args = e.args + (f"Request Endpoint: {request.method} {redacted_request_url} See {TROUBLESHOOT_URL} for help troubleshooting this error, or contact support and provide this full error message.",)
raise exceptions.ConnectTimeout(e)
except requests.exceptions.RequestException as e:
if not e.args:
e.args = ('',)
- e.args = e.args + ("Request Endpoint: " + request.method + " " + request.url + " See {} for help troubleshooting this error, or contact support and provide this full error message.".format(TROUBLESHOOT_URL),)
+ e.args = tuple(redact_sensitive_string_for_logs(arg) for arg in e.args)
+ e.args = e.args + (f"Request Endpoint: {request.method} {redacted_request_url} See {TROUBLESHOOT_URL} for help troubleshooting this error, or contact support and provide this full error message.",)
raise exceptions.RequestException(e)
response_type = request.response_type
- self.logger.debug(utc_now() + "Response status: %s" % str(response.status_code))
+ self.logger.debug(f"{utc_now()} Response status: {str(response.status_code)}")
# Raise Service Error or Transient Service Error
if not 200 <= response.status_code <= 299:
target_service = self.service
- request_endpoint = request.method + " " + request.url
+ request_endpoint = f"{request.method} {redacted_request_url}"
client_version = USER_INFO
timestamp = datetime.now(timezone.utc).isoformat()
service_code, message, deserialized_data = self.get_deserialized_service_code_and_message(response, allow_control_chars)
+ if message is not None:
+ message = redact_sensitive_string_for_logs(message)
+ deserialized_data = redact_sensitive_data_for_logs(deserialized_data)
if (response.status_code == 413 and service_code == 'RequestEntityTooLarge') or (response.status_code == 412 and service_code == 'IfNoneMatchFailed'):
self.logger.warning(
f"Received a {response.status_code}/{service_code} from {target_service}, resetting session")
diff --git a/src/oci/bds/models/activate_bds_metastore_configuration_details.py b/src/oci/bds/models/activate_bds_metastore_configuration_details.py
index 031df3ef66..05f53454ce 100644
--- a/src/oci/bds/models/activate_bds_metastore_configuration_details.py
+++ b/src/oci/bds/models/activate_bds_metastore_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,10 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['bds_api_key_passphrase'],
+ ['cluster_admin_password'],
+ ]
self._bds_api_key_passphrase = None
self._cluster_admin_password = None
self._secret_id = None
@@ -120,7 +124,10 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['bds_api_key_passphrase'])
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/activate_iam_user_sync_configuration_details.py b/src/oci/bds/models/activate_iam_user_sync_configuration_details.py
index db7611459c..9eadf713cb 100644
--- a/src/oci/bds/models/activate_iam_user_sync_configuration_details.py
+++ b/src/oci/bds/models/activate_iam_user_sync_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'is_posix_attributes_addition_required': 'isPosixAttributesAdditionRequired'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._is_posix_attributes_addition_required = None
@@ -120,7 +123,9 @@ def is_posix_attributes_addition_required(self, is_posix_attributes_addition_req
self._is_posix_attributes_addition_required = is_posix_attributes_addition_required
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/activate_upst_configuration_details.py b/src/oci/bds/models/activate_upst_configuration_details.py
index 8427bba8fb..a11aa2366c 100644
--- a/src/oci/bds/models/activate_upst_configuration_details.py
+++ b/src/oci/bds/models/activate_upst_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -49,6 +49,9 @@ def __init__(self, **kwargs):
'vault_id': 'vaultId',
'master_encryption_key_id': 'masterEncryptionKeyId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._vault_id = None
@@ -151,7 +154,9 @@ def master_encryption_key_id(self, master_encryption_key_id):
self._master_encryption_key_id = master_encryption_key_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/add_auto_scaling_configuration_details.py b/src/oci/bds/models/add_auto_scaling_configuration_details.py
index 353c2d3159..175b8474ad 100644
--- a/src/oci/bds/models/add_auto_scaling_configuration_details.py
+++ b/src/oci/bds/models/add_auto_scaling_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -67,6 +67,9 @@ def __init__(self, **kwargs):
'policy': 'policy',
'policy_details': 'policyDetails'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._display_name = None
self._node_type = None
self._is_enabled = None
@@ -236,7 +239,9 @@ def policy_details(self, policy_details):
self._policy_details = policy_details
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/add_block_storage_details.py b/src/oci/bds/models/add_block_storage_details.py
index c6ffa5b94d..dd752eceb4 100644
--- a/src/oci/bds/models/add_block_storage_details.py
+++ b/src/oci/bds/models/add_block_storage_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -72,6 +72,9 @@ def __init__(self, **kwargs):
'node_type': 'nodeType',
'node_ids': 'nodeIds'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._block_volume_size_in_gbs = None
@@ -216,7 +219,9 @@ def node_ids(self, node_ids):
self._node_ids = node_ids
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/add_cloud_sql_details.py b/src/oci/bds/models/add_cloud_sql_details.py
index 72756c1a5a..8ea8b8aef5 100644
--- a/src/oci/bds/models/add_cloud_sql_details.py
+++ b/src/oci/bds/models/add_cloud_sql_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -49,6 +49,9 @@ def __init__(self, **kwargs):
'block_volume_size_in_gbs': 'blockVolumeSizeInGBs',
'cluster_admin_password': 'clusterAdminPassword'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._shape = None
self._shape_config = None
self._block_volume_size_in_gbs = None
@@ -147,7 +150,9 @@ def cluster_admin_password(self, cluster_admin_password):
self._cluster_admin_password = cluster_admin_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/add_kafka_details.py b/src/oci/bds/models/add_kafka_details.py
index 27b278df1a..fc63b7f098 100644
--- a/src/oci/bds/models/add_kafka_details.py
+++ b/src/oci/bds/models/add_kafka_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -61,6 +61,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._shape = None
self._number_of_kafka_nodes = None
self._shape_config = None
@@ -209,7 +212,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/add_master_nodes_details.py b/src/oci/bds/models/add_master_nodes_details.py
index 1aef4de603..5f40b5cf97 100644
--- a/src/oci/bds/models/add_master_nodes_details.py
+++ b/src/oci/bds/models/add_master_nodes_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -61,6 +61,9 @@ def __init__(self, **kwargs):
'block_volume_size_in_gbs': 'blockVolumeSizeInGBs',
'shape_config': 'shapeConfig'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._number_of_master_nodes = None
@@ -209,7 +212,9 @@ def shape_config(self, shape_config):
self._shape_config = shape_config
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/add_utility_nodes_details.py b/src/oci/bds/models/add_utility_nodes_details.py
index f2db1e0485..3e0058fd2a 100644
--- a/src/oci/bds/models/add_utility_nodes_details.py
+++ b/src/oci/bds/models/add_utility_nodes_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -61,6 +61,9 @@ def __init__(self, **kwargs):
'block_volume_size_in_gbs': 'blockVolumeSizeInGBs',
'shape_config': 'shapeConfig'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._number_of_utility_nodes = None
@@ -209,7 +212,9 @@ def shape_config(self, shape_config):
self._shape_config = shape_config
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/add_worker_nodes_details.py b/src/oci/bds/models/add_worker_nodes_details.py
index 4f2babd04f..93215d7c66 100644
--- a/src/oci/bds/models/add_worker_nodes_details.py
+++ b/src/oci/bds/models/add_worker_nodes_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -84,6 +84,9 @@ def __init__(self, **kwargs):
'block_volume_size_in_gbs': 'blockVolumeSizeInGBs',
'shape_config': 'shapeConfig'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._number_of_worker_nodes = None
@@ -266,7 +269,9 @@ def shape_config(self, shape_config):
self._shape_config = shape_config
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/bds_instance_reset_password_details.py b/src/oci/bds/models/bds_instance_reset_password_details.py
index a8126e07db..0c0a4206f0 100644
--- a/src/oci/bds/models/bds_instance_reset_password_details.py
+++ b/src/oci/bds/models/bds_instance_reset_password_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -60,6 +60,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'service': 'service'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._service = None
@@ -144,7 +147,9 @@ def service(self, service):
self._service = service
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/change_shape_details.py b/src/oci/bds/models/change_shape_details.py
index 6787499a55..b258483675 100644
--- a/src/oci/bds/models/change_shape_details.py
+++ b/src/oci/bds/models/change_shape_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'nodes': 'nodes'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._nodes = None
@@ -116,7 +119,9 @@ def nodes(self, nodes):
self._nodes = nodes
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/create_bds_api_key_details.py b/src/oci/bds/models/create_bds_api_key_details.py
index d92c6f5df3..74ca38add7 100644
--- a/src/oci/bds/models/create_bds_api_key_details.py
+++ b/src/oci/bds/models/create_bds_api_key_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -55,6 +55,9 @@ def __init__(self, **kwargs):
'key_alias': 'keyAlias',
'domain_ocid': 'domainOcid'
}
+ self._redacted_field_paths = [
+ ['passphrase'],
+ ]
self._user_id = None
self._passphrase = None
self._default_region = None
@@ -186,7 +189,9 @@ def domain_ocid(self, domain_ocid):
self._domain_ocid = domain_ocid
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['passphrase'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/create_bds_instance_details.py b/src/oci/bds/models/create_bds_instance_details.py
index a3b8fcab4c..67b19bdefc 100644
--- a/src/oci/bds/models/create_bds_instance_details.py
+++ b/src/oci/bds/models/create_bds_instance_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -133,6 +133,9 @@ def __init__(self, **kwargs):
'cluster_profile': 'clusterProfile',
'bds_cluster_version_summary': 'bdsClusterVersionSummary'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._compartment_id = None
self._display_name = None
self._cluster_version = None
@@ -581,7 +584,9 @@ def bds_cluster_version_summary(self, bds_cluster_version_summary):
self._bds_cluster_version_summary = bds_cluster_version_summary
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/create_bds_metastore_configuration_details.py b/src/oci/bds/models/create_bds_metastore_configuration_details.py
index 9c477efb54..ccdd1ca660 100644
--- a/src/oci/bds/models/create_bds_metastore_configuration_details.py
+++ b/src/oci/bds/models/create_bds_metastore_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -61,6 +61,10 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['bds_api_key_passphrase'],
+ ['cluster_admin_password'],
+ ]
self._display_name = None
self._metastore_id = None
self._bds_api_key_id = None
@@ -213,7 +217,10 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['bds_api_key_passphrase'])
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/create_identity_configuration_details.py b/src/oci/bds/models/create_identity_configuration_details.py
index dae59fad45..b3acb986e9 100644
--- a/src/oci/bds/models/create_identity_configuration_details.py
+++ b/src/oci/bds/models/create_identity_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -67,6 +67,9 @@ def __init__(self, **kwargs):
'upst_configuration_details': 'upstConfigurationDetails',
'iam_user_sync_configuration_details': 'iamUserSyncConfigurationDetails'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._display_name = None
@@ -236,7 +239,9 @@ def iam_user_sync_configuration_details(self, iam_user_sync_configuration_detail
self._iam_user_sync_configuration_details = iam_user_sync_configuration_details
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/create_node_replace_configuration_details.py b/src/oci/bds/models/create_node_replace_configuration_details.py
index caf6254e31..9e917ad4f1 100644
--- a/src/oci/bds/models/create_node_replace_configuration_details.py
+++ b/src/oci/bds/models/create_node_replace_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -61,6 +61,9 @@ def __init__(self, **kwargs):
'metric_type': 'metricType',
'duration_in_minutes': 'durationInMinutes'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._level_type_details = None
self._display_name = None
self._cluster_admin_password = None
@@ -209,7 +212,9 @@ def duration_in_minutes(self, duration_in_minutes):
self._duration_in_minutes = duration_in_minutes
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/create_resource_principal_configuration_details.py b/src/oci/bds/models/create_resource_principal_configuration_details.py
index d189f558db..2418c796e8 100644
--- a/src/oci/bds/models/create_resource_principal_configuration_details.py
+++ b/src/oci/bds/models/create_resource_principal_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -49,6 +49,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'session_token_life_span_duration_in_hours': 'sessionTokenLifeSpanDurationInHours'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._display_name = None
self._cluster_admin_password = None
self._secret_id = None
@@ -151,7 +154,9 @@ def session_token_life_span_duration_in_hours(self, session_token_life_span_dura
self._session_token_life_span_duration_in_hours = session_token_life_span_duration_in_hours
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/deactivate_iam_user_sync_configuration_details.py b/src/oci/bds/models/deactivate_iam_user_sync_configuration_details.py
index a4bb4a1ff8..65b93f8f08 100644
--- a/src/oci/bds/models/deactivate_iam_user_sync_configuration_details.py
+++ b/src/oci/bds/models/deactivate_iam_user_sync_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/deactivate_upst_configuration_details.py b/src/oci/bds/models/deactivate_upst_configuration_details.py
index 73a97a9237..8e32defa9b 100644
--- a/src/oci/bds/models/deactivate_upst_configuration_details.py
+++ b/src/oci/bds/models/deactivate_upst_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/disable_certificate_details.py b/src/oci/bds/models/disable_certificate_details.py
index 938655ff63..862949a4dd 100644
--- a/src/oci/bds/models/disable_certificate_details.py
+++ b/src/oci/bds/models/disable_certificate_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'services': 'services'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._services = None
@@ -120,7 +123,9 @@ def services(self, services):
self._services = services
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/enable_certificate_details.py b/src/oci/bds/models/enable_certificate_details.py
index c11fcdc11b..b5a4546ab3 100644
--- a/src/oci/bds/models/enable_certificate_details.py
+++ b/src/oci/bds/models/enable_certificate_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -61,6 +61,11 @@ def __init__(self, **kwargs):
'host_cert_details': 'hostCertDetails',
'server_key_password': 'serverKeyPassword'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ['host_cert_details', '*', 'private_key'],
+ ['server_key_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._services = None
@@ -213,7 +218,11 @@ def server_key_password(self, server_key_password):
self._server_key_password = server_key_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ redact_password_field(as_dict, ['host_cert_details', '*', 'private_key'])
+ redact_password_field(as_dict, ['server_key_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/execute_bootstrap_script_details.py b/src/oci/bds/models/execute_bootstrap_script_details.py
index ec674a2446..e8f60e3568 100644
--- a/src/oci/bds/models/execute_bootstrap_script_details.py
+++ b/src/oci/bds/models/execute_bootstrap_script_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'bootstrap_script_url': 'bootstrapScriptUrl'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._bootstrap_script_url = None
@@ -120,7 +123,9 @@ def bootstrap_script_url(self, bootstrap_script_url):
self._bootstrap_script_url = bootstrap_script_url
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/force_refresh_resource_principal_details.py b/src/oci/bds/models/force_refresh_resource_principal_details.py
index a282cb507c..c5fe224b81 100644
--- a/src/oci/bds/models/force_refresh_resource_principal_details.py
+++ b/src/oci/bds/models/force_refresh_resource_principal_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/generate_bds_certificate_details.py b/src/oci/bds/models/generate_bds_certificate_details.py
index ee96896d56..6b90354b63 100644
--- a/src/oci/bds/models/generate_bds_certificate_details.py
+++ b/src/oci/bds/models/generate_bds_certificate_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._manage_certificate_level_type_details = None
self._cluster_admin_password = None
self._secret_id = None
@@ -116,7 +119,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/host_cert_details.py b/src/oci/bds/models/host_cert_details.py
index e6a40c7f7b..bf08f58d97 100644
--- a/src/oci/bds/models/host_cert_details.py
+++ b/src/oci/bds/models/host_cert_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'certificate': 'certificate',
'private_key': 'privateKey'
}
+ self._redacted_field_paths = [
+ ['private_key'],
+ ]
self._host_name = None
self._certificate = None
self._private_key = None
@@ -120,7 +123,9 @@ def private_key(self, private_key):
self._private_key = private_key
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['private_key'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/install_os_patch_details.py b/src/oci/bds/models/install_os_patch_details.py
index d4d97dbf46..b297b23def 100644
--- a/src/oci/bds/models/install_os_patch_details.py
+++ b/src/oci/bds/models/install_os_patch_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -55,6 +55,9 @@ def __init__(self, **kwargs):
'patching_configs': 'patchingConfigs',
'is_dry_run': 'isDryRun'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._os_patch_version = None
self._cluster_admin_password = None
self._secret_id = None
@@ -178,7 +181,9 @@ def is_dry_run(self, is_dry_run):
self._is_dry_run = is_dry_run
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/install_patch_details.py b/src/oci/bds/models/install_patch_details.py
index b137bac2cf..ddbc04d1e4 100644
--- a/src/oci/bds/models/install_patch_details.py
+++ b/src/oci/bds/models/install_patch_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -49,6 +49,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'patching_config': 'patchingConfig'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._version = None
self._cluster_admin_password = None
self._secret_id = None
@@ -147,7 +150,9 @@ def patching_config(self, patching_config):
self._patching_config = patching_config
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/password_summary.py b/src/oci/bds/models/password_summary.py
index 4ea21c2b8d..820c7acc87 100644
--- a/src/oci/bds/models/password_summary.py
+++ b/src/oci/bds/models/password_summary.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'admin_password': 'adminPassword'
}
+ self._redacted_field_paths = [
+ ['admin_password'],
+ ]
self._admin_password = None
@property
@@ -58,7 +61,9 @@ def admin_password(self, admin_password):
self._admin_password = admin_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/refresh_confidential_application_details.py b/src/oci/bds/models/refresh_confidential_application_details.py
index 2233c76570..5bed6d6279 100644
--- a/src/oci/bds/models/refresh_confidential_application_details.py
+++ b/src/oci/bds/models/refresh_confidential_application_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/refresh_upst_token_exchange_keytab_details.py b/src/oci/bds/models/refresh_upst_token_exchange_keytab_details.py
index c0a13b6d2f..745b5655c2 100644
--- a/src/oci/bds/models/refresh_upst_token_exchange_keytab_details.py
+++ b/src/oci/bds/models/refresh_upst_token_exchange_keytab_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/remove_auto_scaling_configuration_details.py b/src/oci/bds/models/remove_auto_scaling_configuration_details.py
index b01a0b963a..e59f7524f7 100644
--- a/src/oci/bds/models/remove_auto_scaling_configuration_details.py
+++ b/src/oci/bds/models/remove_auto_scaling_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/remove_cloud_sql_details.py b/src/oci/bds/models/remove_cloud_sql_details.py
index 604451c3ee..e1a271aa9c 100644
--- a/src/oci/bds/models/remove_cloud_sql_details.py
+++ b/src/oci/bds/models/remove_cloud_sql_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'cluster_admin_password': 'clusterAdminPassword'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
@property
@@ -58,7 +61,9 @@ def cluster_admin_password(self, cluster_admin_password):
self._cluster_admin_password = cluster_admin_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/remove_kafka_details.py b/src/oci/bds/models/remove_kafka_details.py
index 509e8debd1..1162a70f23 100644
--- a/src/oci/bds/models/remove_kafka_details.py
+++ b/src/oci/bds/models/remove_kafka_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/remove_node_details.py b/src/oci/bds/models/remove_node_details.py
index be72d1e7d8..7958bc6a7a 100644
--- a/src/oci/bds/models/remove_node_details.py
+++ b/src/oci/bds/models/remove_node_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -49,6 +49,9 @@ def __init__(self, **kwargs):
'is_force_remove_enabled': 'isForceRemoveEnabled',
'node_id': 'nodeId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._is_force_remove_enabled = None
@@ -153,7 +156,9 @@ def node_id(self, node_id):
self._node_id = node_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/remove_node_replace_configuration_details.py b/src/oci/bds/models/remove_node_replace_configuration_details.py
index 64acf8b600..4d1bacca0e 100644
--- a/src/oci/bds/models/remove_node_replace_configuration_details.py
+++ b/src/oci/bds/models/remove_node_replace_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/remove_nodes_details.py b/src/oci/bds/models/remove_nodes_details.py
index d722895397..9b7848b6b1 100644
--- a/src/oci/bds/models/remove_nodes_details.py
+++ b/src/oci/bds/models/remove_nodes_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -49,6 +49,9 @@ def __init__(self, **kwargs):
'is_force_remove_enabled': 'isForceRemoveEnabled',
'instance_ids': 'instanceIds'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._is_force_remove_enabled = None
@@ -151,7 +154,9 @@ def instance_ids(self, instance_ids):
self._instance_ids = instance_ids
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/remove_resource_principal_configuration_details.py b/src/oci/bds/models/remove_resource_principal_configuration_details.py
index 616568ee6a..99e19c4f99 100644
--- a/src/oci/bds/models/remove_resource_principal_configuration_details.py
+++ b/src/oci/bds/models/remove_resource_principal_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/renew_bds_certificate_details.py b/src/oci/bds/models/renew_bds_certificate_details.py
index a5060588d4..b96ec6f2ed 100644
--- a/src/oci/bds/models/renew_bds_certificate_details.py
+++ b/src/oci/bds/models/renew_bds_certificate_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._manage_certificate_level_type_details = None
self._cluster_admin_password = None
self._secret_id = None
@@ -116,7 +119,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/renew_certificate_details.py b/src/oci/bds/models/renew_certificate_details.py
index 716177293a..b0f7583238 100644
--- a/src/oci/bds/models/renew_certificate_details.py
+++ b/src/oci/bds/models/renew_certificate_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -61,6 +61,11 @@ def __init__(self, **kwargs):
'host_cert_details': 'hostCertDetails',
'server_key_password': 'serverKeyPassword'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ['host_cert_details', '*', 'private_key'],
+ ['server_key_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._services = None
@@ -213,7 +218,11 @@ def server_key_password(self, server_key_password):
self._server_key_password = server_key_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ redact_password_field(as_dict, ['host_cert_details', '*', 'private_key'])
+ redact_password_field(as_dict, ['server_key_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/replace_node_details.py b/src/oci/bds/models/replace_node_details.py
index 7b082a0b29..a06f2bc767 100644
--- a/src/oci/bds/models/replace_node_details.py
+++ b/src/oci/bds/models/replace_node_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -61,6 +61,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'shape': 'shape'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._node_host_name = None
self._node_backup_id = None
self._cluster_admin_password = None
@@ -213,7 +216,9 @@ def shape(self, shape):
self._shape = shape
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/set_default_bds_certificate_configuration_details.py b/src/oci/bds/models/set_default_bds_certificate_configuration_details.py
index d6c8497cd2..3fcb9310b1 100644
--- a/src/oci/bds/models/set_default_bds_certificate_configuration_details.py
+++ b/src/oci/bds/models/set_default_bds_certificate_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/start_bds_instance_details.py b/src/oci/bds/models/start_bds_instance_details.py
index cacdf0ad4e..b3cd64fb1b 100644
--- a/src/oci/bds/models/start_bds_instance_details.py
+++ b/src/oci/bds/models/start_bds_instance_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'start_cluster_shape_configs': 'startClusterShapeConfigs'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._start_cluster_shape_configs = None
@@ -116,7 +119,9 @@ def start_cluster_shape_configs(self, start_cluster_shape_configs):
self._start_cluster_shape_configs = start_cluster_shape_configs
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/stop_bds_instance_details.py b/src/oci/bds/models/stop_bds_instance_details.py
index d3339c7fdf..ac3da13d94 100644
--- a/src/oci/bds/models/stop_bds_instance_details.py
+++ b/src/oci/bds/models/stop_bds_instance_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._is_force_stop_jobs = None
self._cluster_admin_password = None
self._secret_id = None
@@ -120,7 +123,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/test_bds_metastore_configuration_details.py b/src/oci/bds/models/test_bds_metastore_configuration_details.py
index c7f1b7ac15..e70f710e11 100644
--- a/src/oci/bds/models/test_bds_metastore_configuration_details.py
+++ b/src/oci/bds/models/test_bds_metastore_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
@@ -89,7 +92,9 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/test_bds_object_storage_connection_details.py b/src/oci/bds/models/test_bds_object_storage_connection_details.py
index d5bccbc424..7eb54cb60e 100644
--- a/src/oci/bds/models/test_bds_object_storage_connection_details.py
+++ b/src/oci/bds/models/test_bds_object_storage_connection_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,9 @@ def __init__(self, **kwargs):
'passphrase': 'passphrase',
'object_storage_region': 'objectStorageRegion'
}
+ self._redacted_field_paths = [
+ ['passphrase'],
+ ]
self._object_storage_uri = None
self._passphrase = None
self._object_storage_region = None
@@ -120,7 +123,9 @@ def object_storage_region(self, object_storage_region):
self._object_storage_region = object_storage_region
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['passphrase'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/update_auto_scaling_configuration_details.py b/src/oci/bds/models/update_auto_scaling_configuration_details.py
index d0d7ad37ab..c8a1e69627 100644
--- a/src/oci/bds/models/update_auto_scaling_configuration_details.py
+++ b/src/oci/bds/models/update_auto_scaling_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -61,6 +61,9 @@ def __init__(self, **kwargs):
'policy': 'policy',
'policy_details': 'policyDetails'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._display_name = None
self._is_enabled = None
self._cluster_admin_password = None
@@ -205,7 +208,9 @@ def policy_details(self, policy_details):
self._policy_details = policy_details
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/update_bds_metastore_configuration_details.py b/src/oci/bds/models/update_bds_metastore_configuration_details.py
index 694724d144..827b128a39 100644
--- a/src/oci/bds/models/update_bds_metastore_configuration_details.py
+++ b/src/oci/bds/models/update_bds_metastore_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -55,6 +55,10 @@ def __init__(self, **kwargs):
'cluster_admin_password': 'clusterAdminPassword',
'secret_id': 'secretId'
}
+ self._redacted_field_paths = [
+ ['bds_api_key_passphrase'],
+ ['cluster_admin_password'],
+ ]
self._display_name = None
self._bds_api_key_id = None
self._bds_api_key_passphrase = None
@@ -182,7 +186,10 @@ def secret_id(self, secret_id):
self._secret_id = secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['bds_api_key_passphrase'])
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/bds/models/update_identity_configuration_details.py b/src/oci/bds/models/update_identity_configuration_details.py
index 2721724abe..4527bfd002 100644
--- a/src/oci/bds/models/update_identity_configuration_details.py
+++ b/src/oci/bds/models/update_identity_configuration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20190531
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -49,6 +49,9 @@ def __init__(self, **kwargs):
'upst_configuration_details': 'upstConfigurationDetails',
'iam_user_sync_configuration_details': 'iamUserSyncConfigurationDetails'
}
+ self._redacted_field_paths = [
+ ['cluster_admin_password'],
+ ]
self._cluster_admin_password = None
self._secret_id = None
self._upst_configuration_details = None
@@ -143,7 +146,9 @@ def iam_user_sync_configuration_details(self, iam_user_sync_configuration_detail
self._iam_user_sync_configuration_details = iam_user_sync_configuration_details
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cluster_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_bridge/models/logical_unit.py b/src/oci/cloud_bridge/models/logical_unit.py
index 3522564662..ca2224245e 100644
--- a/src/oci/cloud_bridge/models/logical_unit.py
+++ b/src/oci/cloud_bridge/models/logical_unit.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -152,6 +152,9 @@ def __init__(self, **kwargs):
'vendor_id': 'vendorId',
'volume_group_id': 'volumeGroupId'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._address = None
self._discard_max_size_in_bytes = None
self._is_discard_zeroes_data = None
@@ -636,7 +639,9 @@ def volume_group_id(self, volume_group_id):
self._volume_group_id = volume_group_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_bridge/models/olvm_storage_domain_asset_details.py b/src/oci/cloud_bridge/models/olvm_storage_domain_asset_details.py
index 668b739957..65024abdc0 100644
--- a/src/oci/cloud_bridge/models/olvm_storage_domain_asset_details.py
+++ b/src/oci/cloud_bridge/models/olvm_storage_domain_asset_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,11 @@ def __init__(self, **kwargs):
self.attribute_map = {
'olvm_storage_domain': 'olvmStorageDomain'
}
+ self._redacted_field_paths = [
+ ['olvm_storage_domain', 'storage', 'logical_units', '*', 'password'],
+ ['olvm_storage_domain', 'storage', 'password'],
+ ['olvm_storage_domain', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._olvm_storage_domain = None
@property
@@ -54,7 +59,11 @@ def olvm_storage_domain(self, olvm_storage_domain):
self._olvm_storage_domain = olvm_storage_domain
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['olvm_storage_domain', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['olvm_storage_domain', 'storage', 'password'])
+ redact_password_field(as_dict, ['olvm_storage_domain', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_bridge/models/olvm_storage_domain_properties.py b/src/oci/cloud_bridge/models/olvm_storage_domain_properties.py
index 25faa5f7a3..3fdbcc43d9 100644
--- a/src/oci/cloud_bridge/models/olvm_storage_domain_properties.py
+++ b/src/oci/cloud_bridge/models/olvm_storage_domain_properties.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -265,6 +265,11 @@ def __init__(self, **kwargs):
'storage_domain_type': 'storageDomainType',
'data_centers': 'dataCenters'
}
+ self._redacted_field_paths = [
+ ['storage', 'logical_units', '*', 'password'],
+ ['storage', 'password'],
+ ['storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._storage_domain_name = None
self._storage_domain_description = None
self._comment = None
@@ -841,7 +846,11 @@ def data_centers(self, data_centers):
self._data_centers = data_centers
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['storage', 'password'])
+ redact_password_field(as_dict, ['storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_bridge/models/olvm_template_asset_details.py b/src/oci/cloud_bridge/models/olvm_template_asset_details.py
index 9c2fe04983..ab20536b85 100644
--- a/src/oci/cloud_bridge/models/olvm_template_asset_details.py
+++ b/src/oci/cloud_bridge/models/olvm_template_asset_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,14 @@ def __init__(self, **kwargs):
self.attribute_map = {
'olvm_template': 'olvmTemplate'
}
+ self._redacted_field_paths = [
+ ['olvm_template', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['olvm_template', 'storage_domain_lease', 'storage', 'password'],
+ ['olvm_template', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'password'],
+ ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._olvm_template = None
@property
@@ -54,7 +62,14 @@ def olvm_template(self, olvm_template):
self._olvm_template = olvm_template
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['olvm_template', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_bridge/models/olvm_template_properties.py b/src/oci/cloud_bridge/models/olvm_template_properties.py
index e81c79e755..3e7909a83b 100644
--- a/src/oci/cloud_bridge/models/olvm_template_properties.py
+++ b/src/oci/cloud_bridge/models/olvm_template_properties.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -367,6 +367,14 @@ def __init__(self, **kwargs):
'is_virtio_scsi_multi_queues_enabled': 'isVirtioScsiMultiQueuesEnabled',
'vm': 'vm'
}
+ self._redacted_field_paths = [
+ ['storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['storage_domain_lease', 'storage', 'password'],
+ ['storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ['vm', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['vm', 'storage_domain_lease', 'storage', 'password'],
+ ['vm', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._auto_pinning_policy = None
self._bios = None
self._comment = None
@@ -1492,7 +1500,14 @@ def vm(self, vm):
self._vm = vm
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['vm', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['vm', 'storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['vm', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_bridge/models/olvm_virtual_machine.py b/src/oci/cloud_bridge/models/olvm_virtual_machine.py
index 794d099e7c..7375d0a9c7 100644
--- a/src/oci/cloud_bridge/models/olvm_virtual_machine.py
+++ b/src/oci/cloud_bridge/models/olvm_virtual_machine.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -427,6 +427,11 @@ def __init__(self, **kwargs):
'virtio_scsi_multi_queues': 'virtioScsiMultiQueues',
'is_virtio_scsi_multi_queues_enabled': 'isVirtioScsiMultiQueuesEnabled'
}
+ self._redacted_field_paths = [
+ ['storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['storage_domain_lease', 'storage', 'password'],
+ ['storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._auto_pinning_policy = None
self._bios = None
self._comment = None
@@ -1802,7 +1807,11 @@ def is_virtio_scsi_multi_queues_enabled(self, is_virtio_scsi_multi_queues_enable
self._is_virtio_scsi_multi_queues_enabled = is_virtio_scsi_multi_queues_enabled
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_bridge/models/storage.py b/src/oci/cloud_bridge/models/storage.py
index f5b2c83e4f..4ee709b9f6 100644
--- a/src/oci/cloud_bridge/models/storage.py
+++ b/src/oci/cloud_bridge/models/storage.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -213,6 +213,11 @@ def __init__(self, **kwargs):
'vfs_type': 'vfsType',
'volume_group': 'volumeGroup'
}
+ self._redacted_field_paths = [
+ ['logical_units', '*', 'password'],
+ ['password'],
+ ['volume_group', 'logical_units', '*', 'password'],
+ ]
self._id = None
self._address = None
self._comment = None
@@ -750,7 +755,11 @@ def volume_group(self, volume_group):
self._volume_group = volume_group
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_bridge/models/volume_group.py b/src/oci/cloud_bridge/models/volume_group.py
index 1cd8eb04bd..1b991afc36 100644
--- a/src/oci/cloud_bridge/models/volume_group.py
+++ b/src/oci/cloud_bridge/models/volume_group.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220509
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'id': 'id',
'logical_units': 'logicalUnits'
}
+ self._redacted_field_paths = [
+ ['logical_units', '*', 'password'],
+ ]
self._id = None
self._logical_units = None
@@ -89,7 +92,9 @@ def logical_units(self, logical_units):
self._logical_units = logical_units
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_migrations/models/create_migration_details.py b/src/oci/cloud_migrations/models/create_migration_details.py
index 9905ec8d21..79a94f0812 100644
--- a/src/oci/cloud_migrations/models/create_migration_details.py
+++ b/src/oci/cloud_migrations/models/create_migration_details.py
@@ -52,6 +52,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this CreateMigrationDetails.
:type defined_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this CreateMigrationDetails.
+ :type security_attributes: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'migration_type': 'str',
@@ -61,7 +65,8 @@ def __init__(self, **kwargs):
'is_completed': 'bool',
'migration_config': 'MigrationConfig',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'migration_type': 'migrationType',
@@ -71,7 +76,8 @@ def __init__(self, **kwargs):
'is_completed': 'isCompleted',
'migration_config': 'migrationConfig',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'security_attributes': 'securityAttributes'
}
self._migration_type = None
self._display_name = None
@@ -81,6 +87,7 @@ def __init__(self, **kwargs):
self._migration_config = None
self._freeform_tags = None
self._defined_tags = None
+ self._security_attributes = None
@property
def migration_type(self):
@@ -274,6 +281,40 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def security_attributes(self):
+ """
+ Gets the security_attributes of this CreateMigrationDetails.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The security_attributes of this CreateMigrationDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._security_attributes
+
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
+ """
+ Sets the security_attributes of this CreateMigrationDetails.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param security_attributes: The security_attributes of this CreateMigrationDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._security_attributes = security_attributes
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/cloud_migrations/models/logical_unit.py b/src/oci/cloud_migrations/models/logical_unit.py
index 0a7cca0ca6..161d7dc1fa 100644
--- a/src/oci/cloud_migrations/models/logical_unit.py
+++ b/src/oci/cloud_migrations/models/logical_unit.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220919
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -152,6 +152,9 @@ def __init__(self, **kwargs):
'vendor_id': 'vendorId',
'volume_group_id': 'volumeGroupId'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._address = None
self._discard_max_size_in_bytes = None
self._is_discard_zeroes_data = None
@@ -636,7 +639,9 @@ def volume_group_id(self, volume_group_id):
self._volume_group_id = volume_group_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_migrations/models/migration.py b/src/oci/cloud_migrations/models/migration.py
index 0920001be4..3938bb068f 100644
--- a/src/oci/cloud_migrations/models/migration.py
+++ b/src/oci/cloud_migrations/models/migration.py
@@ -116,6 +116,10 @@ def __init__(self, **kwargs):
The value to assign to the system_tags property of this Migration.
:type system_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this Migration.
+ :type security_attributes: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -131,7 +135,8 @@ def __init__(self, **kwargs):
'migration_config': 'MigrationConfig',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'system_tags': 'dict(str, dict(str, object))'
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'id': 'id',
@@ -147,7 +152,8 @@ def __init__(self, **kwargs):
'migration_config': 'migrationConfig',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'system_tags': 'systemTags'
+ 'system_tags': 'systemTags',
+ 'security_attributes': 'securityAttributes'
}
self._id = None
self._display_name = None
@@ -163,6 +169,7 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
+ self._security_attributes = None
@property
def id(self):
@@ -514,6 +521,40 @@ def system_tags(self, system_tags):
"""
self._system_tags = system_tags
+ @property
+ def security_attributes(self):
+ """
+ Gets the security_attributes of this Migration.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The security_attributes of this Migration.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._security_attributes
+
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
+ """
+ Sets the security_attributes of this Migration.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param security_attributes: The security_attributes of this Migration.
+ :type: dict(str, dict(str, object))
+ """
+ self._security_attributes = security_attributes
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/cloud_migrations/models/migration_summary.py b/src/oci/cloud_migrations/models/migration_summary.py
index ed1c2b829f..636ee86893 100644
--- a/src/oci/cloud_migrations/models/migration_summary.py
+++ b/src/oci/cloud_migrations/models/migration_summary.py
@@ -76,6 +76,10 @@ def __init__(self, **kwargs):
The value to assign to the system_tags property of this MigrationSummary.
:type system_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this MigrationSummary.
+ :type security_attributes: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -91,7 +95,8 @@ def __init__(self, **kwargs):
'migration_config': 'MigrationConfig',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'system_tags': 'dict(str, dict(str, object))'
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'id': 'id',
@@ -107,7 +112,8 @@ def __init__(self, **kwargs):
'migration_config': 'migrationConfig',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'system_tags': 'systemTags'
+ 'system_tags': 'systemTags',
+ 'security_attributes': 'securityAttributes'
}
self._id = None
self._display_name = None
@@ -123,6 +129,7 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
+ self._security_attributes = None
@property
def id(self):
@@ -462,6 +469,40 @@ def system_tags(self, system_tags):
"""
self._system_tags = system_tags
+ @property
+ def security_attributes(self):
+ """
+ Gets the security_attributes of this MigrationSummary.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The security_attributes of this MigrationSummary.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._security_attributes
+
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
+ """
+ Sets the security_attributes of this MigrationSummary.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param security_attributes: The security_attributes of this MigrationSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._security_attributes = security_attributes
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/cloud_migrations/models/olvm_storage_domain_asset_details.py b/src/oci/cloud_migrations/models/olvm_storage_domain_asset_details.py
index cfd6367d76..67883ad9e0 100644
--- a/src/oci/cloud_migrations/models/olvm_storage_domain_asset_details.py
+++ b/src/oci/cloud_migrations/models/olvm_storage_domain_asset_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220919
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,11 @@ def __init__(self, **kwargs):
self.attribute_map = {
'olvm_storage_domain': 'olvmStorageDomain'
}
+ self._redacted_field_paths = [
+ ['olvm_storage_domain', 'storage', 'logical_units', '*', 'password'],
+ ['olvm_storage_domain', 'storage', 'password'],
+ ['olvm_storage_domain', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._olvm_storage_domain = None
@property
@@ -54,7 +59,11 @@ def olvm_storage_domain(self, olvm_storage_domain):
self._olvm_storage_domain = olvm_storage_domain
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['olvm_storage_domain', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['olvm_storage_domain', 'storage', 'password'])
+ redact_password_field(as_dict, ['olvm_storage_domain', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_migrations/models/olvm_storage_domain_properties.py b/src/oci/cloud_migrations/models/olvm_storage_domain_properties.py
index fcd8434482..6488fd7501 100644
--- a/src/oci/cloud_migrations/models/olvm_storage_domain_properties.py
+++ b/src/oci/cloud_migrations/models/olvm_storage_domain_properties.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220919
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -265,6 +265,11 @@ def __init__(self, **kwargs):
'storage_domain_type': 'storageDomainType',
'data_centers': 'dataCenters'
}
+ self._redacted_field_paths = [
+ ['storage', 'logical_units', '*', 'password'],
+ ['storage', 'password'],
+ ['storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._storage_domain_name = None
self._storage_domain_description = None
self._comment = None
@@ -841,7 +846,11 @@ def data_centers(self, data_centers):
self._data_centers = data_centers
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['storage', 'password'])
+ redact_password_field(as_dict, ['storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_migrations/models/olvm_template_asset_details.py b/src/oci/cloud_migrations/models/olvm_template_asset_details.py
index f8a4c08339..0eb46d99c7 100644
--- a/src/oci/cloud_migrations/models/olvm_template_asset_details.py
+++ b/src/oci/cloud_migrations/models/olvm_template_asset_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220919
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,14 @@ def __init__(self, **kwargs):
self.attribute_map = {
'olvm_template': 'olvmTemplate'
}
+ self._redacted_field_paths = [
+ ['olvm_template', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['olvm_template', 'storage_domain_lease', 'storage', 'password'],
+ ['olvm_template', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'password'],
+ ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._olvm_template = None
@property
@@ -54,7 +62,14 @@ def olvm_template(self, olvm_template):
self._olvm_template = olvm_template
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['olvm_template', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['olvm_template', 'vm', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_migrations/models/olvm_template_properties.py b/src/oci/cloud_migrations/models/olvm_template_properties.py
index 98ef906899..7ea95236e8 100644
--- a/src/oci/cloud_migrations/models/olvm_template_properties.py
+++ b/src/oci/cloud_migrations/models/olvm_template_properties.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220919
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -367,6 +367,14 @@ def __init__(self, **kwargs):
'is_virtio_scsi_multi_queues_enabled': 'isVirtioScsiMultiQueuesEnabled',
'vm': 'vm'
}
+ self._redacted_field_paths = [
+ ['storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['storage_domain_lease', 'storage', 'password'],
+ ['storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ['vm', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['vm', 'storage_domain_lease', 'storage', 'password'],
+ ['vm', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._auto_pinning_policy = None
self._bios = None
self._comment = None
@@ -1492,7 +1500,14 @@ def vm(self, vm):
self._vm = vm
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['vm', 'storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['vm', 'storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['vm', 'storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_migrations/models/olvm_virtual_machine.py b/src/oci/cloud_migrations/models/olvm_virtual_machine.py
index 17c272eae2..d10134281a 100644
--- a/src/oci/cloud_migrations/models/olvm_virtual_machine.py
+++ b/src/oci/cloud_migrations/models/olvm_virtual_machine.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220919
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -427,6 +427,11 @@ def __init__(self, **kwargs):
'virtio_scsi_multi_queues': 'virtioScsiMultiQueues',
'is_virtio_scsi_multi_queues_enabled': 'isVirtioScsiMultiQueuesEnabled'
}
+ self._redacted_field_paths = [
+ ['storage_domain_lease', 'storage', 'logical_units', '*', 'password'],
+ ['storage_domain_lease', 'storage', 'password'],
+ ['storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'],
+ ]
self._auto_pinning_policy = None
self._bios = None
self._comment = None
@@ -1802,7 +1807,11 @@ def is_virtio_scsi_multi_queues_enabled(self, is_virtio_scsi_multi_queues_enable
self._is_virtio_scsi_multi_queues_enabled = is_virtio_scsi_multi_queues_enabled
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'password'])
+ redact_password_field(as_dict, ['storage_domain_lease', 'storage', 'volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_migrations/models/storage.py b/src/oci/cloud_migrations/models/storage.py
index ab80e17e70..ab8c692ac3 100644
--- a/src/oci/cloud_migrations/models/storage.py
+++ b/src/oci/cloud_migrations/models/storage.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220919
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -213,6 +213,11 @@ def __init__(self, **kwargs):
'vfs_type': 'vfsType',
'volume_group': 'volumeGroup'
}
+ self._redacted_field_paths = [
+ ['logical_units', '*', 'password'],
+ ['password'],
+ ['volume_group', 'logical_units', '*', 'password'],
+ ]
self._id = None
self._address = None
self._comment = None
@@ -750,7 +755,11 @@ def volume_group(self, volume_group):
self._volume_group = volume_group
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['logical_units', '*', 'password'])
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['volume_group', 'logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/cloud_migrations/models/update_migration_details.py b/src/oci/cloud_migrations/models/update_migration_details.py
index 302086ab6d..804ef711e9 100644
--- a/src/oci/cloud_migrations/models/update_migration_details.py
+++ b/src/oci/cloud_migrations/models/update_migration_details.py
@@ -48,6 +48,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this UpdateMigrationDetails.
:type defined_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this UpdateMigrationDetails.
+ :type security_attributes: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'display_name': 'str',
@@ -56,7 +60,8 @@ def __init__(self, **kwargs):
'migration_type': 'str',
'migration_config': 'MigrationConfig',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'display_name': 'displayName',
@@ -65,7 +70,8 @@ def __init__(self, **kwargs):
'migration_type': 'migrationType',
'migration_config': 'migrationConfig',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'security_attributes': 'securityAttributes'
}
self._display_name = None
self._replication_schedule_id = None
@@ -74,6 +80,7 @@ def __init__(self, **kwargs):
self._migration_config = None
self._freeform_tags = None
self._defined_tags = None
+ self._security_attributes = None
@property
def display_name(self):
@@ -243,6 +250,40 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def security_attributes(self):
+ """
+ Gets the security_attributes of this UpdateMigrationDetails.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The security_attributes of this UpdateMigrationDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._security_attributes
+
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
+ """
+ Sets the security_attributes of this UpdateMigrationDetails.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param security_attributes: The security_attributes of this UpdateMigrationDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._security_attributes = security_attributes
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/cloud_migrations/models/volume_group.py b/src/oci/cloud_migrations/models/volume_group.py
index e41581eb22..30bf6cecb2 100644
--- a/src/oci/cloud_migrations/models/volume_group.py
+++ b/src/oci/cloud_migrations/models/volume_group.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20220919
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'id': 'id',
'logical_units': 'logicalUnits'
}
+ self._redacted_field_paths = [
+ ['logical_units', '*', 'password'],
+ ]
self._id = None
self._logical_units = None
@@ -89,7 +92,9 @@ def logical_units(self, logical_units):
self._logical_units = logical_units
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['logical_units', '*', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/compute_instance_agent/compute_instance_agent_client.py b/src/oci/compute_instance_agent/compute_instance_agent_client.py
index 6706643fb0..d3ffcc98ad 100644
--- a/src/oci/compute_instance_agent/compute_instance_agent_client.py
+++ b/src/oci/compute_instance_agent/compute_instance_agent_client.py
@@ -105,7 +105,7 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20180530',
- 'service_endpoint_template': 'https://iaas.{region}.{secondLevelDomain}',
+ 'service_endpoint_template': 'https://iaas.{region}.{dualStack?ds.:}oci.{secondLevelDomain}',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'service_uses_dualstack_endpoints_by_default': False,
'skip_deserialization': kwargs.get('skip_deserialization', False),
diff --git a/src/oci/compute_instance_agent/plugin_client.py b/src/oci/compute_instance_agent/plugin_client.py
index 233a7ec921..97bd3f7390 100644
--- a/src/oci/compute_instance_agent/plugin_client.py
+++ b/src/oci/compute_instance_agent/plugin_client.py
@@ -105,7 +105,7 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20180530',
- 'service_endpoint_template': 'https://iaas.{region}.{secondLevelDomain}',
+ 'service_endpoint_template': 'https://iaas.{region}.{dualStack?ds.:}oci.{secondLevelDomain}',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'service_uses_dualstack_endpoints_by_default': False,
'skip_deserialization': kwargs.get('skip_deserialization', False),
diff --git a/src/oci/compute_instance_agent/pluginconfig_client.py b/src/oci/compute_instance_agent/pluginconfig_client.py
index 7ee880c597..604b7fecc9 100644
--- a/src/oci/compute_instance_agent/pluginconfig_client.py
+++ b/src/oci/compute_instance_agent/pluginconfig_client.py
@@ -105,7 +105,7 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20180530',
- 'service_endpoint_template': 'https://iaas.{region}.{secondLevelDomain}',
+ 'service_endpoint_template': 'https://iaas.{region}.{dualStack?ds.:}oci.{secondLevelDomain}',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'service_uses_dualstack_endpoints_by_default': False,
'skip_deserialization': kwargs.get('skip_deserialization', False),
diff --git a/src/oci/container_engine/models/__init__.py b/src/oci/container_engine/models/__init__.py
index 53ed76ef44..4b44a01229 100644
--- a/src/oci/container_engine/models/__init__.py
+++ b/src/oci/container_engine/models/__init__.py
@@ -100,6 +100,7 @@
from .update_workload_mapping_details import UpdateWorkloadMappingDetails
from .virtual_node import VirtualNode
from .virtual_node_pool import VirtualNodePool
+from .virtual_node_pool_cycling_details import VirtualNodePoolCyclingDetails
from .virtual_node_pool_summary import VirtualNodePoolSummary
from .virtual_node_summary import VirtualNodeSummary
from .virtual_node_tags import VirtualNodeTags
@@ -207,6 +208,7 @@
"UpdateWorkloadMappingDetails": UpdateWorkloadMappingDetails,
"VirtualNode": VirtualNode,
"VirtualNodePool": VirtualNodePool,
+ "VirtualNodePoolCyclingDetails": VirtualNodePoolCyclingDetails,
"VirtualNodePoolSummary": VirtualNodePoolSummary,
"VirtualNodeSummary": VirtualNodeSummary,
"VirtualNodeTags": VirtualNodeTags,
diff --git a/src/oci/container_engine/models/create_node_pool_node_config_details.py b/src/oci/container_engine/models/create_node_pool_node_config_details.py
index 20b64a6059..fd18aac8f9 100644
--- a/src/oci/container_engine/models/create_node_pool_node_config_details.py
+++ b/src/oci/container_engine/models/create_node_pool_node_config_details.py
@@ -36,6 +36,10 @@ def __init__(self, **kwargs):
The value to assign to the is_pv_encryption_in_transit_enabled property of this CreateNodePoolNodeConfigDetails.
:type is_pv_encryption_in_transit_enabled: bool
+ :param compute_cluster_id:
+ The value to assign to the compute_cluster_id property of this CreateNodePoolNodeConfigDetails.
+ :type compute_cluster_id: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this CreateNodePoolNodeConfigDetails.
:type freeform_tags: dict(str, str)
@@ -58,6 +62,7 @@ def __init__(self, **kwargs):
'nsg_ids': 'list[str]',
'kms_key_id': 'str',
'is_pv_encryption_in_transit_enabled': 'bool',
+ 'compute_cluster_id': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'placement_configs': 'list[NodePoolPlacementConfigDetails]',
@@ -68,6 +73,7 @@ def __init__(self, **kwargs):
'nsg_ids': 'nsgIds',
'kms_key_id': 'kmsKeyId',
'is_pv_encryption_in_transit_enabled': 'isPvEncryptionInTransitEnabled',
+ 'compute_cluster_id': 'computeClusterId',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'placement_configs': 'placementConfigs',
@@ -77,6 +83,7 @@ def __init__(self, **kwargs):
self._nsg_ids = None
self._kms_key_id = None
self._is_pv_encryption_in_transit_enabled = None
+ self._compute_cluster_id = None
self._freeform_tags = None
self._defined_tags = None
self._placement_configs = None
@@ -178,6 +185,30 @@ def is_pv_encryption_in_transit_enabled(self, is_pv_encryption_in_transit_enable
"""
self._is_pv_encryption_in_transit_enabled = is_pv_encryption_in_transit_enabled
+ @property
+ def compute_cluster_id(self):
+ """
+ Gets the compute_cluster_id of this CreateNodePoolNodeConfigDetails.
+ The OCID of the Compute Cluster to be associated with the worker node instance.
+
+
+ :return: The compute_cluster_id of this CreateNodePoolNodeConfigDetails.
+ :rtype: str
+ """
+ return self._compute_cluster_id
+
+ @compute_cluster_id.setter
+ def compute_cluster_id(self, compute_cluster_id):
+ """
+ Sets the compute_cluster_id of this CreateNodePoolNodeConfigDetails.
+ The OCID of the Compute Cluster to be associated with the worker node instance.
+
+
+ :param compute_cluster_id: The compute_cluster_id of this CreateNodePoolNodeConfigDetails.
+ :type: str
+ """
+ self._compute_cluster_id = compute_cluster_id
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/container_engine/models/create_virtual_node_pool_details.py b/src/oci/container_engine/models/create_virtual_node_pool_details.py
index 47ac45f545..f05da9c078 100644
--- a/src/oci/container_engine/models/create_virtual_node_pool_details.py
+++ b/src/oci/container_engine/models/create_virtual_node_pool_details.py
@@ -68,6 +68,10 @@ def __init__(self, **kwargs):
The value to assign to the virtual_node_tags property of this CreateVirtualNodePoolDetails.
:type virtual_node_tags: oci.container_engine.models.VirtualNodeTags
+ :param virtual_node_pool_cycling_details:
+ The value to assign to the virtual_node_pool_cycling_details property of this CreateVirtualNodePoolDetails.
+ :type virtual_node_pool_cycling_details: oci.container_engine.models.VirtualNodePoolCyclingDetails
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -81,7 +85,8 @@ def __init__(self, **kwargs):
'pod_configuration': 'PodConfiguration',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'virtual_node_tags': 'VirtualNodeTags'
+ 'virtual_node_tags': 'VirtualNodeTags',
+ 'virtual_node_pool_cycling_details': 'VirtualNodePoolCyclingDetails'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
@@ -95,7 +100,8 @@ def __init__(self, **kwargs):
'pod_configuration': 'podConfiguration',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'virtual_node_tags': 'virtualNodeTags'
+ 'virtual_node_tags': 'virtualNodeTags',
+ 'virtual_node_pool_cycling_details': 'virtualNodePoolCyclingDetails'
}
self._compartment_id = None
self._cluster_id = None
@@ -109,6 +115,7 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._defined_tags = None
self._virtual_node_tags = None
+ self._virtual_node_pool_cycling_details = None
@property
def compartment_id(self):
@@ -410,6 +417,26 @@ def virtual_node_tags(self, virtual_node_tags):
"""
self._virtual_node_tags = virtual_node_tags
+ @property
+ def virtual_node_pool_cycling_details(self):
+ """
+ Gets the virtual_node_pool_cycling_details of this CreateVirtualNodePoolDetails.
+
+ :return: The virtual_node_pool_cycling_details of this CreateVirtualNodePoolDetails.
+ :rtype: oci.container_engine.models.VirtualNodePoolCyclingDetails
+ """
+ return self._virtual_node_pool_cycling_details
+
+ @virtual_node_pool_cycling_details.setter
+ def virtual_node_pool_cycling_details(self, virtual_node_pool_cycling_details):
+ """
+ Sets the virtual_node_pool_cycling_details of this CreateVirtualNodePoolDetails.
+
+ :param virtual_node_pool_cycling_details: The virtual_node_pool_cycling_details of this CreateVirtualNodePoolDetails.
+ :type: oci.container_engine.models.VirtualNodePoolCyclingDetails
+ """
+ self._virtual_node_pool_cycling_details = virtual_node_pool_cycling_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/container_engine/models/node_pool_node_config_details.py b/src/oci/container_engine/models/node_pool_node_config_details.py
index a6e9850185..0beefd97ef 100644
--- a/src/oci/container_engine/models/node_pool_node_config_details.py
+++ b/src/oci/container_engine/models/node_pool_node_config_details.py
@@ -32,6 +32,10 @@ def __init__(self, **kwargs):
The value to assign to the kms_key_id property of this NodePoolNodeConfigDetails.
:type kms_key_id: str
+ :param compute_cluster_id:
+ The value to assign to the compute_cluster_id property of this NodePoolNodeConfigDetails.
+ :type compute_cluster_id: str
+
:param is_pv_encryption_in_transit_enabled:
The value to assign to the is_pv_encryption_in_transit_enabled property of this NodePoolNodeConfigDetails.
:type is_pv_encryption_in_transit_enabled: bool
@@ -57,6 +61,7 @@ def __init__(self, **kwargs):
'size': 'int',
'nsg_ids': 'list[str]',
'kms_key_id': 'str',
+ 'compute_cluster_id': 'str',
'is_pv_encryption_in_transit_enabled': 'bool',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
@@ -67,6 +72,7 @@ def __init__(self, **kwargs):
'size': 'size',
'nsg_ids': 'nsgIds',
'kms_key_id': 'kmsKeyId',
+ 'compute_cluster_id': 'computeClusterId',
'is_pv_encryption_in_transit_enabled': 'isPvEncryptionInTransitEnabled',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
@@ -76,6 +82,7 @@ def __init__(self, **kwargs):
self._size = None
self._nsg_ids = None
self._kms_key_id = None
+ self._compute_cluster_id = None
self._is_pv_encryption_in_transit_enabled = None
self._freeform_tags = None
self._defined_tags = None
@@ -154,6 +161,30 @@ def kms_key_id(self, kms_key_id):
"""
self._kms_key_id = kms_key_id
+ @property
+ def compute_cluster_id(self):
+ """
+ Gets the compute_cluster_id of this NodePoolNodeConfigDetails.
+ The OCID of the Compute Cluster to be associated with the worker node instance.
+
+
+ :return: The compute_cluster_id of this NodePoolNodeConfigDetails.
+ :rtype: str
+ """
+ return self._compute_cluster_id
+
+ @compute_cluster_id.setter
+ def compute_cluster_id(self, compute_cluster_id):
+ """
+ Sets the compute_cluster_id of this NodePoolNodeConfigDetails.
+ The OCID of the Compute Cluster to be associated with the worker node instance.
+
+
+ :param compute_cluster_id: The compute_cluster_id of this NodePoolNodeConfigDetails.
+ :type: str
+ """
+ self._compute_cluster_id = compute_cluster_id
+
@property
def is_pv_encryption_in_transit_enabled(self):
"""
diff --git a/src/oci/container_engine/models/node_pool_placement_config_details.py b/src/oci/container_engine/models/node_pool_placement_config_details.py
index b97a0be563..a7c2e95d81 100644
--- a/src/oci/container_engine/models/node_pool_placement_config_details.py
+++ b/src/oci/container_engine/models/node_pool_placement_config_details.py
@@ -32,6 +32,10 @@ def __init__(self, **kwargs):
The value to assign to the capacity_reservation_id property of this NodePoolPlacementConfigDetails.
:type capacity_reservation_id: str
+ :param host_group_id:
+ The value to assign to the host_group_id property of this NodePoolPlacementConfigDetails.
+ :type host_group_id: str
+
:param preemptible_node_config:
The value to assign to the preemptible_node_config property of this NodePoolPlacementConfigDetails.
:type preemptible_node_config: oci.container_engine.models.PreemptibleNodeConfigDetails
@@ -45,6 +49,7 @@ def __init__(self, **kwargs):
'availability_domain': 'str',
'subnet_id': 'str',
'capacity_reservation_id': 'str',
+ 'host_group_id': 'str',
'preemptible_node_config': 'PreemptibleNodeConfigDetails',
'fault_domains': 'list[str]'
}
@@ -52,12 +57,14 @@ def __init__(self, **kwargs):
'availability_domain': 'availabilityDomain',
'subnet_id': 'subnetId',
'capacity_reservation_id': 'capacityReservationId',
+ 'host_group_id': 'hostGroupId',
'preemptible_node_config': 'preemptibleNodeConfig',
'fault_domains': 'faultDomains'
}
self._availability_domain = None
self._subnet_id = None
self._capacity_reservation_id = None
+ self._host_group_id = None
self._preemptible_node_config = None
self._fault_domains = None
@@ -135,6 +142,30 @@ def capacity_reservation_id(self, capacity_reservation_id):
"""
self._capacity_reservation_id = capacity_reservation_id
+ @property
+ def host_group_id(self):
+ """
+ Gets the host_group_id of this NodePoolPlacementConfigDetails.
+ The OCID of the Host Group to be associated with the worker node instance.
+
+
+ :return: The host_group_id of this NodePoolPlacementConfigDetails.
+ :rtype: str
+ """
+ return self._host_group_id
+
+ @host_group_id.setter
+ def host_group_id(self, host_group_id):
+ """
+ Sets the host_group_id of this NodePoolPlacementConfigDetails.
+ The OCID of the Host Group to be associated with the worker node instance.
+
+
+ :param host_group_id: The host_group_id of this NodePoolPlacementConfigDetails.
+ :type: str
+ """
+ self._host_group_id = host_group_id
+
@property
def preemptible_node_config(self):
"""
diff --git a/src/oci/container_engine/models/update_virtual_node_pool_details.py b/src/oci/container_engine/models/update_virtual_node_pool_details.py
index 1ac59ea07a..23f2b19448 100644
--- a/src/oci/container_engine/models/update_virtual_node_pool_details.py
+++ b/src/oci/container_engine/models/update_virtual_node_pool_details.py
@@ -60,6 +60,10 @@ def __init__(self, **kwargs):
The value to assign to the virtual_node_tags property of this UpdateVirtualNodePoolDetails.
:type virtual_node_tags: oci.container_engine.models.VirtualNodeTags
+ :param virtual_node_pool_cycling_details:
+ The value to assign to the virtual_node_pool_cycling_details property of this UpdateVirtualNodePoolDetails.
+ :type virtual_node_pool_cycling_details: oci.container_engine.models.VirtualNodePoolCyclingDetails
+
"""
self.swagger_types = {
'display_name': 'str',
@@ -71,7 +75,8 @@ def __init__(self, **kwargs):
'pod_configuration': 'PodConfiguration',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'virtual_node_tags': 'VirtualNodeTags'
+ 'virtual_node_tags': 'VirtualNodeTags',
+ 'virtual_node_pool_cycling_details': 'VirtualNodePoolCyclingDetails'
}
self.attribute_map = {
'display_name': 'displayName',
@@ -83,7 +88,8 @@ def __init__(self, **kwargs):
'pod_configuration': 'podConfiguration',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'virtual_node_tags': 'virtualNodeTags'
+ 'virtual_node_tags': 'virtualNodeTags',
+ 'virtual_node_pool_cycling_details': 'virtualNodePoolCyclingDetails'
}
self._display_name = None
self._initial_virtual_node_labels = None
@@ -95,6 +101,7 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._defined_tags = None
self._virtual_node_tags = None
+ self._virtual_node_pool_cycling_details = None
@property
def display_name(self):
@@ -348,6 +355,26 @@ def virtual_node_tags(self, virtual_node_tags):
"""
self._virtual_node_tags = virtual_node_tags
+ @property
+ def virtual_node_pool_cycling_details(self):
+ """
+ Gets the virtual_node_pool_cycling_details of this UpdateVirtualNodePoolDetails.
+
+ :return: The virtual_node_pool_cycling_details of this UpdateVirtualNodePoolDetails.
+ :rtype: oci.container_engine.models.VirtualNodePoolCyclingDetails
+ """
+ return self._virtual_node_pool_cycling_details
+
+ @virtual_node_pool_cycling_details.setter
+ def virtual_node_pool_cycling_details(self, virtual_node_pool_cycling_details):
+ """
+ Sets the virtual_node_pool_cycling_details of this UpdateVirtualNodePoolDetails.
+
+ :param virtual_node_pool_cycling_details: The virtual_node_pool_cycling_details of this UpdateVirtualNodePoolDetails.
+ :type: oci.container_engine.models.VirtualNodePoolCyclingDetails
+ """
+ self._virtual_node_pool_cycling_details = virtual_node_pool_cycling_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/container_engine/models/virtual_node_pool.py b/src/oci/container_engine/models/virtual_node_pool.py
index b7586c55c9..b57f04c989 100644
--- a/src/oci/container_engine/models/virtual_node_pool.py
+++ b/src/oci/container_engine/models/virtual_node_pool.py
@@ -126,6 +126,10 @@ def __init__(self, **kwargs):
The value to assign to the virtual_node_tags property of this VirtualNodePool.
:type virtual_node_tags: oci.container_engine.models.VirtualNodeTags
+ :param virtual_node_pool_cycling_details:
+ The value to assign to the virtual_node_pool_cycling_details property of this VirtualNodePool.
+ :type virtual_node_pool_cycling_details: oci.container_engine.models.VirtualNodePoolCyclingDetails
+
"""
self.swagger_types = {
'id': 'str',
@@ -146,7 +150,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
- 'virtual_node_tags': 'VirtualNodeTags'
+ 'virtual_node_tags': 'VirtualNodeTags',
+ 'virtual_node_pool_cycling_details': 'VirtualNodePoolCyclingDetails'
}
self.attribute_map = {
'id': 'id',
@@ -167,7 +172,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
- 'virtual_node_tags': 'virtualNodeTags'
+ 'virtual_node_tags': 'virtualNodeTags',
+ 'virtual_node_pool_cycling_details': 'virtualNodePoolCyclingDetails'
}
self._id = None
self._compartment_id = None
@@ -188,6 +194,7 @@ def __init__(self, **kwargs):
self._defined_tags = None
self._system_tags = None
self._virtual_node_tags = None
+ self._virtual_node_pool_cycling_details = None
@property
def id(self):
@@ -665,6 +672,26 @@ def virtual_node_tags(self, virtual_node_tags):
"""
self._virtual_node_tags = virtual_node_tags
+ @property
+ def virtual_node_pool_cycling_details(self):
+ """
+ Gets the virtual_node_pool_cycling_details of this VirtualNodePool.
+
+ :return: The virtual_node_pool_cycling_details of this VirtualNodePool.
+ :rtype: oci.container_engine.models.VirtualNodePoolCyclingDetails
+ """
+ return self._virtual_node_pool_cycling_details
+
+ @virtual_node_pool_cycling_details.setter
+ def virtual_node_pool_cycling_details(self, virtual_node_pool_cycling_details):
+ """
+ Sets the virtual_node_pool_cycling_details of this VirtualNodePool.
+
+ :param virtual_node_pool_cycling_details: The virtual_node_pool_cycling_details of this VirtualNodePool.
+ :type: oci.container_engine.models.VirtualNodePoolCyclingDetails
+ """
+ self._virtual_node_pool_cycling_details = virtual_node_pool_cycling_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/container_engine/models/virtual_node_pool_cycling_details.py b/src/oci/container_engine/models/virtual_node_pool_cycling_details.py
new file mode 100644
index 0000000000..04f8eb93ee
--- /dev/null
+++ b/src/oci/container_engine/models/virtual_node_pool_cycling_details.py
@@ -0,0 +1,140 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20180222
+
+
+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 VirtualNodePoolCyclingDetails(object):
+ """
+ Virtual Node Pool Cycling Details
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VirtualNodePoolCyclingDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param maximum_unavailable:
+ The value to assign to the maximum_unavailable property of this VirtualNodePoolCyclingDetails.
+ :type maximum_unavailable: str
+
+ :param maximum_surge:
+ The value to assign to the maximum_surge property of this VirtualNodePoolCyclingDetails.
+ :type maximum_surge: str
+
+ :param is_virtual_node_cycling_enabled:
+ The value to assign to the is_virtual_node_cycling_enabled property of this VirtualNodePoolCyclingDetails.
+ :type is_virtual_node_cycling_enabled: bool
+
+ """
+ self.swagger_types = {
+ 'maximum_unavailable': 'str',
+ 'maximum_surge': 'str',
+ 'is_virtual_node_cycling_enabled': 'bool'
+ }
+ self.attribute_map = {
+ 'maximum_unavailable': 'maximumUnavailable',
+ 'maximum_surge': 'maximumSurge',
+ 'is_virtual_node_cycling_enabled': 'isVirtualNodeCyclingEnabled'
+ }
+ self._maximum_unavailable = None
+ self._maximum_surge = None
+ self._is_virtual_node_cycling_enabled = None
+
+ @property
+ def maximum_unavailable(self):
+ """
+ Gets the maximum_unavailable of this VirtualNodePoolCyclingDetails.
+ Maximum active virtual nodes that would be terminated from virtual nodepool during the cycling virtual nodepool process.
+ OKE supports both integer and percentage input.
+ Defaults to 0, Ranges from 0 to Virtual Nodepool size or 0% to 100%
+
+
+ :return: The maximum_unavailable of this VirtualNodePoolCyclingDetails.
+ :rtype: str
+ """
+ return self._maximum_unavailable
+
+ @maximum_unavailable.setter
+ def maximum_unavailable(self, maximum_unavailable):
+ """
+ Sets the maximum_unavailable of this VirtualNodePoolCyclingDetails.
+ Maximum active virtual nodes that would be terminated from virtual nodepool during the cycling virtual nodepool process.
+ OKE supports both integer and percentage input.
+ Defaults to 0, Ranges from 0 to Virtual Nodepool size or 0% to 100%
+
+
+ :param maximum_unavailable: The maximum_unavailable of this VirtualNodePoolCyclingDetails.
+ :type: str
+ """
+ self._maximum_unavailable = maximum_unavailable
+
+ @property
+ def maximum_surge(self):
+ """
+ Gets the maximum_surge of this VirtualNodePoolCyclingDetails.
+ Maximum additional new virtual nodes that would be temporarily created and added to virtual nodepool during the cycling virtual nodepool process.
+ OKE supports both integer and percentage input.
+ Defaults to 1, Ranges from 0 to Virtual Nodepool size or 0% to 100%
+
+
+ :return: The maximum_surge of this VirtualNodePoolCyclingDetails.
+ :rtype: str
+ """
+ return self._maximum_surge
+
+ @maximum_surge.setter
+ def maximum_surge(self, maximum_surge):
+ """
+ Sets the maximum_surge of this VirtualNodePoolCyclingDetails.
+ Maximum additional new virtual nodes that would be temporarily created and added to virtual nodepool during the cycling virtual nodepool process.
+ OKE supports both integer and percentage input.
+ Defaults to 1, Ranges from 0 to Virtual Nodepool size or 0% to 100%
+
+
+ :param maximum_surge: The maximum_surge of this VirtualNodePoolCyclingDetails.
+ :type: str
+ """
+ self._maximum_surge = maximum_surge
+
+ @property
+ def is_virtual_node_cycling_enabled(self):
+ """
+ Gets the is_virtual_node_cycling_enabled of this VirtualNodePoolCyclingDetails.
+ If virtual nodes in the virtual nodepool will be cycled to have new changes.
+
+
+ :return: The is_virtual_node_cycling_enabled of this VirtualNodePoolCyclingDetails.
+ :rtype: bool
+ """
+ return self._is_virtual_node_cycling_enabled
+
+ @is_virtual_node_cycling_enabled.setter
+ def is_virtual_node_cycling_enabled(self, is_virtual_node_cycling_enabled):
+ """
+ Sets the is_virtual_node_cycling_enabled of this VirtualNodePoolCyclingDetails.
+ If virtual nodes in the virtual nodepool will be cycled to have new changes.
+
+
+ :param is_virtual_node_cycling_enabled: The is_virtual_node_cycling_enabled of this VirtualNodePoolCyclingDetails.
+ :type: bool
+ """
+ self._is_virtual_node_cycling_enabled = is_virtual_node_cycling_enabled
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/container_engine/models/virtual_node_pool_summary.py b/src/oci/container_engine/models/virtual_node_pool_summary.py
index fae3ffbd19..74c4032424 100644
--- a/src/oci/container_engine/models/virtual_node_pool_summary.py
+++ b/src/oci/container_engine/models/virtual_node_pool_summary.py
@@ -126,6 +126,10 @@ def __init__(self, **kwargs):
The value to assign to the virtual_node_tags property of this VirtualNodePoolSummary.
:type virtual_node_tags: oci.container_engine.models.VirtualNodeTags
+ :param virtual_node_pool_cycling_details:
+ The value to assign to the virtual_node_pool_cycling_details property of this VirtualNodePoolSummary.
+ :type virtual_node_pool_cycling_details: oci.container_engine.models.VirtualNodePoolCyclingDetails
+
"""
self.swagger_types = {
'id': 'str',
@@ -146,7 +150,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
- 'virtual_node_tags': 'VirtualNodeTags'
+ 'virtual_node_tags': 'VirtualNodeTags',
+ 'virtual_node_pool_cycling_details': 'VirtualNodePoolCyclingDetails'
}
self.attribute_map = {
'id': 'id',
@@ -167,7 +172,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
- 'virtual_node_tags': 'virtualNodeTags'
+ 'virtual_node_tags': 'virtualNodeTags',
+ 'virtual_node_pool_cycling_details': 'virtualNodePoolCyclingDetails'
}
self._id = None
self._compartment_id = None
@@ -188,6 +194,7 @@ def __init__(self, **kwargs):
self._defined_tags = None
self._system_tags = None
self._virtual_node_tags = None
+ self._virtual_node_pool_cycling_details = None
@property
def id(self):
@@ -665,6 +672,26 @@ def virtual_node_tags(self, virtual_node_tags):
"""
self._virtual_node_tags = virtual_node_tags
+ @property
+ def virtual_node_pool_cycling_details(self):
+ """
+ Gets the virtual_node_pool_cycling_details of this VirtualNodePoolSummary.
+
+ :return: The virtual_node_pool_cycling_details of this VirtualNodePoolSummary.
+ :rtype: oci.container_engine.models.VirtualNodePoolCyclingDetails
+ """
+ return self._virtual_node_pool_cycling_details
+
+ @virtual_node_pool_cycling_details.setter
+ def virtual_node_pool_cycling_details(self, virtual_node_pool_cycling_details):
+ """
+ Sets the virtual_node_pool_cycling_details of this VirtualNodePoolSummary.
+
+ :param virtual_node_pool_cycling_details: The virtual_node_pool_cycling_details of this VirtualNodePoolSummary.
+ :type: oci.container_engine.models.VirtualNodePoolCyclingDetails
+ """
+ self._virtual_node_pool_cycling_details = virtual_node_pool_cycling_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/container_engine/models/work_request.py b/src/oci/container_engine/models/work_request.py
index 6dab81379d..db40d23141 100644
--- a/src/oci/container_engine/models/work_request.py
+++ b/src/oci/container_engine/models/work_request.py
@@ -71,6 +71,10 @@ class WorkRequest(object):
#: This constant has a value of "VIRTUALNODE_DELETE"
OPERATION_TYPE_VIRTUALNODE_DELETE = "VIRTUALNODE_DELETE"
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "VIRTUALNODEPOOL_CYCLING"
+ OPERATION_TYPE_VIRTUALNODEPOOL_CYCLING = "VIRTUALNODEPOOL_CYCLING"
+
#: A constant which can be used with the operation_type property of a WorkRequest.
#: This constant has a value of "ENABLE_ADDON"
OPERATION_TYPE_ENABLE_ADDON = "ENABLE_ADDON"
@@ -138,7 +142,7 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this WorkRequest.
- Allowed values for this property are: "CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "VIRTUALNODEPOOL_CYCLING", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
@@ -228,7 +232,7 @@ def operation_type(self):
Gets the operation_type of this WorkRequest.
The type of work the work request is doing.
- Allowed values for this property are: "CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "VIRTUALNODEPOOL_CYCLING", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -247,7 +251,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequest.
:type: str
"""
- allowed_values = ["CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION"]
+ allowed_values = ["CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "VIRTUALNODEPOOL_CYCLING", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
diff --git a/src/oci/container_engine/models/work_request_summary.py b/src/oci/container_engine/models/work_request_summary.py
index 35d0ad79ff..0093ab2037 100644
--- a/src/oci/container_engine/models/work_request_summary.py
+++ b/src/oci/container_engine/models/work_request_summary.py
@@ -71,6 +71,10 @@ class WorkRequestSummary(object):
#: This constant has a value of "VIRTUALNODE_DELETE"
OPERATION_TYPE_VIRTUALNODE_DELETE = "VIRTUALNODE_DELETE"
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "VIRTUALNODEPOOL_CYCLING"
+ OPERATION_TYPE_VIRTUALNODEPOOL_CYCLING = "VIRTUALNODEPOOL_CYCLING"
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
#: This constant has a value of "ENABLE_ADDON"
OPERATION_TYPE_ENABLE_ADDON = "ENABLE_ADDON"
@@ -138,7 +142,7 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this WorkRequestSummary.
- Allowed values for this property are: "CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "VIRTUALNODEPOOL_CYCLING", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
@@ -228,7 +232,7 @@ def operation_type(self):
Gets the operation_type of this WorkRequestSummary.
The type of work the work request is doing.
- Allowed values for this property are: "CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "VIRTUALNODEPOOL_CYCLING", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -247,7 +251,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequestSummary.
:type: str
"""
- allowed_values = ["CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION"]
+ allowed_values = ["CLUSTER_CREATE", "CLUSTER_UPDATE", "CLUSTER_DELETE", "CREATE_NAMESPACE", "NODEPOOL_CREATE", "NODEPOOL_UPDATE", "NODEPOOL_DELETE", "NODEPOOL_RECONCILE", "NODEPOOL_CYCLING", "WORKREQUEST_CANCEL", "VIRTUALNODEPOOL_CREATE", "VIRTUALNODEPOOL_UPDATE", "VIRTUALNODEPOOL_DELETE", "VIRTUALNODE_DELETE", "VIRTUALNODEPOOL_CYCLING", "ENABLE_ADDON", "UPDATE_ADDON", "DISABLE_ADDON", "RECONCILE_ADDON", "CLUSTER_NODE_REBOOT", "CLUSTER_NODE_REPLACE_BOOT_VOLUME", "START_PUBLIC_API_ENDPOINT_DECOMMISSION", "ROLLBACK_PUBLIC_API_ENDPOINT_DECOMMISSION"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
diff --git a/src/oci/container_instances/models/__init__.py b/src/oci/container_instances/models/__init__.py
index 18756ad56e..3b28cf4c79 100644
--- a/src/oci/container_instances/models/__init__.py
+++ b/src/oci/container_instances/models/__init__.py
@@ -20,10 +20,12 @@
from .container_instance import ContainerInstance
from .container_instance_collection import ContainerInstanceCollection
from .container_instance_container import ContainerInstanceContainer
+from .container_instance_security_context import ContainerInstanceSecurityContext
from .container_instance_shape_collection import ContainerInstanceShapeCollection
from .container_instance_shape_config import ContainerInstanceShapeConfig
from .container_instance_shape_summary import ContainerInstanceShapeSummary
from .container_instance_summary import ContainerInstanceSummary
+from .container_oci_fss_volume import ContainerOciFssVolume
from .container_resource_config import ContainerResourceConfig
from .container_summary import ContainerSummary
from .container_tcp_health_check import ContainerTcpHealthCheck
@@ -37,19 +39,39 @@
from .create_container_health_check_details import CreateContainerHealthCheckDetails
from .create_container_http_health_check_details import CreateContainerHttpHealthCheckDetails
from .create_container_instance_details import CreateContainerInstanceDetails
+from .create_container_instance_security_context_details import CreateContainerInstanceSecurityContextDetails
from .create_container_instance_shape_config_details import CreateContainerInstanceShapeConfigDetails
+from .create_container_oci_fss_volume_details import CreateContainerOciFssVolumeDetails
from .create_container_resource_config_details import CreateContainerResourceConfigDetails
from .create_container_tcp_health_check_details import CreateContainerTcpHealthCheckDetails
from .create_container_vnic_details import CreateContainerVnicDetails
from .create_container_volume_details import CreateContainerVolumeDetails
from .create_image_pull_secret_details import CreateImagePullSecretDetails
+from .create_linux_container_instance_security_context_details import CreateLinuxContainerInstanceSecurityContextDetails
from .create_linux_security_context_details import CreateLinuxSecurityContextDetails
+from .create_oci_fss_export_details import CreateOciFssExportDetails
+from .create_oci_fss_export_id_details import CreateOciFssExportIdDetails
+from .create_oci_fss_mount_command_details import CreateOciFssMountCommandDetails
+from .create_oci_fss_mount_option_details import CreateOciFssMountOptionDetails
+from .create_oci_fss_mount_target_details import CreateOciFssMountTargetDetails
+from .create_oci_fss_mount_target_id_details import CreateOciFssMountTargetIdDetails
+from .create_oci_fss_security_details import CreateOciFssSecurityDetails
+from .create_oci_fss_sys_security_details import CreateOciFssSysSecurityDetails
from .create_security_context_details import CreateSecurityContextDetails
from .create_vault_image_pull_secret_details import CreateVaultImagePullSecretDetails
from .create_volume_mount_details import CreateVolumeMountDetails
from .health_check_http_header import HealthCheckHttpHeader
from .image_pull_secret import ImagePullSecret
+from .linux_container_instance_security_context import LinuxContainerInstanceSecurityContext
from .linux_security_context import LinuxSecurityContext
+from .oci_fss_export import OciFssExport
+from .oci_fss_export_id import OciFssExportId
+from .oci_fss_mount_command import OciFssMountCommand
+from .oci_fss_mount_option import OciFssMountOption
+from .oci_fss_mount_target import OciFssMountTarget
+from .oci_fss_mount_target_id import OciFssMountTargetId
+from .oci_fss_security import OciFssSecurity
+from .oci_fss_sys_security import OciFssSysSecurity
from .security_context import SecurityContext
from .shape_memory_options import ShapeMemoryOptions
from .shape_networking_bandwidth_options import ShapeNetworkingBandwidthOptions
@@ -83,10 +105,12 @@
"ContainerInstance": ContainerInstance,
"ContainerInstanceCollection": ContainerInstanceCollection,
"ContainerInstanceContainer": ContainerInstanceContainer,
+ "ContainerInstanceSecurityContext": ContainerInstanceSecurityContext,
"ContainerInstanceShapeCollection": ContainerInstanceShapeCollection,
"ContainerInstanceShapeConfig": ContainerInstanceShapeConfig,
"ContainerInstanceShapeSummary": ContainerInstanceShapeSummary,
"ContainerInstanceSummary": ContainerInstanceSummary,
+ "ContainerOciFssVolume": ContainerOciFssVolume,
"ContainerResourceConfig": ContainerResourceConfig,
"ContainerSummary": ContainerSummary,
"ContainerTcpHealthCheck": ContainerTcpHealthCheck,
@@ -100,19 +124,39 @@
"CreateContainerHealthCheckDetails": CreateContainerHealthCheckDetails,
"CreateContainerHttpHealthCheckDetails": CreateContainerHttpHealthCheckDetails,
"CreateContainerInstanceDetails": CreateContainerInstanceDetails,
+ "CreateContainerInstanceSecurityContextDetails": CreateContainerInstanceSecurityContextDetails,
"CreateContainerInstanceShapeConfigDetails": CreateContainerInstanceShapeConfigDetails,
+ "CreateContainerOciFssVolumeDetails": CreateContainerOciFssVolumeDetails,
"CreateContainerResourceConfigDetails": CreateContainerResourceConfigDetails,
"CreateContainerTcpHealthCheckDetails": CreateContainerTcpHealthCheckDetails,
"CreateContainerVnicDetails": CreateContainerVnicDetails,
"CreateContainerVolumeDetails": CreateContainerVolumeDetails,
"CreateImagePullSecretDetails": CreateImagePullSecretDetails,
+ "CreateLinuxContainerInstanceSecurityContextDetails": CreateLinuxContainerInstanceSecurityContextDetails,
"CreateLinuxSecurityContextDetails": CreateLinuxSecurityContextDetails,
+ "CreateOciFssExportDetails": CreateOciFssExportDetails,
+ "CreateOciFssExportIdDetails": CreateOciFssExportIdDetails,
+ "CreateOciFssMountCommandDetails": CreateOciFssMountCommandDetails,
+ "CreateOciFssMountOptionDetails": CreateOciFssMountOptionDetails,
+ "CreateOciFssMountTargetDetails": CreateOciFssMountTargetDetails,
+ "CreateOciFssMountTargetIdDetails": CreateOciFssMountTargetIdDetails,
+ "CreateOciFssSecurityDetails": CreateOciFssSecurityDetails,
+ "CreateOciFssSysSecurityDetails": CreateOciFssSysSecurityDetails,
"CreateSecurityContextDetails": CreateSecurityContextDetails,
"CreateVaultImagePullSecretDetails": CreateVaultImagePullSecretDetails,
"CreateVolumeMountDetails": CreateVolumeMountDetails,
"HealthCheckHttpHeader": HealthCheckHttpHeader,
"ImagePullSecret": ImagePullSecret,
+ "LinuxContainerInstanceSecurityContext": LinuxContainerInstanceSecurityContext,
"LinuxSecurityContext": LinuxSecurityContext,
+ "OciFssExport": OciFssExport,
+ "OciFssExportId": OciFssExportId,
+ "OciFssMountCommand": OciFssMountCommand,
+ "OciFssMountOption": OciFssMountOption,
+ "OciFssMountTarget": OciFssMountTarget,
+ "OciFssMountTargetId": OciFssMountTargetId,
+ "OciFssSecurity": OciFssSecurity,
+ "OciFssSysSecurity": OciFssSysSecurity,
"SecurityContext": SecurityContext,
"ShapeMemoryOptions": ShapeMemoryOptions,
"ShapeNetworkingBandwidthOptions": ShapeNetworkingBandwidthOptions,
diff --git a/src/oci/container_instances/models/container_config_file_volume.py b/src/oci/container_instances/models/container_config_file_volume.py
index c30e6cd310..3c1cc7b039 100644
--- a/src/oci/container_instances/models/container_config_file_volume.py
+++ b/src/oci/container_instances/models/container_config_file_volume.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param volume_type:
The value to assign to the volume_type property of this ContainerConfigFileVolume.
- Allowed values for this property are: "EMPTYDIR", "CONFIGFILE"
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM"
:type volume_type: str
:param configs:
diff --git a/src/oci/container_instances/models/container_empty_dir_volume.py b/src/oci/container_instances/models/container_empty_dir_volume.py
index c2f5fc8c16..ff1feaa7d7 100644
--- a/src/oci/container_instances/models/container_empty_dir_volume.py
+++ b/src/oci/container_instances/models/container_empty_dir_volume.py
@@ -35,7 +35,7 @@ def __init__(self, **kwargs):
:param volume_type:
The value to assign to the volume_type property of this ContainerEmptyDirVolume.
- Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type volume_type: str
diff --git a/src/oci/container_instances/models/container_instance.py b/src/oci/container_instances/models/container_instance.py
index 6407e9b0c7..7b16d5f172 100644
--- a/src/oci/container_instances/models/container_instance.py
+++ b/src/oci/container_instances/models/container_instance.py
@@ -75,6 +75,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this ContainerInstance.
:type compartment_id: str
+ :param tenant_id:
+ The value to assign to the tenant_id property of this ContainerInstance.
+ :type tenant_id: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this ContainerInstance.
:type freeform_tags: dict(str, str)
@@ -159,11 +163,16 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type container_restart_policy: str
+ :param security_context:
+ The value to assign to the security_context property of this ContainerInstance.
+ :type security_context: oci.container_instances.models.ContainerInstanceSecurityContext
+
"""
self.swagger_types = {
'id': 'str',
'display_name': 'str',
'compartment_id': 'str',
+ 'tenant_id': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
@@ -183,12 +192,14 @@ def __init__(self, **kwargs):
'dns_config': 'ContainerDnsConfig',
'graceful_shutdown_timeout_in_seconds': 'int',
'image_pull_secrets': 'list[ImagePullSecret]',
- 'container_restart_policy': 'str'
+ 'container_restart_policy': 'str',
+ 'security_context': 'ContainerInstanceSecurityContext'
}
self.attribute_map = {
'id': 'id',
'display_name': 'displayName',
'compartment_id': 'compartmentId',
+ 'tenant_id': 'tenantId',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
@@ -208,11 +219,13 @@ def __init__(self, **kwargs):
'dns_config': 'dnsConfig',
'graceful_shutdown_timeout_in_seconds': 'gracefulShutdownTimeoutInSeconds',
'image_pull_secrets': 'imagePullSecrets',
- 'container_restart_policy': 'containerRestartPolicy'
+ 'container_restart_policy': 'containerRestartPolicy',
+ 'security_context': 'securityContext'
}
self._id = None
self._display_name = None
self._compartment_id = None
+ self._tenant_id = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
@@ -233,6 +246,7 @@ def __init__(self, **kwargs):
self._graceful_shutdown_timeout_in_seconds = None
self._image_pull_secrets = None
self._container_restart_policy = None
+ self._security_context = None
@property
def id(self):
@@ -306,6 +320,30 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def tenant_id(self):
+ """
+ Gets the tenant_id of this ContainerInstance.
+ TenantId id of the container instance.
+
+
+ :return: The tenant_id of this ContainerInstance.
+ :rtype: str
+ """
+ return self._tenant_id
+
+ @tenant_id.setter
+ def tenant_id(self, tenant_id):
+ """
+ Sets the tenant_id of this ContainerInstance.
+ TenantId id of the container instance.
+
+
+ :param tenant_id: The tenant_id of this ContainerInstance.
+ :type: str
+ """
+ self._tenant_id = tenant_id
+
@property
def freeform_tags(self):
"""
@@ -808,6 +846,26 @@ def container_restart_policy(self, container_restart_policy):
container_restart_policy = 'UNKNOWN_ENUM_VALUE'
self._container_restart_policy = container_restart_policy
+ @property
+ def security_context(self):
+ """
+ Gets the security_context of this ContainerInstance.
+
+ :return: The security_context of this ContainerInstance.
+ :rtype: oci.container_instances.models.ContainerInstanceSecurityContext
+ """
+ return self._security_context
+
+ @security_context.setter
+ def security_context(self, security_context):
+ """
+ Sets the security_context of this ContainerInstance.
+
+ :param security_context: The security_context of this ContainerInstance.
+ :type: oci.container_instances.models.ContainerInstanceSecurityContext
+ """
+ self._security_context = security_context
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/container_instances/models/container_instance_security_context.py b/src/oci/container_instances/models/container_instance_security_context.py
new file mode 100644
index 0000000000..288ee8cfce
--- /dev/null
+++ b/src/oci/container_instances/models/container_instance_security_context.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class ContainerInstanceSecurityContext(object):
+ """
+ Security context for all containers in a container instance.
+ """
+
+ #: A constant which can be used with the security_context_type property of a ContainerInstanceSecurityContext.
+ #: This constant has a value of "LINUX"
+ SECURITY_CONTEXT_TYPE_LINUX = "LINUX"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ContainerInstanceSecurityContext 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.container_instances.models.LinuxContainerInstanceSecurityContext`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param security_context_type:
+ The value to assign to the security_context_type property of this ContainerInstanceSecurityContext.
+ Allowed values for this property are: "LINUX", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type security_context_type: str
+
+ """
+ self.swagger_types = {
+ 'security_context_type': 'str'
+ }
+ self.attribute_map = {
+ 'security_context_type': 'securityContextType'
+ }
+ self._security_context_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['securityContextType']
+
+ if type == 'LINUX':
+ return 'LinuxContainerInstanceSecurityContext'
+ else:
+ return 'ContainerInstanceSecurityContext'
+
+ @property
+ def security_context_type(self):
+ """
+ Gets the security_context_type of this ContainerInstanceSecurityContext.
+ The type of security context
+
+ Allowed values for this property are: "LINUX", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The security_context_type of this ContainerInstanceSecurityContext.
+ :rtype: str
+ """
+ return self._security_context_type
+
+ @security_context_type.setter
+ def security_context_type(self, security_context_type):
+ """
+ Sets the security_context_type of this ContainerInstanceSecurityContext.
+ The type of security context
+
+
+ :param security_context_type: The security_context_type of this ContainerInstanceSecurityContext.
+ :type: str
+ """
+ allowed_values = ["LINUX"]
+ if not value_allowed_none_or_none_sentinel(security_context_type, allowed_values):
+ security_context_type = 'UNKNOWN_ENUM_VALUE'
+ self._security_context_type = security_context_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/container_instances/models/container_instance_summary.py b/src/oci/container_instances/models/container_instance_summary.py
index cf51afb7f5..68aa956f67 100644
--- a/src/oci/container_instances/models/container_instance_summary.py
+++ b/src/oci/container_instances/models/container_instance_summary.py
@@ -92,6 +92,10 @@ def __init__(self, **kwargs):
The value to assign to the container_restart_policy property of this ContainerInstanceSummary.
:type container_restart_policy: str
+ :param security_context:
+ The value to assign to the security_context property of this ContainerInstanceSummary.
+ :type security_context: oci.container_instances.models.ContainerInstanceSecurityContext
+
"""
self.swagger_types = {
'id': 'str',
@@ -111,7 +115,8 @@ def __init__(self, **kwargs):
'container_count': 'int',
'graceful_shutdown_timeout_in_seconds': 'int',
'volume_count': 'int',
- 'container_restart_policy': 'str'
+ 'container_restart_policy': 'str',
+ 'security_context': 'ContainerInstanceSecurityContext'
}
self.attribute_map = {
'id': 'id',
@@ -131,7 +136,8 @@ def __init__(self, **kwargs):
'container_count': 'containerCount',
'graceful_shutdown_timeout_in_seconds': 'gracefulShutdownTimeoutInSeconds',
'volume_count': 'volumeCount',
- 'container_restart_policy': 'containerRestartPolicy'
+ 'container_restart_policy': 'containerRestartPolicy',
+ 'security_context': 'securityContext'
}
self._id = None
self._display_name = None
@@ -151,6 +157,7 @@ def __init__(self, **kwargs):
self._graceful_shutdown_timeout_in_seconds = None
self._volume_count = None
self._container_restart_policy = None
+ self._security_context = None
@property
def id(self):
@@ -588,6 +595,26 @@ def container_restart_policy(self, container_restart_policy):
"""
self._container_restart_policy = container_restart_policy
+ @property
+ def security_context(self):
+ """
+ Gets the security_context of this ContainerInstanceSummary.
+
+ :return: The security_context of this ContainerInstanceSummary.
+ :rtype: oci.container_instances.models.ContainerInstanceSecurityContext
+ """
+ return self._security_context
+
+ @security_context.setter
+ def security_context(self, security_context):
+ """
+ Sets the security_context of this ContainerInstanceSummary.
+
+ :param security_context: The security_context of this ContainerInstanceSummary.
+ :type: oci.container_instances.models.ContainerInstanceSecurityContext
+ """
+ self._security_context = security_context
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/container_instances/models/container_oci_fss_volume.py b/src/oci/container_instances/models/container_oci_fss_volume.py
new file mode 100644
index 0000000000..8b5eef9489
--- /dev/null
+++ b/src/oci/container_instances/models/container_oci_fss_volume.py
@@ -0,0 +1,198 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .container_volume import ContainerVolume
+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 ContainerOciFssVolume(ContainerVolume):
+ """
+ An OCI File Storage Service (FSS) File System that can be mounted to Containers within a Container Instance.
+ Check https://docs.oracle.com/en-us/iaas/api/#/en/filestorage/20171215/FileSystem for more details.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ContainerOciFssVolume object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.ContainerOciFssVolume.volume_type` attribute
+ of this class is ``OCI_FSS_FILE_SYSTEM`` and it should not be changed.
+ 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 ContainerOciFssVolume.
+ :type name: str
+
+ :param volume_type:
+ The value to assign to the volume_type property of this ContainerOciFssVolume.
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM"
+ :type volume_type: str
+
+ :param mount_target:
+ The value to assign to the mount_target property of this ContainerOciFssVolume.
+ :type mount_target: oci.container_instances.models.OciFssMountTarget
+
+ :param export:
+ The value to assign to the export property of this ContainerOciFssVolume.
+ :type export: oci.container_instances.models.OciFssExport
+
+ :param security:
+ The value to assign to the security property of this ContainerOciFssVolume.
+ :type security: oci.container_instances.models.OciFssSecurity
+
+ :param mount_command:
+ The value to assign to the mount_command property of this ContainerOciFssVolume.
+ :type mount_command: oci.container_instances.models.OciFssMountCommand
+
+ :param subnet_id:
+ The value to assign to the subnet_id property of this ContainerOciFssVolume.
+ :type subnet_id: str
+
+ """
+ self.swagger_types = {
+ 'name': 'str',
+ 'volume_type': 'str',
+ 'mount_target': 'OciFssMountTarget',
+ 'export': 'OciFssExport',
+ 'security': 'OciFssSecurity',
+ 'mount_command': 'OciFssMountCommand',
+ 'subnet_id': 'str'
+ }
+ self.attribute_map = {
+ 'name': 'name',
+ 'volume_type': 'volumeType',
+ 'mount_target': 'mountTarget',
+ 'export': 'export',
+ 'security': 'security',
+ 'mount_command': 'mountCommand',
+ 'subnet_id': 'subnetId'
+ }
+ self._name = None
+ self._volume_type = None
+ self._mount_target = None
+ self._export = None
+ self._security = None
+ self._mount_command = None
+ self._subnet_id = None
+ self._volume_type = 'OCI_FSS_FILE_SYSTEM'
+
+ @property
+ def mount_target(self):
+ """
+ Gets the mount_target of this ContainerOciFssVolume.
+
+ :return: The mount_target of this ContainerOciFssVolume.
+ :rtype: oci.container_instances.models.OciFssMountTarget
+ """
+ return self._mount_target
+
+ @mount_target.setter
+ def mount_target(self, mount_target):
+ """
+ Sets the mount_target of this ContainerOciFssVolume.
+
+ :param mount_target: The mount_target of this ContainerOciFssVolume.
+ :type: oci.container_instances.models.OciFssMountTarget
+ """
+ self._mount_target = mount_target
+
+ @property
+ def export(self):
+ """
+ Gets the export of this ContainerOciFssVolume.
+
+ :return: The export of this ContainerOciFssVolume.
+ :rtype: oci.container_instances.models.OciFssExport
+ """
+ return self._export
+
+ @export.setter
+ def export(self, export):
+ """
+ Sets the export of this ContainerOciFssVolume.
+
+ :param export: The export of this ContainerOciFssVolume.
+ :type: oci.container_instances.models.OciFssExport
+ """
+ self._export = export
+
+ @property
+ def security(self):
+ """
+ Gets the security of this ContainerOciFssVolume.
+
+ :return: The security of this ContainerOciFssVolume.
+ :rtype: oci.container_instances.models.OciFssSecurity
+ """
+ return self._security
+
+ @security.setter
+ def security(self, security):
+ """
+ Sets the security of this ContainerOciFssVolume.
+
+ :param security: The security of this ContainerOciFssVolume.
+ :type: oci.container_instances.models.OciFssSecurity
+ """
+ self._security = security
+
+ @property
+ def mount_command(self):
+ """
+ Gets the mount_command of this ContainerOciFssVolume.
+
+ :return: The mount_command of this ContainerOciFssVolume.
+ :rtype: oci.container_instances.models.OciFssMountCommand
+ """
+ return self._mount_command
+
+ @mount_command.setter
+ def mount_command(self, mount_command):
+ """
+ Sets the mount_command of this ContainerOciFssVolume.
+
+ :param mount_command: The mount_command of this ContainerOciFssVolume.
+ :type: oci.container_instances.models.OciFssMountCommand
+ """
+ self._mount_command = mount_command
+
+ @property
+ def subnet_id(self):
+ """
+ Gets the subnet_id of this ContainerOciFssVolume.
+ Specifies the network interface to be used for the OCI File Storage Service (FSS) volume.
+ This is a required parameter when a Container Instance is attached to more than one subnets.
+
+
+ :return: The subnet_id of this ContainerOciFssVolume.
+ :rtype: str
+ """
+ return self._subnet_id
+
+ @subnet_id.setter
+ def subnet_id(self, subnet_id):
+ """
+ Sets the subnet_id of this ContainerOciFssVolume.
+ Specifies the network interface to be used for the OCI File Storage Service (FSS) volume.
+ This is a required parameter when a Container Instance is attached to more than one subnets.
+
+
+ :param subnet_id: The subnet_id of this ContainerOciFssVolume.
+ :type: str
+ """
+ self._subnet_id = subnet_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/container_instances/models/container_volume.py b/src/oci/container_instances/models/container_volume.py
index 1d26ec23ee..d6852a7a55 100644
--- a/src/oci/container_instances/models/container_volume.py
+++ b/src/oci/container_instances/models/container_volume.py
@@ -24,6 +24,10 @@ class ContainerVolume(object):
#: This constant has a value of "CONFIGFILE"
VOLUME_TYPE_CONFIGFILE = "CONFIGFILE"
+ #: A constant which can be used with the volume_type property of a ContainerVolume.
+ #: This constant has a value of "OCI_FSS_FILE_SYSTEM"
+ VOLUME_TYPE_OCI_FSS_FILE_SYSTEM = "OCI_FSS_FILE_SYSTEM"
+
def __init__(self, **kwargs):
"""
Initializes a new ContainerVolume object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
@@ -31,6 +35,7 @@ def __init__(self, **kwargs):
* :class:`~oci.container_instances.models.ContainerEmptyDirVolume`
* :class:`~oci.container_instances.models.ContainerConfigFileVolume`
+ * :class:`~oci.container_instances.models.ContainerOciFssVolume`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -40,7 +45,7 @@ def __init__(self, **kwargs):
:param volume_type:
The value to assign to the volume_type property of this ContainerVolume.
- Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type volume_type: str
@@ -69,6 +74,9 @@ def get_subtype(object_dictionary):
if type == 'CONFIGFILE':
return 'ContainerConfigFileVolume'
+
+ if type == 'OCI_FSS_FILE_SYSTEM':
+ return 'ContainerOciFssVolume'
else:
return 'ContainerVolume'
@@ -102,7 +110,7 @@ def volume_type(self):
**[Required]** Gets the volume_type of this ContainerVolume.
The type of volume.
- Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -121,7 +129,7 @@ def volume_type(self, volume_type):
:param volume_type: The volume_type of this ContainerVolume.
:type: str
"""
- allowed_values = ["EMPTYDIR", "CONFIGFILE"]
+ allowed_values = ["EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM"]
if not value_allowed_none_or_none_sentinel(volume_type, allowed_values):
volume_type = 'UNKNOWN_ENUM_VALUE'
self._volume_type = volume_type
diff --git a/src/oci/container_instances/models/create_basic_image_pull_secret_details.py b/src/oci/container_instances/models/create_basic_image_pull_secret_details.py
index 18db8652f1..e6beaa8e41 100644
--- a/src/oci/container_instances/models/create_basic_image_pull_secret_details.py
+++ b/src/oci/container_instances/models/create_basic_image_pull_secret_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
from .create_image_pull_secret_details import CreateImagePullSecretDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -51,6 +51,9 @@ def __init__(self, **kwargs):
'username': 'username',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._secret_type = None
self._registry_endpoint = None
self._username = None
@@ -106,7 +109,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/container_instances/models/create_container_config_file_volume_details.py b/src/oci/container_instances/models/create_container_config_file_volume_details.py
index 10bac3bf52..f2963b9987 100644
--- a/src/oci/container_instances/models/create_container_config_file_volume_details.py
+++ b/src/oci/container_instances/models/create_container_config_file_volume_details.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param volume_type:
The value to assign to the volume_type property of this CreateContainerConfigFileVolumeDetails.
- Allowed values for this property are: "EMPTYDIR", "CONFIGFILE"
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM"
:type volume_type: str
:param configs:
diff --git a/src/oci/container_instances/models/create_container_empty_dir_volume_details.py b/src/oci/container_instances/models/create_container_empty_dir_volume_details.py
index 16fb5e8996..4d401997a4 100644
--- a/src/oci/container_instances/models/create_container_empty_dir_volume_details.py
+++ b/src/oci/container_instances/models/create_container_empty_dir_volume_details.py
@@ -27,7 +27,7 @@ def __init__(self, **kwargs):
:param volume_type:
The value to assign to the volume_type property of this CreateContainerEmptyDirVolumeDetails.
- Allowed values for this property are: "EMPTYDIR", "CONFIGFILE"
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM"
:type volume_type: str
:param backing_store:
diff --git a/src/oci/container_instances/models/create_container_instance_details.py b/src/oci/container_instances/models/create_container_instance_details.py
index 227d688529..97e9922b2a 100644
--- a/src/oci/container_instances/models/create_container_instance_details.py
+++ b/src/oci/container_instances/models/create_container_instance_details.py
@@ -80,6 +80,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this CreateContainerInstanceDetails.
:type defined_tags: dict(str, dict(str, object))
+ :param security_context:
+ The value to assign to the security_context property of this CreateContainerInstanceDetails.
+ :type security_context: oci.container_instances.models.CreateContainerInstanceSecurityContextDetails
+
"""
self.swagger_types = {
'display_name': 'str',
@@ -96,7 +100,8 @@ def __init__(self, **kwargs):
'image_pull_secrets': 'list[CreateImagePullSecretDetails]',
'container_restart_policy': 'str',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'security_context': 'CreateContainerInstanceSecurityContextDetails'
}
self.attribute_map = {
'display_name': 'displayName',
@@ -113,7 +118,8 @@ def __init__(self, **kwargs):
'image_pull_secrets': 'imagePullSecrets',
'container_restart_policy': 'containerRestartPolicy',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'security_context': 'securityContext'
}
self._display_name = None
self._compartment_id = None
@@ -130,6 +136,7 @@ def __init__(self, **kwargs):
self._container_restart_policy = None
self._freeform_tags = None
self._defined_tags = None
+ self._security_context = None
@property
def display_name(self):
@@ -493,6 +500,26 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def security_context(self):
+ """
+ Gets the security_context of this CreateContainerInstanceDetails.
+
+ :return: The security_context of this CreateContainerInstanceDetails.
+ :rtype: oci.container_instances.models.CreateContainerInstanceSecurityContextDetails
+ """
+ return self._security_context
+
+ @security_context.setter
+ def security_context(self, security_context):
+ """
+ Sets the security_context of this CreateContainerInstanceDetails.
+
+ :param security_context: The security_context of this CreateContainerInstanceDetails.
+ :type: oci.container_instances.models.CreateContainerInstanceSecurityContextDetails
+ """
+ self._security_context = security_context
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/container_instances/models/create_container_instance_security_context_details.py b/src/oci/container_instances/models/create_container_instance_security_context_details.py
new file mode 100644
index 0000000000..cf2effab3e
--- /dev/null
+++ b/src/oci/container_instances/models/create_container_instance_security_context_details.py
@@ -0,0 +1,87 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class CreateContainerInstanceSecurityContextDetails(object):
+ """
+ Security context for all containers in a container instance.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateContainerInstanceSecurityContextDetails 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.container_instances.models.CreateLinuxContainerInstanceSecurityContextDetails`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param security_context_type:
+ The value to assign to the security_context_type property of this CreateContainerInstanceSecurityContextDetails.
+ :type security_context_type: str
+
+ """
+ self.swagger_types = {
+ 'security_context_type': 'str'
+ }
+ self.attribute_map = {
+ 'security_context_type': 'securityContextType'
+ }
+ self._security_context_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['securityContextType']
+
+ if type == 'LINUX':
+ return 'CreateLinuxContainerInstanceSecurityContextDetails'
+ else:
+ return 'CreateContainerInstanceSecurityContextDetails'
+
+ @property
+ def security_context_type(self):
+ """
+ Gets the security_context_type of this CreateContainerInstanceSecurityContextDetails.
+ The type of security context
+
+
+ :return: The security_context_type of this CreateContainerInstanceSecurityContextDetails.
+ :rtype: str
+ """
+ return self._security_context_type
+
+ @security_context_type.setter
+ def security_context_type(self, security_context_type):
+ """
+ Sets the security_context_type of this CreateContainerInstanceSecurityContextDetails.
+ The type of security context
+
+
+ :param security_context_type: The security_context_type of this CreateContainerInstanceSecurityContextDetails.
+ :type: str
+ """
+ self._security_context_type = security_context_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/container_instances/models/create_container_oci_fss_volume_details.py b/src/oci/container_instances/models/create_container_oci_fss_volume_details.py
new file mode 100644
index 0000000000..77f4db816a
--- /dev/null
+++ b/src/oci/container_instances/models/create_container_oci_fss_volume_details.py
@@ -0,0 +1,198 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .create_container_volume_details import CreateContainerVolumeDetails
+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 CreateContainerOciFssVolumeDetails(CreateContainerVolumeDetails):
+ """
+ An OCI File Storage Service (FSS) File System that can be mounted to Containers within a Container Instance.
+ Check https://docs.oracle.com/en-us/iaas/api/#/en/filestorage/20171215/FileSystem for more details.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateContainerOciFssVolumeDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.CreateContainerOciFssVolumeDetails.volume_type` attribute
+ of this class is ``OCI_FSS_FILE_SYSTEM`` and it should not be changed.
+ 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 CreateContainerOciFssVolumeDetails.
+ :type name: str
+
+ :param volume_type:
+ The value to assign to the volume_type property of this CreateContainerOciFssVolumeDetails.
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM"
+ :type volume_type: str
+
+ :param mount_target:
+ The value to assign to the mount_target property of this CreateContainerOciFssVolumeDetails.
+ :type mount_target: oci.container_instances.models.CreateOciFssMountTargetDetails
+
+ :param export:
+ The value to assign to the export property of this CreateContainerOciFssVolumeDetails.
+ :type export: oci.container_instances.models.CreateOciFssExportDetails
+
+ :param security:
+ The value to assign to the security property of this CreateContainerOciFssVolumeDetails.
+ :type security: oci.container_instances.models.CreateOciFssSecurityDetails
+
+ :param mount_command:
+ The value to assign to the mount_command property of this CreateContainerOciFssVolumeDetails.
+ :type mount_command: oci.container_instances.models.CreateOciFssMountCommandDetails
+
+ :param subnet_id:
+ The value to assign to the subnet_id property of this CreateContainerOciFssVolumeDetails.
+ :type subnet_id: str
+
+ """
+ self.swagger_types = {
+ 'name': 'str',
+ 'volume_type': 'str',
+ 'mount_target': 'CreateOciFssMountTargetDetails',
+ 'export': 'CreateOciFssExportDetails',
+ 'security': 'CreateOciFssSecurityDetails',
+ 'mount_command': 'CreateOciFssMountCommandDetails',
+ 'subnet_id': 'str'
+ }
+ self.attribute_map = {
+ 'name': 'name',
+ 'volume_type': 'volumeType',
+ 'mount_target': 'mountTarget',
+ 'export': 'export',
+ 'security': 'security',
+ 'mount_command': 'mountCommand',
+ 'subnet_id': 'subnetId'
+ }
+ self._name = None
+ self._volume_type = None
+ self._mount_target = None
+ self._export = None
+ self._security = None
+ self._mount_command = None
+ self._subnet_id = None
+ self._volume_type = 'OCI_FSS_FILE_SYSTEM'
+
+ @property
+ def mount_target(self):
+ """
+ **[Required]** Gets the mount_target of this CreateContainerOciFssVolumeDetails.
+
+ :return: The mount_target of this CreateContainerOciFssVolumeDetails.
+ :rtype: oci.container_instances.models.CreateOciFssMountTargetDetails
+ """
+ return self._mount_target
+
+ @mount_target.setter
+ def mount_target(self, mount_target):
+ """
+ Sets the mount_target of this CreateContainerOciFssVolumeDetails.
+
+ :param mount_target: The mount_target of this CreateContainerOciFssVolumeDetails.
+ :type: oci.container_instances.models.CreateOciFssMountTargetDetails
+ """
+ self._mount_target = mount_target
+
+ @property
+ def export(self):
+ """
+ **[Required]** Gets the export of this CreateContainerOciFssVolumeDetails.
+
+ :return: The export of this CreateContainerOciFssVolumeDetails.
+ :rtype: oci.container_instances.models.CreateOciFssExportDetails
+ """
+ return self._export
+
+ @export.setter
+ def export(self, export):
+ """
+ Sets the export of this CreateContainerOciFssVolumeDetails.
+
+ :param export: The export of this CreateContainerOciFssVolumeDetails.
+ :type: oci.container_instances.models.CreateOciFssExportDetails
+ """
+ self._export = export
+
+ @property
+ def security(self):
+ """
+ Gets the security of this CreateContainerOciFssVolumeDetails.
+
+ :return: The security of this CreateContainerOciFssVolumeDetails.
+ :rtype: oci.container_instances.models.CreateOciFssSecurityDetails
+ """
+ return self._security
+
+ @security.setter
+ def security(self, security):
+ """
+ Sets the security of this CreateContainerOciFssVolumeDetails.
+
+ :param security: The security of this CreateContainerOciFssVolumeDetails.
+ :type: oci.container_instances.models.CreateOciFssSecurityDetails
+ """
+ self._security = security
+
+ @property
+ def mount_command(self):
+ """
+ Gets the mount_command of this CreateContainerOciFssVolumeDetails.
+
+ :return: The mount_command of this CreateContainerOciFssVolumeDetails.
+ :rtype: oci.container_instances.models.CreateOciFssMountCommandDetails
+ """
+ return self._mount_command
+
+ @mount_command.setter
+ def mount_command(self, mount_command):
+ """
+ Sets the mount_command of this CreateContainerOciFssVolumeDetails.
+
+ :param mount_command: The mount_command of this CreateContainerOciFssVolumeDetails.
+ :type: oci.container_instances.models.CreateOciFssMountCommandDetails
+ """
+ self._mount_command = mount_command
+
+ @property
+ def subnet_id(self):
+ """
+ Gets the subnet_id of this CreateContainerOciFssVolumeDetails.
+ Specifies the network interface to be used for the OCI File Storage Service (FSS) volume.
+ This is a required parameter when a Container Instance is attached to more than one subnets.
+
+
+ :return: The subnet_id of this CreateContainerOciFssVolumeDetails.
+ :rtype: str
+ """
+ return self._subnet_id
+
+ @subnet_id.setter
+ def subnet_id(self, subnet_id):
+ """
+ Sets the subnet_id of this CreateContainerOciFssVolumeDetails.
+ Specifies the network interface to be used for the OCI File Storage Service (FSS) volume.
+ This is a required parameter when a Container Instance is attached to more than one subnets.
+
+
+ :param subnet_id: The subnet_id of this CreateContainerOciFssVolumeDetails.
+ :type: str
+ """
+ self._subnet_id = subnet_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/container_instances/models/create_container_volume_details.py b/src/oci/container_instances/models/create_container_volume_details.py
index 30b3e6c3a5..fe00445773 100644
--- a/src/oci/container_instances/models/create_container_volume_details.py
+++ b/src/oci/container_instances/models/create_container_volume_details.py
@@ -24,11 +24,16 @@ class CreateContainerVolumeDetails(object):
#: This constant has a value of "CONFIGFILE"
VOLUME_TYPE_CONFIGFILE = "CONFIGFILE"
+ #: A constant which can be used with the volume_type property of a CreateContainerVolumeDetails.
+ #: This constant has a value of "OCI_FSS_FILE_SYSTEM"
+ VOLUME_TYPE_OCI_FSS_FILE_SYSTEM = "OCI_FSS_FILE_SYSTEM"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateContainerVolumeDetails 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.container_instances.models.CreateContainerOciFssVolumeDetails`
* :class:`~oci.container_instances.models.CreateContainerConfigFileVolumeDetails`
* :class:`~oci.container_instances.models.CreateContainerEmptyDirVolumeDetails`
@@ -40,7 +45,7 @@ def __init__(self, **kwargs):
:param volume_type:
The value to assign to the volume_type property of this CreateContainerVolumeDetails.
- Allowed values for this property are: "EMPTYDIR", "CONFIGFILE"
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM"
:type volume_type: str
"""
@@ -63,6 +68,9 @@ def get_subtype(object_dictionary):
"""
type = object_dictionary['volumeType']
+ if type == 'OCI_FSS_FILE_SYSTEM':
+ return 'CreateContainerOciFssVolumeDetails'
+
if type == 'CONFIGFILE':
return 'CreateContainerConfigFileVolumeDetails'
@@ -101,7 +109,7 @@ def volume_type(self):
**[Required]** Gets the volume_type of this CreateContainerVolumeDetails.
The type of volume.
- Allowed values for this property are: "EMPTYDIR", "CONFIGFILE"
+ Allowed values for this property are: "EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM"
:return: The volume_type of this CreateContainerVolumeDetails.
@@ -119,7 +127,7 @@ def volume_type(self, volume_type):
:param volume_type: The volume_type of this CreateContainerVolumeDetails.
:type: str
"""
- allowed_values = ["EMPTYDIR", "CONFIGFILE"]
+ allowed_values = ["EMPTYDIR", "CONFIGFILE", "OCI_FSS_FILE_SYSTEM"]
if not value_allowed_none_or_none_sentinel(volume_type, allowed_values):
raise ValueError(
f"Invalid value for `volume_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/container_instances/models/create_linux_container_instance_security_context_details.py b/src/oci/container_instances/models/create_linux_container_instance_security_context_details.py
new file mode 100644
index 0000000000..4e274bf26f
--- /dev/null
+++ b/src/oci/container_instances/models/create_linux_container_instance_security_context_details.py
@@ -0,0 +1,126 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .create_container_instance_security_context_details import CreateContainerInstanceSecurityContextDetails
+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 CreateLinuxContainerInstanceSecurityContextDetails(CreateContainerInstanceSecurityContextDetails):
+ """
+ Security context for all containers in a Linux container instance.
+ """
+
+ #: A constant which can be used with the fs_group_change_policy property of a CreateLinuxContainerInstanceSecurityContextDetails.
+ #: This constant has a value of "ALWAYS"
+ FS_GROUP_CHANGE_POLICY_ALWAYS = "ALWAYS"
+
+ #: A constant which can be used with the fs_group_change_policy property of a CreateLinuxContainerInstanceSecurityContextDetails.
+ #: This constant has a value of "ON_ROOT_MISMATCH"
+ FS_GROUP_CHANGE_POLICY_ON_ROOT_MISMATCH = "ON_ROOT_MISMATCH"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateLinuxContainerInstanceSecurityContextDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.CreateLinuxContainerInstanceSecurityContextDetails.security_context_type` attribute
+ of this class is ``LINUX`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param security_context_type:
+ The value to assign to the security_context_type property of this CreateLinuxContainerInstanceSecurityContextDetails.
+ :type security_context_type: str
+
+ :param fs_group:
+ The value to assign to the fs_group property of this CreateLinuxContainerInstanceSecurityContextDetails.
+ :type fs_group: int
+
+ :param fs_group_change_policy:
+ The value to assign to the fs_group_change_policy property of this CreateLinuxContainerInstanceSecurityContextDetails.
+ Allowed values for this property are: "ALWAYS", "ON_ROOT_MISMATCH"
+ :type fs_group_change_policy: str
+
+ """
+ self.swagger_types = {
+ 'security_context_type': 'str',
+ 'fs_group': 'int',
+ 'fs_group_change_policy': 'str'
+ }
+ self.attribute_map = {
+ 'security_context_type': 'securityContextType',
+ 'fs_group': 'fsGroup',
+ 'fs_group_change_policy': 'fsGroupChangePolicy'
+ }
+ self._security_context_type = None
+ self._fs_group = None
+ self._fs_group_change_policy = None
+ self._security_context_type = 'LINUX'
+
+ @property
+ def fs_group(self):
+ """
+ Gets the fs_group of this CreateLinuxContainerInstanceSecurityContextDetails.
+ A special supplemental group that applies to all containers in the container instance. Some volume types allow the container instance to change ownership of the volume. The owning GID will be the fsGroup, the setgid bit will be set (new files will be owned by the fsGroup), and the permission bits are OR'd with rw-rw----. If unset, the container instance will not modify the ownership and permissions of volumes.
+
+
+ :return: The fs_group of this CreateLinuxContainerInstanceSecurityContextDetails.
+ :rtype: int
+ """
+ return self._fs_group
+
+ @fs_group.setter
+ def fs_group(self, fs_group):
+ """
+ Sets the fs_group of this CreateLinuxContainerInstanceSecurityContextDetails.
+ A special supplemental group that applies to all containers in the container instance. Some volume types allow the container instance to change ownership of the volume. The owning GID will be the fsGroup, the setgid bit will be set (new files will be owned by the fsGroup), and the permission bits are OR'd with rw-rw----. If unset, the container instance will not modify the ownership and permissions of volumes.
+
+
+ :param fs_group: The fs_group of this CreateLinuxContainerInstanceSecurityContextDetails.
+ :type: int
+ """
+ self._fs_group = fs_group
+
+ @property
+ def fs_group_change_policy(self):
+ """
+ Gets the fs_group_change_policy of this CreateLinuxContainerInstanceSecurityContextDetails.
+ Defines behavior of changing ownership and permission of the volume before being exposed inside the containers. This only applies to volumes which support fsGroup ownership and permissions, and will have no effect on ephemeral volumes. ON_ROOT_MISMATCH only changes permissions and ownership if the permission and ownership of the root directory does not match the expected permissions and ownership of the volume. This can improve container instance start times. ALWAYS changes permission and ownership of the volume when it is mounted. If unset, ALWAYS is used.
+
+ Allowed values for this property are: "ALWAYS", "ON_ROOT_MISMATCH"
+
+
+ :return: The fs_group_change_policy of this CreateLinuxContainerInstanceSecurityContextDetails.
+ :rtype: str
+ """
+ return self._fs_group_change_policy
+
+ @fs_group_change_policy.setter
+ def fs_group_change_policy(self, fs_group_change_policy):
+ """
+ Sets the fs_group_change_policy of this CreateLinuxContainerInstanceSecurityContextDetails.
+ Defines behavior of changing ownership and permission of the volume before being exposed inside the containers. This only applies to volumes which support fsGroup ownership and permissions, and will have no effect on ephemeral volumes. ON_ROOT_MISMATCH only changes permissions and ownership if the permission and ownership of the root directory does not match the expected permissions and ownership of the volume. This can improve container instance start times. ALWAYS changes permission and ownership of the volume when it is mounted. If unset, ALWAYS is used.
+
+
+ :param fs_group_change_policy: The fs_group_change_policy of this CreateLinuxContainerInstanceSecurityContextDetails.
+ :type: str
+ """
+ allowed_values = ["ALWAYS", "ON_ROOT_MISMATCH"]
+ if not value_allowed_none_or_none_sentinel(fs_group_change_policy, allowed_values):
+ raise ValueError(
+ f"Invalid value for `fs_group_change_policy`, must be None or one of {allowed_values}"
+ )
+ self._fs_group_change_policy = fs_group_change_policy
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/container_instances/models/create_oci_fss_export_details.py b/src/oci/container_instances/models/create_oci_fss_export_details.py
new file mode 100644
index 0000000000..2f32ce685a
--- /dev/null
+++ b/src/oci/container_instances/models/create_oci_fss_export_details.py
@@ -0,0 +1,101 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class CreateOciFssExportDetails(object):
+ """
+ An OCI File Storage Service (FSS) Export. Check https://docs.oracle.com/en-us/iaas/api/#/en/filestorage/20171215/Export/ for more details.
+ """
+
+ #: A constant which can be used with the oci_fss_export_type property of a CreateOciFssExportDetails.
+ #: This constant has a value of "OCID"
+ OCI_FSS_EXPORT_TYPE_OCID = "OCID"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateOciFssExportDetails 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.container_instances.models.CreateOciFssExportIdDetails`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oci_fss_export_type:
+ The value to assign to the oci_fss_export_type property of this CreateOciFssExportDetails.
+ Allowed values for this property are: "OCID"
+ :type oci_fss_export_type: str
+
+ """
+ self.swagger_types = {
+ 'oci_fss_export_type': 'str'
+ }
+ self.attribute_map = {
+ 'oci_fss_export_type': 'ociFssExportType'
+ }
+ self._oci_fss_export_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['ociFssExportType']
+
+ if type == 'OCID':
+ return 'CreateOciFssExportIdDetails'
+ else:
+ return 'CreateOciFssExportDetails'
+
+ @property
+ def oci_fss_export_type(self):
+ """
+ Gets the oci_fss_export_type of this CreateOciFssExportDetails.
+ Determines the mode for supplying the OCI File Storage Service (FSS) Export details.
+ The value must be an OCID unless your tenancy is allowed to use PATH as a value.
+
+ Allowed values for this property are: "OCID"
+
+
+ :return: The oci_fss_export_type of this CreateOciFssExportDetails.
+ :rtype: str
+ """
+ return self._oci_fss_export_type
+
+ @oci_fss_export_type.setter
+ def oci_fss_export_type(self, oci_fss_export_type):
+ """
+ Sets the oci_fss_export_type of this CreateOciFssExportDetails.
+ Determines the mode for supplying the OCI File Storage Service (FSS) Export details.
+ The value must be an OCID unless your tenancy is allowed to use PATH as a value.
+
+
+ :param oci_fss_export_type: The oci_fss_export_type of this CreateOciFssExportDetails.
+ :type: str
+ """
+ allowed_values = ["OCID"]
+ if not value_allowed_none_or_none_sentinel(oci_fss_export_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `oci_fss_export_type`, must be None or one of {allowed_values}"
+ )
+ self._oci_fss_export_type = oci_fss_export_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/container_instances/models/create_oci_fss_export_id_details.py b/src/oci/container_instances/models/create_oci_fss_export_id_details.py
new file mode 100644
index 0000000000..6c26f83f35
--- /dev/null
+++ b/src/oci/container_instances/models/create_oci_fss_export_id_details.py
@@ -0,0 +1,80 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .create_oci_fss_export_details import CreateOciFssExportDetails
+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 CreateOciFssExportIdDetails(CreateOciFssExportDetails):
+ """
+ The OCID of the OCI File Storage Service (FSS) Export. The user must have read permission for export-sets.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateOciFssExportIdDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.CreateOciFssExportIdDetails.oci_fss_export_type` attribute
+ of this class is ``OCID`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oci_fss_export_type:
+ The value to assign to the oci_fss_export_type property of this CreateOciFssExportIdDetails.
+ Allowed values for this property are: "OCID"
+ :type oci_fss_export_type: str
+
+ :param id:
+ The value to assign to the id property of this CreateOciFssExportIdDetails.
+ :type id: str
+
+ """
+ self.swagger_types = {
+ 'oci_fss_export_type': 'str',
+ 'id': 'str'
+ }
+ self.attribute_map = {
+ 'oci_fss_export_type': 'ociFssExportType',
+ 'id': 'id'
+ }
+ self._oci_fss_export_type = None
+ self._id = None
+ self._oci_fss_export_type = 'OCID'
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this CreateOciFssExportIdDetails.
+ The OCID of the OCI File Storage Service (FSS) Export.
+
+
+ :return: The id of this CreateOciFssExportIdDetails.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this CreateOciFssExportIdDetails.
+ The OCID of the OCI File Storage Service (FSS) Export.
+
+
+ :param id: The id of this CreateOciFssExportIdDetails.
+ :type: str
+ """
+ self._id = 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/container_instances/models/create_oci_fss_mount_command_details.py b/src/oci/container_instances/models/create_oci_fss_mount_command_details.py
new file mode 100644
index 0000000000..e0f37b144b
--- /dev/null
+++ b/src/oci/container_instances/models/create_oci_fss_mount_command_details.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class CreateOciFssMountCommandDetails(object):
+ """
+ Specifications for the mount command to mount the OCI File Storage Service (FSS) File System to Containers.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateOciFssMountCommandDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param mount_options:
+ The value to assign to the mount_options property of this CreateOciFssMountCommandDetails.
+ :type mount_options: list[oci.container_instances.models.CreateOciFssMountOptionDetails]
+
+ """
+ self.swagger_types = {
+ 'mount_options': 'list[CreateOciFssMountOptionDetails]'
+ }
+ self.attribute_map = {
+ 'mount_options': 'mountOptions'
+ }
+ self._mount_options = None
+
+ @property
+ def mount_options(self):
+ """
+ Gets the mount_options of this CreateOciFssMountCommandDetails.
+ List of mount options to be used in the mount command. The order of this array will be maintained while preparing the mount command.
+
+
+ :return: The mount_options of this CreateOciFssMountCommandDetails.
+ :rtype: list[oci.container_instances.models.CreateOciFssMountOptionDetails]
+ """
+ return self._mount_options
+
+ @mount_options.setter
+ def mount_options(self, mount_options):
+ """
+ Sets the mount_options of this CreateOciFssMountCommandDetails.
+ List of mount options to be used in the mount command. The order of this array will be maintained while preparing the mount command.
+
+
+ :param mount_options: The mount_options of this CreateOciFssMountCommandDetails.
+ :type: list[oci.container_instances.models.CreateOciFssMountOptionDetails]
+ """
+ self._mount_options = mount_options
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/container_instances/models/create_oci_fss_mount_option_details.py b/src/oci/container_instances/models/create_oci_fss_mount_option_details.py
new file mode 100644
index 0000000000..e767a4bc23
--- /dev/null
+++ b/src/oci/container_instances/models/create_oci_fss_mount_option_details.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class CreateOciFssMountOptionDetails(object):
+ """
+ A mount option to be used in the mount command while mounting the OCI File Storage Service (FSS) File System to Containers.
+ The mount option will look like option=value in the mount command.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateOciFssMountOptionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param option:
+ The value to assign to the option property of this CreateOciFssMountOptionDetails.
+ :type option: str
+
+ :param value:
+ The value to assign to the value property of this CreateOciFssMountOptionDetails.
+ :type value: str
+
+ """
+ self.swagger_types = {
+ 'option': 'str',
+ 'value': 'str'
+ }
+ self.attribute_map = {
+ 'option': 'option',
+ 'value': 'value'
+ }
+ self._option = None
+ self._value = None
+
+ @property
+ def option(self):
+ """
+ **[Required]** Gets the option of this CreateOciFssMountOptionDetails.
+ A generic (https://man7.org/linux/man-pages/man8/mount.8.html) or nfs (https://man7.org/linux/man-pages/man5/nfs.5.html) mount option.
+
+
+ :return: The option of this CreateOciFssMountOptionDetails.
+ :rtype: str
+ """
+ return self._option
+
+ @option.setter
+ def option(self, option):
+ """
+ Sets the option of this CreateOciFssMountOptionDetails.
+ A generic (https://man7.org/linux/man-pages/man8/mount.8.html) or nfs (https://man7.org/linux/man-pages/man5/nfs.5.html) mount option.
+
+
+ :param option: The option of this CreateOciFssMountOptionDetails.
+ :type: str
+ """
+ self._option = option
+
+ @property
+ def value(self):
+ """
+ Gets the value of this CreateOciFssMountOptionDetails.
+ The value of the mount option.
+
+
+ :return: The value of this CreateOciFssMountOptionDetails.
+ :rtype: str
+ """
+ return self._value
+
+ @value.setter
+ def value(self, value):
+ """
+ Sets the value of this CreateOciFssMountOptionDetails.
+ The value of the mount option.
+
+
+ :param value: The value of this CreateOciFssMountOptionDetails.
+ :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/container_instances/models/create_oci_fss_mount_target_details.py b/src/oci/container_instances/models/create_oci_fss_mount_target_details.py
new file mode 100644
index 0000000000..a56709bb35
--- /dev/null
+++ b/src/oci/container_instances/models/create_oci_fss_mount_target_details.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class CreateOciFssMountTargetDetails(object):
+ """
+ An OCI File Storage Service (FSS) Mount Target.
+ Check https://docs.oracle.com/en-us/iaas/api/#/en/filestorage/20171215/MountTarget for more details.
+ """
+
+ #: A constant which can be used with the oci_fss_mount_target_type property of a CreateOciFssMountTargetDetails.
+ #: This constant has a value of "OCID"
+ OCI_FSS_MOUNT_TARGET_TYPE_OCID = "OCID"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateOciFssMountTargetDetails 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.container_instances.models.CreateOciFssMountTargetIdDetails`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oci_fss_mount_target_type:
+ The value to assign to the oci_fss_mount_target_type property of this CreateOciFssMountTargetDetails.
+ Allowed values for this property are: "OCID"
+ :type oci_fss_mount_target_type: str
+
+ """
+ self.swagger_types = {
+ 'oci_fss_mount_target_type': 'str'
+ }
+ self.attribute_map = {
+ 'oci_fss_mount_target_type': 'ociFssMountTargetType'
+ }
+ self._oci_fss_mount_target_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['ociFssMountTargetType']
+
+ if type == 'OCID':
+ return 'CreateOciFssMountTargetIdDetails'
+ else:
+ return 'CreateOciFssMountTargetDetails'
+
+ @property
+ def oci_fss_mount_target_type(self):
+ """
+ Gets the oci_fss_mount_target_type of this CreateOciFssMountTargetDetails.
+ Determines the mode for supplying the OCI File Storage Service (FSS) Mount target details.
+ The value must be an OCID unless your tenancy is allowed to use HOST as a value.
+
+ Allowed values for this property are: "OCID"
+
+
+ :return: The oci_fss_mount_target_type of this CreateOciFssMountTargetDetails.
+ :rtype: str
+ """
+ return self._oci_fss_mount_target_type
+
+ @oci_fss_mount_target_type.setter
+ def oci_fss_mount_target_type(self, oci_fss_mount_target_type):
+ """
+ Sets the oci_fss_mount_target_type of this CreateOciFssMountTargetDetails.
+ Determines the mode for supplying the OCI File Storage Service (FSS) Mount target details.
+ The value must be an OCID unless your tenancy is allowed to use HOST as a value.
+
+
+ :param oci_fss_mount_target_type: The oci_fss_mount_target_type of this CreateOciFssMountTargetDetails.
+ :type: str
+ """
+ allowed_values = ["OCID"]
+ if not value_allowed_none_or_none_sentinel(oci_fss_mount_target_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `oci_fss_mount_target_type`, must be None or one of {allowed_values}"
+ )
+ self._oci_fss_mount_target_type = oci_fss_mount_target_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/container_instances/models/create_oci_fss_mount_target_id_details.py b/src/oci/container_instances/models/create_oci_fss_mount_target_id_details.py
new file mode 100644
index 0000000000..173fe5f761
--- /dev/null
+++ b/src/oci/container_instances/models/create_oci_fss_mount_target_id_details.py
@@ -0,0 +1,80 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .create_oci_fss_mount_target_details import CreateOciFssMountTargetDetails
+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 CreateOciFssMountTargetIdDetails(CreateOciFssMountTargetDetails):
+ """
+ The OCID of the OCI File Storage Service (FSS) Mount Target. The user must have read permission for mount-targets.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateOciFssMountTargetIdDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.CreateOciFssMountTargetIdDetails.oci_fss_mount_target_type` attribute
+ of this class is ``OCID`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oci_fss_mount_target_type:
+ The value to assign to the oci_fss_mount_target_type property of this CreateOciFssMountTargetIdDetails.
+ Allowed values for this property are: "OCID"
+ :type oci_fss_mount_target_type: str
+
+ :param id:
+ The value to assign to the id property of this CreateOciFssMountTargetIdDetails.
+ :type id: str
+
+ """
+ self.swagger_types = {
+ 'oci_fss_mount_target_type': 'str',
+ 'id': 'str'
+ }
+ self.attribute_map = {
+ 'oci_fss_mount_target_type': 'ociFssMountTargetType',
+ 'id': 'id'
+ }
+ self._oci_fss_mount_target_type = None
+ self._id = None
+ self._oci_fss_mount_target_type = 'OCID'
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this CreateOciFssMountTargetIdDetails.
+ The OCID of the OCI File Storage Service (FSS) Mount Target.
+
+
+ :return: The id of this CreateOciFssMountTargetIdDetails.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this CreateOciFssMountTargetIdDetails.
+ The OCID of the OCI File Storage Service (FSS) Mount Target.
+
+
+ :param id: The id of this CreateOciFssMountTargetIdDetails.
+ :type: str
+ """
+ self._id = 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/container_instances/models/create_oci_fss_security_details.py b/src/oci/container_instances/models/create_oci_fss_security_details.py
new file mode 100644
index 0000000000..4a207d07ae
--- /dev/null
+++ b/src/oci/container_instances/models/create_oci_fss_security_details.py
@@ -0,0 +1,132 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class CreateOciFssSecurityDetails(object):
+ """
+ Security options for OCI FSS File System.
+ """
+
+ #: A constant which can be used with the auth property of a CreateOciFssSecurityDetails.
+ #: This constant has a value of "SYS"
+ AUTH_SYS = "SYS"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateOciFssSecurityDetails 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.container_instances.models.CreateOciFssSysSecurityDetails`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param auth:
+ The value to assign to the auth property of this CreateOciFssSecurityDetails.
+ Allowed values for this property are: "SYS"
+ :type auth: str
+
+ :param is_encrypted_in_transit:
+ The value to assign to the is_encrypted_in_transit property of this CreateOciFssSecurityDetails.
+ :type is_encrypted_in_transit: bool
+
+ """
+ self.swagger_types = {
+ 'auth': 'str',
+ 'is_encrypted_in_transit': 'bool'
+ }
+ self.attribute_map = {
+ 'auth': 'auth',
+ 'is_encrypted_in_transit': 'isEncryptedInTransit'
+ }
+ self._auth = None
+ self._is_encrypted_in_transit = 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['auth']
+
+ if type == 'SYS':
+ return 'CreateOciFssSysSecurityDetails'
+ else:
+ return 'CreateOciFssSecurityDetails'
+
+ @property
+ def auth(self):
+ """
+ Gets the auth of this CreateOciFssSecurityDetails.
+ NFS authentication type to be used. Currently, only auth type SYS is supported.
+
+ Allowed values for this property are: "SYS"
+
+
+ :return: The auth of this CreateOciFssSecurityDetails.
+ :rtype: str
+ """
+ return self._auth
+
+ @auth.setter
+ def auth(self, auth):
+ """
+ Sets the auth of this CreateOciFssSecurityDetails.
+ NFS authentication type to be used. Currently, only auth type SYS is supported.
+
+
+ :param auth: The auth of this CreateOciFssSecurityDetails.
+ :type: str
+ """
+ allowed_values = ["SYS"]
+ if not value_allowed_none_or_none_sentinel(auth, allowed_values):
+ raise ValueError(
+ f"Invalid value for `auth`, must be None or one of {allowed_values}"
+ )
+ self._auth = auth
+
+ @property
+ def is_encrypted_in_transit(self):
+ """
+ Gets the is_encrypted_in_transit of this CreateOciFssSecurityDetails.
+ Determines whether in-transit encryption needs to be enables.
+ Check https://docs.oracle.com/en-us/iaas/Content/File/Tasks/intransitencryption.htm#Using_Intransit_Encryption for more details.
+
+
+ :return: The is_encrypted_in_transit of this CreateOciFssSecurityDetails.
+ :rtype: bool
+ """
+ return self._is_encrypted_in_transit
+
+ @is_encrypted_in_transit.setter
+ def is_encrypted_in_transit(self, is_encrypted_in_transit):
+ """
+ Sets the is_encrypted_in_transit of this CreateOciFssSecurityDetails.
+ Determines whether in-transit encryption needs to be enables.
+ Check https://docs.oracle.com/en-us/iaas/Content/File/Tasks/intransitencryption.htm#Using_Intransit_Encryption for more details.
+
+
+ :param is_encrypted_in_transit: The is_encrypted_in_transit of this CreateOciFssSecurityDetails.
+ :type: bool
+ """
+ self._is_encrypted_in_transit = is_encrypted_in_transit
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/container_instances/models/create_oci_fss_sys_security_details.py b/src/oci/container_instances/models/create_oci_fss_sys_security_details.py
new file mode 100644
index 0000000000..9b7ba97084
--- /dev/null
+++ b/src/oci/container_instances/models/create_oci_fss_sys_security_details.py
@@ -0,0 +1,56 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .create_oci_fss_security_details import CreateOciFssSecurityDetails
+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 CreateOciFssSysSecurityDetails(CreateOciFssSecurityDetails):
+ """
+ SYS security options for OCI FSS File System.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateOciFssSysSecurityDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.CreateOciFssSysSecurityDetails.auth` attribute
+ of this class is ``SYS`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param auth:
+ The value to assign to the auth property of this CreateOciFssSysSecurityDetails.
+ Allowed values for this property are: "SYS"
+ :type auth: str
+
+ :param is_encrypted_in_transit:
+ The value to assign to the is_encrypted_in_transit property of this CreateOciFssSysSecurityDetails.
+ :type is_encrypted_in_transit: bool
+
+ """
+ self.swagger_types = {
+ 'auth': 'str',
+ 'is_encrypted_in_transit': 'bool'
+ }
+ self.attribute_map = {
+ 'auth': 'auth',
+ 'is_encrypted_in_transit': 'isEncryptedInTransit'
+ }
+ self._auth = None
+ self._is_encrypted_in_transit = None
+ self._auth = 'SYS'
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/container_instances/models/linux_container_instance_security_context.py b/src/oci/container_instances/models/linux_container_instance_security_context.py
new file mode 100644
index 0000000000..9bc4cc6260
--- /dev/null
+++ b/src/oci/container_instances/models/linux_container_instance_security_context.py
@@ -0,0 +1,128 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .container_instance_security_context import ContainerInstanceSecurityContext
+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 LinuxContainerInstanceSecurityContext(ContainerInstanceSecurityContext):
+ """
+ Security context for all containers in a container instance.
+ """
+
+ #: A constant which can be used with the fs_group_change_policy property of a LinuxContainerInstanceSecurityContext.
+ #: This constant has a value of "ALWAYS"
+ FS_GROUP_CHANGE_POLICY_ALWAYS = "ALWAYS"
+
+ #: A constant which can be used with the fs_group_change_policy property of a LinuxContainerInstanceSecurityContext.
+ #: This constant has a value of "ON_ROOT_MISMATCH"
+ FS_GROUP_CHANGE_POLICY_ON_ROOT_MISMATCH = "ON_ROOT_MISMATCH"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new LinuxContainerInstanceSecurityContext object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.LinuxContainerInstanceSecurityContext.security_context_type` attribute
+ of this class is ``LINUX`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param security_context_type:
+ The value to assign to the security_context_type property of this LinuxContainerInstanceSecurityContext.
+ Allowed values for this property are: "LINUX", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type security_context_type: str
+
+ :param fs_group:
+ The value to assign to the fs_group property of this LinuxContainerInstanceSecurityContext.
+ :type fs_group: int
+
+ :param fs_group_change_policy:
+ The value to assign to the fs_group_change_policy property of this LinuxContainerInstanceSecurityContext.
+ Allowed values for this property are: "ALWAYS", "ON_ROOT_MISMATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type fs_group_change_policy: str
+
+ """
+ self.swagger_types = {
+ 'security_context_type': 'str',
+ 'fs_group': 'int',
+ 'fs_group_change_policy': 'str'
+ }
+ self.attribute_map = {
+ 'security_context_type': 'securityContextType',
+ 'fs_group': 'fsGroup',
+ 'fs_group_change_policy': 'fsGroupChangePolicy'
+ }
+ self._security_context_type = None
+ self._fs_group = None
+ self._fs_group_change_policy = None
+ self._security_context_type = 'LINUX'
+
+ @property
+ def fs_group(self):
+ """
+ Gets the fs_group of this LinuxContainerInstanceSecurityContext.
+ A special supplemental group that applies to all containers in the container instance. Some volume types allow the container instance to change ownership of the volume. The owning GID will be the fsGroup, the setgid bit will be set (new files will be owned by the fsGroup), and the permission bits are OR'd with rw-rw----. If unset, the container instance will not modify the ownership and permissions of volumes.
+
+
+ :return: The fs_group of this LinuxContainerInstanceSecurityContext.
+ :rtype: int
+ """
+ return self._fs_group
+
+ @fs_group.setter
+ def fs_group(self, fs_group):
+ """
+ Sets the fs_group of this LinuxContainerInstanceSecurityContext.
+ A special supplemental group that applies to all containers in the container instance. Some volume types allow the container instance to change ownership of the volume. The owning GID will be the fsGroup, the setgid bit will be set (new files will be owned by the fsGroup), and the permission bits are OR'd with rw-rw----. If unset, the container instance will not modify the ownership and permissions of volumes.
+
+
+ :param fs_group: The fs_group of this LinuxContainerInstanceSecurityContext.
+ :type: int
+ """
+ self._fs_group = fs_group
+
+ @property
+ def fs_group_change_policy(self):
+ """
+ Gets the fs_group_change_policy of this LinuxContainerInstanceSecurityContext.
+ Defines behavior of changing ownership and permission of the volume before being exposed inside the containers. This only applies to volumes which support fsGroup ownership and permissions, and will have no effect on ephemeral volumes. ON_ROOT_MISMATCH only changes permissions and ownership if the permission and ownership of the root directory does not match the expected permissions and ownership of the volume. This can improve container instance start times. ALWAYS changes permission and ownership of the volume when it is mounted. If unset, ALWAYS is used.
+
+ Allowed values for this property are: "ALWAYS", "ON_ROOT_MISMATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The fs_group_change_policy of this LinuxContainerInstanceSecurityContext.
+ :rtype: str
+ """
+ return self._fs_group_change_policy
+
+ @fs_group_change_policy.setter
+ def fs_group_change_policy(self, fs_group_change_policy):
+ """
+ Sets the fs_group_change_policy of this LinuxContainerInstanceSecurityContext.
+ Defines behavior of changing ownership and permission of the volume before being exposed inside the containers. This only applies to volumes which support fsGroup ownership and permissions, and will have no effect on ephemeral volumes. ON_ROOT_MISMATCH only changes permissions and ownership if the permission and ownership of the root directory does not match the expected permissions and ownership of the volume. This can improve container instance start times. ALWAYS changes permission and ownership of the volume when it is mounted. If unset, ALWAYS is used.
+
+
+ :param fs_group_change_policy: The fs_group_change_policy of this LinuxContainerInstanceSecurityContext.
+ :type: str
+ """
+ allowed_values = ["ALWAYS", "ON_ROOT_MISMATCH"]
+ if not value_allowed_none_or_none_sentinel(fs_group_change_policy, allowed_values):
+ fs_group_change_policy = 'UNKNOWN_ENUM_VALUE'
+ self._fs_group_change_policy = fs_group_change_policy
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/container_instances/models/oci_fss_export.py b/src/oci/container_instances/models/oci_fss_export.py
new file mode 100644
index 0000000000..1232a8bf30
--- /dev/null
+++ b/src/oci/container_instances/models/oci_fss_export.py
@@ -0,0 +1,101 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class OciFssExport(object):
+ """
+ An OCI File Storage Service (FSS) Export. Check https://docs.oracle.com/en-us/iaas/api/#/en/filestorage/20171215/Export/ for more details.
+ """
+
+ #: A constant which can be used with the oci_fss_export_type property of a OciFssExport.
+ #: This constant has a value of "OCID"
+ OCI_FSS_EXPORT_TYPE_OCID = "OCID"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new OciFssExport 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.container_instances.models.OciFssExportId`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oci_fss_export_type:
+ The value to assign to the oci_fss_export_type property of this OciFssExport.
+ Allowed values for this property are: "OCID", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type oci_fss_export_type: str
+
+ """
+ self.swagger_types = {
+ 'oci_fss_export_type': 'str'
+ }
+ self.attribute_map = {
+ 'oci_fss_export_type': 'ociFssExportType'
+ }
+ self._oci_fss_export_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['ociFssExportType']
+
+ if type == 'OCID':
+ return 'OciFssExportId'
+ else:
+ return 'OciFssExport'
+
+ @property
+ def oci_fss_export_type(self):
+ """
+ Gets the oci_fss_export_type of this OciFssExport.
+ Determines the mode for supplying the OCI File Storage Service (FSS) Export details.
+ The value must be an OCID unless your tenancy is allowed to use PATH as a value.
+
+ Allowed values for this property are: "OCID", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The oci_fss_export_type of this OciFssExport.
+ :rtype: str
+ """
+ return self._oci_fss_export_type
+
+ @oci_fss_export_type.setter
+ def oci_fss_export_type(self, oci_fss_export_type):
+ """
+ Sets the oci_fss_export_type of this OciFssExport.
+ Determines the mode for supplying the OCI File Storage Service (FSS) Export details.
+ The value must be an OCID unless your tenancy is allowed to use PATH as a value.
+
+
+ :param oci_fss_export_type: The oci_fss_export_type of this OciFssExport.
+ :type: str
+ """
+ allowed_values = ["OCID"]
+ if not value_allowed_none_or_none_sentinel(oci_fss_export_type, allowed_values):
+ oci_fss_export_type = 'UNKNOWN_ENUM_VALUE'
+ self._oci_fss_export_type = oci_fss_export_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/container_instances/models/oci_fss_export_id.py b/src/oci/container_instances/models/oci_fss_export_id.py
new file mode 100644
index 0000000000..5f3ab3e4f6
--- /dev/null
+++ b/src/oci/container_instances/models/oci_fss_export_id.py
@@ -0,0 +1,80 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .oci_fss_export import OciFssExport
+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 OciFssExportId(OciFssExport):
+ """
+ The OCID of the OCI File Storage Service (FSS) Export. The user must have read permission for export-sets.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new OciFssExportId object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.OciFssExportId.oci_fss_export_type` attribute
+ of this class is ``OCID`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oci_fss_export_type:
+ The value to assign to the oci_fss_export_type property of this OciFssExportId.
+ Allowed values for this property are: "OCID"
+ :type oci_fss_export_type: str
+
+ :param id:
+ The value to assign to the id property of this OciFssExportId.
+ :type id: str
+
+ """
+ self.swagger_types = {
+ 'oci_fss_export_type': 'str',
+ 'id': 'str'
+ }
+ self.attribute_map = {
+ 'oci_fss_export_type': 'ociFssExportType',
+ 'id': 'id'
+ }
+ self._oci_fss_export_type = None
+ self._id = None
+ self._oci_fss_export_type = 'OCID'
+
+ @property
+ def id(self):
+ """
+ Gets the id of this OciFssExportId.
+ The OCID of the OCI File Storage Service (FSS) Export.
+
+
+ :return: The id of this OciFssExportId.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this OciFssExportId.
+ The OCID of the OCI File Storage Service (FSS) Export.
+
+
+ :param id: The id of this OciFssExportId.
+ :type: str
+ """
+ self._id = 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/container_instances/models/oci_fss_mount_command.py b/src/oci/container_instances/models/oci_fss_mount_command.py
new file mode 100644
index 0000000000..b7ccb10c98
--- /dev/null
+++ b/src/oci/container_instances/models/oci_fss_mount_command.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class OciFssMountCommand(object):
+ """
+ Specifications for the mount command to mount the OCI File Storage Service (FSS) File System to Containers.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new OciFssMountCommand object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param mount_options:
+ The value to assign to the mount_options property of this OciFssMountCommand.
+ :type mount_options: list[oci.container_instances.models.OciFssMountOption]
+
+ """
+ self.swagger_types = {
+ 'mount_options': 'list[OciFssMountOption]'
+ }
+ self.attribute_map = {
+ 'mount_options': 'mountOptions'
+ }
+ self._mount_options = None
+
+ @property
+ def mount_options(self):
+ """
+ Gets the mount_options of this OciFssMountCommand.
+ List of mount options to be used in the mount command. The order of this array will be maintained while preparing the mount command.
+
+
+ :return: The mount_options of this OciFssMountCommand.
+ :rtype: list[oci.container_instances.models.OciFssMountOption]
+ """
+ return self._mount_options
+
+ @mount_options.setter
+ def mount_options(self, mount_options):
+ """
+ Sets the mount_options of this OciFssMountCommand.
+ List of mount options to be used in the mount command. The order of this array will be maintained while preparing the mount command.
+
+
+ :param mount_options: The mount_options of this OciFssMountCommand.
+ :type: list[oci.container_instances.models.OciFssMountOption]
+ """
+ self._mount_options = mount_options
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/container_instances/models/oci_fss_mount_option.py b/src/oci/container_instances/models/oci_fss_mount_option.py
new file mode 100644
index 0000000000..c346d16465
--- /dev/null
+++ b/src/oci/container_instances/models/oci_fss_mount_option.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class OciFssMountOption(object):
+ """
+ A mount option to be used in the mount command while mounting the OCI File Storage Service (FSS) File System to Containers.
+ The mount option will look like option=value in the mount command.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new OciFssMountOption object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param option:
+ The value to assign to the option property of this OciFssMountOption.
+ :type option: str
+
+ :param value:
+ The value to assign to the value property of this OciFssMountOption.
+ :type value: str
+
+ """
+ self.swagger_types = {
+ 'option': 'str',
+ 'value': 'str'
+ }
+ self.attribute_map = {
+ 'option': 'option',
+ 'value': 'value'
+ }
+ self._option = None
+ self._value = None
+
+ @property
+ def option(self):
+ """
+ Gets the option of this OciFssMountOption.
+ A generic (https://man7.org/linux/man-pages/man8/mount.8.html) or nfs (https://man7.org/linux/man-pages/man5/nfs.5.html) mount option.
+
+
+ :return: The option of this OciFssMountOption.
+ :rtype: str
+ """
+ return self._option
+
+ @option.setter
+ def option(self, option):
+ """
+ Sets the option of this OciFssMountOption.
+ A generic (https://man7.org/linux/man-pages/man8/mount.8.html) or nfs (https://man7.org/linux/man-pages/man5/nfs.5.html) mount option.
+
+
+ :param option: The option of this OciFssMountOption.
+ :type: str
+ """
+ self._option = option
+
+ @property
+ def value(self):
+ """
+ Gets the value of this OciFssMountOption.
+ The value of the mount option.
+
+
+ :return: The value of this OciFssMountOption.
+ :rtype: str
+ """
+ return self._value
+
+ @value.setter
+ def value(self, value):
+ """
+ Sets the value of this OciFssMountOption.
+ The value of the mount option.
+
+
+ :param value: The value of this OciFssMountOption.
+ :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/container_instances/models/oci_fss_mount_target.py b/src/oci/container_instances/models/oci_fss_mount_target.py
new file mode 100644
index 0000000000..b8159014bf
--- /dev/null
+++ b/src/oci/container_instances/models/oci_fss_mount_target.py
@@ -0,0 +1,102 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class OciFssMountTarget(object):
+ """
+ An OCI File Storage Service (FSS) Mount Target.
+ Check https://docs.oracle.com/en-us/iaas/api/#/en/filestorage/20171215/MountTarget for more details.
+ """
+
+ #: A constant which can be used with the oci_fss_mount_target_type property of a OciFssMountTarget.
+ #: This constant has a value of "OCID"
+ OCI_FSS_MOUNT_TARGET_TYPE_OCID = "OCID"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new OciFssMountTarget 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.container_instances.models.OciFssMountTargetId`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oci_fss_mount_target_type:
+ The value to assign to the oci_fss_mount_target_type property of this OciFssMountTarget.
+ Allowed values for this property are: "OCID", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type oci_fss_mount_target_type: str
+
+ """
+ self.swagger_types = {
+ 'oci_fss_mount_target_type': 'str'
+ }
+ self.attribute_map = {
+ 'oci_fss_mount_target_type': 'ociFssMountTargetType'
+ }
+ self._oci_fss_mount_target_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['ociFssMountTargetType']
+
+ if type == 'OCID':
+ return 'OciFssMountTargetId'
+ else:
+ return 'OciFssMountTarget'
+
+ @property
+ def oci_fss_mount_target_type(self):
+ """
+ Gets the oci_fss_mount_target_type of this OciFssMountTarget.
+ Determines the mode for supplying the OCI File Storage Service (FSS) Mount target details.
+ The value must be an OCID unless your tenancy is allowed to use HOST as a value.
+
+ Allowed values for this property are: "OCID", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The oci_fss_mount_target_type of this OciFssMountTarget.
+ :rtype: str
+ """
+ return self._oci_fss_mount_target_type
+
+ @oci_fss_mount_target_type.setter
+ def oci_fss_mount_target_type(self, oci_fss_mount_target_type):
+ """
+ Sets the oci_fss_mount_target_type of this OciFssMountTarget.
+ Determines the mode for supplying the OCI File Storage Service (FSS) Mount target details.
+ The value must be an OCID unless your tenancy is allowed to use HOST as a value.
+
+
+ :param oci_fss_mount_target_type: The oci_fss_mount_target_type of this OciFssMountTarget.
+ :type: str
+ """
+ allowed_values = ["OCID"]
+ if not value_allowed_none_or_none_sentinel(oci_fss_mount_target_type, allowed_values):
+ oci_fss_mount_target_type = 'UNKNOWN_ENUM_VALUE'
+ self._oci_fss_mount_target_type = oci_fss_mount_target_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/container_instances/models/oci_fss_mount_target_id.py b/src/oci/container_instances/models/oci_fss_mount_target_id.py
new file mode 100644
index 0000000000..772ebd9967
--- /dev/null
+++ b/src/oci/container_instances/models/oci_fss_mount_target_id.py
@@ -0,0 +1,80 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .oci_fss_mount_target import OciFssMountTarget
+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 OciFssMountTargetId(OciFssMountTarget):
+ """
+ The OCID of the OCI File Storage Service (FSS) Mount Target. The user must have read permission for mount-targets.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new OciFssMountTargetId object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.OciFssMountTargetId.oci_fss_mount_target_type` attribute
+ of this class is ``OCID`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oci_fss_mount_target_type:
+ The value to assign to the oci_fss_mount_target_type property of this OciFssMountTargetId.
+ Allowed values for this property are: "OCID"
+ :type oci_fss_mount_target_type: str
+
+ :param id:
+ The value to assign to the id property of this OciFssMountTargetId.
+ :type id: str
+
+ """
+ self.swagger_types = {
+ 'oci_fss_mount_target_type': 'str',
+ 'id': 'str'
+ }
+ self.attribute_map = {
+ 'oci_fss_mount_target_type': 'ociFssMountTargetType',
+ 'id': 'id'
+ }
+ self._oci_fss_mount_target_type = None
+ self._id = None
+ self._oci_fss_mount_target_type = 'OCID'
+
+ @property
+ def id(self):
+ """
+ Gets the id of this OciFssMountTargetId.
+ The OCID of the OCI File Storage Service (FSS) Mount Target.
+
+
+ :return: The id of this OciFssMountTargetId.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this OciFssMountTargetId.
+ The OCID of the OCI File Storage Service (FSS) Mount Target.
+
+
+ :param id: The id of this OciFssMountTargetId.
+ :type: str
+ """
+ self._id = 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/container_instances/models/oci_fss_security.py b/src/oci/container_instances/models/oci_fss_security.py
new file mode 100644
index 0000000000..dca8c0a6e9
--- /dev/null
+++ b/src/oci/container_instances/models/oci_fss_security.py
@@ -0,0 +1,132 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.decorators import init_model_state_from_kwargs
+
+
+@init_model_state_from_kwargs
+class OciFssSecurity(object):
+ """
+ Security options for OCI FSS File System.
+ """
+
+ #: A constant which can be used with the auth property of a OciFssSecurity.
+ #: This constant has a value of "SYS"
+ AUTH_SYS = "SYS"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new OciFssSecurity 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.container_instances.models.OciFssSysSecurity`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param auth:
+ The value to assign to the auth property of this OciFssSecurity.
+ Allowed values for this property are: "SYS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type auth: str
+
+ :param is_encrypted_in_transit:
+ The value to assign to the is_encrypted_in_transit property of this OciFssSecurity.
+ :type is_encrypted_in_transit: bool
+
+ """
+ self.swagger_types = {
+ 'auth': 'str',
+ 'is_encrypted_in_transit': 'bool'
+ }
+ self.attribute_map = {
+ 'auth': 'auth',
+ 'is_encrypted_in_transit': 'isEncryptedInTransit'
+ }
+ self._auth = None
+ self._is_encrypted_in_transit = 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['auth']
+
+ if type == 'SYS':
+ return 'OciFssSysSecurity'
+ else:
+ return 'OciFssSecurity'
+
+ @property
+ def auth(self):
+ """
+ Gets the auth of this OciFssSecurity.
+ NFS authentication type to be used. Currently, only auth type SYS is supported.
+
+ Allowed values for this property are: "SYS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The auth of this OciFssSecurity.
+ :rtype: str
+ """
+ return self._auth
+
+ @auth.setter
+ def auth(self, auth):
+ """
+ Sets the auth of this OciFssSecurity.
+ NFS authentication type to be used. Currently, only auth type SYS is supported.
+
+
+ :param auth: The auth of this OciFssSecurity.
+ :type: str
+ """
+ allowed_values = ["SYS"]
+ if not value_allowed_none_or_none_sentinel(auth, allowed_values):
+ auth = 'UNKNOWN_ENUM_VALUE'
+ self._auth = auth
+
+ @property
+ def is_encrypted_in_transit(self):
+ """
+ Gets the is_encrypted_in_transit of this OciFssSecurity.
+ Determines whether in-transit encryption needs to be enables.
+ Check https://docs.oracle.com/en-us/iaas/Content/File/Tasks/intransitencryption.htm#Using_Intransit_Encryption for more details.
+
+
+ :return: The is_encrypted_in_transit of this OciFssSecurity.
+ :rtype: bool
+ """
+ return self._is_encrypted_in_transit
+
+ @is_encrypted_in_transit.setter
+ def is_encrypted_in_transit(self, is_encrypted_in_transit):
+ """
+ Sets the is_encrypted_in_transit of this OciFssSecurity.
+ Determines whether in-transit encryption needs to be enables.
+ Check https://docs.oracle.com/en-us/iaas/Content/File/Tasks/intransitencryption.htm#Using_Intransit_Encryption for more details.
+
+
+ :param is_encrypted_in_transit: The is_encrypted_in_transit of this OciFssSecurity.
+ :type: bool
+ """
+ self._is_encrypted_in_transit = is_encrypted_in_transit
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/container_instances/models/oci_fss_sys_security.py b/src/oci/container_instances/models/oci_fss_sys_security.py
new file mode 100644
index 0000000000..befd3cf6c5
--- /dev/null
+++ b/src/oci/container_instances/models/oci_fss_sys_security.py
@@ -0,0 +1,56 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20210415
+
+from .oci_fss_security import OciFssSecurity
+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 OciFssSysSecurity(OciFssSecurity):
+ """
+ SYS security options for OCI FSS File System.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new OciFssSysSecurity object with values from keyword arguments. The default value of the :py:attr:`~oci.container_instances.models.OciFssSysSecurity.auth` attribute
+ of this class is ``SYS`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param auth:
+ The value to assign to the auth property of this OciFssSysSecurity.
+ Allowed values for this property are: "SYS"
+ :type auth: str
+
+ :param is_encrypted_in_transit:
+ The value to assign to the is_encrypted_in_transit property of this OciFssSysSecurity.
+ :type is_encrypted_in_transit: bool
+
+ """
+ self.swagger_types = {
+ 'auth': 'str',
+ 'is_encrypted_in_transit': 'bool'
+ }
+ self.attribute_map = {
+ 'auth': 'auth',
+ 'is_encrypted_in_transit': 'isEncryptedInTransit'
+ }
+ self._auth = None
+ self._is_encrypted_in_transit = None
+ self._auth = 'SYS'
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/core/blockstorage_client.py b/src/oci/core/blockstorage_client.py
index f25e5a19c4..cd4b6b4f29 100644
--- a/src/oci/core/blockstorage_client.py
+++ b/src/oci/core/blockstorage_client.py
@@ -110,7 +110,8 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20160918',
- 'service_endpoint_template': 'https://iaas.{region}.{secondLevelDomain}',
+ 'service_endpoint_template': 'https://iaas.{region}.{dualStack?ds.oci.:}{secondLevelDomain}',
+ 'endpoint_service_name': 'iaas',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'service_uses_dualstack_endpoints_by_default': False,
'skip_deserialization': kwargs.get('skip_deserialization', False),
diff --git a/src/oci/core/compute_client.py b/src/oci/core/compute_client.py
index 6b081c6b03..659a8f7eae 100644
--- a/src/oci/core/compute_client.py
+++ b/src/oci/core/compute_client.py
@@ -110,7 +110,8 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20160918',
- 'service_endpoint_template': 'https://iaas.{region}.{secondLevelDomain}',
+ 'service_endpoint_template': 'https://iaas.{region}.{dualStack?ds.oci.:}{secondLevelDomain}',
+ 'endpoint_service_name': 'iaas',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'service_uses_dualstack_endpoints_by_default': False,
'skip_deserialization': kwargs.get('skip_deserialization', False),
@@ -11293,6 +11294,9 @@ def list_compute_gpu_memory_clusters(self, compartment_id, **kwargs):
:param str compute_gpu_memory_cluster_id: (optional)
A filter to return only the listings that matches the given GPU memory cluster id.
+ :param str compute_gpu_memory_fabric_id: (optional)
+ A filter to return only the listings that matches the given GPU memory fabric id.
+
:param str availability_domain: (optional)
The name of the availability domain.
@@ -11379,6 +11383,7 @@ def list_compute_gpu_memory_clusters(self, compartment_id, **kwargs):
"retry_strategy",
"opc_request_id",
"compute_gpu_memory_cluster_id",
+ "compute_gpu_memory_fabric_id",
"availability_domain",
"display_name",
"compute_cluster_id",
@@ -11408,6 +11413,7 @@ def list_compute_gpu_memory_clusters(self, compartment_id, **kwargs):
query_params = {
"computeGpuMemoryClusterId": kwargs.get("compute_gpu_memory_cluster_id", missing),
+ "computeGpuMemoryFabricId": kwargs.get("compute_gpu_memory_fabric_id", missing),
"availabilityDomain": kwargs.get("availability_domain", missing),
"compartmentId": compartment_id,
"displayName": kwargs.get("display_name", missing),
diff --git a/src/oci/core/compute_client_composite_operations.py b/src/oci/core/compute_client_composite_operations.py
index ded0a06e8a..15ae9f69e2 100644
--- a/src/oci/core/compute_client_composite_operations.py
+++ b/src/oci/core/compute_client_composite_operations.py
@@ -287,6 +287,42 @@ def attach_vnic_and_wait_for_state(self, attach_vnic_details, wait_for_states=[]
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def attach_volume_and_wait_for_work_request(self, attach_volume_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.core.ComputeClient.attach_volume` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param oci.core.models.AttachVolumeDetails attach_volume_details: (required)
+ Attach volume request
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.attach_volume`
+
+ :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.attach_volume(attach_volume_details, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def attach_volume_and_wait_for_state(self, attach_volume_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.core.ComputeClient.attach_volume` and waits for the :py:class:`~oci.core.models.VolumeAttachment` acted upon
@@ -1937,16 +1973,17 @@ def detach_vnic_and_wait_for_state(self, vnic_attachment_id, wait_for_states=[],
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
- def detach_volume_and_wait_for_state(self, volume_attachment_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ def detach_volume_and_wait_for_work_request(self, volume_attachment_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
- Calls :py:func:`~oci.core.ComputeClient.detach_volume` and waits for the :py:class:`~oci.core.models.VolumeAttachment` acted upon
+ Calls :py:func:`~oci.core.ComputeClient.detach_volume` and waits for the oci.work_requests.models.WorkRequest
to enter the given state(s).
:param str volume_attachment_id: (required)
The OCID of the volume attachment.
- :param list[str] wait_for_states:
- An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.VolumeAttachment.lifecycle_state`
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
:param dict operation_kwargs:
A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.detach_volume`
@@ -1955,44 +1992,20 @@ def detach_volume_and_wait_for_state(self, volume_attachment_id, wait_for_states
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_volume_attachment(volume_attachment_id)
- operation_result = None
- try:
- operation_result = self.client.detach_volume(volume_attachment_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:
+ operation_result = self.client.detach_volume(volume_attachment_id, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
return operation_result
- lowered_wait_for_states = [w.lower() for w in wait_for_states]
-
+ work_request_id = operation_result.headers['opc-work-request-id']
try:
- if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
- self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation detach_volume, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
- else:
- """
- If the user does not send in this value, we set it to True by default.
- We are doing this because during a delete resource scenario and waiting on its state, the service can
- return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
- """
- waiter_kwargs["succeed_on_not_found"] = True
waiter_result = oci.wait_until(
- self.client,
- initial_get_result, # noqa: F821
- evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
**waiter_kwargs
)
- result_to_return = waiter_result
-
- return result_to_return
- except (NameError, TypeError) as e:
- if not e.args:
- e.args = ('',)
- e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
- raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ return waiter_result
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
@@ -2211,9 +2224,9 @@ def launch_instance_and_wait_for_state(self, launch_instance_details, wait_for_s
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
- def terminate_instance_and_wait_for_state(self, instance_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ def terminate_instance_and_wait_for_work_request(self, instance_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
- Calls :py:func:`~oci.core.ComputeClient.terminate_instance` and waits for the :py:class:`~oci.core.models.Instance` acted upon
+ Calls :py:func:`~oci.core.ComputeClient.terminate_instance` and waits for the oci.work_requests.models.WorkRequest
to enter the given state(s).
:param str instance_id: (required)
@@ -2221,8 +2234,9 @@ def terminate_instance_and_wait_for_state(self, instance_id, wait_for_states=[],
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param list[str] wait_for_states:
- An array of states to wait on. These should be valid values for :py:attr:`~oci.core.models.Instance.lifecycle_state`
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
:param dict operation_kwargs:
A dictionary of keyword arguments to pass to :py:func:`~oci.core.ComputeClient.terminate_instance`
@@ -2231,44 +2245,20 @@ def terminate_instance_and_wait_for_state(self, instance_id, wait_for_states=[],
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_instance(instance_id)
- operation_result = None
- try:
- operation_result = self.client.terminate_instance(instance_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:
+ operation_result = self.client.terminate_instance(instance_id, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
return operation_result
- lowered_wait_for_states = [w.lower() for w in wait_for_states]
-
+ work_request_id = operation_result.headers['opc-work-request-id']
try:
- if ("succeed_on_not_found" in waiter_kwargs) and (waiter_kwargs["succeed_on_not_found"] is False):
- self.client.base_client.logger.warning("The waiter kwarg succeed_on_not_found was passed as False for the delete composite operation terminate_instance, this would result in the operation to fail if the resource is not found! Please, do not pass this kwarg if this was not intended")
- else:
- """
- If the user does not send in this value, we set it to True by default.
- We are doing this because during a delete resource scenario and waiting on its state, the service can
- return a 404 NOT FOUND exception as the resource was deleted and a get on its state would fail
- """
- waiter_kwargs["succeed_on_not_found"] = True
waiter_result = oci.wait_until(
- self.client,
- initial_get_result, # noqa: F821
- evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
**waiter_kwargs
)
- result_to_return = waiter_result
-
- return result_to_return
- except (NameError, TypeError) as e:
- if not e.args:
- e.args = ('',)
- e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
- raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ return waiter_result
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
diff --git a/src/oci/core/compute_management_client.py b/src/oci/core/compute_management_client.py
index 9cf77284e3..42b1543c6f 100644
--- a/src/oci/core/compute_management_client.py
+++ b/src/oci/core/compute_management_client.py
@@ -110,7 +110,8 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20160918',
- 'service_endpoint_template': 'https://iaas.{region}.{secondLevelDomain}',
+ 'service_endpoint_template': 'https://iaas.{region}.{dualStack?ds.oci.:}{secondLevelDomain}',
+ 'endpoint_service_name': 'iaas',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'service_uses_dualstack_endpoints_by_default': False,
'skip_deserialization': kwargs.get('skip_deserialization', False),
@@ -897,7 +898,7 @@ def create_cluster_network(self, create_cluster_network_details, **kwargs):
def create_instance_configuration(self, create_instance_configuration, **kwargs):
"""
Creates an instance configuration. An instance configuration is a template that defines the
- settings to use when creating Compute instances.
+ settings to use when creating Compute instances or GPU Memory Clusters.
:param oci.core.models.CreateInstanceConfigurationBase create_instance_configuration: (required)
diff --git a/src/oci/core/models/__init__.py b/src/oci/core/models/__init__.py
index f269bedc7b..7d7d720835 100644
--- a/src/oci/core/models/__init__.py
+++ b/src/oci/core/models/__init__.py
@@ -171,6 +171,7 @@
from .compute_capacity_topology_summary import ComputeCapacityTopologySummary
from .compute_cluster import ComputeCluster
from .compute_cluster_collection import ComputeClusterCollection
+from .compute_cluster_placement_constraint_details import ComputeClusterPlacementConstraintDetails
from .compute_cluster_summary import ComputeClusterSummary
from .compute_global_image_capability_schema import ComputeGlobalImageCapabilitySchema
from .compute_global_image_capability_schema_summary import ComputeGlobalImageCapabilitySchemaSummary
@@ -243,6 +244,7 @@
from .create_drg_details import CreateDrgDetails
from .create_drg_route_distribution_details import CreateDrgRouteDistributionDetails
from .create_drg_route_table_details import CreateDrgRouteTableDetails
+from .create_gmc_configuration_details import CreateGmcConfigurationDetails
from .create_ip_sec_connection_details import CreateIPSecConnectionDetails
from .create_ip_sec_connection_tunnel_details import CreateIPSecConnectionTunnelDetails
from .create_ip_sec_tunnel_bgp_session_details import CreateIPSecTunnelBgpSessionDetails
@@ -388,6 +390,8 @@
from .instance_configuration_create_volume_details import InstanceConfigurationCreateVolumeDetails
from .instance_configuration_detached_volume_autotune_policy import InstanceConfigurationDetachedVolumeAutotunePolicy
from .instance_configuration_generic_bm_launch_instance_platform_config import InstanceConfigurationGenericBmLaunchInstancePlatformConfig
+from .instance_configuration_gmc_config_detail import InstanceConfigurationGmcConfigDetail
+from .instance_configuration_gpu_memory_cluster_scale_config import InstanceConfigurationGpuMemoryClusterScaleConfig
from .instance_configuration_host_group_placement_constraint_details import InstanceConfigurationHostGroupPlacementConstraintDetails
from .instance_configuration_instance_details import InstanceConfigurationInstanceDetails
from .instance_configuration_instance_options import InstanceConfigurationInstanceOptions
@@ -442,6 +446,7 @@
from .instance_source_via_boot_volume_details import InstanceSourceViaBootVolumeDetails
from .instance_source_via_image_details import InstanceSourceViaImageDetails
from .instance_summary import InstanceSummary
+from .instances import Instances
from .intel_icelake_bm_launch_instance_platform_config import IntelIcelakeBmLaunchInstancePlatformConfig
from .intel_icelake_bm_platform_config import IntelIcelakeBmPlatformConfig
from .intel_skylake_bm_launch_instance_platform_config import IntelSkylakeBmLaunchInstancePlatformConfig
@@ -483,6 +488,7 @@
from .letter_of_authority import LetterOfAuthority
from .licensing_config import LicensingConfig
from .list_ip_inventory_details import ListIpInventoryDetails
+from .loa_extension_data import LoaExtensionData
from .local_peering_gateway import LocalPeeringGateway
from .loop_back_drg_attachment_network_details import LoopBackDrgAttachmentNetworkDetails
from .macsec_key import MacsecKey
@@ -518,10 +524,12 @@
from .preemptible_instance_config_details import PreemptibleInstanceConfigDetails
from .preemption_action import PreemptionAction
from .private_ip import PrivateIp
+from .provider_remote_region_name import ProviderRemoteRegionName
from .public_ip import PublicIp
from .public_ip_pool import PublicIpPool
from .public_ip_pool_collection import PublicIpPoolCollection
from .public_ip_pool_summary import PublicIpPoolSummary
+from .quick_recycle_settings import QuickRecycleSettings
from .reboot_migrate_action_details import RebootMigrateActionDetails
from .recycle_details import RecycleDetails
from .remote_peering_connection import RemotePeeringConnection
@@ -535,6 +543,7 @@
from .remove_vcn_cidr_details import RemoveVcnCidrDetails
from .remove_vcn_ipv6_cidr_details import RemoveVcnIpv6CidrDetails
from .reset_action_details import ResetActionDetails
+from .retention_duration import RetentionDuration
from .route_rule import RouteRule
from .route_table import RouteTable
from .security_list import SecurityList
@@ -604,6 +613,7 @@
from .update_cpe_details import UpdateCpeDetails
from .update_cross_connect_details import UpdateCrossConnectDetails
from .update_cross_connect_group_details import UpdateCrossConnectGroupDetails
+from .update_cross_connect_letter_of_authority_details import UpdateCrossConnectLetterOfAuthorityDetails
from .update_dedicated_capacity_source_details import UpdateDedicatedCapacitySourceDetails
from .update_dedicated_vm_host_details import UpdateDedicatedVmHostDetails
from .update_dhcp_details import UpdateDhcpDetails
@@ -876,6 +886,7 @@
"ComputeCapacityTopologySummary": ComputeCapacityTopologySummary,
"ComputeCluster": ComputeCluster,
"ComputeClusterCollection": ComputeClusterCollection,
+ "ComputeClusterPlacementConstraintDetails": ComputeClusterPlacementConstraintDetails,
"ComputeClusterSummary": ComputeClusterSummary,
"ComputeGlobalImageCapabilitySchema": ComputeGlobalImageCapabilitySchema,
"ComputeGlobalImageCapabilitySchemaSummary": ComputeGlobalImageCapabilitySchemaSummary,
@@ -948,6 +959,7 @@
"CreateDrgDetails": CreateDrgDetails,
"CreateDrgRouteDistributionDetails": CreateDrgRouteDistributionDetails,
"CreateDrgRouteTableDetails": CreateDrgRouteTableDetails,
+ "CreateGmcConfigurationDetails": CreateGmcConfigurationDetails,
"CreateIPSecConnectionDetails": CreateIPSecConnectionDetails,
"CreateIPSecConnectionTunnelDetails": CreateIPSecConnectionTunnelDetails,
"CreateIPSecTunnelBgpSessionDetails": CreateIPSecTunnelBgpSessionDetails,
@@ -1093,6 +1105,8 @@
"InstanceConfigurationCreateVolumeDetails": InstanceConfigurationCreateVolumeDetails,
"InstanceConfigurationDetachedVolumeAutotunePolicy": InstanceConfigurationDetachedVolumeAutotunePolicy,
"InstanceConfigurationGenericBmLaunchInstancePlatformConfig": InstanceConfigurationGenericBmLaunchInstancePlatformConfig,
+ "InstanceConfigurationGmcConfigDetail": InstanceConfigurationGmcConfigDetail,
+ "InstanceConfigurationGpuMemoryClusterScaleConfig": InstanceConfigurationGpuMemoryClusterScaleConfig,
"InstanceConfigurationHostGroupPlacementConstraintDetails": InstanceConfigurationHostGroupPlacementConstraintDetails,
"InstanceConfigurationInstanceDetails": InstanceConfigurationInstanceDetails,
"InstanceConfigurationInstanceOptions": InstanceConfigurationInstanceOptions,
@@ -1147,6 +1161,7 @@
"InstanceSourceViaBootVolumeDetails": InstanceSourceViaBootVolumeDetails,
"InstanceSourceViaImageDetails": InstanceSourceViaImageDetails,
"InstanceSummary": InstanceSummary,
+ "Instances": Instances,
"IntelIcelakeBmLaunchInstancePlatformConfig": IntelIcelakeBmLaunchInstancePlatformConfig,
"IntelIcelakeBmPlatformConfig": IntelIcelakeBmPlatformConfig,
"IntelSkylakeBmLaunchInstancePlatformConfig": IntelSkylakeBmLaunchInstancePlatformConfig,
@@ -1188,6 +1203,7 @@
"LetterOfAuthority": LetterOfAuthority,
"LicensingConfig": LicensingConfig,
"ListIpInventoryDetails": ListIpInventoryDetails,
+ "LoaExtensionData": LoaExtensionData,
"LocalPeeringGateway": LocalPeeringGateway,
"LoopBackDrgAttachmentNetworkDetails": LoopBackDrgAttachmentNetworkDetails,
"MacsecKey": MacsecKey,
@@ -1223,10 +1239,12 @@
"PreemptibleInstanceConfigDetails": PreemptibleInstanceConfigDetails,
"PreemptionAction": PreemptionAction,
"PrivateIp": PrivateIp,
+ "ProviderRemoteRegionName": ProviderRemoteRegionName,
"PublicIp": PublicIp,
"PublicIpPool": PublicIpPool,
"PublicIpPoolCollection": PublicIpPoolCollection,
"PublicIpPoolSummary": PublicIpPoolSummary,
+ "QuickRecycleSettings": QuickRecycleSettings,
"RebootMigrateActionDetails": RebootMigrateActionDetails,
"RecycleDetails": RecycleDetails,
"RemotePeeringConnection": RemotePeeringConnection,
@@ -1240,6 +1258,7 @@
"RemoveVcnCidrDetails": RemoveVcnCidrDetails,
"RemoveVcnIpv6CidrDetails": RemoveVcnIpv6CidrDetails,
"ResetActionDetails": ResetActionDetails,
+ "RetentionDuration": RetentionDuration,
"RouteRule": RouteRule,
"RouteTable": RouteTable,
"SecurityList": SecurityList,
@@ -1309,6 +1328,7 @@
"UpdateCpeDetails": UpdateCpeDetails,
"UpdateCrossConnectDetails": UpdateCrossConnectDetails,
"UpdateCrossConnectGroupDetails": UpdateCrossConnectGroupDetails,
+ "UpdateCrossConnectLetterOfAuthorityDetails": UpdateCrossConnectLetterOfAuthorityDetails,
"UpdateDedicatedCapacitySourceDetails": UpdateDedicatedCapacitySourceDetails,
"UpdateDedicatedVmHostDetails": UpdateDedicatedVmHostDetails,
"UpdateDhcpDetails": UpdateDhcpDetails,
diff --git a/src/oci/core/models/boot_volume_backup.py b/src/oci/core/models/boot_volume_backup.py
index 88a8f67b02..4ac74a12a5 100644
--- a/src/oci/core/models/boot_volume_backup.py
+++ b/src/oci/core/models/boot_volume_backup.py
@@ -150,6 +150,30 @@ def __init__(self, **kwargs):
The value to assign to the unique_size_in_gbs property of this BootVolumeBackup.
:type unique_size_in_gbs: int
+ :param time_retention_expires_at:
+ The value to assign to the time_retention_expires_at property of this BootVolumeBackup.
+ :type time_retention_expires_at: datetime
+
+ :param retention_period:
+ The value to assign to the retention_period property of this BootVolumeBackup.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this BootVolumeBackup.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this BootVolumeBackup.
+ :type is_retention_lock_enabled: bool
+
+ :param is_indefinite_retention_enabled:
+ The value to assign to the is_indefinite_retention_enabled property of this BootVolumeBackup.
+ :type is_indefinite_retention_enabled: bool
+
+ :param volume_group_backup_id:
+ The value to assign to the volume_group_backup_id property of this BootVolumeBackup.
+ :type volume_group_backup_id: str
+
"""
self.swagger_types = {
'boot_volume_id': 'str',
@@ -169,7 +193,13 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'time_request_received': 'datetime',
'type': 'str',
- 'unique_size_in_gbs': 'int'
+ 'unique_size_in_gbs': 'int',
+ 'time_retention_expires_at': 'datetime',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool',
+ 'is_indefinite_retention_enabled': 'bool',
+ 'volume_group_backup_id': 'str'
}
self.attribute_map = {
'boot_volume_id': 'bootVolumeId',
@@ -189,7 +219,13 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'time_request_received': 'timeRequestReceived',
'type': 'type',
- 'unique_size_in_gbs': 'uniqueSizeInGBs'
+ 'unique_size_in_gbs': 'uniqueSizeInGBs',
+ 'time_retention_expires_at': 'timeRetentionExpiresAt',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled',
+ 'is_indefinite_retention_enabled': 'isIndefiniteRetentionEnabled',
+ 'volume_group_backup_id': 'volumeGroupBackupId'
}
self._boot_volume_id = None
self._compartment_id = None
@@ -209,6 +245,12 @@ def __init__(self, **kwargs):
self._time_request_received = None
self._type = None
self._unique_size_in_gbs = None
+ self._time_retention_expires_at = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
+ self._is_indefinite_retention_enabled = None
+ self._volume_group_backup_id = None
@property
def boot_volume_id(self):
@@ -720,6 +762,146 @@ def unique_size_in_gbs(self, unique_size_in_gbs):
"""
self._unique_size_in_gbs = unique_size_in_gbs
+ @property
+ def time_retention_expires_at(self):
+ """
+ Gets the time_retention_expires_at of this BootVolumeBackup.
+ The date and time when a backup\u2019s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
+
+
+ :return: The time_retention_expires_at of this BootVolumeBackup.
+ :rtype: datetime
+ """
+ return self._time_retention_expires_at
+
+ @time_retention_expires_at.setter
+ def time_retention_expires_at(self, time_retention_expires_at):
+ """
+ Sets the time_retention_expires_at of this BootVolumeBackup.
+ The date and time when a backup\u2019s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
+
+
+ :param time_retention_expires_at: The time_retention_expires_at of this BootVolumeBackup.
+ :type: datetime
+ """
+ self._time_retention_expires_at = time_retention_expires_at
+
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this BootVolumeBackup.
+
+ :return: The retention_period of this BootVolumeBackup.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this BootVolumeBackup.
+
+ :param retention_period: The retention_period of this BootVolumeBackup.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this BootVolumeBackup.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this BootVolumeBackup.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this BootVolumeBackup.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this BootVolumeBackup.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this BootVolumeBackup.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this BootVolumeBackup.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this BootVolumeBackup.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this BootVolumeBackup.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
+ @property
+ def is_indefinite_retention_enabled(self):
+ """
+ Gets the is_indefinite_retention_enabled of this BootVolumeBackup.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :return: The is_indefinite_retention_enabled of this BootVolumeBackup.
+ :rtype: bool
+ """
+ return self._is_indefinite_retention_enabled
+
+ @is_indefinite_retention_enabled.setter
+ def is_indefinite_retention_enabled(self, is_indefinite_retention_enabled):
+ """
+ Sets the is_indefinite_retention_enabled of this BootVolumeBackup.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :param is_indefinite_retention_enabled: The is_indefinite_retention_enabled of this BootVolumeBackup.
+ :type: bool
+ """
+ self._is_indefinite_retention_enabled = is_indefinite_retention_enabled
+
+ @property
+ def volume_group_backup_id(self):
+ """
+ Gets the volume_group_backup_id of this BootVolumeBackup.
+ The OCID of the volume group backup associated with the backup. This is an optional field. If it is not present in the response, the backup does not belong to a volume group.
+
+
+ :return: The volume_group_backup_id of this BootVolumeBackup.
+ :rtype: str
+ """
+ return self._volume_group_backup_id
+
+ @volume_group_backup_id.setter
+ def volume_group_backup_id(self, volume_group_backup_id):
+ """
+ Sets the volume_group_backup_id of this BootVolumeBackup.
+ The OCID of the volume group backup associated with the backup. This is an optional field. If it is not present in the response, the backup does not belong to a volume group.
+
+
+ :param volume_group_backup_id: The volume_group_backup_id of this BootVolumeBackup.
+ :type: str
+ """
+ self._volume_group_backup_id = volume_group_backup_id
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/bulk_create_ipv6s_item.py b/src/oci/core/models/bulk_create_ipv6s_item.py
index 814853687e..fb1470e1b4 100644
--- a/src/oci/core/models/bulk_create_ipv6s_item.py
+++ b/src/oci/core/models/bulk_create_ipv6s_item.py
@@ -57,6 +57,10 @@ def __init__(self, **kwargs):
The value to assign to the ipv6_subnet_cidr property of this BulkCreateIpv6sItem.
:type ipv6_subnet_cidr: str
+ :param hostname:
+ The value to assign to the hostname property of this BulkCreateIpv6sItem.
+ :type hostname: str
+
:param cidr_prefix_length:
The value to assign to the cidr_prefix_length property of this BulkCreateIpv6sItem.
:type cidr_prefix_length: int
@@ -70,6 +74,7 @@ def __init__(self, **kwargs):
'lifetime': 'str',
'route_table_id': 'str',
'ipv6_subnet_cidr': 'str',
+ 'hostname': 'str',
'cidr_prefix_length': 'int'
}
self.attribute_map = {
@@ -80,6 +85,7 @@ def __init__(self, **kwargs):
'lifetime': 'lifetime',
'route_table_id': 'routeTableId',
'ipv6_subnet_cidr': 'ipv6SubnetCidr',
+ 'hostname': 'hostname',
'cidr_prefix_length': 'cidrPrefixLength'
}
self._defined_tags = None
@@ -89,6 +95,7 @@ def __init__(self, **kwargs):
self._lifetime = None
self._route_table_id = None
self._ipv6_subnet_cidr = None
+ self._hostname = None
self._cidr_prefix_length = None
@property
@@ -312,6 +319,30 @@ def ipv6_subnet_cidr(self, ipv6_subnet_cidr):
"""
self._ipv6_subnet_cidr = ipv6_subnet_cidr
+ @property
+ def hostname(self):
+ """
+ Gets the hostname of this BulkCreateIpv6sItem.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :return: The hostname of this BulkCreateIpv6sItem.
+ :rtype: str
+ """
+ return self._hostname
+
+ @hostname.setter
+ def hostname(self, hostname):
+ """
+ Sets the hostname of this BulkCreateIpv6sItem.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :param hostname: The hostname of this BulkCreateIpv6sItem.
+ :type: str
+ """
+ self._hostname = hostname
+
@property
def cidr_prefix_length(self):
"""
diff --git a/src/oci/core/models/bulk_update_ipv6s_item.py b/src/oci/core/models/bulk_update_ipv6s_item.py
index 801a72211e..686b81bb2c 100644
--- a/src/oci/core/models/bulk_update_ipv6s_item.py
+++ b/src/oci/core/models/bulk_update_ipv6s_item.py
@@ -53,6 +53,10 @@ def __init__(self, **kwargs):
The value to assign to the route_table_id property of this BulkUpdateIpv6sItem.
:type route_table_id: str
+ :param hostname:
+ The value to assign to the hostname property of this BulkUpdateIpv6sItem.
+ :type hostname: str
+
"""
self.swagger_types = {
'defined_tags': 'dict(str, dict(str, object))',
@@ -60,7 +64,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'ipv6_id': 'str',
'lifetime': 'str',
- 'route_table_id': 'str'
+ 'route_table_id': 'str',
+ 'hostname': 'str'
}
self.attribute_map = {
'defined_tags': 'definedTags',
@@ -68,7 +73,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'ipv6_id': 'ipv6Id',
'lifetime': 'lifetime',
- 'route_table_id': 'routeTableId'
+ 'route_table_id': 'routeTableId',
+ 'hostname': 'hostname'
}
self._defined_tags = None
self._display_name = None
@@ -76,6 +82,7 @@ def __init__(self, **kwargs):
self._ipv6_id = None
self._lifetime = None
self._route_table_id = None
+ self._hostname = None
@property
def defined_tags(self):
@@ -268,6 +275,30 @@ def route_table_id(self, route_table_id):
"""
self._route_table_id = route_table_id
+ @property
+ def hostname(self):
+ """
+ Gets the hostname of this BulkUpdateIpv6sItem.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :return: The hostname of this BulkUpdateIpv6sItem.
+ :rtype: str
+ """
+ return self._hostname
+
+ @hostname.setter
+ def hostname(self, hostname):
+ """
+ Sets the hostname of this BulkUpdateIpv6sItem.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :param hostname: The hostname of this BulkUpdateIpv6sItem.
+ :type: str
+ """
+ self._hostname = hostname
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/capture_filter.py b/src/oci/core/models/capture_filter.py
index d2813a9fc0..1e27aa50ad 100644
--- a/src/oci/core/models/capture_filter.py
+++ b/src/oci/core/models/capture_filter.py
@@ -84,6 +84,10 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type filter_type: str
+ :param system_tags:
+ The value to assign to the system_tags property of this CaptureFilter.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this CaptureFilter.
:type time_created: datetime
@@ -105,6 +109,7 @@ def __init__(self, **kwargs):
'id': 'str',
'lifecycle_state': 'str',
'filter_type': 'str',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'vtap_capture_filter_rules': 'list[VtapCaptureFilterRuleDetails]',
'flow_log_capture_filter_rules': 'list[FlowLogCaptureFilterRuleDetails]'
@@ -117,6 +122,7 @@ def __init__(self, **kwargs):
'id': 'id',
'lifecycle_state': 'lifecycleState',
'filter_type': 'filterType',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'vtap_capture_filter_rules': 'vtapCaptureFilterRules',
'flow_log_capture_filter_rules': 'flowLogCaptureFilterRules'
@@ -128,6 +134,7 @@ def __init__(self, **kwargs):
self._id = None
self._lifecycle_state = None
self._filter_type = None
+ self._system_tags = None
self._time_created = None
self._vtap_capture_filter_rules = None
self._flow_log_capture_filter_rules = None
@@ -342,6 +349,32 @@ def filter_type(self, filter_type):
filter_type = 'UNKNOWN_ENUM_VALUE'
self._filter_type = filter_type
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this CaptureFilter.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this CaptureFilter.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this CaptureFilter.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this CaptureFilter.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
diff --git a/src/oci/core/models/compute_cluster.py b/src/oci/core/models/compute_cluster.py
index c017f0150b..e4a814c0d4 100644
--- a/src/oci/core/models/compute_cluster.py
+++ b/src/oci/core/models/compute_cluster.py
@@ -12,17 +12,13 @@
@init_model_state_from_kwargs
class ComputeCluster(object):
"""
- The data for creating a `compute cluster`__. A compute cluster
- is an empty remote direct memory access (RDMA) network group
+ The data for creating a `compute cluster`__.
- After the compute cluster is created, you can use the compute cluster's OCID with the
- :func:`launch_instance` operation to create instances in the compute cluster.
- The instances must be created in the same compartment and availability domain as the cluster.
+ After the compute cluster is created, you can use the compute cluster's OCID to create Instance, GPU Memory
+ Cluster or Instance Pool resources within the compute cluster. These resources must be created in the same
+ compartment and availability domain as the cluster.
- Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group.
-
- For details about creating a cluster network that uses instance pools to manage groups of identical instances,
- see :func:`create_cluster_network_details`.
+ Use `COMPUTE_CLUSTER` type when using placementConstraintDetails.
__ https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm
"""
@@ -60,6 +56,10 @@ def __init__(self, **kwargs):
The value to assign to the freeform_tags property of this ComputeCluster.
:type freeform_tags: dict(str, str)
+ :param placement_constraint_details:
+ The value to assign to the placement_constraint_details property of this ComputeCluster.
+ :type placement_constraint_details: oci.core.models.PlacementConstraintDetails
+
:param id:
The value to assign to the id property of this ComputeCluster.
:type id: str
@@ -74,6 +74,10 @@ def __init__(self, **kwargs):
The value to assign to the time_created property of this ComputeCluster.
:type time_created: datetime
+ :param time_updated:
+ The value to assign to the time_updated property of this ComputeCluster.
+ :type time_updated: datetime
+
"""
self.swagger_types = {
'availability_domain': 'str',
@@ -81,9 +85,11 @@ def __init__(self, **kwargs):
'display_name': 'str',
'defined_tags': 'dict(str, dict(str, object))',
'freeform_tags': 'dict(str, str)',
+ 'placement_constraint_details': 'PlacementConstraintDetails',
'id': 'str',
'lifecycle_state': 'str',
- 'time_created': 'datetime'
+ 'time_created': 'datetime',
+ 'time_updated': 'datetime'
}
self.attribute_map = {
'availability_domain': 'availabilityDomain',
@@ -91,18 +97,22 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'defined_tags': 'definedTags',
'freeform_tags': 'freeformTags',
+ 'placement_constraint_details': 'placementConstraintDetails',
'id': 'id',
'lifecycle_state': 'lifecycleState',
- 'time_created': 'timeCreated'
+ 'time_created': 'timeCreated',
+ 'time_updated': 'timeUpdated'
}
self._availability_domain = None
self._compartment_id = None
self._display_name = None
self._defined_tags = None
self._freeform_tags = None
+ self._placement_constraint_details = None
self._id = None
self._lifecycle_state = None
self._time_created = None
+ self._time_updated = None
@property
def availability_domain(self):
@@ -254,6 +264,26 @@ def freeform_tags(self, freeform_tags):
"""
self._freeform_tags = freeform_tags
+ @property
+ def placement_constraint_details(self):
+ """
+ Gets the placement_constraint_details of this ComputeCluster.
+
+ :return: The placement_constraint_details of this ComputeCluster.
+ :rtype: oci.core.models.PlacementConstraintDetails
+ """
+ return self._placement_constraint_details
+
+ @placement_constraint_details.setter
+ def placement_constraint_details(self, placement_constraint_details):
+ """
+ Sets the placement_constraint_details of this ComputeCluster.
+
+ :param placement_constraint_details: The placement_constraint_details of this ComputeCluster.
+ :type: oci.core.models.PlacementConstraintDetails
+ """
+ self._placement_constraint_details = placement_constraint_details
+
@property
def id(self):
"""
@@ -346,6 +376,40 @@ def time_created(self, time_created):
"""
self._time_created = time_created
+ @property
+ def time_updated(self):
+ """
+ Gets the time_updated of this ComputeCluster.
+ The date and time the compute cluster was updated,
+ in the format defined by `RFC3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The time_updated of this ComputeCluster.
+ :rtype: datetime
+ """
+ return self._time_updated
+
+ @time_updated.setter
+ def time_updated(self, time_updated):
+ """
+ Sets the time_updated of this ComputeCluster.
+ The date and time the compute cluster was updated,
+ in the format defined by `RFC3339`__.
+
+ Example: `2016-08-25T21:10:29.600Z`
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param time_updated: The time_updated of this ComputeCluster.
+ :type: datetime
+ """
+ self._time_updated = time_updated
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/compute_cluster_placement_constraint_details.py b/src/oci/core/models/compute_cluster_placement_constraint_details.py
new file mode 100644
index 0000000000..97e34398be
--- /dev/null
+++ b/src/oci/core/models/compute_cluster_placement_constraint_details.py
@@ -0,0 +1,222 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+from .placement_constraint_details import PlacementConstraintDetails
+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 ComputeClusterPlacementConstraintDetails(PlacementConstraintDetails):
+ """
+ The details for providing placement constraints for a compute cluster.
+ """
+
+ #: A constant which can be used with the logical_placement_constraint property of a ComputeClusterPlacementConstraintDetails.
+ #: This constant has a value of "SINGLE_TIER"
+ LOGICAL_PLACEMENT_CONSTRAINT_SINGLE_TIER = "SINGLE_TIER"
+
+ #: A constant which can be used with the logical_placement_constraint property of a ComputeClusterPlacementConstraintDetails.
+ #: This constant has a value of "SINGLE_BLOCK"
+ LOGICAL_PLACEMENT_CONSTRAINT_SINGLE_BLOCK = "SINGLE_BLOCK"
+
+ #: A constant which can be used with the logical_placement_constraint property of a ComputeClusterPlacementConstraintDetails.
+ #: This constant has a value of "PACKED_DISTRIBUTION_MULTI_BLOCK"
+ LOGICAL_PLACEMENT_CONSTRAINT_PACKED_DISTRIBUTION_MULTI_BLOCK = "PACKED_DISTRIBUTION_MULTI_BLOCK"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ComputeClusterPlacementConstraintDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.core.models.ComputeClusterPlacementConstraintDetails.type` attribute
+ of this class is ``COMPUTE_CLUSTER`` and it should not be changed.
+ 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 ComputeClusterPlacementConstraintDetails.
+ :type type: str
+
+ :param hpc_island_id:
+ The value to assign to the hpc_island_id property of this ComputeClusterPlacementConstraintDetails.
+ :type hpc_island_id: str
+
+ :param target_network_block_ids:
+ The value to assign to the target_network_block_ids property of this ComputeClusterPlacementConstraintDetails.
+ :type target_network_block_ids: list[str]
+
+ :param target_memory_fabric_ids:
+ The value to assign to the target_memory_fabric_ids property of this ComputeClusterPlacementConstraintDetails.
+ :type target_memory_fabric_ids: list[str]
+
+ :param logical_placement_constraint:
+ The value to assign to the logical_placement_constraint property of this ComputeClusterPlacementConstraintDetails.
+ Allowed values for this property are: "SINGLE_TIER", "SINGLE_BLOCK", "PACKED_DISTRIBUTION_MULTI_BLOCK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type logical_placement_constraint: str
+
+ """
+ self.swagger_types = {
+ 'type': 'str',
+ 'hpc_island_id': 'str',
+ 'target_network_block_ids': 'list[str]',
+ 'target_memory_fabric_ids': 'list[str]',
+ 'logical_placement_constraint': 'str'
+ }
+ self.attribute_map = {
+ 'type': 'type',
+ 'hpc_island_id': 'hpcIslandId',
+ 'target_network_block_ids': 'targetNetworkBlockIds',
+ 'target_memory_fabric_ids': 'targetMemoryFabricIds',
+ 'logical_placement_constraint': 'logicalPlacementConstraint'
+ }
+ self._type = None
+ self._hpc_island_id = None
+ self._target_network_block_ids = None
+ self._target_memory_fabric_ids = None
+ self._logical_placement_constraint = None
+ self._type = 'COMPUTE_CLUSTER'
+
+ @property
+ def hpc_island_id(self):
+ """
+ Gets the hpc_island_id of this ComputeClusterPlacementConstraintDetails.
+ The `OCID`__ of the HPC island for the compute cluster.
+
+ This field cannot be updated after creation of the compute cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The hpc_island_id of this ComputeClusterPlacementConstraintDetails.
+ :rtype: str
+ """
+ return self._hpc_island_id
+
+ @hpc_island_id.setter
+ def hpc_island_id(self, hpc_island_id):
+ """
+ Sets the hpc_island_id of this ComputeClusterPlacementConstraintDetails.
+ The `OCID`__ of the HPC island for the compute cluster.
+
+ This field cannot be updated after creation of the compute cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param hpc_island_id: The hpc_island_id of this ComputeClusterPlacementConstraintDetails.
+ :type: str
+ """
+ self._hpc_island_id = hpc_island_id
+
+ @property
+ def target_network_block_ids(self):
+ """
+ Gets the target_network_block_ids of this ComputeClusterPlacementConstraintDetails.
+ The list of target network block OCIDs to constrain placement.
+
+ If `targetNetworkBlockIds` is provided, the `hpcIslandId` must be set on the compute cluster,
+ and the provided network blocks must belong to that same HPC island.
+
+ The ordering of the array will be preserved. Ensure that all items in the array are unique.
+
+
+ :return: The target_network_block_ids of this ComputeClusterPlacementConstraintDetails.
+ :rtype: list[str]
+ """
+ return self._target_network_block_ids
+
+ @target_network_block_ids.setter
+ def target_network_block_ids(self, target_network_block_ids):
+ """
+ Sets the target_network_block_ids of this ComputeClusterPlacementConstraintDetails.
+ The list of target network block OCIDs to constrain placement.
+
+ If `targetNetworkBlockIds` is provided, the `hpcIslandId` must be set on the compute cluster,
+ and the provided network blocks must belong to that same HPC island.
+
+ The ordering of the array will be preserved. Ensure that all items in the array are unique.
+
+
+ :param target_network_block_ids: The target_network_block_ids of this ComputeClusterPlacementConstraintDetails.
+ :type: list[str]
+ """
+ self._target_network_block_ids = target_network_block_ids
+
+ @property
+ def target_memory_fabric_ids(self):
+ """
+ Gets the target_memory_fabric_ids of this ComputeClusterPlacementConstraintDetails.
+ The list of target GPU memory fabric OCIDs to constrain placement.
+
+ If GMFs are passed in, the `hpcIslandId` must be set on the compute cluster, and
+ the provided GMFs must belong to that same HPC island.
+
+ The ordering of the array will be preserved. Ensure that all items in the array are unique.
+
+
+ :return: The target_memory_fabric_ids of this ComputeClusterPlacementConstraintDetails.
+ :rtype: list[str]
+ """
+ return self._target_memory_fabric_ids
+
+ @target_memory_fabric_ids.setter
+ def target_memory_fabric_ids(self, target_memory_fabric_ids):
+ """
+ Sets the target_memory_fabric_ids of this ComputeClusterPlacementConstraintDetails.
+ The list of target GPU memory fabric OCIDs to constrain placement.
+
+ If GMFs are passed in, the `hpcIslandId` must be set on the compute cluster, and
+ the provided GMFs must belong to that same HPC island.
+
+ The ordering of the array will be preserved. Ensure that all items in the array are unique.
+
+
+ :param target_memory_fabric_ids: The target_memory_fabric_ids of this ComputeClusterPlacementConstraintDetails.
+ :type: list[str]
+ """
+ self._target_memory_fabric_ids = target_memory_fabric_ids
+
+ @property
+ def logical_placement_constraint(self):
+ """
+ Gets the logical_placement_constraint of this ComputeClusterPlacementConstraintDetails.
+ The logical placement strategy to apply.
+ Allowed values are `SINGLE_TIER`, `SINGLE_BLOCK`, and `PACKED_DISTRIBUTION_MULTI_BLOCK`.
+
+ Allowed values for this property are: "SINGLE_TIER", "SINGLE_BLOCK", "PACKED_DISTRIBUTION_MULTI_BLOCK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The logical_placement_constraint of this ComputeClusterPlacementConstraintDetails.
+ :rtype: str
+ """
+ return self._logical_placement_constraint
+
+ @logical_placement_constraint.setter
+ def logical_placement_constraint(self, logical_placement_constraint):
+ """
+ Sets the logical_placement_constraint of this ComputeClusterPlacementConstraintDetails.
+ The logical placement strategy to apply.
+ Allowed values are `SINGLE_TIER`, `SINGLE_BLOCK`, and `PACKED_DISTRIBUTION_MULTI_BLOCK`.
+
+
+ :param logical_placement_constraint: The logical_placement_constraint of this ComputeClusterPlacementConstraintDetails.
+ :type: str
+ """
+ allowed_values = ["SINGLE_TIER", "SINGLE_BLOCK", "PACKED_DISTRIBUTION_MULTI_BLOCK"]
+ if not value_allowed_none_or_none_sentinel(logical_placement_constraint, allowed_values):
+ logical_placement_constraint = 'UNKNOWN_ENUM_VALUE'
+ self._logical_placement_constraint = logical_placement_constraint
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/core/models/compute_gpu_memory_cluster_summary.py b/src/oci/core/models/compute_gpu_memory_cluster_summary.py
index 2db8f05288..4d4db330dd 100644
--- a/src/oci/core/models/compute_gpu_memory_cluster_summary.py
+++ b/src/oci/core/models/compute_gpu_memory_cluster_summary.py
@@ -32,6 +32,14 @@ def __init__(self, **kwargs):
The value to assign to the availability_domain property of this ComputeGpuMemoryClusterSummary.
:type availability_domain: str
+ :param gpu_memory_fabric_id:
+ The value to assign to the gpu_memory_fabric_id property of this ComputeGpuMemoryClusterSummary.
+ :type gpu_memory_fabric_id: str
+
+ :param size:
+ The value to assign to the size property of this ComputeGpuMemoryClusterSummary.
+ :type size: int
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this ComputeGpuMemoryClusterSummary.
:type lifecycle_state: str
@@ -61,6 +69,8 @@ def __init__(self, **kwargs):
'id': 'str',
'compartment_id': 'str',
'availability_domain': 'str',
+ 'gpu_memory_fabric_id': 'str',
+ 'size': 'int',
'lifecycle_state': 'str',
'time_created': 'datetime',
'defined_tags': 'dict(str, dict(str, object))',
@@ -72,6 +82,8 @@ def __init__(self, **kwargs):
'id': 'id',
'compartment_id': 'compartmentId',
'availability_domain': 'availabilityDomain',
+ 'gpu_memory_fabric_id': 'gpuMemoryFabricId',
+ 'size': 'size',
'lifecycle_state': 'lifecycleState',
'time_created': 'timeCreated',
'defined_tags': 'definedTags',
@@ -82,6 +94,8 @@ def __init__(self, **kwargs):
self._id = None
self._compartment_id = None
self._availability_domain = None
+ self._gpu_memory_fabric_id = None
+ self._size = None
self._lifecycle_state = None
self._time_created = None
self._defined_tags = None
@@ -175,6 +189,58 @@ def availability_domain(self, availability_domain):
"""
self._availability_domain = availability_domain
+ @property
+ def gpu_memory_fabric_id(self):
+ """
+ Gets the gpu_memory_fabric_id of this ComputeGpuMemoryClusterSummary.
+ The `OCID`__ of the GPU memory fabric.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The gpu_memory_fabric_id of this ComputeGpuMemoryClusterSummary.
+ :rtype: str
+ """
+ return self._gpu_memory_fabric_id
+
+ @gpu_memory_fabric_id.setter
+ def gpu_memory_fabric_id(self, gpu_memory_fabric_id):
+ """
+ Sets the gpu_memory_fabric_id of this ComputeGpuMemoryClusterSummary.
+ The `OCID`__ of the GPU memory fabric.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param gpu_memory_fabric_id: The gpu_memory_fabric_id of this ComputeGpuMemoryClusterSummary.
+ :type: str
+ """
+ self._gpu_memory_fabric_id = gpu_memory_fabric_id
+
+ @property
+ def size(self):
+ """
+ Gets the size of this ComputeGpuMemoryClusterSummary.
+ The size represents the total number of instances in the GPU Memory Cluster, including both running instances and those still in the process of launching.
+
+
+ :return: The size of this ComputeGpuMemoryClusterSummary.
+ :rtype: int
+ """
+ return self._size
+
+ @size.setter
+ def size(self, size):
+ """
+ Sets the size of this ComputeGpuMemoryClusterSummary.
+ The size represents the total number of instances in the GPU Memory Cluster, including both running instances and those still in the process of launching.
+
+
+ :param size: The size of this ComputeGpuMemoryClusterSummary.
+ :type: int
+ """
+ self._size = size
+
@property
def lifecycle_state(self):
"""
diff --git a/src/oci/core/models/compute_gpu_memory_fabric.py b/src/oci/core/models/compute_gpu_memory_fabric.py
index 8fa9e36367..83c0b69bb5 100644
--- a/src/oci/core/models/compute_gpu_memory_fabric.py
+++ b/src/oci/core/models/compute_gpu_memory_fabric.py
@@ -92,6 +92,10 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type fabric_health: str
+ :param compute_gpu_memory_clusters:
+ The value to assign to the compute_gpu_memory_clusters property of this ComputeGpuMemoryFabric.
+ :type compute_gpu_memory_clusters: list[str]
+
:param additional_data:
The value to assign to the additional_data property of this ComputeGpuMemoryFabric.
:type additional_data: dict(str, object)
@@ -167,6 +171,7 @@ def __init__(self, **kwargs):
'compute_local_block_id': 'str',
'lifecycle_state': 'str',
'fabric_health': 'str',
+ 'compute_gpu_memory_clusters': 'list[str]',
'additional_data': 'dict(str, object)',
'healthy_host_count': 'int',
'available_host_count': 'int',
@@ -192,6 +197,7 @@ def __init__(self, **kwargs):
'compute_local_block_id': 'computeLocalBlockId',
'lifecycle_state': 'lifecycleState',
'fabric_health': 'fabricHealth',
+ 'compute_gpu_memory_clusters': 'computeGpuMemoryClusters',
'additional_data': 'additionalData',
'healthy_host_count': 'healthyHostCount',
'available_host_count': 'availableHostCount',
@@ -216,6 +222,7 @@ def __init__(self, **kwargs):
self._compute_local_block_id = None
self._lifecycle_state = None
self._fabric_health = None
+ self._compute_gpu_memory_clusters = None
self._additional_data = None
self._healthy_host_count = None
self._available_host_count = None
@@ -435,6 +442,30 @@ def fabric_health(self, fabric_health):
fabric_health = 'UNKNOWN_ENUM_VALUE'
self._fabric_health = fabric_health
+ @property
+ def compute_gpu_memory_clusters(self):
+ """
+ Gets the compute_gpu_memory_clusters of this ComputeGpuMemoryFabric.
+ List of GPU memory clusters within this GPU memory fabric.
+
+
+ :return: The compute_gpu_memory_clusters of this ComputeGpuMemoryFabric.
+ :rtype: list[str]
+ """
+ return self._compute_gpu_memory_clusters
+
+ @compute_gpu_memory_clusters.setter
+ def compute_gpu_memory_clusters(self, compute_gpu_memory_clusters):
+ """
+ Sets the compute_gpu_memory_clusters of this ComputeGpuMemoryFabric.
+ List of GPU memory clusters within this GPU memory fabric.
+
+
+ :param compute_gpu_memory_clusters: The compute_gpu_memory_clusters of this ComputeGpuMemoryFabric.
+ :type: list[str]
+ """
+ self._compute_gpu_memory_clusters = compute_gpu_memory_clusters
+
@property
def additional_data(self):
"""
diff --git a/src/oci/core/models/create_boot_volume_backup_details.py b/src/oci/core/models/create_boot_volume_backup_details.py
index 236a63de92..d53d4800b5 100644
--- a/src/oci/core/models/create_boot_volume_backup_details.py
+++ b/src/oci/core/models/create_boot_volume_backup_details.py
@@ -53,6 +53,22 @@ def __init__(self, **kwargs):
The value to assign to the kms_key_id property of this CreateBootVolumeBackupDetails.
:type kms_key_id: str
+ :param retention_period:
+ The value to assign to the retention_period property of this CreateBootVolumeBackupDetails.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this CreateBootVolumeBackupDetails.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this CreateBootVolumeBackupDetails.
+ :type is_retention_lock_enabled: bool
+
+ :param is_indefinite_retention_enabled:
+ The value to assign to the is_indefinite_retention_enabled property of this CreateBootVolumeBackupDetails.
+ :type is_indefinite_retention_enabled: bool
+
"""
self.swagger_types = {
'boot_volume_id': 'str',
@@ -60,7 +76,11 @@ def __init__(self, **kwargs):
'display_name': 'str',
'freeform_tags': 'dict(str, str)',
'type': 'str',
- 'kms_key_id': 'str'
+ 'kms_key_id': 'str',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool',
+ 'is_indefinite_retention_enabled': 'bool'
}
self.attribute_map = {
'boot_volume_id': 'bootVolumeId',
@@ -68,7 +88,11 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'freeform_tags': 'freeformTags',
'type': 'type',
- 'kms_key_id': 'kmsKeyId'
+ 'kms_key_id': 'kmsKeyId',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled',
+ 'is_indefinite_retention_enabled': 'isIndefiniteRetentionEnabled'
}
self._boot_volume_id = None
self._defined_tags = None
@@ -76,6 +100,10 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._type = None
self._kms_key_id = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
+ self._is_indefinite_retention_enabled = None
@property
def boot_volume_id(self):
@@ -262,6 +290,98 @@ def kms_key_id(self, kms_key_id):
"""
self._kms_key_id = kms_key_id
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this CreateBootVolumeBackupDetails.
+
+ :return: The retention_period of this CreateBootVolumeBackupDetails.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this CreateBootVolumeBackupDetails.
+
+ :param retention_period: The retention_period of this CreateBootVolumeBackupDetails.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this CreateBootVolumeBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this CreateBootVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this CreateBootVolumeBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this CreateBootVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this CreateBootVolumeBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this CreateBootVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this CreateBootVolumeBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this CreateBootVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
+ @property
+ def is_indefinite_retention_enabled(self):
+ """
+ Gets the is_indefinite_retention_enabled of this CreateBootVolumeBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :return: The is_indefinite_retention_enabled of this CreateBootVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_indefinite_retention_enabled
+
+ @is_indefinite_retention_enabled.setter
+ def is_indefinite_retention_enabled(self, is_indefinite_retention_enabled):
+ """
+ Sets the is_indefinite_retention_enabled of this CreateBootVolumeBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :param is_indefinite_retention_enabled: The is_indefinite_retention_enabled of this CreateBootVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_indefinite_retention_enabled = is_indefinite_retention_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_compute_cluster_details.py b/src/oci/core/models/create_compute_cluster_details.py
index 79920b0301..f8062b9e87 100644
--- a/src/oci/core/models/create_compute_cluster_details.py
+++ b/src/oci/core/models/create_compute_cluster_details.py
@@ -12,17 +12,13 @@
@init_model_state_from_kwargs
class CreateComputeClusterDetails(object):
"""
- The data for creating a `compute cluster`__. A compute cluster
- is an empty remote direct memory access (RDMA) network group
+ The data for creating a `compute cluster`__.
- After the compute cluster is created, you can use the compute cluster's OCID with the
- :func:`launch_instance` operation to create instances in the compute cluster.
- The instances must be created in the same compartment and availability domain as the cluster.
+ After the compute cluster is created, you can use the compute cluster's OCID to create Instance, GPU Memory
+ Cluster or Instance Pool resources within the compute cluster. These resources must be created in the same
+ compartment and availability domain as the cluster.
- Use compute clusters when you want to manage instances in the cluster individually in the RDMA network group.
-
- For details about creating a cluster network that uses instance pools to manage groups of identical instances,
- see :func:`create_cluster_network_details`.
+ Use `COMPUTE_CLUSTER` type when using placementConstraintDetails.
__ https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm
"""
@@ -52,26 +48,33 @@ def __init__(self, **kwargs):
The value to assign to the freeform_tags property of this CreateComputeClusterDetails.
:type freeform_tags: dict(str, str)
+ :param placement_constraint_details:
+ The value to assign to the placement_constraint_details property of this CreateComputeClusterDetails.
+ :type placement_constraint_details: oci.core.models.PlacementConstraintDetails
+
"""
self.swagger_types = {
'availability_domain': 'str',
'compartment_id': 'str',
'display_name': 'str',
'defined_tags': 'dict(str, dict(str, object))',
- 'freeform_tags': 'dict(str, str)'
+ 'freeform_tags': 'dict(str, str)',
+ 'placement_constraint_details': 'PlacementConstraintDetails'
}
self.attribute_map = {
'availability_domain': 'availabilityDomain',
'compartment_id': 'compartmentId',
'display_name': 'displayName',
'defined_tags': 'definedTags',
- 'freeform_tags': 'freeformTags'
+ 'freeform_tags': 'freeformTags',
+ 'placement_constraint_details': 'placementConstraintDetails'
}
self._availability_domain = None
self._compartment_id = None
self._display_name = None
self._defined_tags = None
self._freeform_tags = None
+ self._placement_constraint_details = None
@property
def availability_domain(self):
@@ -223,6 +226,26 @@ def freeform_tags(self, freeform_tags):
"""
self._freeform_tags = freeform_tags
+ @property
+ def placement_constraint_details(self):
+ """
+ Gets the placement_constraint_details of this CreateComputeClusterDetails.
+
+ :return: The placement_constraint_details of this CreateComputeClusterDetails.
+ :rtype: oci.core.models.PlacementConstraintDetails
+ """
+ return self._placement_constraint_details
+
+ @placement_constraint_details.setter
+ def placement_constraint_details(self, placement_constraint_details):
+ """
+ Sets the placement_constraint_details of this CreateComputeClusterDetails.
+
+ :param placement_constraint_details: The placement_constraint_details of this CreateComputeClusterDetails.
+ :type: oci.core.models.PlacementConstraintDetails
+ """
+ self._placement_constraint_details = placement_constraint_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_cross_connect_details.py b/src/oci/core/models/create_cross_connect_details.py
index 2a5333125d..09c80c5ebf 100644
--- a/src/oci/core/models/create_cross_connect_details.py
+++ b/src/oci/core/models/create_cross_connect_details.py
@@ -64,6 +64,18 @@ def __init__(self, **kwargs):
The value to assign to the macsec_properties property of this CreateCrossConnectDetails.
:type macsec_properties: oci.core.models.CreateMacsecProperties
+ :param is_interface_hold_timer_enabled:
+ The value to assign to the is_interface_hold_timer_enabled property of this CreateCrossConnectDetails.
+ :type is_interface_hold_timer_enabled: bool
+
+ :param interface_down_timer_value_in_milliseconds:
+ The value to assign to the interface_down_timer_value_in_milliseconds property of this CreateCrossConnectDetails.
+ :type interface_down_timer_value_in_milliseconds: int
+
+ :param is_qos_enabled:
+ The value to assign to the is_qos_enabled property of this CreateCrossConnectDetails.
+ :type is_qos_enabled: bool
+
:param oci_physical_device_name:
The value to assign to the oci_physical_device_name property of this CreateCrossConnectDetails.
:type oci_physical_device_name: str
@@ -85,6 +97,9 @@ def __init__(self, **kwargs):
'port_speed_shape_name': 'str',
'customer_reference_name': 'str',
'macsec_properties': 'CreateMacsecProperties',
+ 'is_interface_hold_timer_enabled': 'bool',
+ 'interface_down_timer_value_in_milliseconds': 'int',
+ 'is_qos_enabled': 'bool',
'oci_physical_device_name': 'str',
'interface_name': 'str'
}
@@ -100,6 +115,9 @@ def __init__(self, **kwargs):
'port_speed_shape_name': 'portSpeedShapeName',
'customer_reference_name': 'customerReferenceName',
'macsec_properties': 'macsecProperties',
+ 'is_interface_hold_timer_enabled': 'isInterfaceHoldTimerEnabled',
+ 'interface_down_timer_value_in_milliseconds': 'interfaceDownTimerValueInMilliseconds',
+ 'is_qos_enabled': 'isQosEnabled',
'oci_physical_device_name': 'ociPhysicalDeviceName',
'interface_name': 'interfaceName'
}
@@ -114,6 +132,9 @@ def __init__(self, **kwargs):
self._port_speed_shape_name = None
self._customer_reference_name = None
self._macsec_properties = None
+ self._is_interface_hold_timer_enabled = None
+ self._interface_down_timer_value_in_milliseconds = None
+ self._is_qos_enabled = None
self._oci_physical_device_name = None
self._interface_name = None
@@ -441,6 +462,82 @@ def macsec_properties(self, macsec_properties):
"""
self._macsec_properties = macsec_properties
+ @property
+ def is_interface_hold_timer_enabled(self):
+ """
+ Gets the is_interface_hold_timer_enabled of this CreateCrossConnectDetails.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :return: The is_interface_hold_timer_enabled of this CreateCrossConnectDetails.
+ :rtype: bool
+ """
+ return self._is_interface_hold_timer_enabled
+
+ @is_interface_hold_timer_enabled.setter
+ def is_interface_hold_timer_enabled(self, is_interface_hold_timer_enabled):
+ """
+ Sets the is_interface_hold_timer_enabled of this CreateCrossConnectDetails.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :param is_interface_hold_timer_enabled: The is_interface_hold_timer_enabled of this CreateCrossConnectDetails.
+ :type: bool
+ """
+ self._is_interface_hold_timer_enabled = is_interface_hold_timer_enabled
+
+ @property
+ def interface_down_timer_value_in_milliseconds(self):
+ """
+ Gets the interface_down_timer_value_in_milliseconds of this CreateCrossConnectDetails.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :return: The interface_down_timer_value_in_milliseconds of this CreateCrossConnectDetails.
+ :rtype: int
+ """
+ return self._interface_down_timer_value_in_milliseconds
+
+ @interface_down_timer_value_in_milliseconds.setter
+ def interface_down_timer_value_in_milliseconds(self, interface_down_timer_value_in_milliseconds):
+ """
+ Sets the interface_down_timer_value_in_milliseconds of this CreateCrossConnectDetails.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :param interface_down_timer_value_in_milliseconds: The interface_down_timer_value_in_milliseconds of this CreateCrossConnectDetails.
+ :type: int
+ """
+ self._interface_down_timer_value_in_milliseconds = interface_down_timer_value_in_milliseconds
+
+ @property
+ def is_qos_enabled(self):
+ """
+ Gets the is_qos_enabled of this CreateCrossConnectDetails.
+ When true, restricts placement so cross-connects lands only on QoS-capable devices.
+ When false (default), placement may use any supported device. If no QoS-capable devices are available
+ in the selected location, the request fails.
+
+
+ :return: The is_qos_enabled of this CreateCrossConnectDetails.
+ :rtype: bool
+ """
+ return self._is_qos_enabled
+
+ @is_qos_enabled.setter
+ def is_qos_enabled(self, is_qos_enabled):
+ """
+ Sets the is_qos_enabled of this CreateCrossConnectDetails.
+ When true, restricts placement so cross-connects lands only on QoS-capable devices.
+ When false (default), placement may use any supported device. If no QoS-capable devices are available
+ in the selected location, the request fails.
+
+
+ :param is_qos_enabled: The is_qos_enabled of this CreateCrossConnectDetails.
+ :type: bool
+ """
+ self._is_qos_enabled = is_qos_enabled
+
@property
def oci_physical_device_name(self):
"""
diff --git a/src/oci/core/models/create_cross_connect_group_details.py b/src/oci/core/models/create_cross_connect_group_details.py
index e7667688c2..6876eafade 100644
--- a/src/oci/core/models/create_cross_connect_group_details.py
+++ b/src/oci/core/models/create_cross_connect_group_details.py
@@ -44,6 +44,22 @@ def __init__(self, **kwargs):
The value to assign to the macsec_properties property of this CreateCrossConnectGroupDetails.
:type macsec_properties: oci.core.models.CreateMacsecProperties
+ :param minimum_links:
+ The value to assign to the minimum_links property of this CreateCrossConnectGroupDetails.
+ :type minimum_links: int
+
+ :param is_interface_hold_timer_enabled:
+ The value to assign to the is_interface_hold_timer_enabled property of this CreateCrossConnectGroupDetails.
+ :type is_interface_hold_timer_enabled: bool
+
+ :param interface_down_timer_value_in_milliseconds:
+ The value to assign to the interface_down_timer_value_in_milliseconds property of this CreateCrossConnectGroupDetails.
+ :type interface_down_timer_value_in_milliseconds: int
+
+ :param is_qos_enabled:
+ The value to assign to the is_qos_enabled property of this CreateCrossConnectGroupDetails.
+ :type is_qos_enabled: bool
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -51,7 +67,11 @@ def __init__(self, **kwargs):
'display_name': 'str',
'customer_reference_name': 'str',
'freeform_tags': 'dict(str, str)',
- 'macsec_properties': 'CreateMacsecProperties'
+ 'macsec_properties': 'CreateMacsecProperties',
+ 'minimum_links': 'int',
+ 'is_interface_hold_timer_enabled': 'bool',
+ 'interface_down_timer_value_in_milliseconds': 'int',
+ 'is_qos_enabled': 'bool'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
@@ -59,7 +79,11 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'customer_reference_name': 'customerReferenceName',
'freeform_tags': 'freeformTags',
- 'macsec_properties': 'macsecProperties'
+ 'macsec_properties': 'macsecProperties',
+ 'minimum_links': 'minimumLinks',
+ 'is_interface_hold_timer_enabled': 'isInterfaceHoldTimerEnabled',
+ 'interface_down_timer_value_in_milliseconds': 'interfaceDownTimerValueInMilliseconds',
+ 'is_qos_enabled': 'isQosEnabled'
}
self._compartment_id = None
self._defined_tags = None
@@ -67,6 +91,10 @@ def __init__(self, **kwargs):
self._customer_reference_name = None
self._freeform_tags = None
self._macsec_properties = None
+ self._minimum_links = None
+ self._is_interface_hold_timer_enabled = None
+ self._interface_down_timer_value_in_milliseconds = None
+ self._is_qos_enabled = None
@property
def compartment_id(self):
@@ -236,6 +264,112 @@ def macsec_properties(self, macsec_properties):
"""
self._macsec_properties = macsec_properties
+ @property
+ def minimum_links(self):
+ """
+ Gets the minimum_links of this CreateCrossConnectGroupDetails.
+ (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered
+ operational. During create cross-connect-group operation this value can only be set to 1 (If not specified,
+ this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not
+ exceed the total number of cross-connects in the cross-connect group.
+
+
+ :return: The minimum_links of this CreateCrossConnectGroupDetails.
+ :rtype: int
+ """
+ return self._minimum_links
+
+ @minimum_links.setter
+ def minimum_links(self, minimum_links):
+ """
+ Sets the minimum_links of this CreateCrossConnectGroupDetails.
+ (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered
+ operational. During create cross-connect-group operation this value can only be set to 1 (If not specified,
+ this value defaults to 1) and can be edited using the update cross-connect group operation. Value must not
+ exceed the total number of cross-connects in the cross-connect group.
+
+
+ :param minimum_links: The minimum_links of this CreateCrossConnectGroupDetails.
+ :type: int
+ """
+ self._minimum_links = minimum_links
+
+ @property
+ def is_interface_hold_timer_enabled(self):
+ """
+ Gets the is_interface_hold_timer_enabled of this CreateCrossConnectGroupDetails.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :return: The is_interface_hold_timer_enabled of this CreateCrossConnectGroupDetails.
+ :rtype: bool
+ """
+ return self._is_interface_hold_timer_enabled
+
+ @is_interface_hold_timer_enabled.setter
+ def is_interface_hold_timer_enabled(self, is_interface_hold_timer_enabled):
+ """
+ Sets the is_interface_hold_timer_enabled of this CreateCrossConnectGroupDetails.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :param is_interface_hold_timer_enabled: The is_interface_hold_timer_enabled of this CreateCrossConnectGroupDetails.
+ :type: bool
+ """
+ self._is_interface_hold_timer_enabled = is_interface_hold_timer_enabled
+
+ @property
+ def interface_down_timer_value_in_milliseconds(self):
+ """
+ Gets the interface_down_timer_value_in_milliseconds of this CreateCrossConnectGroupDetails.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :return: The interface_down_timer_value_in_milliseconds of this CreateCrossConnectGroupDetails.
+ :rtype: int
+ """
+ return self._interface_down_timer_value_in_milliseconds
+
+ @interface_down_timer_value_in_milliseconds.setter
+ def interface_down_timer_value_in_milliseconds(self, interface_down_timer_value_in_milliseconds):
+ """
+ Sets the interface_down_timer_value_in_milliseconds of this CreateCrossConnectGroupDetails.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :param interface_down_timer_value_in_milliseconds: The interface_down_timer_value_in_milliseconds of this CreateCrossConnectGroupDetails.
+ :type: int
+ """
+ self._interface_down_timer_value_in_milliseconds = interface_down_timer_value_in_milliseconds
+
+ @property
+ def is_qos_enabled(self):
+ """
+ Gets the is_qos_enabled of this CreateCrossConnectGroupDetails.
+ (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices.
+ When false (default), placement may use any supported device. If no QoS-capable devices are available
+ in the selected location, the request fails.
+
+
+ :return: The is_qos_enabled of this CreateCrossConnectGroupDetails.
+ :rtype: bool
+ """
+ return self._is_qos_enabled
+
+ @is_qos_enabled.setter
+ def is_qos_enabled(self, is_qos_enabled):
+ """
+ Sets the is_qos_enabled of this CreateCrossConnectGroupDetails.
+ (Optional) When true, restricts placement so cross-connects lands only on QoS-capable devices.
+ When false (default), placement may use any supported device. If no QoS-capable devices are available
+ in the selected location, the request fails.
+
+
+ :param is_qos_enabled: The is_qos_enabled of this CreateCrossConnectGroupDetails.
+ :type: bool
+ """
+ self._is_qos_enabled = is_qos_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_dedicated_vm_host_details.py b/src/oci/core/models/create_dedicated_vm_host_details.py
index 691d58f069..5130ff84ce 100644
--- a/src/oci/core/models/create_dedicated_vm_host_details.py
+++ b/src/oci/core/models/create_dedicated_vm_host_details.py
@@ -60,6 +60,10 @@ def __init__(self, **kwargs):
The value to assign to the is_memory_encryption_enabled property of this CreateDedicatedVmHostDetails.
:type is_memory_encryption_enabled: bool
+ :param is_burstable:
+ The value to assign to the is_burstable property of this CreateDedicatedVmHostDetails.
+ :type is_burstable: bool
+
"""
self.swagger_types = {
'availability_domain': 'str',
@@ -71,7 +75,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'placement_constraint_details': 'PlacementConstraintDetails',
'capacity_config': 'str',
- 'is_memory_encryption_enabled': 'bool'
+ 'is_memory_encryption_enabled': 'bool',
+ 'is_burstable': 'bool'
}
self.attribute_map = {
'availability_domain': 'availabilityDomain',
@@ -83,7 +88,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'placement_constraint_details': 'placementConstraintDetails',
'capacity_config': 'capacityConfig',
- 'is_memory_encryption_enabled': 'isMemoryEncryptionEnabled'
+ 'is_memory_encryption_enabled': 'isMemoryEncryptionEnabled',
+ 'is_burstable': 'isBurstable'
}
self._availability_domain = None
self._compartment_id = None
@@ -95,6 +101,7 @@ def __init__(self, **kwargs):
self._placement_constraint_details = None
self._capacity_config = None
self._is_memory_encryption_enabled = None
+ self._is_burstable = None
@property
def availability_domain(self):
@@ -384,6 +391,30 @@ def is_memory_encryption_enabled(self, is_memory_encryption_enabled):
"""
self._is_memory_encryption_enabled = is_memory_encryption_enabled
+ @property
+ def is_burstable(self):
+ """
+ Gets the is_burstable of this CreateDedicatedVmHostDetails.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :return: The is_burstable of this CreateDedicatedVmHostDetails.
+ :rtype: bool
+ """
+ return self._is_burstable
+
+ @is_burstable.setter
+ def is_burstable(self, is_burstable):
+ """
+ Sets the is_burstable of this CreateDedicatedVmHostDetails.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is restricted to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :param is_burstable: The is_burstable of this CreateDedicatedVmHostDetails.
+ :type: bool
+ """
+ self._is_burstable = is_burstable
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_gmc_configuration_details.py b/src/oci/core/models/create_gmc_configuration_details.py
new file mode 100644
index 0000000000..e78c7a7644
--- /dev/null
+++ b/src/oci/core/models/create_gmc_configuration_details.py
@@ -0,0 +1,108 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+from .create_instance_configuration_base import CreateInstanceConfigurationBase
+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 CreateGmcConfigurationDetails(CreateInstanceConfigurationBase):
+ """
+ Details for creating an instance configuration for GPU Memory Cluster.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateGmcConfigurationDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.core.models.CreateGmcConfigurationDetails.source` attribute
+ of this class is ``GMC`` and it should not be changed.
+ 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 CreateGmcConfigurationDetails.
+ :type compartment_id: str
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateGmcConfigurationDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param display_name:
+ The value to assign to the display_name property of this CreateGmcConfigurationDetails.
+ :type display_name: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateGmcConfigurationDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param source:
+ The value to assign to the source property of this CreateGmcConfigurationDetails.
+ Allowed values for this property are: "NONE", "INSTANCE", "GMC"
+ :type source: str
+
+ :param gmc_configs:
+ The value to assign to the gmc_configs property of this CreateGmcConfigurationDetails.
+ :type gmc_configs: list[oci.core.models.InstanceConfigurationGmcConfigDetail]
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'display_name': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'source': 'str',
+ 'gmc_configs': 'list[InstanceConfigurationGmcConfigDetail]'
+ }
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'defined_tags': 'definedTags',
+ 'display_name': 'displayName',
+ 'freeform_tags': 'freeformTags',
+ 'source': 'source',
+ 'gmc_configs': 'gmcConfigs'
+ }
+ self._compartment_id = None
+ self._defined_tags = None
+ self._display_name = None
+ self._freeform_tags = None
+ self._source = None
+ self._gmc_configs = None
+ self._source = 'GMC'
+
+ @property
+ def gmc_configs(self):
+ """
+ **[Required]** Gets the gmc_configs of this CreateGmcConfigurationDetails.
+ The GPU Memory Cluster configuration entries for.
+
+
+ :return: The gmc_configs of this CreateGmcConfigurationDetails.
+ :rtype: list[oci.core.models.InstanceConfigurationGmcConfigDetail]
+ """
+ return self._gmc_configs
+
+ @gmc_configs.setter
+ def gmc_configs(self, gmc_configs):
+ """
+ Sets the gmc_configs of this CreateGmcConfigurationDetails.
+ The GPU Memory Cluster configuration entries for.
+
+
+ :param gmc_configs: The gmc_configs of this CreateGmcConfigurationDetails.
+ :type: list[oci.core.models.InstanceConfigurationGmcConfigDetail]
+ """
+ self._gmc_configs = gmc_configs
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/core/models/create_instance_configuration_base.py b/src/oci/core/models/create_instance_configuration_base.py
index 6bbdebae96..bbe79dd391 100644
--- a/src/oci/core/models/create_instance_configuration_base.py
+++ b/src/oci/core/models/create_instance_configuration_base.py
@@ -23,11 +23,16 @@ class CreateInstanceConfigurationBase(object):
#: This constant has a value of "INSTANCE"
SOURCE_INSTANCE = "INSTANCE"
+ #: A constant which can be used with the source property of a CreateInstanceConfigurationBase.
+ #: This constant has a value of "GMC"
+ SOURCE_GMC = "GMC"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateInstanceConfigurationBase 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.core.models.CreateGmcConfigurationDetails`
* :class:`~oci.core.models.CreateInstanceConfigurationDetails`
* :class:`~oci.core.models.CreateInstanceConfigurationFromInstanceDetails`
@@ -51,7 +56,7 @@ def __init__(self, **kwargs):
:param source:
The value to assign to the source property of this CreateInstanceConfigurationBase.
- Allowed values for this property are: "NONE", "INSTANCE"
+ Allowed values for this property are: "NONE", "INSTANCE", "GMC"
:type source: str
"""
@@ -83,6 +88,9 @@ def get_subtype(object_dictionary):
"""
type = object_dictionary['source']
+ if type == 'GMC':
+ return 'CreateGmcConfigurationDetails'
+
if type == 'NONE':
return 'CreateInstanceConfigurationDetails'
@@ -245,8 +253,9 @@ def source(self):
* `NONE`: Creates an instance configuration using the list of settings that you specify.
* `INSTANCE`: Creates an instance configuration using an existing instance as a template.
+ * `GMC`: Creates an instance configuration which can be used to create GMC backed pools.
- Allowed values for this property are: "NONE", "INSTANCE"
+ Allowed values for this property are: "NONE", "INSTANCE", "GMC"
:return: The source of this CreateInstanceConfigurationBase.
@@ -284,12 +293,13 @@ def source(self, source):
* `NONE`: Creates an instance configuration using the list of settings that you specify.
* `INSTANCE`: Creates an instance configuration using an existing instance as a template.
+ * `GMC`: Creates an instance configuration which can be used to create GMC backed pools.
:param source: The source of this CreateInstanceConfigurationBase.
:type: str
"""
- allowed_values = ["NONE", "INSTANCE"]
+ allowed_values = ["NONE", "INSTANCE", "GMC"]
if not value_allowed_none_or_none_sentinel(source, allowed_values):
raise ValueError(
f"Invalid value for `source`, must be None or one of {allowed_values}"
diff --git a/src/oci/core/models/create_instance_configuration_details.py b/src/oci/core/models/create_instance_configuration_details.py
index 5f4729bf43..b28ffdb416 100644
--- a/src/oci/core/models/create_instance_configuration_details.py
+++ b/src/oci/core/models/create_instance_configuration_details.py
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
:param source:
The value to assign to the source property of this CreateInstanceConfigurationDetails.
- Allowed values for this property are: "NONE", "INSTANCE"
+ Allowed values for this property are: "NONE", "INSTANCE", "GMC"
:type source: str
:param instance_details:
diff --git a/src/oci/core/models/create_instance_configuration_from_instance_details.py b/src/oci/core/models/create_instance_configuration_from_instance_details.py
index ebae0baac6..85d1db5a08 100644
--- a/src/oci/core/models/create_instance_configuration_from_instance_details.py
+++ b/src/oci/core/models/create_instance_configuration_from_instance_details.py
@@ -39,7 +39,7 @@ def __init__(self, **kwargs):
:param source:
The value to assign to the source property of this CreateInstanceConfigurationFromInstanceDetails.
- Allowed values for this property are: "NONE", "INSTANCE"
+ Allowed values for this property are: "NONE", "INSTANCE", "GMC"
:type source: str
:param instance_id:
diff --git a/src/oci/core/models/create_instance_pool_details.py b/src/oci/core/models/create_instance_pool_details.py
index e9977b5713..2cfb89b722 100644
--- a/src/oci/core/models/create_instance_pool_details.py
+++ b/src/oci/core/models/create_instance_pool_details.py
@@ -13,6 +13,8 @@
class CreateInstancePoolDetails(object):
"""
The data to create an instance pool.
+ For a GMC-enabled resource pool, the referenced instance configuration must be a GMC configuration and
+ the placement configuration must identify the availability domain and compute cluster for the pool.
"""
def __init__(self, **kwargs):
@@ -296,6 +298,7 @@ def size(self):
"""
**[Required]** Gets the size of this CreateInstancePoolDetails.
The number of instances that should be in the instance pool.
+ For a GMC-enabled resource pool, this is the number of GMC resources that should be in the pool.
:return: The size of this CreateInstancePoolDetails.
@@ -308,6 +311,7 @@ def size(self, size):
"""
Sets the size of this CreateInstancePoolDetails.
The number of instances that should be in the instance pool.
+ For a GMC-enabled resource pool, this is the number of GMC resources that should be in the pool.
:param size: The size of this CreateInstancePoolDetails.
diff --git a/src/oci/core/models/create_ipv6_details.py b/src/oci/core/models/create_ipv6_details.py
index 483c9051db..d7b24bf650 100644
--- a/src/oci/core/models/create_ipv6_details.py
+++ b/src/oci/core/models/create_ipv6_details.py
@@ -69,6 +69,10 @@ def __init__(self, **kwargs):
The value to assign to the ipv6_subnet_cidr property of this CreateIpv6Details.
:type ipv6_subnet_cidr: str
+ :param hostname:
+ The value to assign to the hostname property of this CreateIpv6Details.
+ :type hostname: str
+
"""
self.swagger_types = {
'defined_tags': 'dict(str, dict(str, object))',
@@ -80,7 +84,8 @@ def __init__(self, **kwargs):
'subnet_id': 'str',
'lifetime': 'str',
'route_table_id': 'str',
- 'ipv6_subnet_cidr': 'str'
+ 'ipv6_subnet_cidr': 'str',
+ 'hostname': 'str'
}
self.attribute_map = {
'defined_tags': 'definedTags',
@@ -92,7 +97,8 @@ def __init__(self, **kwargs):
'subnet_id': 'subnetId',
'lifetime': 'lifetime',
'route_table_id': 'routeTableId',
- 'ipv6_subnet_cidr': 'ipv6SubnetCidr'
+ 'ipv6_subnet_cidr': 'ipv6SubnetCidr',
+ 'hostname': 'hostname'
}
self._defined_tags = None
self._display_name = None
@@ -104,6 +110,7 @@ def __init__(self, **kwargs):
self._lifetime = None
self._route_table_id = None
self._ipv6_subnet_cidr = None
+ self._hostname = None
@property
def defined_tags(self):
@@ -410,6 +417,30 @@ def ipv6_subnet_cidr(self, ipv6_subnet_cidr):
"""
self._ipv6_subnet_cidr = ipv6_subnet_cidr
+ @property
+ def hostname(self):
+ """
+ Gets the hostname of this CreateIpv6Details.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :return: The hostname of this CreateIpv6Details.
+ :rtype: str
+ """
+ return self._hostname
+
+ @hostname.setter
+ def hostname(self, hostname):
+ """
+ Sets the hostname of this CreateIpv6Details.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :param hostname: The hostname of this CreateIpv6Details.
+ :type: str
+ """
+ self._hostname = hostname
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_virtual_circuit_details.py b/src/oci/core/models/create_virtual_circuit_details.py
index 4d3f43e728..56444c9d16 100644
--- a/src/oci/core/models/create_virtual_circuit_details.py
+++ b/src/oci/core/models/create_virtual_circuit_details.py
@@ -55,6 +55,14 @@ class CreateVirtualCircuitDetails(object):
#: This constant has a value of "MTU_9000"
IP_MTU_MTU_9000 = "MTU_9000"
+ #: A constant which can be used with the traffic_mode property of a CreateVirtualCircuitDetails.
+ #: This constant has a value of "NORMAL"
+ TRAFFIC_MODE_NORMAL = "NORMAL"
+
+ #: A constant which can be used with the traffic_mode property of a CreateVirtualCircuitDetails.
+ #: This constant has a value of "DRAIN"
+ TRAFFIC_MODE_DRAIN = "DRAIN"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateVirtualCircuitDetails object with values from keyword arguments.
@@ -148,6 +156,19 @@ def __init__(self, **kwargs):
Allowed values for this property are: "MTU_1500", "MTU_9000"
:type ip_mtu: str
+ :param provider_remote_region:
+ The value to assign to the provider_remote_region property of this CreateVirtualCircuitDetails.
+ :type provider_remote_region: str
+
+ :param remote_account_id:
+ The value to assign to the remote_account_id property of this CreateVirtualCircuitDetails.
+ :type remote_account_id: str
+
+ :param traffic_mode:
+ The value to assign to the traffic_mode property of this CreateVirtualCircuitDetails.
+ Allowed values for this property are: "NORMAL", "DRAIN"
+ :type traffic_mode: str
+
"""
self.swagger_types = {
'bandwidth_shape_name': 'str',
@@ -170,7 +191,10 @@ def __init__(self, **kwargs):
'public_prefixes': 'list[CreateVirtualCircuitPublicPrefixDetails]',
'region': 'str',
'type': 'str',
- 'ip_mtu': 'str'
+ 'ip_mtu': 'str',
+ 'provider_remote_region': 'str',
+ 'remote_account_id': 'str',
+ 'traffic_mode': 'str'
}
self.attribute_map = {
'bandwidth_shape_name': 'bandwidthShapeName',
@@ -193,7 +217,10 @@ def __init__(self, **kwargs):
'public_prefixes': 'publicPrefixes',
'region': 'region',
'type': 'type',
- 'ip_mtu': 'ipMtu'
+ 'ip_mtu': 'ipMtu',
+ 'provider_remote_region': 'providerRemoteRegion',
+ 'remote_account_id': 'remoteAccountId',
+ 'traffic_mode': 'trafficMode'
}
self._bandwidth_shape_name = None
self._compartment_id = None
@@ -216,6 +243,9 @@ def __init__(self, **kwargs):
self._region = None
self._type = None
self._ip_mtu = None
+ self._provider_remote_region = None
+ self._remote_account_id = None
+ self._traffic_mode = None
@property
def bandwidth_shape_name(self):
@@ -846,6 +876,89 @@ def ip_mtu(self, ip_mtu):
)
self._ip_mtu = ip_mtu
+ @property
+ def provider_remote_region(self):
+ """
+ Gets the provider_remote_region of this CreateVirtualCircuitDetails.
+ The OCI's FastConnect MultiCloud Provider/Partner remote region name associated with the OCI region.
+ To get the list of associated provider remote region use the ListProviderRemoteRegions operation
+
+
+ :return: The provider_remote_region of this CreateVirtualCircuitDetails.
+ :rtype: str
+ """
+ return self._provider_remote_region
+
+ @provider_remote_region.setter
+ def provider_remote_region(self, provider_remote_region):
+ """
+ Sets the provider_remote_region of this CreateVirtualCircuitDetails.
+ The OCI's FastConnect MultiCloud Provider/Partner remote region name associated with the OCI region.
+ To get the list of associated provider remote region use the ListProviderRemoteRegions operation
+
+
+ :param provider_remote_region: The provider_remote_region of this CreateVirtualCircuitDetails.
+ :type: str
+ """
+ self._provider_remote_region = provider_remote_region
+
+ @property
+ def remote_account_id(self):
+ """
+ Gets the remote_account_id of this CreateVirtualCircuitDetails.
+ Customer's account on Provider/Partner cloud (AWS, GCP or any other)
+
+
+ :return: The remote_account_id of this CreateVirtualCircuitDetails.
+ :rtype: str
+ """
+ return self._remote_account_id
+
+ @remote_account_id.setter
+ def remote_account_id(self, remote_account_id):
+ """
+ Sets the remote_account_id of this CreateVirtualCircuitDetails.
+ Customer's account on Provider/Partner cloud (AWS, GCP or any other)
+
+
+ :param remote_account_id: The remote_account_id of this CreateVirtualCircuitDetails.
+ :type: str
+ """
+ self._remote_account_id = remote_account_id
+
+ @property
+ def traffic_mode(self):
+ """
+ Gets the traffic_mode of this CreateVirtualCircuitDetails.
+ The traffic mode to be set with this Virtual Circuit. This controls whether the traffic is to be drained
+ for the associated Virtual Circuit or not.
+
+ Allowed values for this property are: "NORMAL", "DRAIN"
+
+
+ :return: The traffic_mode of this CreateVirtualCircuitDetails.
+ :rtype: str
+ """
+ return self._traffic_mode
+
+ @traffic_mode.setter
+ def traffic_mode(self, traffic_mode):
+ """
+ Sets the traffic_mode of this CreateVirtualCircuitDetails.
+ The traffic mode to be set with this Virtual Circuit. This controls whether the traffic is to be drained
+ for the associated Virtual Circuit or not.
+
+
+ :param traffic_mode: The traffic_mode of this CreateVirtualCircuitDetails.
+ :type: str
+ """
+ allowed_values = ["NORMAL", "DRAIN"]
+ if not value_allowed_none_or_none_sentinel(traffic_mode, allowed_values):
+ raise ValueError(
+ f"Invalid value for `traffic_mode`, must be None or one of {allowed_values}"
+ )
+ self._traffic_mode = traffic_mode
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_volume_backup_details.py b/src/oci/core/models/create_volume_backup_details.py
index 51c7e0d893..6e8680805f 100644
--- a/src/oci/core/models/create_volume_backup_details.py
+++ b/src/oci/core/models/create_volume_backup_details.py
@@ -53,6 +53,22 @@ def __init__(self, **kwargs):
The value to assign to the volume_id property of this CreateVolumeBackupDetails.
:type volume_id: str
+ :param retention_period:
+ The value to assign to the retention_period property of this CreateVolumeBackupDetails.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this CreateVolumeBackupDetails.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this CreateVolumeBackupDetails.
+ :type is_retention_lock_enabled: bool
+
+ :param is_indefinite_retention_enabled:
+ The value to assign to the is_indefinite_retention_enabled property of this CreateVolumeBackupDetails.
+ :type is_indefinite_retention_enabled: bool
+
"""
self.swagger_types = {
'kms_key_id': 'str',
@@ -60,7 +76,11 @@ def __init__(self, **kwargs):
'display_name': 'str',
'freeform_tags': 'dict(str, str)',
'type': 'str',
- 'volume_id': 'str'
+ 'volume_id': 'str',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool',
+ 'is_indefinite_retention_enabled': 'bool'
}
self.attribute_map = {
'kms_key_id': 'kmsKeyId',
@@ -68,7 +88,11 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'freeform_tags': 'freeformTags',
'type': 'type',
- 'volume_id': 'volumeId'
+ 'volume_id': 'volumeId',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled',
+ 'is_indefinite_retention_enabled': 'isIndefiniteRetentionEnabled'
}
self._kms_key_id = None
self._defined_tags = None
@@ -76,6 +100,10 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._type = None
self._volume_id = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
+ self._is_indefinite_retention_enabled = None
@property
def kms_key_id(self):
@@ -262,6 +290,98 @@ def volume_id(self, volume_id):
"""
self._volume_id = volume_id
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this CreateVolumeBackupDetails.
+
+ :return: The retention_period of this CreateVolumeBackupDetails.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this CreateVolumeBackupDetails.
+
+ :param retention_period: The retention_period of this CreateVolumeBackupDetails.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this CreateVolumeBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this CreateVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this CreateVolumeBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this CreateVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this CreateVolumeBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this CreateVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this CreateVolumeBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this CreateVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
+ @property
+ def is_indefinite_retention_enabled(self):
+ """
+ Gets the is_indefinite_retention_enabled of this CreateVolumeBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :return: The is_indefinite_retention_enabled of this CreateVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_indefinite_retention_enabled
+
+ @is_indefinite_retention_enabled.setter
+ def is_indefinite_retention_enabled(self, is_indefinite_retention_enabled):
+ """
+ Sets the is_indefinite_retention_enabled of this CreateVolumeBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :param is_indefinite_retention_enabled: The is_indefinite_retention_enabled of this CreateVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_indefinite_retention_enabled = is_indefinite_retention_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/create_volume_group_backup_details.py b/src/oci/core/models/create_volume_group_backup_details.py
index 54834e63a4..852a1a978c 100644
--- a/src/oci/core/models/create_volume_group_backup_details.py
+++ b/src/oci/core/models/create_volume_group_backup_details.py
@@ -53,6 +53,22 @@ def __init__(self, **kwargs):
The value to assign to the volume_group_id property of this CreateVolumeGroupBackupDetails.
:type volume_group_id: str
+ :param retention_period:
+ The value to assign to the retention_period property of this CreateVolumeGroupBackupDetails.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this CreateVolumeGroupBackupDetails.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this CreateVolumeGroupBackupDetails.
+ :type is_retention_lock_enabled: bool
+
+ :param is_indefinite_retention_enabled:
+ The value to assign to the is_indefinite_retention_enabled property of this CreateVolumeGroupBackupDetails.
+ :type is_indefinite_retention_enabled: bool
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -60,7 +76,11 @@ def __init__(self, **kwargs):
'display_name': 'str',
'freeform_tags': 'dict(str, str)',
'type': 'str',
- 'volume_group_id': 'str'
+ 'volume_group_id': 'str',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool',
+ 'is_indefinite_retention_enabled': 'bool'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
@@ -68,7 +88,11 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'freeform_tags': 'freeformTags',
'type': 'type',
- 'volume_group_id': 'volumeGroupId'
+ 'volume_group_id': 'volumeGroupId',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled',
+ 'is_indefinite_retention_enabled': 'isIndefiniteRetentionEnabled'
}
self._compartment_id = None
self._defined_tags = None
@@ -76,6 +100,10 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._type = None
self._volume_group_id = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
+ self._is_indefinite_retention_enabled = None
@property
def compartment_id(self):
@@ -254,6 +282,98 @@ def volume_group_id(self, volume_group_id):
"""
self._volume_group_id = volume_group_id
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this CreateVolumeGroupBackupDetails.
+
+ :return: The retention_period of this CreateVolumeGroupBackupDetails.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this CreateVolumeGroupBackupDetails.
+
+ :param retention_period: The retention_period of this CreateVolumeGroupBackupDetails.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this CreateVolumeGroupBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this CreateVolumeGroupBackupDetails.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this CreateVolumeGroupBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this CreateVolumeGroupBackupDetails.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this CreateVolumeGroupBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this CreateVolumeGroupBackupDetails.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this CreateVolumeGroupBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this CreateVolumeGroupBackupDetails.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
+ @property
+ def is_indefinite_retention_enabled(self):
+ """
+ Gets the is_indefinite_retention_enabled of this CreateVolumeGroupBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :return: The is_indefinite_retention_enabled of this CreateVolumeGroupBackupDetails.
+ :rtype: bool
+ """
+ return self._is_indefinite_retention_enabled
+
+ @is_indefinite_retention_enabled.setter
+ def is_indefinite_retention_enabled(self, is_indefinite_retention_enabled):
+ """
+ Sets the is_indefinite_retention_enabled of this CreateVolumeGroupBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :param is_indefinite_retention_enabled: The is_indefinite_retention_enabled of this CreateVolumeGroupBackupDetails.
+ :type: bool
+ """
+ self._is_indefinite_retention_enabled = is_indefinite_retention_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/cross_connect.py b/src/oci/core/models/cross_connect.py
index 45940e3994..7f92cfecc7 100644
--- a/src/oci/core/models/cross_connect.py
+++ b/src/oci/core/models/cross_connect.py
@@ -124,6 +124,18 @@ def __init__(self, **kwargs):
The value to assign to the oci_logical_device_name property of this CrossConnect.
:type oci_logical_device_name: str
+ :param is_interface_hold_timer_enabled:
+ The value to assign to the is_interface_hold_timer_enabled property of this CrossConnect.
+ :type is_interface_hold_timer_enabled: bool
+
+ :param interface_down_timer_value_in_milliseconds:
+ The value to assign to the interface_down_timer_value_in_milliseconds property of this CrossConnect.
+ :type interface_down_timer_value_in_milliseconds: int
+
+ :param is_qos_enabled:
+ The value to assign to the is_qos_enabled property of this CrossConnect.
+ :type is_qos_enabled: bool
+
:param interface_name:
The value to assign to the interface_name property of this CrossConnect.
:type interface_name: str
@@ -145,6 +157,9 @@ def __init__(self, **kwargs):
'macsec_properties': 'MacsecProperties',
'oci_physical_device_name': 'str',
'oci_logical_device_name': 'str',
+ 'is_interface_hold_timer_enabled': 'bool',
+ 'interface_down_timer_value_in_milliseconds': 'int',
+ 'is_qos_enabled': 'bool',
'interface_name': 'str'
}
self.attribute_map = {
@@ -163,6 +178,9 @@ def __init__(self, **kwargs):
'macsec_properties': 'macsecProperties',
'oci_physical_device_name': 'ociPhysicalDeviceName',
'oci_logical_device_name': 'ociLogicalDeviceName',
+ 'is_interface_hold_timer_enabled': 'isInterfaceHoldTimerEnabled',
+ 'interface_down_timer_value_in_milliseconds': 'interfaceDownTimerValueInMilliseconds',
+ 'is_qos_enabled': 'isQosEnabled',
'interface_name': 'interfaceName'
}
self._compartment_id = None
@@ -180,6 +198,9 @@ def __init__(self, **kwargs):
self._macsec_properties = None
self._oci_physical_device_name = None
self._oci_logical_device_name = None
+ self._is_interface_hold_timer_enabled = None
+ self._interface_down_timer_value_in_milliseconds = None
+ self._is_qos_enabled = None
self._interface_name = None
@property
@@ -590,6 +611,78 @@ def oci_logical_device_name(self, oci_logical_device_name):
"""
self._oci_logical_device_name = oci_logical_device_name
+ @property
+ def is_interface_hold_timer_enabled(self):
+ """
+ Gets the is_interface_hold_timer_enabled of this CrossConnect.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :return: The is_interface_hold_timer_enabled of this CrossConnect.
+ :rtype: bool
+ """
+ return self._is_interface_hold_timer_enabled
+
+ @is_interface_hold_timer_enabled.setter
+ def is_interface_hold_timer_enabled(self, is_interface_hold_timer_enabled):
+ """
+ Sets the is_interface_hold_timer_enabled of this CrossConnect.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :param is_interface_hold_timer_enabled: The is_interface_hold_timer_enabled of this CrossConnect.
+ :type: bool
+ """
+ self._is_interface_hold_timer_enabled = is_interface_hold_timer_enabled
+
+ @property
+ def interface_down_timer_value_in_milliseconds(self):
+ """
+ Gets the interface_down_timer_value_in_milliseconds of this CrossConnect.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :return: The interface_down_timer_value_in_milliseconds of this CrossConnect.
+ :rtype: int
+ """
+ return self._interface_down_timer_value_in_milliseconds
+
+ @interface_down_timer_value_in_milliseconds.setter
+ def interface_down_timer_value_in_milliseconds(self, interface_down_timer_value_in_milliseconds):
+ """
+ Sets the interface_down_timer_value_in_milliseconds of this CrossConnect.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :param interface_down_timer_value_in_milliseconds: The interface_down_timer_value_in_milliseconds of this CrossConnect.
+ :type: int
+ """
+ self._interface_down_timer_value_in_milliseconds = interface_down_timer_value_in_milliseconds
+
+ @property
+ def is_qos_enabled(self):
+ """
+ Gets the is_qos_enabled of this CrossConnect.
+ The flag to enable or disable the Qos for the cross-connect.
+
+
+ :return: The is_qos_enabled of this CrossConnect.
+ :rtype: bool
+ """
+ return self._is_qos_enabled
+
+ @is_qos_enabled.setter
+ def is_qos_enabled(self, is_qos_enabled):
+ """
+ Sets the is_qos_enabled of this CrossConnect.
+ The flag to enable or disable the Qos for the cross-connect.
+
+
+ :param is_qos_enabled: The is_qos_enabled of this CrossConnect.
+ :type: bool
+ """
+ self._is_qos_enabled = is_qos_enabled
+
@property
def interface_name(self):
"""
diff --git a/src/oci/core/models/cross_connect_group.py b/src/oci/core/models/cross_connect_group.py
index 505afb6c8d..54d80b4118 100644
--- a/src/oci/core/models/cross_connect_group.py
+++ b/src/oci/core/models/cross_connect_group.py
@@ -105,6 +105,22 @@ def __init__(self, **kwargs):
The value to assign to the oci_logical_device_name property of this CrossConnectGroup.
:type oci_logical_device_name: str
+ :param minimum_links:
+ The value to assign to the minimum_links property of this CrossConnectGroup.
+ :type minimum_links: int
+
+ :param is_interface_hold_timer_enabled:
+ The value to assign to the is_interface_hold_timer_enabled property of this CrossConnectGroup.
+ :type is_interface_hold_timer_enabled: bool
+
+ :param interface_down_timer_value_in_milliseconds:
+ The value to assign to the interface_down_timer_value_in_milliseconds property of this CrossConnectGroup.
+ :type interface_down_timer_value_in_milliseconds: int
+
+ :param is_qos_enabled:
+ The value to assign to the is_qos_enabled property of this CrossConnectGroup.
+ :type is_qos_enabled: bool
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -118,7 +134,11 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'macsec_properties': 'MacsecProperties',
'oci_physical_device_name': 'str',
- 'oci_logical_device_name': 'str'
+ 'oci_logical_device_name': 'str',
+ 'minimum_links': 'int',
+ 'is_interface_hold_timer_enabled': 'bool',
+ 'interface_down_timer_value_in_milliseconds': 'int',
+ 'is_qos_enabled': 'bool'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
@@ -132,7 +152,11 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'macsec_properties': 'macsecProperties',
'oci_physical_device_name': 'ociPhysicalDeviceName',
- 'oci_logical_device_name': 'ociLogicalDeviceName'
+ 'oci_logical_device_name': 'ociLogicalDeviceName',
+ 'minimum_links': 'minimumLinks',
+ 'is_interface_hold_timer_enabled': 'isInterfaceHoldTimerEnabled',
+ 'interface_down_timer_value_in_milliseconds': 'interfaceDownTimerValueInMilliseconds',
+ 'is_qos_enabled': 'isQosEnabled'
}
self._compartment_id = None
self._defined_tags = None
@@ -146,6 +170,10 @@ def __init__(self, **kwargs):
self._macsec_properties = None
self._oci_physical_device_name = None
self._oci_logical_device_name = None
+ self._minimum_links = None
+ self._is_interface_hold_timer_enabled = None
+ self._interface_down_timer_value_in_milliseconds = None
+ self._is_qos_enabled = None
@property
def compartment_id(self):
@@ -477,6 +505,106 @@ def oci_logical_device_name(self, oci_logical_device_name):
"""
self._oci_logical_device_name = oci_logical_device_name
+ @property
+ def minimum_links(self):
+ """
+ Gets the minimum_links of this CrossConnectGroup.
+ Minimum number of active cross-connects required for the cross-connect group to be considered operational.
+ If the number of active cross-connects falls below this value, the group is not considered operational.
+ If this value was not explicitly set when the group was created or updated, it defaults to 1.
+
+
+ :return: The minimum_links of this CrossConnectGroup.
+ :rtype: int
+ """
+ return self._minimum_links
+
+ @minimum_links.setter
+ def minimum_links(self, minimum_links):
+ """
+ Sets the minimum_links of this CrossConnectGroup.
+ Minimum number of active cross-connects required for the cross-connect group to be considered operational.
+ If the number of active cross-connects falls below this value, the group is not considered operational.
+ If this value was not explicitly set when the group was created or updated, it defaults to 1.
+
+
+ :param minimum_links: The minimum_links of this CrossConnectGroup.
+ :type: int
+ """
+ self._minimum_links = minimum_links
+
+ @property
+ def is_interface_hold_timer_enabled(self):
+ """
+ Gets the is_interface_hold_timer_enabled of this CrossConnectGroup.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :return: The is_interface_hold_timer_enabled of this CrossConnectGroup.
+ :rtype: bool
+ """
+ return self._is_interface_hold_timer_enabled
+
+ @is_interface_hold_timer_enabled.setter
+ def is_interface_hold_timer_enabled(self, is_interface_hold_timer_enabled):
+ """
+ Sets the is_interface_hold_timer_enabled of this CrossConnectGroup.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :param is_interface_hold_timer_enabled: The is_interface_hold_timer_enabled of this CrossConnectGroup.
+ :type: bool
+ """
+ self._is_interface_hold_timer_enabled = is_interface_hold_timer_enabled
+
+ @property
+ def interface_down_timer_value_in_milliseconds(self):
+ """
+ Gets the interface_down_timer_value_in_milliseconds of this CrossConnectGroup.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :return: The interface_down_timer_value_in_milliseconds of this CrossConnectGroup.
+ :rtype: int
+ """
+ return self._interface_down_timer_value_in_milliseconds
+
+ @interface_down_timer_value_in_milliseconds.setter
+ def interface_down_timer_value_in_milliseconds(self, interface_down_timer_value_in_milliseconds):
+ """
+ Sets the interface_down_timer_value_in_milliseconds of this CrossConnectGroup.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :param interface_down_timer_value_in_milliseconds: The interface_down_timer_value_in_milliseconds of this CrossConnectGroup.
+ :type: int
+ """
+ self._interface_down_timer_value_in_milliseconds = interface_down_timer_value_in_milliseconds
+
+ @property
+ def is_qos_enabled(self):
+ """
+ Gets the is_qos_enabled of this CrossConnectGroup.
+ The flag to enable or disable the Qos for the cross-connect-group.
+
+
+ :return: The is_qos_enabled of this CrossConnectGroup.
+ :rtype: bool
+ """
+ return self._is_qos_enabled
+
+ @is_qos_enabled.setter
+ def is_qos_enabled(self, is_qos_enabled):
+ """
+ Sets the is_qos_enabled of this CrossConnectGroup.
+ The flag to enable or disable the Qos for the cross-connect-group.
+
+
+ :param is_qos_enabled: The is_qos_enabled of this CrossConnectGroup.
+ :type: bool
+ """
+ self._is_qos_enabled = is_qos_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/dedicated_vm_host.py b/src/oci/core/models/dedicated_vm_host.py
index 6b96dbc19c..20a6c3a07e 100644
--- a/src/oci/core/models/dedicated_vm_host.py
+++ b/src/oci/core/models/dedicated_vm_host.py
@@ -89,6 +89,10 @@ def __init__(self, **kwargs):
The value to assign to the is_memory_encryption_enabled property of this DedicatedVmHost.
:type is_memory_encryption_enabled: bool
+ :param is_burstable:
+ The value to assign to the is_burstable property of this DedicatedVmHost.
+ :type is_burstable: bool
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this DedicatedVmHost.
Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -144,6 +148,7 @@ def __init__(self, **kwargs):
'id': 'str',
'capacity_config': 'str',
'is_memory_encryption_enabled': 'bool',
+ 'is_burstable': 'bool',
'lifecycle_state': 'str',
'time_created': 'datetime',
'total_ocpus': 'float',
@@ -167,6 +172,7 @@ def __init__(self, **kwargs):
'id': 'id',
'capacity_config': 'capacityConfig',
'is_memory_encryption_enabled': 'isMemoryEncryptionEnabled',
+ 'is_burstable': 'isBurstable',
'lifecycle_state': 'lifecycleState',
'time_created': 'timeCreated',
'total_ocpus': 'totalOcpus',
@@ -189,6 +195,7 @@ def __init__(self, **kwargs):
self._id = None
self._capacity_config = None
self._is_memory_encryption_enabled = None
+ self._is_burstable = None
self._lifecycle_state = None
self._time_created = None
self._total_ocpus = None
@@ -516,6 +523,30 @@ def is_memory_encryption_enabled(self, is_memory_encryption_enabled):
"""
self._is_memory_encryption_enabled = is_memory_encryption_enabled
+ @property
+ def is_burstable(self):
+ """
+ Gets the is_burstable of this DedicatedVmHost.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :return: The is_burstable of this DedicatedVmHost.
+ :rtype: bool
+ """
+ return self._is_burstable
+
+ @is_burstable.setter
+ def is_burstable(self, is_burstable):
+ """
+ Sets the is_burstable of this DedicatedVmHost.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :param is_burstable: The is_burstable of this DedicatedVmHost.
+ :type: bool
+ """
+ self._is_burstable = is_burstable
+
@property
def lifecycle_state(self):
"""
diff --git a/src/oci/core/models/dedicated_vm_host_instance_summary.py b/src/oci/core/models/dedicated_vm_host_instance_summary.py
index 9f9663949d..e853d0b068 100644
--- a/src/oci/core/models/dedicated_vm_host_instance_summary.py
+++ b/src/oci/core/models/dedicated_vm_host_instance_summary.py
@@ -36,6 +36,10 @@ def __init__(self, **kwargs):
The value to assign to the is_memory_encryption_enabled property of this DedicatedVmHostInstanceSummary.
:type is_memory_encryption_enabled: bool
+ :param is_burstable:
+ The value to assign to the is_burstable property of this DedicatedVmHostInstanceSummary.
+ :type is_burstable: bool
+
:param shape:
The value to assign to the shape property of this DedicatedVmHostInstanceSummary.
:type shape: str
@@ -50,6 +54,7 @@ def __init__(self, **kwargs):
'compartment_id': 'str',
'instance_id': 'str',
'is_memory_encryption_enabled': 'bool',
+ 'is_burstable': 'bool',
'shape': 'str',
'time_created': 'datetime'
}
@@ -58,6 +63,7 @@ def __init__(self, **kwargs):
'compartment_id': 'compartmentId',
'instance_id': 'instanceId',
'is_memory_encryption_enabled': 'isMemoryEncryptionEnabled',
+ 'is_burstable': 'isBurstable',
'shape': 'shape',
'time_created': 'timeCreated'
}
@@ -65,6 +71,7 @@ def __init__(self, **kwargs):
self._compartment_id = None
self._instance_id = None
self._is_memory_encryption_enabled = None
+ self._is_burstable = None
self._shape = None
self._time_created = None
@@ -168,6 +175,30 @@ def is_memory_encryption_enabled(self, is_memory_encryption_enabled):
"""
self._is_memory_encryption_enabled = is_memory_encryption_enabled
+ @property
+ def is_burstable(self):
+ """
+ Gets the is_burstable of this DedicatedVmHostInstanceSummary.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :return: The is_burstable of this DedicatedVmHostInstanceSummary.
+ :rtype: bool
+ """
+ return self._is_burstable
+
+ @is_burstable.setter
+ def is_burstable(self, is_burstable):
+ """
+ Sets the is_burstable of this DedicatedVmHostInstanceSummary.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :param is_burstable: The is_burstable of this DedicatedVmHostInstanceSummary.
+ :type: bool
+ """
+ self._is_burstable = is_burstable
+
@property
def shape(self):
"""
diff --git a/src/oci/core/models/dedicated_vm_host_summary.py b/src/oci/core/models/dedicated_vm_host_summary.py
index b6f7ec1915..24e159b1bf 100644
--- a/src/oci/core/models/dedicated_vm_host_summary.py
+++ b/src/oci/core/models/dedicated_vm_host_summary.py
@@ -72,6 +72,10 @@ def __init__(self, **kwargs):
The value to assign to the is_memory_encryption_enabled property of this DedicatedVmHostSummary.
:type is_memory_encryption_enabled: bool
+ :param is_burstable:
+ The value to assign to the is_burstable property of this DedicatedVmHostSummary.
+ :type is_burstable: bool
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this DedicatedVmHostSummary.
Allowed values for this property are: "CREATING", "ACTIVE", "UPDATING", "DELETING", "DELETED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
@@ -115,6 +119,7 @@ def __init__(self, **kwargs):
'fault_domain': 'str',
'id': 'str',
'is_memory_encryption_enabled': 'bool',
+ 'is_burstable': 'bool',
'lifecycle_state': 'str',
'time_created': 'datetime',
'remaining_ocpus': 'float',
@@ -132,6 +137,7 @@ def __init__(self, **kwargs):
'fault_domain': 'faultDomain',
'id': 'id',
'is_memory_encryption_enabled': 'isMemoryEncryptionEnabled',
+ 'is_burstable': 'isBurstable',
'lifecycle_state': 'lifecycleState',
'time_created': 'timeCreated',
'remaining_ocpus': 'remainingOcpus',
@@ -148,6 +154,7 @@ def __init__(self, **kwargs):
self._fault_domain = None
self._id = None
self._is_memory_encryption_enabled = None
+ self._is_burstable = None
self._lifecycle_state = None
self._time_created = None
self._remaining_ocpus = None
@@ -351,6 +358,30 @@ def is_memory_encryption_enabled(self, is_memory_encryption_enabled):
"""
self._is_memory_encryption_enabled = is_memory_encryption_enabled
+ @property
+ def is_burstable(self):
+ """
+ Gets the is_burstable of this DedicatedVmHostSummary.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :return: The is_burstable of this DedicatedVmHostSummary.
+ :rtype: bool
+ """
+ return self._is_burstable
+
+ @is_burstable.setter
+ def is_burstable(self, is_burstable):
+ """
+ Sets the is_burstable of this DedicatedVmHostSummary.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :param is_burstable: The is_burstable of this DedicatedVmHostSummary.
+ :type: bool
+ """
+ self._is_burstable = is_burstable
+
@property
def lifecycle_state(self):
"""
diff --git a/src/oci/core/models/dhcp_options.py b/src/oci/core/models/dhcp_options.py
index b202d3a043..4ae40ebfd7 100644
--- a/src/oci/core/models/dhcp_options.py
+++ b/src/oci/core/models/dhcp_options.py
@@ -96,6 +96,10 @@ def __init__(self, **kwargs):
The value to assign to the options property of this DhcpOptions.
:type options: list[oci.core.models.DhcpOption]
+ :param system_tags:
+ The value to assign to the system_tags property of this DhcpOptions.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this DhcpOptions.
:type time_created: datetime
@@ -119,6 +123,7 @@ def __init__(self, **kwargs):
'id': 'str',
'lifecycle_state': 'str',
'options': 'list[DhcpOption]',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'vcn_id': 'str',
'domain_name_type': 'str'
@@ -131,6 +136,7 @@ def __init__(self, **kwargs):
'id': 'id',
'lifecycle_state': 'lifecycleState',
'options': 'options',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'vcn_id': 'vcnId',
'domain_name_type': 'domainNameType'
@@ -142,6 +148,7 @@ def __init__(self, **kwargs):
self._id = None
self._lifecycle_state = None
self._options = None
+ self._system_tags = None
self._time_created = None
self._vcn_id = None
self._domain_name_type = None
@@ -350,6 +357,32 @@ def options(self, options):
"""
self._options = options
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this DhcpOptions.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this DhcpOptions.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this DhcpOptions.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this DhcpOptions.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
diff --git a/src/oci/core/models/host_group_configuration.py b/src/oci/core/models/host_group_configuration.py
index b394d6a77f..47f8fdf405 100644
--- a/src/oci/core/models/host_group_configuration.py
+++ b/src/oci/core/models/host_group_configuration.py
@@ -50,6 +50,10 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type recycle_level: str
+ :param quick_recycle_settings:
+ The value to assign to the quick_recycle_settings property of this HostGroupConfiguration.
+ :type quick_recycle_settings: oci.core.models.QuickRecycleSettings
+
:param state:
The value to assign to the state property of this HostGroupConfiguration.
Allowed values for this property are: "VALID", "INVALID", 'UNKNOWN_ENUM_VALUE'.
@@ -61,17 +65,20 @@ def __init__(self, **kwargs):
'target': 'str',
'firmware_bundle_id': 'str',
'recycle_level': 'str',
+ 'quick_recycle_settings': 'QuickRecycleSettings',
'state': 'str'
}
self.attribute_map = {
'target': 'target',
'firmware_bundle_id': 'firmwareBundleId',
'recycle_level': 'recycleLevel',
+ 'quick_recycle_settings': 'quickRecycleSettings',
'state': 'state'
}
self._target = None
self._firmware_bundle_id = None
self._recycle_level = None
+ self._quick_recycle_settings = None
self._state = None
@property
@@ -156,6 +163,26 @@ def recycle_level(self, recycle_level):
recycle_level = 'UNKNOWN_ENUM_VALUE'
self._recycle_level = recycle_level
+ @property
+ def quick_recycle_settings(self):
+ """
+ Gets the quick_recycle_settings of this HostGroupConfiguration.
+
+ :return: The quick_recycle_settings of this HostGroupConfiguration.
+ :rtype: oci.core.models.QuickRecycleSettings
+ """
+ return self._quick_recycle_settings
+
+ @quick_recycle_settings.setter
+ def quick_recycle_settings(self, quick_recycle_settings):
+ """
+ Sets the quick_recycle_settings of this HostGroupConfiguration.
+
+ :param quick_recycle_settings: The quick_recycle_settings of this HostGroupConfiguration.
+ :type: oci.core.models.QuickRecycleSettings
+ """
+ self._quick_recycle_settings = quick_recycle_settings
+
@property
def state(self):
"""
diff --git a/src/oci/core/models/instance_configuration.py b/src/oci/core/models/instance_configuration.py
index a72352babb..48a92b2b2e 100644
--- a/src/oci/core/models/instance_configuration.py
+++ b/src/oci/core/models/instance_configuration.py
@@ -13,12 +13,22 @@
class InstanceConfiguration(object):
"""
An instance configuration is a template that defines the settings to use when creating Compute instances.
+ An instance configuration is a template that defines the settings to use when creating Compute instances
+ or GPU Memory Clusters.
For more information about instance configurations, see
`Managing Compute Instances`__.
__ https://docs.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm
"""
+ #: A constant which can be used with the source property of a InstanceConfiguration.
+ #: This constant has a value of "INSTANCE"
+ SOURCE_INSTANCE = "INSTANCE"
+
+ #: A constant which can be used with the source property of a InstanceConfiguration.
+ #: This constant has a value of "GMC"
+ SOURCE_GMC = "GMC"
+
def __init__(self, **kwargs):
"""
Initializes a new InstanceConfiguration object with values from keyword arguments.
@@ -48,6 +58,16 @@ def __init__(self, **kwargs):
The value to assign to the instance_details property of this InstanceConfiguration.
:type instance_details: oci.core.models.InstanceConfigurationInstanceDetails
+ :param gmc_configs:
+ The value to assign to the gmc_configs property of this InstanceConfiguration.
+ :type gmc_configs: list[oci.core.models.InstanceConfigurationGmcConfigDetail]
+
+ :param source:
+ The value to assign to the source property of this InstanceConfiguration.
+ Allowed values for this property are: "INSTANCE", "GMC", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type source: str
+
:param deferred_fields:
The value to assign to the deferred_fields property of this InstanceConfiguration.
:type deferred_fields: list[str]
@@ -64,6 +84,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'id': 'str',
'instance_details': 'InstanceConfigurationInstanceDetails',
+ 'gmc_configs': 'list[InstanceConfigurationGmcConfigDetail]',
+ 'source': 'str',
'deferred_fields': 'list[str]',
'time_created': 'datetime'
}
@@ -74,6 +96,8 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'id': 'id',
'instance_details': 'instanceDetails',
+ 'gmc_configs': 'gmcConfigs',
+ 'source': 'source',
'deferred_fields': 'deferredFields',
'time_created': 'timeCreated'
}
@@ -83,6 +107,8 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._id = None
self._instance_details = None
+ self._gmc_configs = None
+ self._source = None
self._deferred_fields = None
self._time_created = None
@@ -258,6 +284,66 @@ def instance_details(self, instance_details):
"""
self._instance_details = instance_details
+ @property
+ def gmc_configs(self):
+ """
+ Gets the gmc_configs of this InstanceConfiguration.
+ The GPU Memory Cluster configuration entries for.
+
+
+ :return: The gmc_configs of this InstanceConfiguration.
+ :rtype: list[oci.core.models.InstanceConfigurationGmcConfigDetail]
+ """
+ return self._gmc_configs
+
+ @gmc_configs.setter
+ def gmc_configs(self, gmc_configs):
+ """
+ Sets the gmc_configs of this InstanceConfiguration.
+ The GPU Memory Cluster configuration entries for.
+
+
+ :param gmc_configs: The gmc_configs of this InstanceConfiguration.
+ :type: list[oci.core.models.InstanceConfigurationGmcConfigDetail]
+ """
+ self._gmc_configs = gmc_configs
+
+ @property
+ def source(self):
+ """
+ Gets the source of this InstanceConfiguration.
+ Differentiator for instance configuration.
+ Following values are supported:
+ * INSTANCE : All details related to instance will be passed within instanceDetails.
+ * GMC : All details related to gpu memory cluster will be passed within gmcConfigs.
+
+ Allowed values for this property are: "INSTANCE", "GMC", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The source of this InstanceConfiguration.
+ :rtype: str
+ """
+ return self._source
+
+ @source.setter
+ def source(self, source):
+ """
+ Sets the source of this InstanceConfiguration.
+ Differentiator for instance configuration.
+ Following values are supported:
+ * INSTANCE : All details related to instance will be passed within instanceDetails.
+ * GMC : All details related to gpu memory cluster will be passed within gmcConfigs.
+
+
+ :param source: The source of this InstanceConfiguration.
+ :type: str
+ """
+ allowed_values = ["INSTANCE", "GMC"]
+ if not value_allowed_none_or_none_sentinel(source, allowed_values):
+ source = 'UNKNOWN_ENUM_VALUE'
+ self._source = source
+
@property
def deferred_fields(self):
"""
diff --git a/src/oci/core/models/instance_configuration_gmc_config_detail.py b/src/oci/core/models/instance_configuration_gmc_config_detail.py
new file mode 100644
index 0000000000..9a212c8e6e
--- /dev/null
+++ b/src/oci/core/models/instance_configuration_gmc_config_detail.py
@@ -0,0 +1,317 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 InstanceConfigurationGmcConfigDetail(object):
+ """
+ Configuration detail for a GPU Memory Cluster entry within an instance configuration.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new InstanceConfigurationGmcConfigDetail object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param instance_configuration_id:
+ The value to assign to the instance_configuration_id property of this InstanceConfigurationGmcConfigDetail.
+ :type instance_configuration_id: str
+
+ :param availability_domain:
+ The value to assign to the availability_domain property of this InstanceConfigurationGmcConfigDetail.
+ :type availability_domain: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this InstanceConfigurationGmcConfigDetail.
+ :type compartment_id: str
+
+ :param size:
+ The value to assign to the size property of this InstanceConfigurationGmcConfigDetail.
+ :type size: int
+
+ :param gpu_memory_cluster_scale_config:
+ The value to assign to the gpu_memory_cluster_scale_config property of this InstanceConfigurationGmcConfigDetail.
+ :type gpu_memory_cluster_scale_config: oci.core.models.InstanceConfigurationGpuMemoryClusterScaleConfig
+
+ :param display_name:
+ The value to assign to the display_name property of this InstanceConfigurationGmcConfigDetail.
+ :type display_name: str
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this InstanceConfigurationGmcConfigDetail.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this InstanceConfigurationGmcConfigDetail.
+ :type freeform_tags: dict(str, str)
+
+ """
+ self.swagger_types = {
+ 'instance_configuration_id': 'str',
+ 'availability_domain': 'str',
+ 'compartment_id': 'str',
+ 'size': 'int',
+ 'gpu_memory_cluster_scale_config': 'InstanceConfigurationGpuMemoryClusterScaleConfig',
+ 'display_name': 'str',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'freeform_tags': 'dict(str, str)'
+ }
+ self.attribute_map = {
+ 'instance_configuration_id': 'instanceConfigurationId',
+ 'availability_domain': 'availabilityDomain',
+ 'compartment_id': 'compartmentId',
+ 'size': 'size',
+ 'gpu_memory_cluster_scale_config': 'gpuMemoryClusterScaleConfig',
+ 'display_name': 'displayName',
+ 'defined_tags': 'definedTags',
+ 'freeform_tags': 'freeformTags'
+ }
+ self._instance_configuration_id = None
+ self._availability_domain = None
+ self._compartment_id = None
+ self._size = None
+ self._gpu_memory_cluster_scale_config = None
+ self._display_name = None
+ self._defined_tags = None
+ self._freeform_tags = None
+
+ @property
+ def instance_configuration_id(self):
+ """
+ **[Required]** Gets the instance_configuration_id of this InstanceConfigurationGmcConfigDetail.
+ The `OCID`__ of the base compute instance configuration
+ associated with this GMC configuration entry.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The instance_configuration_id of this InstanceConfigurationGmcConfigDetail.
+ :rtype: str
+ """
+ return self._instance_configuration_id
+
+ @instance_configuration_id.setter
+ def instance_configuration_id(self, instance_configuration_id):
+ """
+ Sets the instance_configuration_id of this InstanceConfigurationGmcConfigDetail.
+ The `OCID`__ of the base compute instance configuration
+ associated with this GMC configuration entry.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param instance_configuration_id: The instance_configuration_id of this InstanceConfigurationGmcConfigDetail.
+ :type: str
+ """
+ self._instance_configuration_id = instance_configuration_id
+
+ @property
+ def availability_domain(self):
+ """
+ **[Required]** Gets the availability_domain of this InstanceConfigurationGmcConfigDetail.
+ The availability domain for this GMC configuration entry.
+
+
+ :return: The availability_domain of this InstanceConfigurationGmcConfigDetail.
+ :rtype: str
+ """
+ return self._availability_domain
+
+ @availability_domain.setter
+ def availability_domain(self, availability_domain):
+ """
+ Sets the availability_domain of this InstanceConfigurationGmcConfigDetail.
+ The availability domain for this GMC configuration entry.
+
+
+ :param availability_domain: The availability_domain of this InstanceConfigurationGmcConfigDetail.
+ :type: str
+ """
+ self._availability_domain = availability_domain
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this InstanceConfigurationGmcConfigDetail.
+ The `OCID`__ of the compartment associated with this GMC
+ configuration entry.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this InstanceConfigurationGmcConfigDetail.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this InstanceConfigurationGmcConfigDetail.
+ The `OCID`__ of the compartment associated with this GMC
+ configuration entry.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this InstanceConfigurationGmcConfigDetail.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def size(self):
+ """
+ Gets the size of this InstanceConfigurationGmcConfigDetail.
+ The desired number of instances for this GMC configuration entry.
+
+
+ :return: The size of this InstanceConfigurationGmcConfigDetail.
+ :rtype: int
+ """
+ return self._size
+
+ @size.setter
+ def size(self, size):
+ """
+ Sets the size of this InstanceConfigurationGmcConfigDetail.
+ The desired number of instances for this GMC configuration entry.
+
+
+ :param size: The size of this InstanceConfigurationGmcConfigDetail.
+ :type: int
+ """
+ self._size = size
+
+ @property
+ def gpu_memory_cluster_scale_config(self):
+ """
+ Gets the gpu_memory_cluster_scale_config of this InstanceConfigurationGmcConfigDetail.
+
+ :return: The gpu_memory_cluster_scale_config of this InstanceConfigurationGmcConfigDetail.
+ :rtype: oci.core.models.InstanceConfigurationGpuMemoryClusterScaleConfig
+ """
+ return self._gpu_memory_cluster_scale_config
+
+ @gpu_memory_cluster_scale_config.setter
+ def gpu_memory_cluster_scale_config(self, gpu_memory_cluster_scale_config):
+ """
+ Sets the gpu_memory_cluster_scale_config of this InstanceConfigurationGmcConfigDetail.
+
+ :param gpu_memory_cluster_scale_config: The gpu_memory_cluster_scale_config of this InstanceConfigurationGmcConfigDetail.
+ :type: oci.core.models.InstanceConfigurationGpuMemoryClusterScaleConfig
+ """
+ self._gpu_memory_cluster_scale_config = gpu_memory_cluster_scale_config
+
+ @property
+ def display_name(self):
+ """
+ Gets the display_name of this InstanceConfigurationGmcConfigDetail.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
+
+
+ :return: The display_name of this InstanceConfigurationGmcConfigDetail.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this InstanceConfigurationGmcConfigDetail.
+ A user-friendly name. Does not have to be unique, and it's changeable.
+ Avoid entering confidential information.
+
+
+ :param display_name: The display_name of this InstanceConfigurationGmcConfigDetail.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this InstanceConfigurationGmcConfigDetail.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this InstanceConfigurationGmcConfigDetail.
+ :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 InstanceConfigurationGmcConfigDetail.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this InstanceConfigurationGmcConfigDetail.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this InstanceConfigurationGmcConfigDetail.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this InstanceConfigurationGmcConfigDetail.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this InstanceConfigurationGmcConfigDetail.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this InstanceConfigurationGmcConfigDetail.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_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/core/models/instance_configuration_gpu_memory_cluster_scale_config.py b/src/oci/core/models/instance_configuration_gpu_memory_cluster_scale_config.py
new file mode 100644
index 0000000000..776a50fa44
--- /dev/null
+++ b/src/oci/core/models/instance_configuration_gpu_memory_cluster_scale_config.py
@@ -0,0 +1,132 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 InstanceConfigurationGpuMemoryClusterScaleConfig(object):
+ """
+ Configuration settings for GPU Memory Cluster scaling.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new InstanceConfigurationGpuMemoryClusterScaleConfig object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param is_upsize_enabled:
+ The value to assign to the is_upsize_enabled property of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ :type is_upsize_enabled: bool
+
+ :param is_downsize_enabled:
+ The value to assign to the is_downsize_enabled property of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ :type is_downsize_enabled: bool
+
+ :param target_size:
+ The value to assign to the target_size property of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ :type target_size: int
+
+ """
+ self.swagger_types = {
+ 'is_upsize_enabled': 'bool',
+ 'is_downsize_enabled': 'bool',
+ 'target_size': 'int'
+ }
+ self.attribute_map = {
+ 'is_upsize_enabled': 'isUpsizeEnabled',
+ 'is_downsize_enabled': 'isDownsizeEnabled',
+ 'target_size': 'targetSize'
+ }
+ self._is_upsize_enabled = None
+ self._is_downsize_enabled = None
+ self._target_size = None
+
+ @property
+ def is_upsize_enabled(self):
+ """
+ **[Required]** Gets the is_upsize_enabled of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ Enables upsizing towards the target size.
+
+
+ :return: The is_upsize_enabled of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ :rtype: bool
+ """
+ return self._is_upsize_enabled
+
+ @is_upsize_enabled.setter
+ def is_upsize_enabled(self, is_upsize_enabled):
+ """
+ Sets the is_upsize_enabled of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ Enables upsizing towards the target size.
+
+
+ :param is_upsize_enabled: The is_upsize_enabled of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ :type: bool
+ """
+ self._is_upsize_enabled = is_upsize_enabled
+
+ @property
+ def is_downsize_enabled(self):
+ """
+ Gets the is_downsize_enabled of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ Enables downsizing towards the target size.
+
+
+ :return: The is_downsize_enabled of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ :rtype: bool
+ """
+ return self._is_downsize_enabled
+
+ @is_downsize_enabled.setter
+ def is_downsize_enabled(self, is_downsize_enabled):
+ """
+ Sets the is_downsize_enabled of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ Enables downsizing towards the target size.
+
+
+ :param is_downsize_enabled: The is_downsize_enabled of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ :type: bool
+ """
+ self._is_downsize_enabled = is_downsize_enabled
+
+ @property
+ def target_size(self):
+ """
+ Gets the target_size of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ The configured target size for the GPU Memory Cluster.
+
+
+ :return: The target_size of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ :rtype: int
+ """
+ return self._target_size
+
+ @target_size.setter
+ def target_size(self, target_size):
+ """
+ Sets the target_size of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ The configured target size for the GPU Memory Cluster.
+
+
+ :param target_size: The target_size of this InstanceConfigurationGpuMemoryClusterScaleConfig.
+ :type: int
+ """
+ self._target_size = target_size
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/core/models/instance_pool.py b/src/oci/core/models/instance_pool.py
index d60b8adc19..a174a151f8 100644
--- a/src/oci/core/models/instance_pool.py
+++ b/src/oci/core/models/instance_pool.py
@@ -19,6 +19,14 @@ class InstancePool(object):
__ https://docs.oracle.com/iaas/Content/Compute/Concepts/instancemanagement.htm
"""
+ #: A constant which can be used with the pool_type property of a InstancePool.
+ #: This constant has a value of "INSTANCE"
+ POOL_TYPE_INSTANCE = "INSTANCE"
+
+ #: A constant which can be used with the pool_type property of a InstancePool.
+ #: This constant has a value of "GMC"
+ POOL_TYPE_GMC = "GMC"
+
#: A constant which can be used with the lifecycle_state property of a InstancePool.
#: This constant has a value of "PROVISIONING"
LIFECYCLE_STATE_PROVISIONING = "PROVISIONING"
@@ -80,6 +88,12 @@ def __init__(self, **kwargs):
The value to assign to the instance_configuration_id property of this InstancePool.
:type instance_configuration_id: str
+ :param pool_type:
+ The value to assign to the pool_type property of this InstancePool.
+ Allowed values for this property are: "INSTANCE", "GMC", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type pool_type: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this InstancePool.
Allowed values for this property are: "PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING", 'UNKNOWN_ENUM_VALUE'.
@@ -126,6 +140,7 @@ def __init__(self, **kwargs):
'display_name': 'str',
'freeform_tags': 'dict(str, str)',
'instance_configuration_id': 'str',
+ 'pool_type': 'str',
'lifecycle_state': 'str',
'placement_configurations': 'list[InstancePoolPlacementConfiguration]',
'size': 'int',
@@ -143,6 +158,7 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'freeform_tags': 'freeformTags',
'instance_configuration_id': 'instanceConfigurationId',
+ 'pool_type': 'poolType',
'lifecycle_state': 'lifecycleState',
'placement_configurations': 'placementConfigurations',
'size': 'size',
@@ -159,6 +175,7 @@ def __init__(self, **kwargs):
self._display_name = None
self._freeform_tags = None
self._instance_configuration_id = None
+ self._pool_type = None
self._lifecycle_state = None
self._placement_configurations = None
self._size = None
@@ -351,6 +368,36 @@ def instance_configuration_id(self, instance_configuration_id):
"""
self._instance_configuration_id = instance_configuration_id
+ @property
+ def pool_type(self):
+ """
+ Gets the pool_type of this InstancePool.
+ The type of resources managed by the pool.
+
+ Allowed values for this property are: "INSTANCE", "GMC", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The pool_type of this InstancePool.
+ :rtype: str
+ """
+ return self._pool_type
+
+ @pool_type.setter
+ def pool_type(self, pool_type):
+ """
+ Sets the pool_type of this InstancePool.
+ The type of resources managed by the pool.
+
+
+ :param pool_type: The pool_type of this InstancePool.
+ :type: str
+ """
+ allowed_values = ["INSTANCE", "GMC"]
+ if not value_allowed_none_or_none_sentinel(pool_type, allowed_values):
+ pool_type = 'UNKNOWN_ENUM_VALUE'
+ self._pool_type = pool_type
+
@property
def lifecycle_state(self):
"""
diff --git a/src/oci/core/models/instance_pool_summary.py b/src/oci/core/models/instance_pool_summary.py
index 02323ba2ea..2da6f69a82 100644
--- a/src/oci/core/models/instance_pool_summary.py
+++ b/src/oci/core/models/instance_pool_summary.py
@@ -68,6 +68,10 @@ def __init__(self, **kwargs):
The value to assign to the instance_configuration_id property of this InstancePoolSummary.
:type instance_configuration_id: str
+ :param pool_type:
+ The value to assign to the pool_type property of this InstancePoolSummary.
+ :type pool_type: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this InstancePoolSummary.
Allowed values for this property are: "PROVISIONING", "SCALING", "STARTING", "STOPPING", "TERMINATING", "STOPPED", "TERMINATED", "RUNNING", 'UNKNOWN_ENUM_VALUE'.
@@ -104,6 +108,7 @@ def __init__(self, **kwargs):
'compartment_id': 'str',
'display_name': 'str',
'instance_configuration_id': 'str',
+ 'pool_type': 'str',
'lifecycle_state': 'str',
'availability_domains': 'list[str]',
'size': 'int',
@@ -117,6 +122,7 @@ def __init__(self, **kwargs):
'compartment_id': 'compartmentId',
'display_name': 'displayName',
'instance_configuration_id': 'instanceConfigurationId',
+ 'pool_type': 'poolType',
'lifecycle_state': 'lifecycleState',
'availability_domains': 'availabilityDomains',
'size': 'size',
@@ -129,6 +135,7 @@ def __init__(self, **kwargs):
self._compartment_id = None
self._display_name = None
self._instance_configuration_id = None
+ self._pool_type = None
self._lifecycle_state = None
self._availability_domains = None
self._size = None
@@ -235,6 +242,30 @@ def instance_configuration_id(self, instance_configuration_id):
"""
self._instance_configuration_id = instance_configuration_id
+ @property
+ def pool_type(self):
+ """
+ Gets the pool_type of this InstancePoolSummary.
+ The type of resources managed by the pool.
+
+
+ :return: The pool_type of this InstancePoolSummary.
+ :rtype: str
+ """
+ return self._pool_type
+
+ @pool_type.setter
+ def pool_type(self, pool_type):
+ """
+ Sets the pool_type of this InstancePoolSummary.
+ The type of resources managed by the pool.
+
+
+ :param pool_type: The pool_type of this InstancePoolSummary.
+ :type: str
+ """
+ self._pool_type = pool_type
+
@property
def lifecycle_state(self):
"""
diff --git a/src/oci/core/models/instances.py b/src/oci/core/models/instances.py
new file mode 100644
index 0000000000..f661852b9c
--- /dev/null
+++ b/src/oci/core/models/instances.py
@@ -0,0 +1,39 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 Instances(object):
+ """
+ SPLAT authorization alias for Compute instance operations that use the downstream instances resource kind.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new Instances object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ """
+ self.swagger_types = {
+ }
+ self.attribute_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/core/models/internet_gateway.py b/src/oci/core/models/internet_gateway.py
index 922144a7b5..dbc6d87ea9 100644
--- a/src/oci/core/models/internet_gateway.py
+++ b/src/oci/core/models/internet_gateway.py
@@ -75,6 +75,10 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
+ :param system_tags:
+ The value to assign to the system_tags property of this InternetGateway.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this InternetGateway.
:type time_created: datetime
@@ -96,6 +100,7 @@ def __init__(self, **kwargs):
'id': 'str',
'is_enabled': 'bool',
'lifecycle_state': 'str',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'vcn_id': 'str',
'route_table_id': 'str'
@@ -108,6 +113,7 @@ def __init__(self, **kwargs):
'id': 'id',
'is_enabled': 'isEnabled',
'lifecycle_state': 'lifecycleState',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'vcn_id': 'vcnId',
'route_table_id': 'routeTableId'
@@ -119,6 +125,7 @@ def __init__(self, **kwargs):
self._id = None
self._is_enabled = None
self._lifecycle_state = None
+ self._system_tags = None
self._time_created = None
self._vcn_id = None
self._route_table_id = None
@@ -329,6 +336,32 @@ def lifecycle_state(self, lifecycle_state):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this InternetGateway.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this InternetGateway.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this InternetGateway.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this InternetGateway.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
diff --git a/src/oci/core/models/ipv6.py b/src/oci/core/models/ipv6.py
index ae8459e116..d8e25f8709 100644
--- a/src/oci/core/models/ipv6.py
+++ b/src/oci/core/models/ipv6.py
@@ -99,6 +99,10 @@ def __init__(self, **kwargs):
The value to assign to the subnet_id property of this Ipv6.
:type subnet_id: str
+ :param system_tags:
+ The value to assign to the system_tags property of this Ipv6.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this Ipv6.
:type time_created: datetime
@@ -123,6 +127,10 @@ def __init__(self, **kwargs):
The value to assign to the route_table_id property of this Ipv6.
:type route_table_id: str
+ :param hostname:
+ The value to assign to the hostname property of this Ipv6.
+ :type hostname: str
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -134,11 +142,13 @@ def __init__(self, **kwargs):
'cidr_prefix_length': 'int',
'lifecycle_state': 'str',
'subnet_id': 'str',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'vnic_id': 'str',
'ip_state': 'str',
'lifetime': 'str',
- 'route_table_id': 'str'
+ 'route_table_id': 'str',
+ 'hostname': 'str'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
@@ -150,11 +160,13 @@ def __init__(self, **kwargs):
'cidr_prefix_length': 'cidrPrefixLength',
'lifecycle_state': 'lifecycleState',
'subnet_id': 'subnetId',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'vnic_id': 'vnicId',
'ip_state': 'ipState',
'lifetime': 'lifetime',
- 'route_table_id': 'routeTableId'
+ 'route_table_id': 'routeTableId',
+ 'hostname': 'hostname'
}
self._compartment_id = None
self._defined_tags = None
@@ -165,11 +177,13 @@ def __init__(self, **kwargs):
self._cidr_prefix_length = None
self._lifecycle_state = None
self._subnet_id = None
+ self._system_tags = None
self._time_created = None
self._vnic_id = None
self._ip_state = None
self._lifetime = None
self._route_table_id = None
+ self._hostname = None
@property
def compartment_id(self):
@@ -435,6 +449,32 @@ def subnet_id(self, subnet_id):
"""
self._subnet_id = subnet_id
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this Ipv6.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this Ipv6.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this Ipv6.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this Ipv6.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
@@ -595,6 +635,30 @@ def route_table_id(self, route_table_id):
"""
self._route_table_id = route_table_id
+ @property
+ def hostname(self):
+ """
+ Gets the hostname of this Ipv6.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :return: The hostname of this Ipv6.
+ :rtype: str
+ """
+ return self._hostname
+
+ @hostname.setter
+ def hostname(self, hostname):
+ """
+ Sets the hostname of this Ipv6.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :param hostname: The hostname of this Ipv6.
+ :type: str
+ """
+ self._hostname = hostname
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/launch_instance_licensing_config.py b/src/oci/core/models/launch_instance_licensing_config.py
index 6907a1d7f1..68ce72ef11 100644
--- a/src/oci/core/models/launch_instance_licensing_config.py
+++ b/src/oci/core/models/launch_instance_licensing_config.py
@@ -27,6 +27,10 @@ class LaunchInstanceLicensingConfig(object):
#: This constant has a value of "BRING_YOUR_OWN_LICENSE"
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
+ #: A constant which can be used with the license_type property of a LaunchInstanceLicensingConfig.
+ #: This constant has a value of "PARTNER_PROVIDED"
+ LICENSE_TYPE_PARTNER_PROVIDED = "PARTNER_PROVIDED"
+
def __init__(self, **kwargs):
"""
Initializes a new LaunchInstanceLicensingConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
@@ -44,7 +48,7 @@ def __init__(self, **kwargs):
:param license_type:
The value to assign to the license_type property of this LaunchInstanceLicensingConfig.
- Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type license_type: str
@@ -110,8 +114,9 @@ def license_type(self):
License Type for the OS license.
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
+ * `PARTNER_PROVIDED` - Partner provided license.
- Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -127,12 +132,13 @@ def license_type(self, license_type):
License Type for the OS license.
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
+ * `PARTNER_PROVIDED` - Partner provided license.
:param license_type: The license_type of this LaunchInstanceLicensingConfig.
:type: str
"""
- allowed_values = ["OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"]
+ allowed_values = ["OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED"]
if not value_allowed_none_or_none_sentinel(license_type, allowed_values):
license_type = 'UNKNOWN_ENUM_VALUE'
self._license_type = license_type
diff --git a/src/oci/core/models/launch_instance_windows_licensing_config.py b/src/oci/core/models/launch_instance_windows_licensing_config.py
index 0a2505a725..a5070833a8 100644
--- a/src/oci/core/models/launch_instance_windows_licensing_config.py
+++ b/src/oci/core/models/launch_instance_windows_licensing_config.py
@@ -28,7 +28,7 @@ def __init__(self, **kwargs):
:param license_type:
The value to assign to the license_type property of this LaunchInstanceWindowsLicensingConfig.
- Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"
+ Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED"
:type license_type: str
"""
diff --git a/src/oci/core/models/letter_of_authority.py b/src/oci/core/models/letter_of_authority.py
index fa5a2a3f51..c2dc2af223 100644
--- a/src/oci/core/models/letter_of_authority.py
+++ b/src/oci/core/models/letter_of_authority.py
@@ -59,6 +59,14 @@ def __init__(self, **kwargs):
The value to assign to the time_issued property of this LetterOfAuthority.
:type time_issued: datetime
+ :param authorized_agent:
+ The value to assign to the authorized_agent property of this LetterOfAuthority.
+ :type authorized_agent: str
+
+ :param extension_details:
+ The value to assign to the extension_details property of this LetterOfAuthority.
+ :type extension_details: oci.core.models.LoaExtensionData
+
"""
self.swagger_types = {
'authorized_entity_name': 'str',
@@ -67,7 +75,9 @@ def __init__(self, **kwargs):
'facility_location': 'str',
'port_name': 'str',
'time_expires': 'datetime',
- 'time_issued': 'datetime'
+ 'time_issued': 'datetime',
+ 'authorized_agent': 'str',
+ 'extension_details': 'LoaExtensionData'
}
self.attribute_map = {
'authorized_entity_name': 'authorizedEntityName',
@@ -76,7 +86,9 @@ def __init__(self, **kwargs):
'facility_location': 'facilityLocation',
'port_name': 'portName',
'time_expires': 'timeExpires',
- 'time_issued': 'timeIssued'
+ 'time_issued': 'timeIssued',
+ 'authorized_agent': 'authorizedAgent',
+ 'extension_details': 'extensionDetails'
}
self._authorized_entity_name = None
self._circuit_type = None
@@ -85,6 +97,8 @@ def __init__(self, **kwargs):
self._port_name = None
self._time_expires = None
self._time_issued = None
+ self._authorized_agent = None
+ self._extension_details = None
@property
def authorized_entity_name(self):
@@ -276,6 +290,50 @@ def time_issued(self, time_issued):
"""
self._time_issued = time_issued
+ @property
+ def authorized_agent(self):
+ """
+ Gets the authorized_agent of this LetterOfAuthority.
+ Name of a customer authorized agent which will be appended to the LOA as 'Authorized Agent'.
+
+
+ :return: The authorized_agent of this LetterOfAuthority.
+ :rtype: str
+ """
+ return self._authorized_agent
+
+ @authorized_agent.setter
+ def authorized_agent(self, authorized_agent):
+ """
+ Sets the authorized_agent of this LetterOfAuthority.
+ Name of a customer authorized agent which will be appended to the LOA as 'Authorized Agent'.
+
+
+ :param authorized_agent: The authorized_agent of this LetterOfAuthority.
+ :type: str
+ """
+ self._authorized_agent = authorized_agent
+
+ @property
+ def extension_details(self):
+ """
+ Gets the extension_details of this LetterOfAuthority.
+
+ :return: The extension_details of this LetterOfAuthority.
+ :rtype: oci.core.models.LoaExtensionData
+ """
+ return self._extension_details
+
+ @extension_details.setter
+ def extension_details(self, extension_details):
+ """
+ Sets the extension_details of this LetterOfAuthority.
+
+ :param extension_details: The extension_details of this LetterOfAuthority.
+ :type: oci.core.models.LoaExtensionData
+ """
+ self._extension_details = extension_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/licensing_config.py b/src/oci/core/models/licensing_config.py
index 332275fb78..f53a1ab247 100644
--- a/src/oci/core/models/licensing_config.py
+++ b/src/oci/core/models/licensing_config.py
@@ -27,6 +27,10 @@ class LicensingConfig(object):
#: This constant has a value of "BRING_YOUR_OWN_LICENSE"
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
+ #: A constant which can be used with the license_type property of a LicensingConfig.
+ #: This constant has a value of "PARTNER_PROVIDED"
+ LICENSE_TYPE_PARTNER_PROVIDED = "PARTNER_PROVIDED"
+
def __init__(self, **kwargs):
"""
Initializes a new LicensingConfig object with values from keyword arguments.
@@ -40,7 +44,7 @@ def __init__(self, **kwargs):
:param license_type:
The value to assign to the license_type property of this LicensingConfig.
- Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type license_type: str
@@ -100,8 +104,9 @@ def license_type(self):
License Type for the OS license.
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
+ * `PARTNER_PROVIDED` - Partner provided license.
- Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -117,12 +122,13 @@ def license_type(self, license_type):
License Type for the OS license.
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
+ * `PARTNER_PROVIDED` - Partner provided license.
:param license_type: The license_type of this LicensingConfig.
:type: str
"""
- allowed_values = ["OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"]
+ allowed_values = ["OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED"]
if not value_allowed_none_or_none_sentinel(license_type, allowed_values):
license_type = 'UNKNOWN_ENUM_VALUE'
self._license_type = license_type
diff --git a/src/oci/core/models/loa_extension_data.py b/src/oci/core/models/loa_extension_data.py
new file mode 100644
index 0000000000..cb3ac9f33f
--- /dev/null
+++ b/src/oci/core/models/loa_extension_data.py
@@ -0,0 +1,110 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 LoaExtensionData(object):
+ """
+ Data related to the extension of the Expiry date of the LOA. It gives you number of remaining extensions along
+ with a history of past extensions made on the LOA.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new LoaExtensionData object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param remaining_extensions:
+ The value to assign to the remaining_extensions property of this LoaExtensionData.
+ :type remaining_extensions: int
+
+ :param history:
+ The value to assign to the history property of this LoaExtensionData.
+ :type history: list[str]
+
+ """
+ self.swagger_types = {
+ 'remaining_extensions': 'int',
+ 'history': 'list[str]'
+ }
+ self.attribute_map = {
+ 'remaining_extensions': 'remainingExtensions',
+ 'history': 'history'
+ }
+ self._remaining_extensions = None
+ self._history = None
+
+ @property
+ def remaining_extensions(self):
+ """
+ Gets the remaining_extensions of this LoaExtensionData.
+ The maximum number of times this LOA's expiry can be extended.
+
+
+ :return: The remaining_extensions of this LoaExtensionData.
+ :rtype: int
+ """
+ return self._remaining_extensions
+
+ @remaining_extensions.setter
+ def remaining_extensions(self, remaining_extensions):
+ """
+ Sets the remaining_extensions of this LoaExtensionData.
+ The maximum number of times this LOA's expiry can be extended.
+
+
+ :param remaining_extensions: The remaining_extensions of this LoaExtensionData.
+ :type: int
+ """
+ self._remaining_extensions = remaining_extensions
+
+ @property
+ def history(self):
+ """
+ Gets the history of this LoaExtensionData.
+ Chronologically sorted list of date and time when the Letter of Authority's expiration was last updated,
+ most recent first, in the format defined by `RFC3339`__. List is empty
+ if the LOA's expiration date has never been extended.
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :return: The history of this LoaExtensionData.
+ :rtype: list[str]
+ """
+ return self._history
+
+ @history.setter
+ def history(self, history):
+ """
+ Sets the history of this LoaExtensionData.
+ Chronologically sorted list of date and time when the Letter of Authority's expiration was last updated,
+ most recent first, in the format defined by `RFC3339`__. List is empty
+ if the LOA's expiration date has never been extended.
+
+ __ https://tools.ietf.org/html/rfc3339
+
+
+ :param history: The history of this LoaExtensionData.
+ :type: list[str]
+ """
+ self._history = history
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/core/models/network_security_group.py b/src/oci/core/models/network_security_group.py
index 20858feb3d..46a4113ce6 100644
--- a/src/oci/core/models/network_security_group.py
+++ b/src/oci/core/models/network_security_group.py
@@ -102,6 +102,10 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
+ :param system_tags:
+ The value to assign to the system_tags property of this NetworkSecurityGroup.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this NetworkSecurityGroup.
:type time_created: datetime
@@ -118,6 +122,7 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'id': 'str',
'lifecycle_state': 'str',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'vcn_id': 'str'
}
@@ -128,6 +133,7 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'id': 'id',
'lifecycle_state': 'lifecycleState',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'vcn_id': 'vcnId'
}
@@ -137,6 +143,7 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._id = None
self._lifecycle_state = None
+ self._system_tags = None
self._time_created = None
self._vcn_id = None
@@ -320,6 +327,32 @@ def lifecycle_state(self, lifecycle_state):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this NetworkSecurityGroup.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this NetworkSecurityGroup.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this NetworkSecurityGroup.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this NetworkSecurityGroup.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
diff --git a/src/oci/core/models/placement_constraint_details.py b/src/oci/core/models/placement_constraint_details.py
index 1c47fb0061..0b3fafda6d 100644
--- a/src/oci/core/models/placement_constraint_details.py
+++ b/src/oci/core/models/placement_constraint_details.py
@@ -21,6 +21,7 @@ def __init__(self, **kwargs):
to a service operations then you should favor using a subclass over the base class:
* :class:`~oci.core.models.HostGroupPlacementConstraintDetails`
+ * :class:`~oci.core.models.ComputeClusterPlacementConstraintDetails`
* :class:`~oci.core.models.ComputeBareMetalHostPlacementConstraintDetails`
The following keyword arguments are supported (corresponding to the getters/setters of this class):
@@ -49,6 +50,9 @@ def get_subtype(object_dictionary):
if type == 'HOST_GROUP':
return 'HostGroupPlacementConstraintDetails'
+ if type == 'COMPUTE_CLUSTER':
+ return 'ComputeClusterPlacementConstraintDetails'
+
if type == 'COMPUTE_BARE_METAL_HOST':
return 'ComputeBareMetalHostPlacementConstraintDetails'
else:
@@ -61,6 +65,7 @@ def type(self):
The type for the placement constraints.
Use `COMPUTE_BARE_METAL_HOST` when specifying the compute bare metal host OCID.
Use `HOST_GROUP` when specifying the compute host group OCID.
+ Use `COMPUTE_CLUSTER` when specifying compute cluster placement constraints.
:return: The type of this PlacementConstraintDetails.
@@ -75,6 +80,7 @@ def type(self, type):
The type for the placement constraints.
Use `COMPUTE_BARE_METAL_HOST` when specifying the compute bare metal host OCID.
Use `HOST_GROUP` when specifying the compute host group OCID.
+ Use `COMPUTE_CLUSTER` when specifying compute cluster placement constraints.
:param type: The type of this PlacementConstraintDetails.
diff --git a/src/oci/core/models/provider_remote_region_name.py b/src/oci/core/models/provider_remote_region_name.py
new file mode 100644
index 0000000000..c489b608f1
--- /dev/null
+++ b/src/oci/core/models/provider_remote_region_name.py
@@ -0,0 +1,105 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 ProviderRemoteRegionName(object):
+ """
+ A pair of OCI region and Provider remote region names for FastConnect MultiCloud interconnect.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ProviderRemoteRegionName object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param oci_region_name:
+ The value to assign to the oci_region_name property of this ProviderRemoteRegionName.
+ :type oci_region_name: str
+
+ :param provider_region_name:
+ The value to assign to the provider_region_name property of this ProviderRemoteRegionName.
+ :type provider_region_name: str
+
+ """
+ self.swagger_types = {
+ 'oci_region_name': 'str',
+ 'provider_region_name': 'str'
+ }
+ self.attribute_map = {
+ 'oci_region_name': 'ociRegionName',
+ 'provider_region_name': 'providerRegionName'
+ }
+ self._oci_region_name = None
+ self._provider_region_name = None
+
+ @property
+ def oci_region_name(self):
+ """
+ **[Required]** Gets the oci_region_name of this ProviderRemoteRegionName.
+ The OCI region name associated with the provider remote region.
+ Example: `us-ashburn-1`.
+
+
+ :return: The oci_region_name of this ProviderRemoteRegionName.
+ :rtype: str
+ """
+ return self._oci_region_name
+
+ @oci_region_name.setter
+ def oci_region_name(self, oci_region_name):
+ """
+ Sets the oci_region_name of this ProviderRemoteRegionName.
+ The OCI region name associated with the provider remote region.
+ Example: `us-ashburn-1`.
+
+
+ :param oci_region_name: The oci_region_name of this ProviderRemoteRegionName.
+ :type: str
+ """
+ self._oci_region_name = oci_region_name
+
+ @property
+ def provider_region_name(self):
+ """
+ **[Required]** Gets the provider_region_name of this ProviderRemoteRegionName.
+ The provider remote region name associated with the OCI region.
+ Example: `us-east-1`.
+
+
+ :return: The provider_region_name of this ProviderRemoteRegionName.
+ :rtype: str
+ """
+ return self._provider_region_name
+
+ @provider_region_name.setter
+ def provider_region_name(self, provider_region_name):
+ """
+ Sets the provider_region_name of this ProviderRemoteRegionName.
+ The provider remote region name associated with the OCI region.
+ Example: `us-east-1`.
+
+
+ :param provider_region_name: The provider_region_name of this ProviderRemoteRegionName.
+ :type: str
+ """
+ self._provider_region_name = provider_region_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/core/models/quick_recycle_settings.py b/src/oci/core/models/quick_recycle_settings.py
new file mode 100644
index 0000000000..f5647daeda
--- /dev/null
+++ b/src/oci/core/models/quick_recycle_settings.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 QuickRecycleSettings(object):
+ """
+ Additional quick recycle settings.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new QuickRecycleSettings object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param nvme_wipe:
+ The value to assign to the nvme_wipe property of this QuickRecycleSettings.
+ :type nvme_wipe: bool
+
+ """
+ self.swagger_types = {
+ 'nvme_wipe': 'bool'
+ }
+ self.attribute_map = {
+ 'nvme_wipe': 'nvmeWipe'
+ }
+ self._nvme_wipe = None
+
+ @property
+ def nvme_wipe(self):
+ """
+ Gets the nvme_wipe of this QuickRecycleSettings.
+ Whether to wipe NVMe data during quick recycle.
+
+
+ :return: The nvme_wipe of this QuickRecycleSettings.
+ :rtype: bool
+ """
+ return self._nvme_wipe
+
+ @nvme_wipe.setter
+ def nvme_wipe(self, nvme_wipe):
+ """
+ Sets the nvme_wipe of this QuickRecycleSettings.
+ Whether to wipe NVMe data during quick recycle.
+
+
+ :param nvme_wipe: The nvme_wipe of this QuickRecycleSettings.
+ :type: bool
+ """
+ self._nvme_wipe = nvme_wipe
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/core/models/retention_duration.py b/src/oci/core/models/retention_duration.py
new file mode 100644
index 0000000000..b2e4859b3b
--- /dev/null
+++ b/src/oci/core/models/retention_duration.py
@@ -0,0 +1,117 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 RetentionDuration(object):
+ """
+ This field is used to define the retention period for backups. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
+ """
+
+ #: A constant which can be used with the retention_time_unit property of a RetentionDuration.
+ #: This constant has a value of "YEARS"
+ RETENTION_TIME_UNIT_YEARS = "YEARS"
+
+ #: A constant which can be used with the retention_time_unit property of a RetentionDuration.
+ #: This constant has a value of "DAYS"
+ RETENTION_TIME_UNIT_DAYS = "DAYS"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RetentionDuration object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param retention_time_unit:
+ The value to assign to the retention_time_unit property of this RetentionDuration.
+ Allowed values for this property are: "YEARS", "DAYS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type retention_time_unit: str
+
+ :param retention_time_amount:
+ The value to assign to the retention_time_amount property of this RetentionDuration.
+ :type retention_time_amount: int
+
+ """
+ self.swagger_types = {
+ 'retention_time_unit': 'str',
+ 'retention_time_amount': 'int'
+ }
+ self.attribute_map = {
+ 'retention_time_unit': 'retentionTimeUnit',
+ 'retention_time_amount': 'retentionTimeAmount'
+ }
+ self._retention_time_unit = None
+ self._retention_time_amount = None
+
+ @property
+ def retention_time_unit(self):
+ """
+ **[Required]** Gets the retention_time_unit of this RetentionDuration.
+ The value you can assign to the Time Unit property for this Duration may be either \"YEARS\" or \"DAYS\".
+
+ Allowed values for this property are: "YEARS", "DAYS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The retention_time_unit of this RetentionDuration.
+ :rtype: str
+ """
+ return self._retention_time_unit
+
+ @retention_time_unit.setter
+ def retention_time_unit(self, retention_time_unit):
+ """
+ Sets the retention_time_unit of this RetentionDuration.
+ The value you can assign to the Time Unit property for this Duration may be either \"YEARS\" or \"DAYS\".
+
+
+ :param retention_time_unit: The retention_time_unit of this RetentionDuration.
+ :type: str
+ """
+ allowed_values = ["YEARS", "DAYS"]
+ if not value_allowed_none_or_none_sentinel(retention_time_unit, allowed_values):
+ retention_time_unit = 'UNKNOWN_ENUM_VALUE'
+ self._retention_time_unit = retention_time_unit
+
+ @property
+ def retention_time_amount(self):
+ """
+ **[Required]** Gets the retention_time_amount of this RetentionDuration.
+ The value to enter for the amount of retention time should be a numerical figure (such as 1, 7, 30, etc.) that corresponds to the period specified in the retention time unit property (such as YEARS, DAYS). The combination of these two properties determines the total length of the retention period.
+
+
+ :return: The retention_time_amount of this RetentionDuration.
+ :rtype: int
+ """
+ return self._retention_time_amount
+
+ @retention_time_amount.setter
+ def retention_time_amount(self, retention_time_amount):
+ """
+ Sets the retention_time_amount of this RetentionDuration.
+ The value to enter for the amount of retention time should be a numerical figure (such as 1, 7, 30, etc.) that corresponds to the period specified in the retention time unit property (such as YEARS, DAYS). The combination of these two properties determines the total length of the retention period.
+
+
+ :param retention_time_amount: The retention_time_amount of this RetentionDuration.
+ :type: int
+ """
+ self._retention_time_amount = retention_time_amount
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/core/models/route_table.py b/src/oci/core/models/route_table.py
index be5397da7e..3e2a02355f 100644
--- a/src/oci/core/models/route_table.py
+++ b/src/oci/core/models/route_table.py
@@ -75,6 +75,10 @@ def __init__(self, **kwargs):
The value to assign to the route_rules property of this RouteTable.
:type route_rules: list[oci.core.models.RouteRule]
+ :param system_tags:
+ The value to assign to the system_tags property of this RouteTable.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this RouteTable.
:type time_created: datetime
@@ -92,6 +96,7 @@ def __init__(self, **kwargs):
'id': 'str',
'lifecycle_state': 'str',
'route_rules': 'list[RouteRule]',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'vcn_id': 'str'
}
@@ -103,6 +108,7 @@ def __init__(self, **kwargs):
'id': 'id',
'lifecycle_state': 'lifecycleState',
'route_rules': 'routeRules',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'vcn_id': 'vcnId'
}
@@ -113,6 +119,7 @@ def __init__(self, **kwargs):
self._id = None
self._lifecycle_state = None
self._route_rules = None
+ self._system_tags = None
self._time_created = None
self._vcn_id = None
@@ -320,6 +327,32 @@ def route_rules(self, route_rules):
"""
self._route_rules = route_rules
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this RouteTable.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this RouteTable.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this RouteTable.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this RouteTable.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
diff --git a/src/oci/core/models/security_list.py b/src/oci/core/models/security_list.py
index 6100926881..55b869f27d 100644
--- a/src/oci/core/models/security_list.py
+++ b/src/oci/core/models/security_list.py
@@ -89,6 +89,10 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
+ :param system_tags:
+ The value to assign to the system_tags property of this SecurityList.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this SecurityList.
:type time_created: datetime
@@ -107,6 +111,7 @@ def __init__(self, **kwargs):
'id': 'str',
'ingress_security_rules': 'list[IngressSecurityRule]',
'lifecycle_state': 'str',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'vcn_id': 'str'
}
@@ -119,6 +124,7 @@ def __init__(self, **kwargs):
'id': 'id',
'ingress_security_rules': 'ingressSecurityRules',
'lifecycle_state': 'lifecycleState',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'vcn_id': 'vcnId'
}
@@ -130,6 +136,7 @@ def __init__(self, **kwargs):
self._id = None
self._ingress_security_rules = None
self._lifecycle_state = None
+ self._system_tags = None
self._time_created = None
self._vcn_id = None
@@ -361,6 +368,32 @@ def lifecycle_state(self, lifecycle_state):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this SecurityList.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this SecurityList.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this SecurityList.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this SecurityList.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
diff --git a/src/oci/core/models/subnet.py b/src/oci/core/models/subnet.py
index da33db4c18..c5ed485623 100644
--- a/src/oci/core/models/subnet.py
+++ b/src/oci/core/models/subnet.py
@@ -130,6 +130,10 @@ def __init__(self, **kwargs):
The value to assign to the subnet_domain_name property of this Subnet.
:type subnet_domain_name: str
+ :param system_tags:
+ The value to assign to the system_tags property of this Subnet.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this Subnet.
:type time_created: datetime
@@ -167,6 +171,7 @@ def __init__(self, **kwargs):
'route_table_id': 'str',
'security_list_ids': 'list[str]',
'subnet_domain_name': 'str',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'vcn_id': 'str',
'virtual_router_ip': 'str',
@@ -192,6 +197,7 @@ def __init__(self, **kwargs):
'route_table_id': 'routeTableId',
'security_list_ids': 'securityListIds',
'subnet_domain_name': 'subnetDomainName',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'vcn_id': 'vcnId',
'virtual_router_ip': 'virtualRouterIp',
@@ -216,6 +222,7 @@ def __init__(self, **kwargs):
self._route_table_id = None
self._security_list_ids = None
self._subnet_domain_name = None
+ self._system_tags = None
self._time_created = None
self._vcn_id = None
self._virtual_router_ip = None
@@ -254,7 +261,7 @@ def availability_domain(self, availability_domain):
@property
def cidr_block(self):
"""
- **[Required]** Gets the cidr_block of this Subnet.
+ Gets the cidr_block of this Subnet.
The subnet's CIDR block.
Example: `10.0.1.0/24`
@@ -843,6 +850,32 @@ def subnet_domain_name(self, subnet_domain_name):
"""
self._subnet_domain_name = subnet_domain_name
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this Subnet.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this Subnet.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this Subnet.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this Subnet.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
@@ -906,7 +939,7 @@ def vcn_id(self, vcn_id):
@property
def virtual_router_ip(self):
"""
- **[Required]** Gets the virtual_router_ip of this Subnet.
+ Gets the virtual_router_ip of this Subnet.
The IP address of the virtual router.
Example: `10.0.14.1`
diff --git a/src/oci/core/models/supported_capabilities.py b/src/oci/core/models/supported_capabilities.py
index cd5d4b8083..ba6d0f1dab 100644
--- a/src/oci/core/models/supported_capabilities.py
+++ b/src/oci/core/models/supported_capabilities.py
@@ -24,14 +24,21 @@ def __init__(self, **kwargs):
The value to assign to the is_memory_encryption_supported property of this SupportedCapabilities.
:type is_memory_encryption_supported: bool
+ :param is_burstable_supported:
+ The value to assign to the is_burstable_supported property of this SupportedCapabilities.
+ :type is_burstable_supported: bool
+
"""
self.swagger_types = {
- 'is_memory_encryption_supported': 'bool'
+ 'is_memory_encryption_supported': 'bool',
+ 'is_burstable_supported': 'bool'
}
self.attribute_map = {
- 'is_memory_encryption_supported': 'isMemoryEncryptionSupported'
+ 'is_memory_encryption_supported': 'isMemoryEncryptionSupported',
+ 'is_burstable_supported': 'isBurstableSupported'
}
self._is_memory_encryption_supported = None
+ self._is_burstable_supported = None
@property
def is_memory_encryption_supported(self):
@@ -57,6 +64,30 @@ def is_memory_encryption_supported(self, is_memory_encryption_supported):
"""
self._is_memory_encryption_supported = is_memory_encryption_supported
+ @property
+ def is_burstable_supported(self):
+ """
+ Gets the is_burstable_supported of this SupportedCapabilities.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :return: The is_burstable_supported of this SupportedCapabilities.
+ :rtype: bool
+ """
+ return self._is_burstable_supported
+
+ @is_burstable_supported.setter
+ def is_burstable_supported(self, is_burstable_supported):
+ """
+ Sets the is_burstable_supported of this SupportedCapabilities.
+ Specifies if the Dedicated Virtual Machine Host (DVMH) is to running only Burstable VMs. If `true`, only Burstable VMs can be launched. If `false`, Burstable VMs cannot be launched.
+
+
+ :param is_burstable_supported: The is_burstable_supported of this SupportedCapabilities.
+ :type: bool
+ """
+ self._is_burstable_supported = is_burstable_supported
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_boot_volume_backup_details.py b/src/oci/core/models/update_boot_volume_backup_details.py
index 14904109d3..ad3b9cc54f 100644
--- a/src/oci/core/models/update_boot_volume_backup_details.py
+++ b/src/oci/core/models/update_boot_volume_backup_details.py
@@ -36,23 +36,51 @@ def __init__(self, **kwargs):
The value to assign to the kms_key_id property of this UpdateBootVolumeBackupDetails.
:type kms_key_id: str
+ :param retention_period:
+ The value to assign to the retention_period property of this UpdateBootVolumeBackupDetails.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this UpdateBootVolumeBackupDetails.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this UpdateBootVolumeBackupDetails.
+ :type is_retention_lock_enabled: bool
+
+ :param is_indefinite_retention_enabled:
+ The value to assign to the is_indefinite_retention_enabled property of this UpdateBootVolumeBackupDetails.
+ :type is_indefinite_retention_enabled: bool
+
"""
self.swagger_types = {
'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'freeform_tags': 'dict(str, str)',
- 'kms_key_id': 'str'
+ 'kms_key_id': 'str',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool',
+ 'is_indefinite_retention_enabled': 'bool'
}
self.attribute_map = {
'defined_tags': 'definedTags',
'display_name': 'displayName',
'freeform_tags': 'freeformTags',
- 'kms_key_id': 'kmsKeyId'
+ 'kms_key_id': 'kmsKeyId',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled',
+ 'is_indefinite_retention_enabled': 'isIndefiniteRetentionEnabled'
}
self._defined_tags = None
self._display_name = None
self._freeform_tags = None
self._kms_key_id = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
+ self._is_indefinite_retention_enabled = None
@property
def defined_tags(self):
@@ -184,6 +212,98 @@ def kms_key_id(self, kms_key_id):
"""
self._kms_key_id = kms_key_id
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this UpdateBootVolumeBackupDetails.
+
+ :return: The retention_period of this UpdateBootVolumeBackupDetails.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this UpdateBootVolumeBackupDetails.
+
+ :param retention_period: The retention_period of this UpdateBootVolumeBackupDetails.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this UpdateBootVolumeBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this UpdateBootVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this UpdateBootVolumeBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this UpdateBootVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this UpdateBootVolumeBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this UpdateBootVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this UpdateBootVolumeBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this UpdateBootVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
+ @property
+ def is_indefinite_retention_enabled(self):
+ """
+ Gets the is_indefinite_retention_enabled of this UpdateBootVolumeBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :return: The is_indefinite_retention_enabled of this UpdateBootVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_indefinite_retention_enabled
+
+ @is_indefinite_retention_enabled.setter
+ def is_indefinite_retention_enabled(self, is_indefinite_retention_enabled):
+ """
+ Sets the is_indefinite_retention_enabled of this UpdateBootVolumeBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :param is_indefinite_retention_enabled: The is_indefinite_retention_enabled of this UpdateBootVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_indefinite_retention_enabled = is_indefinite_retention_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_compute_cluster_details.py b/src/oci/core/models/update_compute_cluster_details.py
index fe8fdcaee5..b0171070e6 100644
--- a/src/oci/core/models/update_compute_cluster_details.py
+++ b/src/oci/core/models/update_compute_cluster_details.py
@@ -12,8 +12,16 @@
@init_model_state_from_kwargs
class UpdateComputeClusterDetails(object):
"""
- The data to update a compute cluster. A `compute cluster`__
- is a remote direct memory access (RDMA) network group.
+ The data to update a `compute cluster`__.
+
+ Use `COMPUTE_CLUSTER` type when using placementConstraintDetails.
+
+ `placementConstraintDetails.hpcIslandId` is create-only and cannot be part of this update request.
+
+ All other fields in `placementConstraintDetails` are optional, and only the fields provided will be updated.
+
+ If `placementConstraintDetails.targetNetworkBlockIds` or `placementConstraintDetails.targetMemoryFabricIds` is
+ provided, then the target compute cluster must already have `hpcIslandId` persisted.
__ https://docs.oracle.com/iaas/Content/Compute/Tasks/compute-clusters.htm
"""
@@ -35,20 +43,27 @@ def __init__(self, **kwargs):
The value to assign to the freeform_tags property of this UpdateComputeClusterDetails.
:type freeform_tags: dict(str, str)
+ :param placement_constraint_details:
+ The value to assign to the placement_constraint_details property of this UpdateComputeClusterDetails.
+ :type placement_constraint_details: oci.core.models.PlacementConstraintDetails
+
"""
self.swagger_types = {
'display_name': 'str',
'defined_tags': 'dict(str, dict(str, object))',
- 'freeform_tags': 'dict(str, str)'
+ 'freeform_tags': 'dict(str, str)',
+ 'placement_constraint_details': 'PlacementConstraintDetails'
}
self.attribute_map = {
'display_name': 'displayName',
'defined_tags': 'definedTags',
- 'freeform_tags': 'freeformTags'
+ 'freeform_tags': 'freeformTags',
+ 'placement_constraint_details': 'placementConstraintDetails'
}
self._display_name = None
self._defined_tags = None
self._freeform_tags = None
+ self._placement_constraint_details = None
@property
def display_name(self):
@@ -144,6 +159,26 @@ def freeform_tags(self, freeform_tags):
"""
self._freeform_tags = freeform_tags
+ @property
+ def placement_constraint_details(self):
+ """
+ Gets the placement_constraint_details of this UpdateComputeClusterDetails.
+
+ :return: The placement_constraint_details of this UpdateComputeClusterDetails.
+ :rtype: oci.core.models.PlacementConstraintDetails
+ """
+ return self._placement_constraint_details
+
+ @placement_constraint_details.setter
+ def placement_constraint_details(self, placement_constraint_details):
+ """
+ Sets the placement_constraint_details of this UpdateComputeClusterDetails.
+
+ :param placement_constraint_details: The placement_constraint_details of this UpdateComputeClusterDetails.
+ :type: oci.core.models.PlacementConstraintDetails
+ """
+ self._placement_constraint_details = placement_constraint_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_cross_connect_details.py b/src/oci/core/models/update_cross_connect_details.py
index 0bfeab33c1..d4d1d906b0 100644
--- a/src/oci/core/models/update_cross_connect_details.py
+++ b/src/oci/core/models/update_cross_connect_details.py
@@ -44,6 +44,14 @@ def __init__(self, **kwargs):
The value to assign to the macsec_properties property of this UpdateCrossConnectDetails.
:type macsec_properties: oci.core.models.UpdateMacsecProperties
+ :param is_interface_hold_timer_enabled:
+ The value to assign to the is_interface_hold_timer_enabled property of this UpdateCrossConnectDetails.
+ :type is_interface_hold_timer_enabled: bool
+
+ :param interface_down_timer_value_in_milliseconds:
+ The value to assign to the interface_down_timer_value_in_milliseconds property of this UpdateCrossConnectDetails.
+ :type interface_down_timer_value_in_milliseconds: int
+
"""
self.swagger_types = {
'defined_tags': 'dict(str, dict(str, object))',
@@ -51,7 +59,9 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'is_active': 'bool',
'customer_reference_name': 'str',
- 'macsec_properties': 'UpdateMacsecProperties'
+ 'macsec_properties': 'UpdateMacsecProperties',
+ 'is_interface_hold_timer_enabled': 'bool',
+ 'interface_down_timer_value_in_milliseconds': 'int'
}
self.attribute_map = {
'defined_tags': 'definedTags',
@@ -59,7 +69,9 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'is_active': 'isActive',
'customer_reference_name': 'customerReferenceName',
- 'macsec_properties': 'macsecProperties'
+ 'macsec_properties': 'macsecProperties',
+ 'is_interface_hold_timer_enabled': 'isInterfaceHoldTimerEnabled',
+ 'interface_down_timer_value_in_milliseconds': 'interfaceDownTimerValueInMilliseconds'
}
self._defined_tags = None
self._display_name = None
@@ -67,6 +79,8 @@ def __init__(self, **kwargs):
self._is_active = None
self._customer_reference_name = None
self._macsec_properties = None
+ self._is_interface_hold_timer_enabled = None
+ self._interface_down_timer_value_in_milliseconds = None
@property
def defined_tags(self):
@@ -238,6 +252,54 @@ def macsec_properties(self, macsec_properties):
"""
self._macsec_properties = macsec_properties
+ @property
+ def is_interface_hold_timer_enabled(self):
+ """
+ Gets the is_interface_hold_timer_enabled of this UpdateCrossConnectDetails.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :return: The is_interface_hold_timer_enabled of this UpdateCrossConnectDetails.
+ :rtype: bool
+ """
+ return self._is_interface_hold_timer_enabled
+
+ @is_interface_hold_timer_enabled.setter
+ def is_interface_hold_timer_enabled(self, is_interface_hold_timer_enabled):
+ """
+ Sets the is_interface_hold_timer_enabled of this UpdateCrossConnectDetails.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :param is_interface_hold_timer_enabled: The is_interface_hold_timer_enabled of this UpdateCrossConnectDetails.
+ :type: bool
+ """
+ self._is_interface_hold_timer_enabled = is_interface_hold_timer_enabled
+
+ @property
+ def interface_down_timer_value_in_milliseconds(self):
+ """
+ Gets the interface_down_timer_value_in_milliseconds of this UpdateCrossConnectDetails.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :return: The interface_down_timer_value_in_milliseconds of this UpdateCrossConnectDetails.
+ :rtype: int
+ """
+ return self._interface_down_timer_value_in_milliseconds
+
+ @interface_down_timer_value_in_milliseconds.setter
+ def interface_down_timer_value_in_milliseconds(self, interface_down_timer_value_in_milliseconds):
+ """
+ Sets the interface_down_timer_value_in_milliseconds of this UpdateCrossConnectDetails.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :param interface_down_timer_value_in_milliseconds: The interface_down_timer_value_in_milliseconds of this UpdateCrossConnectDetails.
+ :type: int
+ """
+ self._interface_down_timer_value_in_milliseconds = interface_down_timer_value_in_milliseconds
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_cross_connect_group_details.py b/src/oci/core/models/update_cross_connect_group_details.py
index 2202f5389f..c03952fcfa 100644
--- a/src/oci/core/models/update_cross_connect_group_details.py
+++ b/src/oci/core/models/update_cross_connect_group_details.py
@@ -40,26 +40,47 @@ def __init__(self, **kwargs):
The value to assign to the macsec_properties property of this UpdateCrossConnectGroupDetails.
:type macsec_properties: oci.core.models.UpdateMacsecProperties
+ :param minimum_links:
+ The value to assign to the minimum_links property of this UpdateCrossConnectGroupDetails.
+ :type minimum_links: int
+
+ :param is_interface_hold_timer_enabled:
+ The value to assign to the is_interface_hold_timer_enabled property of this UpdateCrossConnectGroupDetails.
+ :type is_interface_hold_timer_enabled: bool
+
+ :param interface_down_timer_value_in_milliseconds:
+ The value to assign to the interface_down_timer_value_in_milliseconds property of this UpdateCrossConnectGroupDetails.
+ :type interface_down_timer_value_in_milliseconds: int
+
"""
self.swagger_types = {
'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'customer_reference_name': 'str',
'freeform_tags': 'dict(str, str)',
- 'macsec_properties': 'UpdateMacsecProperties'
+ 'macsec_properties': 'UpdateMacsecProperties',
+ 'minimum_links': 'int',
+ 'is_interface_hold_timer_enabled': 'bool',
+ 'interface_down_timer_value_in_milliseconds': 'int'
}
self.attribute_map = {
'defined_tags': 'definedTags',
'display_name': 'displayName',
'customer_reference_name': 'customerReferenceName',
'freeform_tags': 'freeformTags',
- 'macsec_properties': 'macsecProperties'
+ 'macsec_properties': 'macsecProperties',
+ 'minimum_links': 'minimumLinks',
+ 'is_interface_hold_timer_enabled': 'isInterfaceHoldTimerEnabled',
+ 'interface_down_timer_value_in_milliseconds': 'interfaceDownTimerValueInMilliseconds'
}
self._defined_tags = None
self._display_name = None
self._customer_reference_name = None
self._freeform_tags = None
self._macsec_properties = None
+ self._minimum_links = None
+ self._is_interface_hold_timer_enabled = None
+ self._interface_down_timer_value_in_milliseconds = None
@property
def defined_tags(self):
@@ -199,6 +220,82 @@ def macsec_properties(self, macsec_properties):
"""
self._macsec_properties = macsec_properties
+ @property
+ def minimum_links(self):
+ """
+ Gets the minimum_links of this UpdateCrossConnectGroupDetails.
+ (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered
+ operational. If not specified, this value defaults to 1. Value must not exceed the total number of
+ cross-connects in the cross-connect group.
+
+
+ :return: The minimum_links of this UpdateCrossConnectGroupDetails.
+ :rtype: int
+ """
+ return self._minimum_links
+
+ @minimum_links.setter
+ def minimum_links(self, minimum_links):
+ """
+ Sets the minimum_links of this UpdateCrossConnectGroupDetails.
+ (Optional) Minimum number of active cross-connects required for the cross-connect group to be considered
+ operational. If not specified, this value defaults to 1. Value must not exceed the total number of
+ cross-connects in the cross-connect group.
+
+
+ :param minimum_links: The minimum_links of this UpdateCrossConnectGroupDetails.
+ :type: int
+ """
+ self._minimum_links = minimum_links
+
+ @property
+ def is_interface_hold_timer_enabled(self):
+ """
+ Gets the is_interface_hold_timer_enabled of this UpdateCrossConnectGroupDetails.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :return: The is_interface_hold_timer_enabled of this UpdateCrossConnectGroupDetails.
+ :rtype: bool
+ """
+ return self._is_interface_hold_timer_enabled
+
+ @is_interface_hold_timer_enabled.setter
+ def is_interface_hold_timer_enabled(self, is_interface_hold_timer_enabled):
+ """
+ Sets the is_interface_hold_timer_enabled of this UpdateCrossConnectGroupDetails.
+ The flag to enable or disable the down timer for the interface.
+
+
+ :param is_interface_hold_timer_enabled: The is_interface_hold_timer_enabled of this UpdateCrossConnectGroupDetails.
+ :type: bool
+ """
+ self._is_interface_hold_timer_enabled = is_interface_hold_timer_enabled
+
+ @property
+ def interface_down_timer_value_in_milliseconds(self):
+ """
+ Gets the interface_down_timer_value_in_milliseconds of this UpdateCrossConnectGroupDetails.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :return: The interface_down_timer_value_in_milliseconds of this UpdateCrossConnectGroupDetails.
+ :rtype: int
+ """
+ return self._interface_down_timer_value_in_milliseconds
+
+ @interface_down_timer_value_in_milliseconds.setter
+ def interface_down_timer_value_in_milliseconds(self, interface_down_timer_value_in_milliseconds):
+ """
+ Sets the interface_down_timer_value_in_milliseconds of this UpdateCrossConnectGroupDetails.
+ The duration of the interface down timer in milliseconds between 0 and 3000 in multiples of 500.
+
+
+ :param interface_down_timer_value_in_milliseconds: The interface_down_timer_value_in_milliseconds of this UpdateCrossConnectGroupDetails.
+ :type: int
+ """
+ self._interface_down_timer_value_in_milliseconds = interface_down_timer_value_in_milliseconds
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_cross_connect_letter_of_authority_details.py b/src/oci/core/models/update_cross_connect_letter_of_authority_details.py
new file mode 100644
index 0000000000..704a843a75
--- /dev/null
+++ b/src/oci/core/models/update_cross_connect_letter_of_authority_details.py
@@ -0,0 +1,147 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 UpdateCrossConnectLetterOfAuthorityDetails(object):
+ """
+ Update the details of the Letter of Authority associated with a cross-connect. Upon successful alterations
+ a new updated copy of the LOA will be attached to the cross-connect.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateCrossConnectLetterOfAuthorityDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param should_extend:
+ The value to assign to the should_extend property of this UpdateCrossConnectLetterOfAuthorityDetails.
+ :type should_extend: bool
+
+ :param should_remove_authorized_agent:
+ The value to assign to the should_remove_authorized_agent property of this UpdateCrossConnectLetterOfAuthorityDetails.
+ :type should_remove_authorized_agent: bool
+
+ :param authorized_agent:
+ The value to assign to the authorized_agent property of this UpdateCrossConnectLetterOfAuthorityDetails.
+ :type authorized_agent: str
+
+ """
+ self.swagger_types = {
+ 'should_extend': 'bool',
+ 'should_remove_authorized_agent': 'bool',
+ 'authorized_agent': 'str'
+ }
+ self.attribute_map = {
+ 'should_extend': 'shouldExtend',
+ 'should_remove_authorized_agent': 'shouldRemoveAuthorizedAgent',
+ 'authorized_agent': 'authorizedAgent'
+ }
+ self._should_extend = None
+ self._should_remove_authorized_agent = None
+ self._authorized_agent = None
+
+ @property
+ def should_extend(self):
+ """
+ Gets the should_extend of this UpdateCrossConnectLetterOfAuthorityDetails.
+ A boolean flag to indicate whether to extend the expiry of the associated LOA with the provided
+ cross-connect. If un-set or set to false, it does not alter the existing expiry of the LOA.
+ On extension an updated copy of the LOA will be provided with the new expiry date. An LOA cannot
+ be extended more than 3 times.
+
+
+ :return: The should_extend of this UpdateCrossConnectLetterOfAuthorityDetails.
+ :rtype: bool
+ """
+ return self._should_extend
+
+ @should_extend.setter
+ def should_extend(self, should_extend):
+ """
+ Sets the should_extend of this UpdateCrossConnectLetterOfAuthorityDetails.
+ A boolean flag to indicate whether to extend the expiry of the associated LOA with the provided
+ cross-connect. If un-set or set to false, it does not alter the existing expiry of the LOA.
+ On extension an updated copy of the LOA will be provided with the new expiry date. An LOA cannot
+ be extended more than 3 times.
+
+
+ :param should_extend: The should_extend of this UpdateCrossConnectLetterOfAuthorityDetails.
+ :type: bool
+ """
+ self._should_extend = should_extend
+
+ @property
+ def should_remove_authorized_agent(self):
+ """
+ Gets the should_remove_authorized_agent of this UpdateCrossConnectLetterOfAuthorityDetails.
+ A boolean flag to indicate whether to remove an attached Authorized Agent to the LOA. If this boolean flag
+ is set, an attempt will be made to remove the attached authorized agent to the LOA, if any, and any value
+ given in the field 'authorizedAgent' will be ignored. In case, of updating an existing Authorized Agent,
+ keep this flag unset and set the expected value in 'authorizedAgent'.
+
+
+ :return: The should_remove_authorized_agent of this UpdateCrossConnectLetterOfAuthorityDetails.
+ :rtype: bool
+ """
+ return self._should_remove_authorized_agent
+
+ @should_remove_authorized_agent.setter
+ def should_remove_authorized_agent(self, should_remove_authorized_agent):
+ """
+ Sets the should_remove_authorized_agent of this UpdateCrossConnectLetterOfAuthorityDetails.
+ A boolean flag to indicate whether to remove an attached Authorized Agent to the LOA. If this boolean flag
+ is set, an attempt will be made to remove the attached authorized agent to the LOA, if any, and any value
+ given in the field 'authorizedAgent' will be ignored. In case, of updating an existing Authorized Agent,
+ keep this flag unset and set the expected value in 'authorizedAgent'.
+
+
+ :param should_remove_authorized_agent: The should_remove_authorized_agent of this UpdateCrossConnectLetterOfAuthorityDetails.
+ :type: bool
+ """
+ self._should_remove_authorized_agent = should_remove_authorized_agent
+
+ @property
+ def authorized_agent(self):
+ """
+ Gets the authorized_agent of this UpdateCrossConnectLetterOfAuthorityDetails.
+ Name of a customer authorized agent which will be appended to the LOA as the field 'Authorized Agent'.
+ If the field is left un-set in the request body, no changes will be done on the LOA for Authorized Agent.
+
+
+ :return: The authorized_agent of this UpdateCrossConnectLetterOfAuthorityDetails.
+ :rtype: str
+ """
+ return self._authorized_agent
+
+ @authorized_agent.setter
+ def authorized_agent(self, authorized_agent):
+ """
+ Sets the authorized_agent of this UpdateCrossConnectLetterOfAuthorityDetails.
+ Name of a customer authorized agent which will be appended to the LOA as the field 'Authorized Agent'.
+ If the field is left un-set in the request body, no changes will be done on the LOA for Authorized Agent.
+
+
+ :param authorized_agent: The authorized_agent of this UpdateCrossConnectLetterOfAuthorityDetails.
+ :type: str
+ """
+ self._authorized_agent = authorized_agent
+
+ def __repr__(self):
+ return formatted_flat_dict(self)
+
+ def __eq__(self, other):
+ if other is None:
+ return False
+
+ return self.__dict__ == other.__dict__
+
+ def __ne__(self, other):
+ return not self == other
diff --git a/src/oci/core/models/update_instance_licensing_config.py b/src/oci/core/models/update_instance_licensing_config.py
index 7b4c64d9fb..f2b2086e8a 100644
--- a/src/oci/core/models/update_instance_licensing_config.py
+++ b/src/oci/core/models/update_instance_licensing_config.py
@@ -27,6 +27,10 @@ class UpdateInstanceLicensingConfig(object):
#: This constant has a value of "BRING_YOUR_OWN_LICENSE"
LICENSE_TYPE_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
+ #: A constant which can be used with the license_type property of a UpdateInstanceLicensingConfig.
+ #: This constant has a value of "PARTNER_PROVIDED"
+ LICENSE_TYPE_PARTNER_PROVIDED = "PARTNER_PROVIDED"
+
def __init__(self, **kwargs):
"""
Initializes a new UpdateInstanceLicensingConfig object with values from keyword arguments. This class has the following subclasses and if you are using this class as input
@@ -43,7 +47,7 @@ def __init__(self, **kwargs):
:param license_type:
The value to assign to the license_type property of this UpdateInstanceLicensingConfig.
- Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"
+ Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED"
:type license_type: str
"""
@@ -109,8 +113,9 @@ def license_type(self):
License Type for the OS license.
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
+ * `PARTNER_PROVIDED` - Partner provided license.
- Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"
+ Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED"
:return: The license_type of this UpdateInstanceLicensingConfig.
@@ -125,12 +130,13 @@ def license_type(self, license_type):
License Type for the OS license.
* `OCI_PROVIDED` - OCI provided license (e.g. metered $/OCPU-hour).
* `BRING_YOUR_OWN_LICENSE` - Bring your own license.
+ * `PARTNER_PROVIDED` - Partner provided license.
:param license_type: The license_type of this UpdateInstanceLicensingConfig.
:type: str
"""
- allowed_values = ["OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"]
+ allowed_values = ["OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED"]
if not value_allowed_none_or_none_sentinel(license_type, allowed_values):
raise ValueError(
f"Invalid value for `license_type`, must be None or one of {allowed_values}"
diff --git a/src/oci/core/models/update_instance_pool_details.py b/src/oci/core/models/update_instance_pool_details.py
index 7c4db5fa9c..10b9b89cb9 100644
--- a/src/oci/core/models/update_instance_pool_details.py
+++ b/src/oci/core/models/update_instance_pool_details.py
@@ -252,6 +252,7 @@ def size(self):
"""
Gets the size of this UpdateInstancePoolDetails.
The number of instances that should be in the instance pool.
+ For a GMC-enabled resource pool, this is the number of GMC resources that should be in the pool.
To determine whether capacity is available for a specific shape before you resize an instance pool,
use the :func:`create_compute_capacity_report`
@@ -268,6 +269,7 @@ def size(self, size):
"""
Sets the size of this UpdateInstancePoolDetails.
The number of instances that should be in the instance pool.
+ For a GMC-enabled resource pool, this is the number of GMC resources that should be in the pool.
To determine whether capacity is available for a specific shape before you resize an instance pool,
use the :func:`create_compute_capacity_report`
diff --git a/src/oci/core/models/update_instance_windows_licensing_config.py b/src/oci/core/models/update_instance_windows_licensing_config.py
index 9b4b806410..d744f4c1c1 100644
--- a/src/oci/core/models/update_instance_windows_licensing_config.py
+++ b/src/oci/core/models/update_instance_windows_licensing_config.py
@@ -28,7 +28,7 @@ def __init__(self, **kwargs):
:param license_type:
The value to assign to the license_type property of this UpdateInstanceWindowsLicensingConfig.
- Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE"
+ Allowed values for this property are: "OCI_PROVIDED", "BRING_YOUR_OWN_LICENSE", "PARTNER_PROVIDED"
:type license_type: str
"""
diff --git a/src/oci/core/models/update_ipv6_details.py b/src/oci/core/models/update_ipv6_details.py
index 8cf0d28c9a..43ae9d9394 100644
--- a/src/oci/core/models/update_ipv6_details.py
+++ b/src/oci/core/models/update_ipv6_details.py
@@ -44,6 +44,10 @@ def __init__(self, **kwargs):
The value to assign to the vnic_id property of this UpdateIpv6Details.
:type vnic_id: str
+ :param hostname:
+ The value to assign to the hostname property of this UpdateIpv6Details.
+ :type hostname: str
+
:param route_table_id:
The value to assign to the route_table_id property of this UpdateIpv6Details.
:type route_table_id: str
@@ -59,6 +63,7 @@ def __init__(self, **kwargs):
'display_name': 'str',
'freeform_tags': 'dict(str, str)',
'vnic_id': 'str',
+ 'hostname': 'str',
'route_table_id': 'str',
'lifetime': 'str'
}
@@ -67,6 +72,7 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'freeform_tags': 'freeformTags',
'vnic_id': 'vnicId',
+ 'hostname': 'hostname',
'route_table_id': 'routeTableId',
'lifetime': 'lifetime'
}
@@ -74,6 +80,7 @@ def __init__(self, **kwargs):
self._display_name = None
self._freeform_tags = None
self._vnic_id = None
+ self._hostname = None
self._route_table_id = None
self._lifetime = None
@@ -201,6 +208,30 @@ def vnic_id(self, vnic_id):
"""
self._vnic_id = vnic_id
+ @property
+ def hostname(self):
+ """
+ Gets the hostname of this UpdateIpv6Details.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :return: The hostname of this UpdateIpv6Details.
+ :rtype: str
+ """
+ return self._hostname
+
+ @hostname.setter
+ def hostname(self, hostname):
+ """
+ Sets the hostname of this UpdateIpv6Details.
+ The hostname associated with the IPv6 address. Only the hostname label, not the FQDN.
+
+
+ :param hostname: The hostname of this UpdateIpv6Details.
+ :type: str
+ """
+ self._hostname = hostname
+
@property
def route_table_id(self):
"""
diff --git a/src/oci/core/models/update_virtual_circuit_details.py b/src/oci/core/models/update_virtual_circuit_details.py
index 5076af0110..cfd1dacf74 100644
--- a/src/oci/core/models/update_virtual_circuit_details.py
+++ b/src/oci/core/models/update_virtual_circuit_details.py
@@ -39,6 +39,14 @@ class UpdateVirtualCircuitDetails(object):
#: This constant has a value of "DISABLED"
BGP_ADMIN_STATE_DISABLED = "DISABLED"
+ #: A constant which can be used with the traffic_mode property of a UpdateVirtualCircuitDetails.
+ #: This constant has a value of "NORMAL"
+ TRAFFIC_MODE_NORMAL = "NORMAL"
+
+ #: A constant which can be used with the traffic_mode property of a UpdateVirtualCircuitDetails.
+ #: This constant has a value of "DRAIN"
+ TRAFFIC_MODE_DRAIN = "DRAIN"
+
#: A constant which can be used with the provider_state property of a UpdateVirtualCircuitDetails.
#: This constant has a value of "ACTIVE"
PROVIDER_STATE_ACTIVE = "ACTIVE"
@@ -106,6 +114,11 @@ def __init__(self, **kwargs):
The value to assign to the freeform_tags property of this UpdateVirtualCircuitDetails.
:type freeform_tags: dict(str, str)
+ :param traffic_mode:
+ The value to assign to the traffic_mode property of this UpdateVirtualCircuitDetails.
+ Allowed values for this property are: "NORMAL", "DRAIN"
+ :type traffic_mode: str
+
:param gateway_id:
The value to assign to the gateway_id property of this UpdateVirtualCircuitDetails.
:type gateway_id: str
@@ -141,6 +154,7 @@ def __init__(self, **kwargs):
'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'freeform_tags': 'dict(str, str)',
+ 'traffic_mode': 'str',
'gateway_id': 'str',
'provider_state': 'str',
'provider_service_key_name': 'str',
@@ -159,6 +173,7 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'display_name': 'displayName',
'freeform_tags': 'freeformTags',
+ 'traffic_mode': 'trafficMode',
'gateway_id': 'gatewayId',
'provider_state': 'providerState',
'provider_service_key_name': 'providerServiceKeyName',
@@ -176,6 +191,7 @@ def __init__(self, **kwargs):
self._defined_tags = None
self._display_name = None
self._freeform_tags = None
+ self._traffic_mode = None
self._gateway_id = None
self._provider_state = None
self._provider_service_key_name = None
@@ -535,6 +551,39 @@ def freeform_tags(self, freeform_tags):
"""
self._freeform_tags = freeform_tags
+ @property
+ def traffic_mode(self):
+ """
+ Gets the traffic_mode of this UpdateVirtualCircuitDetails.
+ The traffic mode to be set with this Virtual Circuit. This controls whether the traffic is to be drained
+ for the associated Virtual Circuit or not.
+
+ Allowed values for this property are: "NORMAL", "DRAIN"
+
+
+ :return: The traffic_mode of this UpdateVirtualCircuitDetails.
+ :rtype: str
+ """
+ return self._traffic_mode
+
+ @traffic_mode.setter
+ def traffic_mode(self, traffic_mode):
+ """
+ Sets the traffic_mode of this UpdateVirtualCircuitDetails.
+ The traffic mode to be set with this Virtual Circuit. This controls whether the traffic is to be drained
+ for the associated Virtual Circuit or not.
+
+
+ :param traffic_mode: The traffic_mode of this UpdateVirtualCircuitDetails.
+ :type: str
+ """
+ allowed_values = ["NORMAL", "DRAIN"]
+ if not value_allowed_none_or_none_sentinel(traffic_mode, allowed_values):
+ raise ValueError(
+ f"Invalid value for `traffic_mode`, must be None or one of {allowed_values}"
+ )
+ self._traffic_mode = traffic_mode
+
@property
def gateway_id(self):
"""
diff --git a/src/oci/core/models/update_volume_backup_details.py b/src/oci/core/models/update_volume_backup_details.py
index ee316d5aa8..d8fc717d81 100644
--- a/src/oci/core/models/update_volume_backup_details.py
+++ b/src/oci/core/models/update_volume_backup_details.py
@@ -36,23 +36,51 @@ def __init__(self, **kwargs):
The value to assign to the kms_key_id property of this UpdateVolumeBackupDetails.
:type kms_key_id: str
+ :param retention_period:
+ The value to assign to the retention_period property of this UpdateVolumeBackupDetails.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this UpdateVolumeBackupDetails.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this UpdateVolumeBackupDetails.
+ :type is_retention_lock_enabled: bool
+
+ :param is_indefinite_retention_enabled:
+ The value to assign to the is_indefinite_retention_enabled property of this UpdateVolumeBackupDetails.
+ :type is_indefinite_retention_enabled: bool
+
"""
self.swagger_types = {
'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
'freeform_tags': 'dict(str, str)',
- 'kms_key_id': 'str'
+ 'kms_key_id': 'str',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool',
+ 'is_indefinite_retention_enabled': 'bool'
}
self.attribute_map = {
'defined_tags': 'definedTags',
'display_name': 'displayName',
'freeform_tags': 'freeformTags',
- 'kms_key_id': 'kmsKeyId'
+ 'kms_key_id': 'kmsKeyId',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled',
+ 'is_indefinite_retention_enabled': 'isIndefiniteRetentionEnabled'
}
self._defined_tags = None
self._display_name = None
self._freeform_tags = None
self._kms_key_id = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
+ self._is_indefinite_retention_enabled = None
@property
def defined_tags(self):
@@ -184,6 +212,98 @@ def kms_key_id(self, kms_key_id):
"""
self._kms_key_id = kms_key_id
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this UpdateVolumeBackupDetails.
+
+ :return: The retention_period of this UpdateVolumeBackupDetails.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this UpdateVolumeBackupDetails.
+
+ :param retention_period: The retention_period of this UpdateVolumeBackupDetails.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this UpdateVolumeBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this UpdateVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this UpdateVolumeBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this UpdateVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this UpdateVolumeBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this UpdateVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this UpdateVolumeBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this UpdateVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
+ @property
+ def is_indefinite_retention_enabled(self):
+ """
+ Gets the is_indefinite_retention_enabled of this UpdateVolumeBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :return: The is_indefinite_retention_enabled of this UpdateVolumeBackupDetails.
+ :rtype: bool
+ """
+ return self._is_indefinite_retention_enabled
+
+ @is_indefinite_retention_enabled.setter
+ def is_indefinite_retention_enabled(self, is_indefinite_retention_enabled):
+ """
+ Sets the is_indefinite_retention_enabled of this UpdateVolumeBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :param is_indefinite_retention_enabled: The is_indefinite_retention_enabled of this UpdateVolumeBackupDetails.
+ :type: bool
+ """
+ self._is_indefinite_retention_enabled = is_indefinite_retention_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/update_volume_group_backup_details.py b/src/oci/core/models/update_volume_group_backup_details.py
index 3aab502051..16e45e1a38 100644
--- a/src/oci/core/models/update_volume_group_backup_details.py
+++ b/src/oci/core/models/update_volume_group_backup_details.py
@@ -32,20 +32,48 @@ def __init__(self, **kwargs):
The value to assign to the freeform_tags property of this UpdateVolumeGroupBackupDetails.
:type freeform_tags: dict(str, str)
+ :param retention_period:
+ The value to assign to the retention_period property of this UpdateVolumeGroupBackupDetails.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this UpdateVolumeGroupBackupDetails.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this UpdateVolumeGroupBackupDetails.
+ :type is_retention_lock_enabled: bool
+
+ :param is_indefinite_retention_enabled:
+ The value to assign to the is_indefinite_retention_enabled property of this UpdateVolumeGroupBackupDetails.
+ :type is_indefinite_retention_enabled: bool
+
"""
self.swagger_types = {
'defined_tags': 'dict(str, dict(str, object))',
'display_name': 'str',
- 'freeform_tags': 'dict(str, str)'
+ 'freeform_tags': 'dict(str, str)',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool',
+ 'is_indefinite_retention_enabled': 'bool'
}
self.attribute_map = {
'defined_tags': 'definedTags',
'display_name': 'displayName',
- 'freeform_tags': 'freeformTags'
+ 'freeform_tags': 'freeformTags',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled',
+ 'is_indefinite_retention_enabled': 'isIndefiniteRetentionEnabled'
}
self._defined_tags = None
self._display_name = None
self._freeform_tags = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
+ self._is_indefinite_retention_enabled = None
@property
def defined_tags(self):
@@ -141,6 +169,98 @@ def freeform_tags(self, freeform_tags):
"""
self._freeform_tags = freeform_tags
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this UpdateVolumeGroupBackupDetails.
+
+ :return: The retention_period of this UpdateVolumeGroupBackupDetails.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this UpdateVolumeGroupBackupDetails.
+
+ :param retention_period: The retention_period of this UpdateVolumeGroupBackupDetails.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this UpdateVolumeGroupBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this UpdateVolumeGroupBackupDetails.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this UpdateVolumeGroupBackupDetails.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this UpdateVolumeGroupBackupDetails.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this UpdateVolumeGroupBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this UpdateVolumeGroupBackupDetails.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this UpdateVolumeGroupBackupDetails.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this UpdateVolumeGroupBackupDetails.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
+ @property
+ def is_indefinite_retention_enabled(self):
+ """
+ Gets the is_indefinite_retention_enabled of this UpdateVolumeGroupBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :return: The is_indefinite_retention_enabled of this UpdateVolumeGroupBackupDetails.
+ :rtype: bool
+ """
+ return self._is_indefinite_retention_enabled
+
+ @is_indefinite_retention_enabled.setter
+ def is_indefinite_retention_enabled(self, is_indefinite_retention_enabled):
+ """
+ Sets the is_indefinite_retention_enabled of this UpdateVolumeGroupBackupDetails.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :param is_indefinite_retention_enabled: The is_indefinite_retention_enabled of this UpdateVolumeGroupBackupDetails.
+ :type: bool
+ """
+ self._is_indefinite_retention_enabled = is_indefinite_retention_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/vcn.py b/src/oci/core/models/vcn.py
index 8bd0f75511..900b945af4 100644
--- a/src/oci/core/models/vcn.py
+++ b/src/oci/core/models/vcn.py
@@ -100,6 +100,10 @@ def __init__(self, **kwargs):
The value to assign to the security_attributes property of this Vcn.
:type security_attributes: dict(str, dict(str, object))
+ :param system_tags:
+ The value to assign to the system_tags property of this Vcn.
+ :type system_tags: dict(str, dict(str, object))
+
:param id:
The value to assign to the id property of this Vcn.
:type id: str
@@ -141,6 +145,7 @@ def __init__(self, **kwargs):
'dns_label': 'str',
'freeform_tags': 'dict(str, str)',
'security_attributes': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
'id': 'str',
'ipv6_cidr_blocks': 'list[str]',
'lifecycle_state': 'str',
@@ -162,6 +167,7 @@ def __init__(self, **kwargs):
'dns_label': 'dnsLabel',
'freeform_tags': 'freeformTags',
'security_attributes': 'securityAttributes',
+ 'system_tags': 'systemTags',
'id': 'id',
'ipv6_cidr_blocks': 'ipv6CidrBlocks',
'lifecycle_state': 'lifecycleState',
@@ -182,6 +188,7 @@ def __init__(self, **kwargs):
self._dns_label = None
self._freeform_tags = None
self._security_attributes = None
+ self._system_tags = None
self._id = None
self._ipv6_cidr_blocks = None
self._lifecycle_state = None
@@ -585,6 +592,32 @@ def security_attributes(self, security_attributes):
"""
self._security_attributes = security_attributes
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this Vcn.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this Vcn.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this Vcn.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this Vcn.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def id(self):
"""
diff --git a/src/oci/core/models/virtual_circuit.py b/src/oci/core/models/virtual_circuit.py
index d261e24e85..e7dc2b5d2a 100644
--- a/src/oci/core/models/virtual_circuit.py
+++ b/src/oci/core/models/virtual_circuit.py
@@ -156,6 +156,14 @@ class VirtualCircuit(object):
#: This constant has a value of "MTU_9000"
IP_MTU_MTU_9000 = "MTU_9000"
+ #: A constant which can be used with the traffic_mode property of a VirtualCircuit.
+ #: This constant has a value of "NORMAL"
+ TRAFFIC_MODE_NORMAL = "NORMAL"
+
+ #: A constant which can be used with the traffic_mode property of a VirtualCircuit.
+ #: This constant has a value of "DRAIN"
+ TRAFFIC_MODE_DRAIN = "DRAIN"
+
def __init__(self, **kwargs):
"""
Initializes a new VirtualCircuit object with values from keyword arguments.
@@ -305,6 +313,24 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type ip_mtu: str
+ :param provider_remote_region:
+ The value to assign to the provider_remote_region property of this VirtualCircuit.
+ :type provider_remote_region: str
+
+ :param shared_connection_uuid:
+ The value to assign to the shared_connection_uuid property of this VirtualCircuit.
+ :type shared_connection_uuid: str
+
+ :param remote_account_id:
+ The value to assign to the remote_account_id property of this VirtualCircuit.
+ :type remote_account_id: str
+
+ :param traffic_mode:
+ The value to assign to the traffic_mode property of this VirtualCircuit.
+ Allowed values for this property are: "NORMAL", "DRAIN", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type traffic_mode: str
+
:param virtual_circuit_redundancy_metadata:
The value to assign to the virtual_circuit_redundancy_metadata property of this VirtualCircuit.
:type virtual_circuit_redundancy_metadata: oci.core.models.VirtualCircuitRedundancyMetadata
@@ -342,6 +368,10 @@ def __init__(self, **kwargs):
'time_created': 'datetime',
'type': 'str',
'ip_mtu': 'str',
+ 'provider_remote_region': 'str',
+ 'shared_connection_uuid': 'str',
+ 'remote_account_id': 'str',
+ 'traffic_mode': 'str',
'virtual_circuit_redundancy_metadata': 'VirtualCircuitRedundancyMetadata'
}
self.attribute_map = {
@@ -376,6 +406,10 @@ def __init__(self, **kwargs):
'time_created': 'timeCreated',
'type': 'type',
'ip_mtu': 'ipMtu',
+ 'provider_remote_region': 'providerRemoteRegion',
+ 'shared_connection_uuid': 'sharedConnectionUuid',
+ 'remote_account_id': 'remoteAccountId',
+ 'traffic_mode': 'trafficMode',
'virtual_circuit_redundancy_metadata': 'virtualCircuitRedundancyMetadata'
}
self._bandwidth_shape_name = None
@@ -409,6 +443,10 @@ def __init__(self, **kwargs):
self._time_created = None
self._type = None
self._ip_mtu = None
+ self._provider_remote_region = None
+ self._shared_connection_uuid = None
+ self._remote_account_id = None
+ self._traffic_mode = None
self._virtual_circuit_redundancy_metadata = None
@property
@@ -1329,6 +1367,112 @@ def ip_mtu(self, ip_mtu):
ip_mtu = 'UNKNOWN_ENUM_VALUE'
self._ip_mtu = ip_mtu
+ @property
+ def provider_remote_region(self):
+ """
+ Gets the provider_remote_region of this VirtualCircuit.
+ The OCI's FastConnect MultiCloud Provider/Partner remote region name associated with the OCI region.
+ To get the list of associated provider remote region use the ListProviderRemoteRegions operation
+
+
+ :return: The provider_remote_region of this VirtualCircuit.
+ :rtype: str
+ """
+ return self._provider_remote_region
+
+ @provider_remote_region.setter
+ def provider_remote_region(self, provider_remote_region):
+ """
+ Sets the provider_remote_region of this VirtualCircuit.
+ The OCI's FastConnect MultiCloud Provider/Partner remote region name associated with the OCI region.
+ To get the list of associated provider remote region use the ListProviderRemoteRegions operation
+
+
+ :param provider_remote_region: The provider_remote_region of this VirtualCircuit.
+ :type: str
+ """
+ self._provider_remote_region = provider_remote_region
+
+ @property
+ def shared_connection_uuid(self):
+ """
+ Gets the shared_connection_uuid of this VirtualCircuit.
+ The Shared unique identifier for the connection between the multicloud interconnect providers
+
+
+ :return: The shared_connection_uuid of this VirtualCircuit.
+ :rtype: str
+ """
+ return self._shared_connection_uuid
+
+ @shared_connection_uuid.setter
+ def shared_connection_uuid(self, shared_connection_uuid):
+ """
+ Sets the shared_connection_uuid of this VirtualCircuit.
+ The Shared unique identifier for the connection between the multicloud interconnect providers
+
+
+ :param shared_connection_uuid: The shared_connection_uuid of this VirtualCircuit.
+ :type: str
+ """
+ self._shared_connection_uuid = shared_connection_uuid
+
+ @property
+ def remote_account_id(self):
+ """
+ Gets the remote_account_id of this VirtualCircuit.
+ Customer's account on Provider/Partner cloud (AWS, GCP or any other)
+
+
+ :return: The remote_account_id of this VirtualCircuit.
+ :rtype: str
+ """
+ return self._remote_account_id
+
+ @remote_account_id.setter
+ def remote_account_id(self, remote_account_id):
+ """
+ Sets the remote_account_id of this VirtualCircuit.
+ Customer's account on Provider/Partner cloud (AWS, GCP or any other)
+
+
+ :param remote_account_id: The remote_account_id of this VirtualCircuit.
+ :type: str
+ """
+ self._remote_account_id = remote_account_id
+
+ @property
+ def traffic_mode(self):
+ """
+ Gets the traffic_mode of this VirtualCircuit.
+ The current traffic mode for the Virtual Circuit. This indicates whether the traffic is drained for the
+ associated Virtual Circuit or not.
+
+ Allowed values for this property are: "NORMAL", "DRAIN", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The traffic_mode of this VirtualCircuit.
+ :rtype: str
+ """
+ return self._traffic_mode
+
+ @traffic_mode.setter
+ def traffic_mode(self, traffic_mode):
+ """
+ Sets the traffic_mode of this VirtualCircuit.
+ The current traffic mode for the Virtual Circuit. This indicates whether the traffic is drained for the
+ associated Virtual Circuit or not.
+
+
+ :param traffic_mode: The traffic_mode of this VirtualCircuit.
+ :type: str
+ """
+ allowed_values = ["NORMAL", "DRAIN"]
+ if not value_allowed_none_or_none_sentinel(traffic_mode, allowed_values):
+ traffic_mode = 'UNKNOWN_ENUM_VALUE'
+ self._traffic_mode = traffic_mode
+
@property
def virtual_circuit_redundancy_metadata(self):
"""
diff --git a/src/oci/core/models/vlan.py b/src/oci/core/models/vlan.py
index 26997e9fd5..3362b52767 100644
--- a/src/oci/core/models/vlan.py
+++ b/src/oci/core/models/vlan.py
@@ -95,6 +95,10 @@ def __init__(self, **kwargs):
The value to assign to the route_table_id property of this Vlan.
:type route_table_id: str
+ :param system_tags:
+ The value to assign to the system_tags property of this Vlan.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this Vlan.
:type time_created: datetime
@@ -116,6 +120,7 @@ def __init__(self, **kwargs):
'nsg_ids': 'list[str]',
'vlan_tag': 'int',
'route_table_id': 'str',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'vcn_id': 'str'
}
@@ -131,6 +136,7 @@ def __init__(self, **kwargs):
'nsg_ids': 'nsgIds',
'vlan_tag': 'vlanTag',
'route_table_id': 'routeTableId',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'vcn_id': 'vcnId'
}
@@ -145,6 +151,7 @@ def __init__(self, **kwargs):
self._nsg_ids = None
self._vlan_tag = None
self._route_table_id = None
+ self._system_tags = None
self._time_created = None
self._vcn_id = None
@@ -474,6 +481,32 @@ def route_table_id(self, route_table_id):
"""
self._route_table_id = route_table_id
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this Vlan.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this Vlan.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this Vlan.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this Vlan.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
diff --git a/src/oci/core/models/vnic.py b/src/oci/core/models/vnic.py
index 6f71494540..41c4c7a720 100644
--- a/src/oci/core/models/vnic.py
+++ b/src/oci/core/models/vnic.py
@@ -130,6 +130,10 @@ def __init__(self, **kwargs):
The value to assign to the subnet_id property of this Vnic.
:type subnet_id: str
+ :param system_tags:
+ The value to assign to the system_tags property of this Vnic.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this Vnic.
:type time_created: datetime
@@ -161,6 +165,7 @@ def __init__(self, **kwargs):
'public_ip': 'str',
'skip_source_dest_check': 'bool',
'subnet_id': 'str',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'ipv6_addresses': 'list[str]',
'route_table_id': 'str'
@@ -183,6 +188,7 @@ def __init__(self, **kwargs):
'public_ip': 'publicIp',
'skip_source_dest_check': 'skipSourceDestCheck',
'subnet_id': 'subnetId',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'ipv6_addresses': 'ipv6Addresses',
'route_table_id': 'routeTableId'
@@ -204,6 +210,7 @@ def __init__(self, **kwargs):
self._public_ip = None
self._skip_source_dest_check = None
self._subnet_id = None
+ self._system_tags = None
self._time_created = None
self._ipv6_addresses = None
self._route_table_id = None
@@ -766,6 +773,32 @@ def subnet_id(self, subnet_id):
"""
self._subnet_id = subnet_id
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this Vnic.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this Vnic.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this Vnic.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this Vnic.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
diff --git a/src/oci/core/models/volume_backup.py b/src/oci/core/models/volume_backup.py
index a52c6d94a8..0d89b6ef85 100644
--- a/src/oci/core/models/volume_backup.py
+++ b/src/oci/core/models/volume_backup.py
@@ -154,6 +154,30 @@ def __init__(self, **kwargs):
The value to assign to the volume_id property of this VolumeBackup.
:type volume_id: str
+ :param time_retention_expires_at:
+ The value to assign to the time_retention_expires_at property of this VolumeBackup.
+ :type time_retention_expires_at: datetime
+
+ :param retention_period:
+ The value to assign to the retention_period property of this VolumeBackup.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this VolumeBackup.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this VolumeBackup.
+ :type is_retention_lock_enabled: bool
+
+ :param is_indefinite_retention_enabled:
+ The value to assign to the is_indefinite_retention_enabled property of this VolumeBackup.
+ :type is_indefinite_retention_enabled: bool
+
+ :param volume_group_backup_id:
+ The value to assign to the volume_group_backup_id property of this VolumeBackup.
+ :type volume_group_backup_id: str
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -174,7 +198,13 @@ def __init__(self, **kwargs):
'type': 'str',
'unique_size_in_gbs': 'int',
'unique_size_in_mbs': 'int',
- 'volume_id': 'str'
+ 'volume_id': 'str',
+ 'time_retention_expires_at': 'datetime',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool',
+ 'is_indefinite_retention_enabled': 'bool',
+ 'volume_group_backup_id': 'str'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
@@ -195,7 +225,13 @@ def __init__(self, **kwargs):
'type': 'type',
'unique_size_in_gbs': 'uniqueSizeInGBs',
'unique_size_in_mbs': 'uniqueSizeInMbs',
- 'volume_id': 'volumeId'
+ 'volume_id': 'volumeId',
+ 'time_retention_expires_at': 'timeRetentionExpiresAt',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled',
+ 'is_indefinite_retention_enabled': 'isIndefiniteRetentionEnabled',
+ 'volume_group_backup_id': 'volumeGroupBackupId'
}
self._compartment_id = None
self._defined_tags = None
@@ -216,6 +252,12 @@ def __init__(self, **kwargs):
self._unique_size_in_gbs = None
self._unique_size_in_mbs = None
self._volume_id = None
+ self._time_retention_expires_at = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
+ self._is_indefinite_retention_enabled = None
+ self._volume_group_backup_id = None
@property
def compartment_id(self):
@@ -753,6 +795,146 @@ def volume_id(self, volume_id):
"""
self._volume_id = volume_id
+ @property
+ def time_retention_expires_at(self):
+ """
+ Gets the time_retention_expires_at of this VolumeBackup.
+ The date and time when a backup\u2019s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
+
+
+ :return: The time_retention_expires_at of this VolumeBackup.
+ :rtype: datetime
+ """
+ return self._time_retention_expires_at
+
+ @time_retention_expires_at.setter
+ def time_retention_expires_at(self, time_retention_expires_at):
+ """
+ Sets the time_retention_expires_at of this VolumeBackup.
+ The date and time when a backup\u2019s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
+
+
+ :param time_retention_expires_at: The time_retention_expires_at of this VolumeBackup.
+ :type: datetime
+ """
+ self._time_retention_expires_at = time_retention_expires_at
+
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this VolumeBackup.
+
+ :return: The retention_period of this VolumeBackup.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this VolumeBackup.
+
+ :param retention_period: The retention_period of this VolumeBackup.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this VolumeBackup.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this VolumeBackup.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this VolumeBackup.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this VolumeBackup.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this VolumeBackup.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this VolumeBackup.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this VolumeBackup.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this VolumeBackup.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
+ @property
+ def is_indefinite_retention_enabled(self):
+ """
+ Gets the is_indefinite_retention_enabled of this VolumeBackup.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :return: The is_indefinite_retention_enabled of this VolumeBackup.
+ :rtype: bool
+ """
+ return self._is_indefinite_retention_enabled
+
+ @is_indefinite_retention_enabled.setter
+ def is_indefinite_retention_enabled(self, is_indefinite_retention_enabled):
+ """
+ Sets the is_indefinite_retention_enabled of this VolumeBackup.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :param is_indefinite_retention_enabled: The is_indefinite_retention_enabled of this VolumeBackup.
+ :type: bool
+ """
+ self._is_indefinite_retention_enabled = is_indefinite_retention_enabled
+
+ @property
+ def volume_group_backup_id(self):
+ """
+ Gets the volume_group_backup_id of this VolumeBackup.
+ The OCID of the volume group backup associated with the backup. This is an optional field. If it is not present in the response, the backup does not belong to a volume group.
+
+
+ :return: The volume_group_backup_id of this VolumeBackup.
+ :rtype: str
+ """
+ return self._volume_group_backup_id
+
+ @volume_group_backup_id.setter
+ def volume_group_backup_id(self, volume_group_backup_id):
+ """
+ Sets the volume_group_backup_id of this VolumeBackup.
+ The OCID of the volume group backup associated with the backup. This is an optional field. If it is not present in the response, the backup does not belong to a volume group.
+
+
+ :param volume_group_backup_id: The volume_group_backup_id of this VolumeBackup.
+ :type: str
+ """
+ self._volume_group_backup_id = volume_group_backup_id
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/volume_backup_schedule.py b/src/oci/core/models/volume_backup_schedule.py
index cff083abd8..2290aec046 100644
--- a/src/oci/core/models/volume_backup_schedule.py
+++ b/src/oci/core/models/volume_backup_schedule.py
@@ -195,6 +195,18 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type time_zone: str
+ :param retention_period:
+ The value to assign to the retention_period property of this VolumeBackupSchedule.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this VolumeBackupSchedule.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this VolumeBackupSchedule.
+ :type is_retention_lock_enabled: bool
+
"""
self.swagger_types = {
'backup_type': 'str',
@@ -206,7 +218,10 @@ def __init__(self, **kwargs):
'day_of_month': 'int',
'month': 'str',
'retention_seconds': 'int',
- 'time_zone': 'str'
+ 'time_zone': 'str',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool'
}
self.attribute_map = {
'backup_type': 'backupType',
@@ -218,7 +233,10 @@ def __init__(self, **kwargs):
'day_of_month': 'dayOfMonth',
'month': 'month',
'retention_seconds': 'retentionSeconds',
- 'time_zone': 'timeZone'
+ 'time_zone': 'timeZone',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled'
}
self._backup_type = None
self._offset_seconds = None
@@ -230,6 +248,9 @@ def __init__(self, **kwargs):
self._month = None
self._retention_seconds = None
self._time_zone = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
@property
def backup_type(self):
@@ -555,6 +576,74 @@ def time_zone(self, time_zone):
time_zone = 'UNKNOWN_ENUM_VALUE'
self._time_zone = time_zone
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this VolumeBackupSchedule.
+
+ :return: The retention_period of this VolumeBackupSchedule.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this VolumeBackupSchedule.
+
+ :param retention_period: The retention_period of this VolumeBackupSchedule.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this VolumeBackupSchedule.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this VolumeBackupSchedule.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this VolumeBackupSchedule.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this VolumeBackupSchedule.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this VolumeBackupSchedule.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this VolumeBackupSchedule.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this VolumeBackupSchedule.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this VolumeBackupSchedule.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/volume_group_backup.py b/src/oci/core/models/volume_group_backup.py
index 13571bdecf..ffe7026a2b 100644
--- a/src/oci/core/models/volume_group_backup.py
+++ b/src/oci/core/models/volume_group_backup.py
@@ -153,6 +153,26 @@ def __init__(self, **kwargs):
The value to assign to the source_volume_group_backup_id property of this VolumeGroupBackup.
:type source_volume_group_backup_id: str
+ :param time_retention_expires_at:
+ The value to assign to the time_retention_expires_at property of this VolumeGroupBackup.
+ :type time_retention_expires_at: datetime
+
+ :param retention_period:
+ The value to assign to the retention_period property of this VolumeGroupBackup.
+ :type retention_period: oci.core.models.RetentionDuration
+
+ :param is_prevent_deletion_enabled:
+ The value to assign to the is_prevent_deletion_enabled property of this VolumeGroupBackup.
+ :type is_prevent_deletion_enabled: bool
+
+ :param is_retention_lock_enabled:
+ The value to assign to the is_retention_lock_enabled property of this VolumeGroupBackup.
+ :type is_retention_lock_enabled: bool
+
+ :param is_indefinite_retention_enabled:
+ The value to assign to the is_indefinite_retention_enabled property of this VolumeGroupBackup.
+ :type is_indefinite_retention_enabled: bool
+
"""
self.swagger_types = {
'compartment_id': 'str',
@@ -172,7 +192,12 @@ def __init__(self, **kwargs):
'unique_size_in_gbs': 'int',
'volume_backup_ids': 'list[str]',
'volume_group_id': 'str',
- 'source_volume_group_backup_id': 'str'
+ 'source_volume_group_backup_id': 'str',
+ 'time_retention_expires_at': 'datetime',
+ 'retention_period': 'RetentionDuration',
+ 'is_prevent_deletion_enabled': 'bool',
+ 'is_retention_lock_enabled': 'bool',
+ 'is_indefinite_retention_enabled': 'bool'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
@@ -192,7 +217,12 @@ def __init__(self, **kwargs):
'unique_size_in_gbs': 'uniqueSizeInGbs',
'volume_backup_ids': 'volumeBackupIds',
'volume_group_id': 'volumeGroupId',
- 'source_volume_group_backup_id': 'sourceVolumeGroupBackupId'
+ 'source_volume_group_backup_id': 'sourceVolumeGroupBackupId',
+ 'time_retention_expires_at': 'timeRetentionExpiresAt',
+ 'retention_period': 'retentionPeriod',
+ 'is_prevent_deletion_enabled': 'isPreventDeletionEnabled',
+ 'is_retention_lock_enabled': 'isRetentionLockEnabled',
+ 'is_indefinite_retention_enabled': 'isIndefiniteRetentionEnabled'
}
self._compartment_id = None
self._defined_tags = None
@@ -212,6 +242,11 @@ def __init__(self, **kwargs):
self._volume_backup_ids = None
self._volume_group_id = None
self._source_volume_group_backup_id = None
+ self._time_retention_expires_at = None
+ self._retention_period = None
+ self._is_prevent_deletion_enabled = None
+ self._is_retention_lock_enabled = None
+ self._is_indefinite_retention_enabled = None
@property
def compartment_id(self):
@@ -721,6 +756,122 @@ def source_volume_group_backup_id(self, source_volume_group_backup_id):
"""
self._source_volume_group_backup_id = source_volume_group_backup_id
+ @property
+ def time_retention_expires_at(self):
+ """
+ Gets the time_retention_expires_at of this VolumeGroupBackup.
+ The date and time when a backup\u2019s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
+
+
+ :return: The time_retention_expires_at of this VolumeGroupBackup.
+ :rtype: datetime
+ """
+ return self._time_retention_expires_at
+
+ @time_retention_expires_at.setter
+ def time_retention_expires_at(self, time_retention_expires_at):
+ """
+ Sets the time_retention_expires_at of this VolumeGroupBackup.
+ The date and time when a backup\u2019s retention period ends and it is set to expire. This is an optional field. If it is not specified, it is set to null, no retention period will be applied to the backups.
+
+
+ :param time_retention_expires_at: The time_retention_expires_at of this VolumeGroupBackup.
+ :type: datetime
+ """
+ self._time_retention_expires_at = time_retention_expires_at
+
+ @property
+ def retention_period(self):
+ """
+ Gets the retention_period of this VolumeGroupBackup.
+
+ :return: The retention_period of this VolumeGroupBackup.
+ :rtype: oci.core.models.RetentionDuration
+ """
+ return self._retention_period
+
+ @retention_period.setter
+ def retention_period(self, retention_period):
+ """
+ Sets the retention_period of this VolumeGroupBackup.
+
+ :param retention_period: The retention_period of this VolumeGroupBackup.
+ :type: oci.core.models.RetentionDuration
+ """
+ self._retention_period = retention_period
+
+ @property
+ def is_prevent_deletion_enabled(self):
+ """
+ Gets the is_prevent_deletion_enabled of this VolumeGroupBackup.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :return: The is_prevent_deletion_enabled of this VolumeGroupBackup.
+ :rtype: bool
+ """
+ return self._is_prevent_deletion_enabled
+
+ @is_prevent_deletion_enabled.setter
+ def is_prevent_deletion_enabled(self, is_prevent_deletion_enabled):
+ """
+ Sets the is_prevent_deletion_enabled of this VolumeGroupBackup.
+ Prevent backups from being deleted during the configured retention period. This is an optional field. If it is not specified, it is set to null, prevent deletion will not be applied to the backups.
+
+
+ :param is_prevent_deletion_enabled: The is_prevent_deletion_enabled of this VolumeGroupBackup.
+ :type: bool
+ """
+ self._is_prevent_deletion_enabled = is_prevent_deletion_enabled
+
+ @property
+ def is_retention_lock_enabled(self):
+ """
+ Gets the is_retention_lock_enabled of this VolumeGroupBackup.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :return: The is_retention_lock_enabled of this VolumeGroupBackup.
+ :rtype: bool
+ """
+ return self._is_retention_lock_enabled
+
+ @is_retention_lock_enabled.setter
+ def is_retention_lock_enabled(self, is_retention_lock_enabled):
+ """
+ Sets the is_retention_lock_enabled of this VolumeGroupBackup.
+ feature that prevents deletion or alteration of backup data for a specified period to ensure data protection and regulatory compliance. This is an optional field. If it is not specified, it is set to null, no retention lock will be applied to the backups. This feature should be used in conjunction with the retention-period field.
+
+
+ :param is_retention_lock_enabled: The is_retention_lock_enabled of this VolumeGroupBackup.
+ :type: bool
+ """
+ self._is_retention_lock_enabled = is_retention_lock_enabled
+
+ @property
+ def is_indefinite_retention_enabled(self):
+ """
+ Gets the is_indefinite_retention_enabled of this VolumeGroupBackup.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :return: The is_indefinite_retention_enabled of this VolumeGroupBackup.
+ :rtype: bool
+ """
+ return self._is_indefinite_retention_enabled
+
+ @is_indefinite_retention_enabled.setter
+ def is_indefinite_retention_enabled(self, is_indefinite_retention_enabled):
+ """
+ Sets the is_indefinite_retention_enabled of this VolumeGroupBackup.
+ feature that preserves backup data from modification or deletion to ensure it remains available for legal or regulatory investigations or litigation, regardless of standard retention policies. This is an optional field. If it is not specified, it is set to null, no legal hold will be applied to the backups.
+
+
+ :param is_indefinite_retention_enabled: The is_indefinite_retention_enabled of this VolumeGroupBackup.
+ :type: bool
+ """
+ self._is_indefinite_retention_enabled = is_indefinite_retention_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/core/models/vtap.py b/src/oci/core/models/vtap.py
index c0389edfa4..5b92f1e6da 100644
--- a/src/oci/core/models/vtap.py
+++ b/src/oci/core/models/vtap.py
@@ -135,6 +135,10 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state_details: str
+ :param system_tags:
+ The value to assign to the system_tags property of this Vtap.
+ :type system_tags: dict(str, dict(str, object))
+
:param time_created:
The value to assign to the time_created property of this Vtap.
:type time_created: datetime
@@ -209,6 +213,7 @@ def __init__(self, **kwargs):
'id': 'str',
'lifecycle_state': 'str',
'lifecycle_state_details': 'str',
+ 'system_tags': 'dict(str, dict(str, object))',
'time_created': 'datetime',
'source_id': 'str',
'target_id': 'str',
@@ -233,6 +238,7 @@ def __init__(self, **kwargs):
'id': 'id',
'lifecycle_state': 'lifecycleState',
'lifecycle_state_details': 'lifecycleStateDetails',
+ 'system_tags': 'systemTags',
'time_created': 'timeCreated',
'source_id': 'sourceId',
'target_id': 'targetId',
@@ -256,6 +262,7 @@ def __init__(self, **kwargs):
self._id = None
self._lifecycle_state = None
self._lifecycle_state_details = None
+ self._system_tags = None
self._time_created = None
self._source_id = None
self._target_id = None
@@ -509,6 +516,32 @@ def lifecycle_state_details(self, lifecycle_state_details):
lifecycle_state_details = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state_details = lifecycle_state_details
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this Vtap.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :return: The system_tags of this Vtap.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this Vtap.
+ Usage of system tag keys. These predefined keys are scoped to namespaces.
+ Example: `{ \"orcl-cloud\": { \"free-tier-retained\": \"true\" } }`
+
+
+ :param system_tags: The system_tags of this Vtap.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
@property
def time_created(self):
"""
diff --git a/src/oci/core/virtual_network_client.py b/src/oci/core/virtual_network_client.py
index ee43f14778..3b8d076a96 100644
--- a/src/oci/core/virtual_network_client.py
+++ b/src/oci/core/virtual_network_client.py
@@ -110,7 +110,8 @@ def __init__(self, config, **kwargs):
'regional_client': True,
'service_endpoint': kwargs.get('service_endpoint'),
'base_path': '/20160918',
- 'service_endpoint_template': 'https://iaas.{region}.{secondLevelDomain}',
+ 'service_endpoint_template': 'https://iaas.{region}.{dualStack?ds.oci.:}{secondLevelDomain}',
+ 'endpoint_service_name': 'iaas',
'service_endpoint_template_per_realm': { }, # noqa: E201 E202
'service_uses_dualstack_endpoints_by_default': False,
'skip_deserialization': kwargs.get('skip_deserialization', False),
@@ -13275,6 +13276,10 @@ def get_cross_connect_letter_of_authority(self, cross_connect_id, **kwargs):
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique 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.
@@ -13304,7 +13309,13 @@ def get_cross_connect_letter_of_authority(self, cross_connect_id, **kwargs):
operation_name = "get_cross_connect_letter_of_authority"
api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/LetterOfAuthority/GetCrossConnectLetterOfAuthority"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
@@ -13322,8 +13333,10 @@ def get_cross_connect_letter_of_authority(self, cross_connect_id, **kwargs):
header_params = {
"accept": "application/json, text/html",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.base_client.get_preferred_retry_strategy(
operation_retry_strategy=kwargs.get('retry_strategy'),
@@ -23546,6 +23559,140 @@ def list_private_ips(self, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def list_provider_remote_regions(self, provider_service_id, **kwargs):
+ """
+ The operation lists available OCI's FastConnect MultiCloud Provider/Partner remote region names associated with an OCI region.
+
+
+ :param str provider_service_id: (required)
+ The `OCID`__ of the provider service.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+ If you need to contact Oracle about a particular request, please provide the request ID.
+
+ :param int limit: (optional)
+ For list pagination. The maximum number of results per page, or items to return in a paginated
+ \"List\" call. For important details about how pagination works, see
+ `List Pagination`__.
+
+ Example: `50`
+
+ __ https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str page: (optional)
+ For list pagination. The value of the `opc-next-page` response header from the previous \"List\"
+ call. For important details about how pagination works, see
+ `List Pagination`__.
+
+ __ https://docs.oracle.com/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.core.models.ProviderRemoteRegionName`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_provider_remote_regions API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['providerServiceId']
+ resource_path = "/fastConnectProviderServices/{providerServiceId}/providerRemoteRegions"
+ method = "GET"
+ operation_name = "list_provider_remote_regions"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/ProviderRemoteRegionName/ListProviderRemoteRegions"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_request_id",
+ "limit",
+ "page"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_provider_remote_regions got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "providerServiceId": provider_service_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ query_params = {
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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="list[ProviderRemoteRegionName]",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[ProviderRemoteRegionName]",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def list_public_ip_pools(self, compartment_id, **kwargs):
"""
Lists the public IP pools in the specified compartment.
@@ -28703,6 +28850,126 @@ def update_cross_connect_group(self, cross_connect_group_id, update_cross_connec
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def update_cross_connect_letter_of_authority(self, cross_connect_id, update_cross_connect_letter_of_authority_details, **kwargs):
+ """
+ Updates the Letter of Authority for the specified cross-connect.
+
+
+ :param str cross_connect_id: (required)
+ The `OCID`__ of the cross-connect.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.core.models.UpdateCrossConnectLetterOfAuthorityDetails update_cross_connect_letter_of_authority_details: (required)
+ Update CrossConnect LOA fields.
+
+ :param str opc_request_id: (optional)
+ Unique 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.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.core.models.LetterOfAuthority`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use update_cross_connect_letter_of_authority API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['crossConnectId']
+ resource_path = "/crossConnects/{crossConnectId}/letterOfAuthority"
+ method = "PUT"
+ operation_name = "update_cross_connect_letter_of_authority"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/iaas/20160918/LetterOfAuthority/UpdateCrossConnectLetterOfAuthority"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"update_cross_connect_letter_of_authority got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "crossConnectId": cross_connect_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json, text/html",
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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_cross_connect_letter_of_authority_details,
+ response_type="LetterOfAuthority",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_cross_connect_letter_of_authority_details,
+ response_type="LetterOfAuthority",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def update_dhcp_options(self, dhcp_id, update_dhcp_details, **kwargs):
"""
Updates the specified set of DHCP options. You can update the display name or the options
diff --git a/src/oci/data_integration/models/connection_from_adwc.py b/src/oci/data_integration/models/connection_from_adwc.py
index d521cd1a4c..eb8d4e5ced 100644
--- a/src/oci/data_integration/models/connection_from_adwc.py
+++ b/src/oci/data_integration/models/connection_from_adwc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection import Connection
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -141,6 +141,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -279,7 +282,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
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 ffe7048394..769db7fcd7 100644
--- a/src/oci/data_integration/models/connection_from_adwc_details.py
+++ b/src/oci/data_integration/models/connection_from_adwc_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_details import ConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -136,6 +136,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -273,7 +276,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_atp.py b/src/oci/data_integration/models/connection_from_atp.py
index 675bc3d3fe..c684b3810e 100644
--- a/src/oci/data_integration/models/connection_from_atp.py
+++ b/src/oci/data_integration/models/connection_from_atp.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection import Connection
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -141,6 +141,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -279,7 +282,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
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 4e2fc50d92..bdcba4b400 100644
--- a/src/oci/data_integration/models/connection_from_atp_details.py
+++ b/src/oci/data_integration/models/connection_from_atp_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_details import ConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -136,6 +136,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -273,7 +276,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_my_sql_heat_wave.py b/src/oci/data_integration/models/connection_from_my_sql_heat_wave.py
index d5e063eb35..de7287c357 100644
--- a/src/oci/data_integration/models/connection_from_my_sql_heat_wave.py
+++ b/src/oci/data_integration/models/connection_from_my_sql_heat_wave.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection import Connection
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -129,6 +129,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -217,7 +220,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_my_sql_heat_wave_details.py b/src/oci/data_integration/models/connection_from_my_sql_heat_wave_details.py
index a205ad0bda..1241059065 100644
--- a/src/oci/data_integration/models/connection_from_my_sql_heat_wave_details.py
+++ b/src/oci/data_integration/models/connection_from_my_sql_heat_wave_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_details import ConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -124,6 +124,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -211,7 +214,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_oracle.py b/src/oci/data_integration/models/connection_from_oracle.py
index 5a0d924e8a..3a4808874b 100644
--- a/src/oci/data_integration/models/connection_from_oracle.py
+++ b/src/oci/data_integration/models/connection_from_oracle.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection import Connection
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -129,6 +129,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -217,7 +220,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_oracle_details.py b/src/oci/data_integration/models/connection_from_oracle_details.py
index f97a6c3f0b..a6b8b5ed10 100644
--- a/src/oci/data_integration/models/connection_from_oracle_details.py
+++ b/src/oci/data_integration/models/connection_from_oracle_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_details import ConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -124,6 +124,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -211,7 +214,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_oracle_ebs.py b/src/oci/data_integration/models/connection_from_oracle_ebs.py
index 3fa37427a7..b86641c89e 100644
--- a/src/oci/data_integration/models/connection_from_oracle_ebs.py
+++ b/src/oci/data_integration/models/connection_from_oracle_ebs.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection import Connection
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -129,6 +129,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -217,7 +220,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_oracle_ebs_details.py b/src/oci/data_integration/models/connection_from_oracle_ebs_details.py
index 3247fd423a..18b15a5197 100644
--- a/src/oci/data_integration/models/connection_from_oracle_ebs_details.py
+++ b/src/oci/data_integration/models/connection_from_oracle_ebs_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_details import ConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -124,6 +124,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -211,7 +214,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_oracle_people_soft.py b/src/oci/data_integration/models/connection_from_oracle_people_soft.py
index 48f7dc283f..ad33cd92e6 100644
--- a/src/oci/data_integration/models/connection_from_oracle_people_soft.py
+++ b/src/oci/data_integration/models/connection_from_oracle_people_soft.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection import Connection
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -129,6 +129,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -217,7 +220,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_oracle_people_soft_details.py b/src/oci/data_integration/models/connection_from_oracle_people_soft_details.py
index b6ef9fe530..fd8a3a6799 100644
--- a/src/oci/data_integration/models/connection_from_oracle_people_soft_details.py
+++ b/src/oci/data_integration/models/connection_from_oracle_people_soft_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_details import ConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -124,6 +124,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -211,7 +214,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_oracle_siebel.py b/src/oci/data_integration/models/connection_from_oracle_siebel.py
index 742ed2977f..c61849927e 100644
--- a/src/oci/data_integration/models/connection_from_oracle_siebel.py
+++ b/src/oci/data_integration/models/connection_from_oracle_siebel.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection import Connection
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -129,6 +129,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -217,7 +220,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_from_oracle_siebel_details.py b/src/oci/data_integration/models/connection_from_oracle_siebel_details.py
index 0178daa6b4..749bbb0c4d 100644
--- a/src/oci/data_integration/models/connection_from_oracle_siebel_details.py
+++ b/src/oci/data_integration/models/connection_from_oracle_siebel_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_details import ConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -124,6 +124,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -211,7 +214,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
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 44edd9f4aa..6ed259d45b 100644
--- a/src/oci/data_integration/models/connection_summary_from_adwc.py
+++ b/src/oci/data_integration/models/connection_summary_from_adwc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_summary import ConnectionSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -142,6 +142,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -280,7 +283,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
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 f70c04ace7..e84d18d28a 100644
--- a/src/oci/data_integration/models/connection_summary_from_atp.py
+++ b/src/oci/data_integration/models/connection_summary_from_atp.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_summary import ConnectionSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -142,6 +142,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -280,7 +283,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_summary_from_my_sql_heat_wave.py b/src/oci/data_integration/models/connection_summary_from_my_sql_heat_wave.py
index 0c668965e7..13416579f4 100644
--- a/src/oci/data_integration/models/connection_summary_from_my_sql_heat_wave.py
+++ b/src/oci/data_integration/models/connection_summary_from_my_sql_heat_wave.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_summary import ConnectionSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -130,6 +130,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -218,7 +221,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_summary_from_oracle.py b/src/oci/data_integration/models/connection_summary_from_oracle.py
index a758a3ec6b..4d3e5534bd 100644
--- a/src/oci/data_integration/models/connection_summary_from_oracle.py
+++ b/src/oci/data_integration/models/connection_summary_from_oracle.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_summary import ConnectionSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -130,6 +130,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -218,7 +221,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_summary_from_oracle_ebs.py b/src/oci/data_integration/models/connection_summary_from_oracle_ebs.py
index 20810caaf8..f50c9e97e7 100644
--- a/src/oci/data_integration/models/connection_summary_from_oracle_ebs.py
+++ b/src/oci/data_integration/models/connection_summary_from_oracle_ebs.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_summary import ConnectionSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -130,6 +130,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -218,7 +221,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_summary_from_oracle_people_soft.py b/src/oci/data_integration/models/connection_summary_from_oracle_people_soft.py
index 219a0e60a5..3ad05a733c 100644
--- a/src/oci/data_integration/models/connection_summary_from_oracle_people_soft.py
+++ b/src/oci/data_integration/models/connection_summary_from_oracle_people_soft.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_summary import ConnectionSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -130,6 +130,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -218,7 +221,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/connection_summary_from_oracle_siebel.py b/src/oci/data_integration/models/connection_summary_from_oracle_siebel.py
index 68afa3f29e..7e6e7e372c 100644
--- a/src/oci/data_integration/models/connection_summary_from_oracle_siebel.py
+++ b/src/oci/data_integration/models/connection_summary_from_oracle_siebel.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .connection_summary import ConnectionSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -130,6 +130,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -218,7 +221,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
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 785d730ca0..e0078b94f4 100644
--- a/src/oci/data_integration/models/create_connection_from_adwc.py
+++ b/src/oci/data_integration/models/create_connection_from_adwc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -117,6 +117,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -251,7 +254,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
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 786526b847..f36c4c6236 100644
--- a/src/oci/data_integration/models/create_connection_from_atp.py
+++ b/src/oci/data_integration/models/create_connection_from_atp.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -117,6 +117,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -251,7 +254,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_connection_from_jdbc.py b/src/oci/data_integration/models/create_connection_from_jdbc.py
index 70322670c5..c8f1de75f5 100644
--- a/src/oci/data_integration/models/create_connection_from_jdbc.py
+++ b/src/oci/data_integration/models/create_connection_from_jdbc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -105,6 +105,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -189,7 +192,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_connection_from_my_sql.py b/src/oci/data_integration/models/create_connection_from_my_sql.py
index 0d25e19210..4ac5939540 100644
--- a/src/oci/data_integration/models/create_connection_from_my_sql.py
+++ b/src/oci/data_integration/models/create_connection_from_my_sql.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -105,6 +105,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -189,7 +192,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_connection_from_my_sql_heat_wave.py b/src/oci/data_integration/models/create_connection_from_my_sql_heat_wave.py
index 003d467c27..c1e72de607 100644
--- a/src/oci/data_integration/models/create_connection_from_my_sql_heat_wave.py
+++ b/src/oci/data_integration/models/create_connection_from_my_sql_heat_wave.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -105,6 +105,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -189,7 +192,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_connection_from_oracle.py b/src/oci/data_integration/models/create_connection_from_oracle.py
index 5bfe3e7b02..95a7e32447 100644
--- a/src/oci/data_integration/models/create_connection_from_oracle.py
+++ b/src/oci/data_integration/models/create_connection_from_oracle.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -105,6 +105,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -189,7 +192,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_connection_from_oracle_ebs.py b/src/oci/data_integration/models/create_connection_from_oracle_ebs.py
index e82f959d01..e6b531e49c 100644
--- a/src/oci/data_integration/models/create_connection_from_oracle_ebs.py
+++ b/src/oci/data_integration/models/create_connection_from_oracle_ebs.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -105,6 +105,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -189,7 +192,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_connection_from_oracle_people_soft.py b/src/oci/data_integration/models/create_connection_from_oracle_people_soft.py
index 6936a4d75f..950a2c6545 100644
--- a/src/oci/data_integration/models/create_connection_from_oracle_people_soft.py
+++ b/src/oci/data_integration/models/create_connection_from_oracle_people_soft.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -105,6 +105,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -189,7 +192,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_connection_from_oracle_siebel.py b/src/oci/data_integration/models/create_connection_from_oracle_siebel.py
index afb9bf8ca2..e5593e1f8e 100644
--- a/src/oci/data_integration/models/create_connection_from_oracle_siebel.py
+++ b/src/oci/data_integration/models/create_connection_from_oracle_siebel.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -105,6 +105,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -189,7 +192,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_data_asset_from_adwc.py b/src/oci/data_integration/models/create_data_asset_from_adwc.py
index 5b65016122..9393e62109 100644
--- a/src/oci/data_integration/models/create_data_asset_from_adwc.py
+++ b/src/oci/data_integration/models/create_data_asset_from_adwc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_data_asset_details import CreateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -165,6 +165,9 @@ def __init__(self, **kwargs):
'staging_connection': 'stagingConnection',
'bucket_schema': 'bucketSchema'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -479,7 +482,9 @@ def bucket_schema(self, bucket_schema):
self._bucket_schema = bucket_schema
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_data_asset_from_atp.py b/src/oci/data_integration/models/create_data_asset_from_atp.py
index 1354de9bdd..2770133baf 100644
--- a/src/oci/data_integration/models/create_data_asset_from_atp.py
+++ b/src/oci/data_integration/models/create_data_asset_from_atp.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_data_asset_details import CreateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -165,6 +165,9 @@ def __init__(self, **kwargs):
'staging_connection': 'stagingConnection',
'bucket_schema': 'bucketSchema'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -479,7 +482,9 @@ def bucket_schema(self, bucket_schema):
self._bucket_schema = bucket_schema
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_data_asset_from_jdbc.py b/src/oci/data_integration/models/create_data_asset_from_jdbc.py
index 607e770c5e..b035e1756d 100644
--- a/src/oci/data_integration/models/create_data_asset_from_jdbc.py
+++ b/src/oci/data_integration/models/create_data_asset_from_jdbc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_data_asset_details import CreateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'data_asset_type': 'dataAssetType',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -220,7 +223,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_data_asset_from_my_sql.py b/src/oci/data_integration/models/create_data_asset_from_my_sql.py
index 81a3a0edc4..822b5ed653 100644
--- a/src/oci/data_integration/models/create_data_asset_from_my_sql.py
+++ b/src/oci/data_integration/models/create_data_asset_from_my_sql.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_data_asset_details import CreateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'service_name': 'serviceName',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -220,7 +223,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_data_asset_from_my_sql_heat_wave.py b/src/oci/data_integration/models/create_data_asset_from_my_sql_heat_wave.py
index 8124dfee1f..a971c16800 100644
--- a/src/oci/data_integration/models/create_data_asset_from_my_sql_heat_wave.py
+++ b/src/oci/data_integration/models/create_data_asset_from_my_sql_heat_wave.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_data_asset_details import CreateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'service_name': 'serviceName',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -220,7 +223,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_data_asset_from_oracle.py b/src/oci/data_integration/models/create_data_asset_from_oracle.py
index 412e7155f8..dcb9876424 100644
--- a/src/oci/data_integration/models/create_data_asset_from_oracle.py
+++ b/src/oci/data_integration/models/create_data_asset_from_oracle.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_data_asset_details import CreateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -141,6 +141,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -367,7 +370,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_data_asset_from_oracle_ebs.py b/src/oci/data_integration/models/create_data_asset_from_oracle_ebs.py
index 843d1b2062..febdcecb5f 100644
--- a/src/oci/data_integration/models/create_data_asset_from_oracle_ebs.py
+++ b/src/oci/data_integration/models/create_data_asset_from_oracle_ebs.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_data_asset_details import CreateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -135,6 +135,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -336,7 +339,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_data_asset_from_oracle_people_soft.py b/src/oci/data_integration/models/create_data_asset_from_oracle_people_soft.py
index f39d019af3..7149b6341f 100644
--- a/src/oci/data_integration/models/create_data_asset_from_oracle_people_soft.py
+++ b/src/oci/data_integration/models/create_data_asset_from_oracle_people_soft.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_data_asset_details import CreateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -135,6 +135,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -336,7 +339,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/create_data_asset_from_oracle_siebel.py b/src/oci/data_integration/models/create_data_asset_from_oracle_siebel.py
index 781364f1ef..ec6beb8148 100644
--- a/src/oci/data_integration/models/create_data_asset_from_oracle_siebel.py
+++ b/src/oci/data_integration/models/create_data_asset_from_oracle_siebel.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .create_data_asset_details import CreateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -135,6 +135,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -336,7 +339,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_from_adwc_details.py b/src/oci/data_integration/models/data_asset_from_adwc_details.py
index 297e882ee2..f6e8ec17cc 100644
--- a/src/oci/data_integration/models/data_asset_from_adwc_details.py
+++ b/src/oci/data_integration/models/data_asset_from_adwc_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset import DataAsset
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -153,6 +153,9 @@ def __init__(self, **kwargs):
'staging_connection': 'stagingConnection',
'bucket_schema': 'bucketSchema'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -329,7 +332,9 @@ def bucket_schema(self, bucket_schema):
self._bucket_schema = bucket_schema
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_from_atp_details.py b/src/oci/data_integration/models/data_asset_from_atp_details.py
index dbec726350..c8ebc3f9ad 100644
--- a/src/oci/data_integration/models/data_asset_from_atp_details.py
+++ b/src/oci/data_integration/models/data_asset_from_atp_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset import DataAsset
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -153,6 +153,9 @@ def __init__(self, **kwargs):
'staging_connection': 'stagingConnection',
'bucket_schema': 'bucketSchema'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -329,7 +332,9 @@ def bucket_schema(self, bucket_schema):
self._bucket_schema = bucket_schema
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_from_my_sql_heat_wave.py b/src/oci/data_integration/models/data_asset_from_my_sql_heat_wave.py
index 19c8d2755d..7d962bcd68 100644
--- a/src/oci/data_integration/models/data_asset_from_my_sql_heat_wave.py
+++ b/src/oci/data_integration/models/data_asset_from_my_sql_heat_wave.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset import DataAsset
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -135,6 +135,9 @@ def __init__(self, **kwargs):
'service_name': 'serviceName',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -248,7 +251,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_from_oracle_details.py b/src/oci/data_integration/models/data_asset_from_oracle_details.py
index a4480f465e..6a46431d83 100644
--- a/src/oci/data_integration/models/data_asset_from_oracle_details.py
+++ b/src/oci/data_integration/models/data_asset_from_oracle_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset import DataAsset
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -165,6 +165,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -395,7 +398,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_from_oracle_ebs_details.py b/src/oci/data_integration/models/data_asset_from_oracle_ebs_details.py
index 2814c75f45..e64ff41ef9 100644
--- a/src/oci/data_integration/models/data_asset_from_oracle_ebs_details.py
+++ b/src/oci/data_integration/models/data_asset_from_oracle_ebs_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset import DataAsset
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -159,6 +159,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -364,7 +367,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_from_oracle_people_soft_details.py b/src/oci/data_integration/models/data_asset_from_oracle_people_soft_details.py
index 906111cc3e..3715202da9 100644
--- a/src/oci/data_integration/models/data_asset_from_oracle_people_soft_details.py
+++ b/src/oci/data_integration/models/data_asset_from_oracle_people_soft_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset import DataAsset
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -159,6 +159,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -364,7 +367,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_from_oracle_siebel_details.py b/src/oci/data_integration/models/data_asset_from_oracle_siebel_details.py
index 33a6040a73..3b0a1ee1c9 100644
--- a/src/oci/data_integration/models/data_asset_from_oracle_siebel_details.py
+++ b/src/oci/data_integration/models/data_asset_from_oracle_siebel_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset import DataAsset
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -159,6 +159,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -364,7 +367,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_summary_from_adwc.py b/src/oci/data_integration/models/data_asset_summary_from_adwc.py
index af2e8e2e61..cd1d7e56bf 100644
--- a/src/oci/data_integration/models/data_asset_summary_from_adwc.py
+++ b/src/oci/data_integration/models/data_asset_summary_from_adwc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset_summary import DataAssetSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -129,6 +129,9 @@ def __init__(self, **kwargs):
'driver_class': 'driverClass',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -241,7 +244,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_summary_from_atp.py b/src/oci/data_integration/models/data_asset_summary_from_atp.py
index a90d84fb98..8ce2f9d1f5 100644
--- a/src/oci/data_integration/models/data_asset_summary_from_atp.py
+++ b/src/oci/data_integration/models/data_asset_summary_from_atp.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset_summary import DataAssetSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -129,6 +129,9 @@ def __init__(self, **kwargs):
'driver_class': 'driverClass',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -241,7 +244,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_summary_from_my_sql_heat_wave.py b/src/oci/data_integration/models/data_asset_summary_from_my_sql_heat_wave.py
index 787f22e297..9aac769004 100644
--- a/src/oci/data_integration/models/data_asset_summary_from_my_sql_heat_wave.py
+++ b/src/oci/data_integration/models/data_asset_summary_from_my_sql_heat_wave.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset_summary import DataAssetSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -129,6 +129,9 @@ def __init__(self, **kwargs):
'service_name': 'serviceName',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -241,7 +244,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_summary_from_oracle.py b/src/oci/data_integration/models/data_asset_summary_from_oracle.py
index 5bbfe61080..57dde4df52 100644
--- a/src/oci/data_integration/models/data_asset_summary_from_oracle.py
+++ b/src/oci/data_integration/models/data_asset_summary_from_oracle.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset_summary import DataAssetSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -159,6 +159,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -388,7 +391,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_summary_from_oracle_ebs.py b/src/oci/data_integration/models/data_asset_summary_from_oracle_ebs.py
index 7e85dc8c99..90a5320723 100644
--- a/src/oci/data_integration/models/data_asset_summary_from_oracle_ebs.py
+++ b/src/oci/data_integration/models/data_asset_summary_from_oracle_ebs.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset_summary import DataAssetSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -153,6 +153,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -357,7 +360,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_summary_from_oracle_people_soft.py b/src/oci/data_integration/models/data_asset_summary_from_oracle_people_soft.py
index 8c6c1ad38b..3574cfcbdc 100644
--- a/src/oci/data_integration/models/data_asset_summary_from_oracle_people_soft.py
+++ b/src/oci/data_integration/models/data_asset_summary_from_oracle_people_soft.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset_summary import DataAssetSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -153,6 +153,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -357,7 +360,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/data_asset_summary_from_oracle_siebel.py b/src/oci/data_integration/models/data_asset_summary_from_oracle_siebel.py
index f075822596..1ebad98fc8 100644
--- a/src/oci/data_integration/models/data_asset_summary_from_oracle_siebel.py
+++ b/src/oci/data_integration/models/data_asset_summary_from_oracle_siebel.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .data_asset_summary import DataAssetSummary
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -153,6 +153,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -357,7 +360,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
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 87aa694193..d1f6504db3 100644
--- a/src/oci/data_integration/models/update_connection_from_adwc.py
+++ b/src/oci/data_integration/models/update_connection_from_adwc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -123,6 +123,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -258,7 +261,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
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 66863f453f..bc4918c56f 100644
--- a/src/oci/data_integration/models/update_connection_from_atp.py
+++ b/src/oci/data_integration/models/update_connection_from_atp.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -123,6 +123,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -258,7 +261,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_connection_from_jdbc.py b/src/oci/data_integration/models/update_connection_from_jdbc.py
index 69b46c4cf6..905230a50b 100644
--- a/src/oci/data_integration/models/update_connection_from_jdbc.py
+++ b/src/oci/data_integration/models/update_connection_from_jdbc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -196,7 +199,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_connection_from_my_sql.py b/src/oci/data_integration/models/update_connection_from_my_sql.py
index 59600186a1..97b26b8096 100644
--- a/src/oci/data_integration/models/update_connection_from_my_sql.py
+++ b/src/oci/data_integration/models/update_connection_from_my_sql.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -196,7 +199,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_connection_from_my_sql_heat_wave.py b/src/oci/data_integration/models/update_connection_from_my_sql_heat_wave.py
index cbe6f77e72..5a98d8986c 100644
--- a/src/oci/data_integration/models/update_connection_from_my_sql_heat_wave.py
+++ b/src/oci/data_integration/models/update_connection_from_my_sql_heat_wave.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -196,7 +199,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_connection_from_oracle.py b/src/oci/data_integration/models/update_connection_from_oracle.py
index 04b32a5894..4ed8eb272b 100644
--- a/src/oci/data_integration/models/update_connection_from_oracle.py
+++ b/src/oci/data_integration/models/update_connection_from_oracle.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -196,7 +199,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_connection_from_oracle_ebs.py b/src/oci/data_integration/models/update_connection_from_oracle_ebs.py
index 76073cee0c..4deedd7ef2 100644
--- a/src/oci/data_integration/models/update_connection_from_oracle_ebs.py
+++ b/src/oci/data_integration/models/update_connection_from_oracle_ebs.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -196,7 +199,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_connection_from_oracle_people_soft.py b/src/oci/data_integration/models/update_connection_from_oracle_people_soft.py
index f947b5e7f8..7edde01ed8 100644
--- a/src/oci/data_integration/models/update_connection_from_oracle_people_soft.py
+++ b/src/oci/data_integration/models/update_connection_from_oracle_people_soft.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -196,7 +199,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_connection_from_oracle_siebel.py b/src/oci/data_integration/models/update_connection_from_oracle_siebel.py
index 6ba9419d75..42aef9f6aa 100644
--- a/src/oci/data_integration/models/update_connection_from_oracle_siebel.py
+++ b/src/oci/data_integration/models/update_connection_from_oracle_siebel.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -111,6 +111,9 @@ def __init__(self, **kwargs):
'password': 'password',
'password_secret': 'passwordSecret'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -196,7 +199,9 @@ def password_secret(self, password_secret):
self._password_secret = password_secret
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_data_asset_from_adwc.py b/src/oci/data_integration/models/update_data_asset_from_adwc.py
index cecaddb691..6e0c1f1f8f 100644
--- a/src/oci/data_integration/models/update_data_asset_from_adwc.py
+++ b/src/oci/data_integration/models/update_data_asset_from_adwc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_data_asset_details import UpdateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -153,6 +153,9 @@ def __init__(self, **kwargs):
'autonomous_db_id': 'autonomousDbId',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -405,7 +408,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_data_asset_from_atp.py b/src/oci/data_integration/models/update_data_asset_from_atp.py
index a4603df6d8..f60cefc4d4 100644
--- a/src/oci/data_integration/models/update_data_asset_from_atp.py
+++ b/src/oci/data_integration/models/update_data_asset_from_atp.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_data_asset_details import UpdateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -153,6 +153,9 @@ def __init__(self, **kwargs):
'autonomous_db_id': 'autonomousDbId',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -405,7 +408,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_data_asset_from_jdbc.py b/src/oci/data_integration/models/update_data_asset_from_jdbc.py
index 356faf46a9..d628ad2dc6 100644
--- a/src/oci/data_integration/models/update_data_asset_from_jdbc.py
+++ b/src/oci/data_integration/models/update_data_asset_from_jdbc.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_data_asset_details import UpdateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -117,6 +117,9 @@ def __init__(self, **kwargs):
'data_asset_type': 'dataAssetType',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -227,7 +230,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_data_asset_from_my_sql.py b/src/oci/data_integration/models/update_data_asset_from_my_sql.py
index 47fbb05a05..17bd47f52a 100644
--- a/src/oci/data_integration/models/update_data_asset_from_my_sql.py
+++ b/src/oci/data_integration/models/update_data_asset_from_my_sql.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_data_asset_details import UpdateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -117,6 +117,9 @@ def __init__(self, **kwargs):
'service_name': 'serviceName',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -227,7 +230,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_data_asset_from_my_sql_heat_wave.py b/src/oci/data_integration/models/update_data_asset_from_my_sql_heat_wave.py
index a6819dbf54..0320679645 100644
--- a/src/oci/data_integration/models/update_data_asset_from_my_sql_heat_wave.py
+++ b/src/oci/data_integration/models/update_data_asset_from_my_sql_heat_wave.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_data_asset_details import UpdateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -117,6 +117,9 @@ def __init__(self, **kwargs):
'service_name': 'serviceName',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -227,7 +230,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_data_asset_from_oracle.py b/src/oci/data_integration/models/update_data_asset_from_oracle.py
index c039ad94c1..b0ab4e4944 100644
--- a/src/oci/data_integration/models/update_data_asset_from_oracle.py
+++ b/src/oci/data_integration/models/update_data_asset_from_oracle.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_data_asset_details import UpdateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -147,6 +147,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -374,7 +377,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_data_asset_from_oracle_ebs.py b/src/oci/data_integration/models/update_data_asset_from_oracle_ebs.py
index 29644d4433..14cb9048a1 100644
--- a/src/oci/data_integration/models/update_data_asset_from_oracle_ebs.py
+++ b/src/oci/data_integration/models/update_data_asset_from_oracle_ebs.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_data_asset_details import UpdateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -141,6 +141,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -343,7 +346,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_data_asset_from_oracle_people_soft.py b/src/oci/data_integration/models/update_data_asset_from_oracle_people_soft.py
index 3d8ba655b1..e6c8f992d5 100644
--- a/src/oci/data_integration/models/update_data_asset_from_oracle_people_soft.py
+++ b/src/oci/data_integration/models/update_data_asset_from_oracle_people_soft.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_data_asset_details import UpdateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -141,6 +141,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -343,7 +346,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_integration/models/update_data_asset_from_oracle_siebel.py b/src/oci/data_integration/models/update_data_asset_from_oracle_siebel.py
index f050375749..5efd434077 100644
--- a/src/oci/data_integration/models/update_data_asset_from_oracle_siebel.py
+++ b/src/oci/data_integration/models/update_data_asset_from_oracle_siebel.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20200430
from .update_data_asset_details import UpdateDataAssetDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -141,6 +141,9 @@ def __init__(self, **kwargs):
'wallet_password_secret': 'walletPasswordSecret',
'default_connection': 'defaultConnection'
}
+ self._redacted_field_paths = [
+ ['default_connection', 'password'],
+ ]
self._model_type = None
self._key = None
self._model_version = None
@@ -343,7 +346,9 @@ def default_connection(self, default_connection):
self._default_connection = default_connection
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['default_connection', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/data_safe_client.py b/src/oci/data_safe/data_safe_client.py
index c7133df1c5..d11700c77a 100644
--- a/src/oci/data_safe/data_safe_client.py
+++ b/src/oci/data_safe/data_safe_client.py
@@ -7883,8 +7883,8 @@ def create_sdm_masking_policy_difference(self, create_sdm_masking_policy_differe
def create_security_assessment(self, create_security_assessment_details, **kwargs):
"""
- Creates a new saved security assessment for one or multiple targets in a compartment. When this operation is performed,
- it will save the latest assessments in the specified compartment. If a schedule is passed, it will persist the latest assessments,
+ Creates a new saved security assessment for a target database or target database group in a compartment. When this operation is performed,
+ it will save the latest assessment in the specified compartment. If a schedule is passed, it will persist the latest assessment,
at the defined date and time, in the format defined by `RFC3339`__.
__ https://tools.ietf.org/html/rfc3339
@@ -9362,8 +9362,8 @@ def create_unified_audit_policy(self, create_unified_audit_policy_details, **kwa
def create_user_assessment(self, create_user_assessment_details, **kwargs):
"""
- Creates a new saved user assessment for one or multiple targets in a compartment. It saves the latest assessments in the
- specified compartment. If a scheduled is passed in, this operation persists the latest assessments that exist at the defined
+ Creates a new saved user assessment for a target database or target database group in a compartment. It saves the latest assessment in the
+ specified compartment. If a schedule is passed in, this operation persists the latest assessment that exists at the defined
date and time, in the format defined by `RFC3339`__.
__ https://tools.ietf.org/html/rfc3339
@@ -23288,7 +23288,7 @@ def list_associated_resources(self, attribute_set_id, **kwargs):
:param str associated_resource_type: (optional)
A filter to return attribute set associated resources that matches the specified resource type query param.
- Allowed values are: "AUDIT_POLICY"
+ Allowed values are: "AUDIT_POLICY", "AUDIT_REPORT"
:param str associated_resource_id: (optional)
A filter to return attribute set associated resource that matches the specified associated resource id query param.
@@ -23351,7 +23351,7 @@ def list_associated_resources(self, attribute_set_id, **kwargs):
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
if 'associated_resource_type' in kwargs:
- associated_resource_type_allowed_values = ["AUDIT_POLICY"]
+ associated_resource_type_allowed_values = ["AUDIT_POLICY", "AUDIT_REPORT"]
if kwargs['associated_resource_type'] not in associated_resource_type_allowed_values:
raise ValueError(
f"Invalid value for `associated_resource_type`, must be one of { associated_resource_type_allowed_values }"
@@ -25806,7 +25806,7 @@ def list_checks(self, security_assessment_id, **kwargs):
:param str sort_by: (optional)
The field to sort by. You can specify only one sort order(sortOrder). The default order for title is ascending.
- Allowed values are: "title", "category"
+ Allowed values are: "title", "category", "key"
:param str suggested_severity: (optional)
A filter to return only checks of a particular risk level.
@@ -25908,7 +25908,7 @@ def list_checks(self, security_assessment_id, **kwargs):
)
if 'sort_by' in kwargs:
- sort_by_allowed_values = ["title", "category"]
+ sort_by_allowed_values = ["title", "category", "key"]
if kwargs['sort_by'] not in sort_by_allowed_values:
raise ValueError(
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
@@ -26971,6 +26971,7 @@ def list_database_view_access_entries(self, security_policy_report_id, **kwargs)
Retrieves a list of all database view access entries in Data Safe.
The ListDatabaseViewAccessEntries operation returns only the database view access objects for the specified security policy report.
+ If targetId is specified, it must match the target associated with the securityPolicyReportId path parameter; otherwise, the request is rejected.
:param str security_policy_report_id: (required)
@@ -28255,6 +28256,11 @@ def list_findings(self, security_assessment_id, **kwargs):
:param str category: (optional)
The category of the finding.
+ :param list[str] contains_oracle_defined_severity: (optional)
+ A filter to return only findings that match the specified risk level(s). Use containsOracleDefinedSeverity parameter if need to filter by one or multiple risk levels.
+
+ Allowed values are: "HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED"
+
:param str lifecycle_state: (optional)
A filter to return only the findings that match the specified lifecycle states.
@@ -28386,6 +28392,7 @@ def list_findings(self, security_assessment_id, **kwargs):
"severity",
"contains_severity",
"category",
+ "contains_oracle_defined_severity",
"lifecycle_state",
"references",
"contains_references",
@@ -28432,6 +28439,14 @@ def list_findings(self, security_assessment_id, **kwargs):
f"Invalid value for `contains_severity`, must be one of { contains_severity_allowed_values }"
)
+ if 'contains_oracle_defined_severity' in kwargs:
+ contains_oracle_defined_severity_allowed_values = ["HIGH", "MEDIUM", "LOW", "EVALUATE", "ADVISORY", "PASS", "DEFERRED"]
+ for contains_oracle_defined_severity_item in kwargs['contains_oracle_defined_severity']:
+ if contains_oracle_defined_severity_item not in contains_oracle_defined_severity_allowed_values:
+ raise ValueError(
+ f"Invalid value for `contains_oracle_defined_severity`, must be one of { contains_oracle_defined_severity_allowed_values }"
+ )
+
if 'lifecycle_state' in kwargs:
lifecycle_state_allowed_values = ["ACTIVE", "UPDATING", "NEEDS_ATTENTION", "FAILED"]
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
@@ -28488,6 +28503,7 @@ def list_findings(self, security_assessment_id, **kwargs):
"severity": kwargs.get("severity", missing),
"containsSeverity": self.base_client.generate_collection_format_param(kwargs.get("contains_severity", missing), 'multi'),
"category": kwargs.get("category", missing),
+ "containsOracleDefinedSeverity": self.base_client.generate_collection_format_param(kwargs.get("contains_oracle_defined_severity", missing), 'multi'),
"lifecycleState": kwargs.get("lifecycle_state", missing),
"references": kwargs.get("references", missing),
"containsReferences": self.base_client.generate_collection_format_param(kwargs.get("contains_references", missing), 'multi'),
@@ -39497,6 +39513,11 @@ def list_target_alert_policy_associations(self, compartment_id, **kwargs):
Allowed values are: "DISPLAYNAME", "TIMECREATED", "TIMEUPDATED"
+ :param str target_type: (optional)
+ A optional filter to return only resources that belong to the specified alert policy association type.
+
+ Allowed values are: "TARGET_DATABASE", "TARGET_DATABASE_GROUP"
+
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -39571,6 +39592,7 @@ def list_target_alert_policy_associations(self, compartment_id, **kwargs):
"page",
"sort_order",
"sort_by",
+ "target_type",
"opc_request_id",
"time_created_greater_than_or_equal_to",
"time_created_less_than",
@@ -39603,6 +39625,13 @@ def list_target_alert_policy_associations(self, compartment_id, **kwargs):
f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
)
+ if 'target_type' in kwargs:
+ target_type_allowed_values = ["TARGET_DATABASE", "TARGET_DATABASE_GROUP"]
+ if kwargs['target_type'] not in target_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `target_type`, must be one of { target_type_allowed_values }"
+ )
+
if 'access_level' in kwargs:
access_level_allowed_values = ["RESTRICTED", "ACCESSIBLE"]
if kwargs['access_level'] not in access_level_allowed_values:
@@ -39620,6 +39649,7 @@ def list_target_alert_policy_associations(self, compartment_id, **kwargs):
"page": kwargs.get("page", missing),
"sortOrder": kwargs.get("sort_order", missing),
"sortBy": kwargs.get("sort_by", missing),
+ "targetType": kwargs.get("target_type", missing),
"timeCreatedGreaterThanOrEqualTo": kwargs.get("time_created_greater_than_or_equal_to", missing),
"timeCreatedLessThan": kwargs.get("time_created_less_than", missing),
"compartmentIdInSubtree": kwargs.get("compartment_id_in_subtree", missing),
@@ -39670,6 +39700,159 @@ def list_target_alert_policy_associations(self, compartment_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def list_target_alert_policy_unassociated_members(self, target_alert_policy_association_id, **kwargs):
+ """
+ Gets the details of target-alert policy association and its unassociated members by its ID.
+
+
+ :param str target_alert_policy_association_id: (required)
+ The OCID of the target-alert policy association.
+
+ :param int limit: (optional)
+ For list pagination. The maximum number of items to return per page in a paginated \"List\" call. For details about how pagination works, see `List Pagination`__.
+
+ __ https://docs.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str page: (optional)
+ For list pagination. The page token representing the page at which to start retrieving results. It is usually retrieved from a previous \"List\" call. For details about how pagination works, see `List Pagination`__.
+
+ __ https://docs.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine
+
+ :param str sort_by: (optional)
+ The field to sort by. Only one sort parameter may be provided.
+
+ Allowed values are: "targetId", "notAppliedReason"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (ASC) or descending (DESC).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.data_safe.models.TargetAlertPolicyUnassociatedCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_target_alert_policy_unassociated_members API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['targetAlertPolicyAssociationId']
+ resource_path = "/targetAlertPolicyAssociations/{targetAlertPolicyAssociationId}/unassociatedTargetMembers"
+ method = "GET"
+ operation_name = "list_target_alert_policy_unassociated_members"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/data-safe/20181201/TargetAlertPolicyAssociation/ListTargetAlertPolicyUnassociatedMembers"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "limit",
+ "page",
+ "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(
+ f"list_target_alert_policy_unassociated_members got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "targetAlertPolicyAssociationId": target_alert_policy_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(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["targetId", "notAppliedReason"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { 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(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ query_params = {
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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="TargetAlertPolicyUnassociatedCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="TargetAlertPolicyUnassociatedCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def list_target_database_groups(self, compartment_id, **kwargs):
"""
Retrieves a list of target database groups according to the specified query parameters.
@@ -41943,6 +42126,9 @@ def list_users(self, user_assessment_id, **kwargs):
__ https://docs.oracle.com/en-us/iaas/Content/API/Concepts/usingapi.htm#nine
+ :param str compartment_id: (optional)
+ A filter to return only resources that match the specified compartment OCID.
+
:param str sort_order: (optional)
The sort order to use, either ascending (ASC) or descending (DESC).
@@ -42017,6 +42203,7 @@ def list_users(self, user_assessment_id, **kwargs):
"time_password_expiry_greater_than_or_equal_to",
"time_password_expiry_less_than",
"page",
+ "compartment_id",
"sort_order",
"sort_by",
"opc_request_id",
@@ -42081,6 +42268,7 @@ def list_users(self, user_assessment_id, **kwargs):
"timePasswordExpiryGreaterThanOrEqualTo": kwargs.get("time_password_expiry_greater_than_or_equal_to", missing),
"timePasswordExpiryLessThan": kwargs.get("time_password_expiry_less_than", missing),
"page": kwargs.get("page", missing),
+ "compartmentId": kwargs.get("compartment_id", missing),
"sortOrder": kwargs.get("sort_order", missing),
"sortBy": kwargs.get("sort_by", missing),
"schemaList": self.base_client.generate_collection_format_param(kwargs.get("schema_list", missing), 'multi'),
diff --git a/src/oci/data_safe/models/__init__.py b/src/oci/data_safe/models/__init__.py
index a67936fd1d..46ce221e16 100644
--- a/src/oci/data_safe/models/__init__.py
+++ b/src/oci/data_safe/models/__init__.py
@@ -426,6 +426,8 @@
from .target_alert_policy_association import TargetAlertPolicyAssociation
from .target_alert_policy_association_collection import TargetAlertPolicyAssociationCollection
from .target_alert_policy_association_summary import TargetAlertPolicyAssociationSummary
+from .target_alert_policy_unassociated_collection import TargetAlertPolicyUnassociatedCollection
+from .target_alert_policy_unassociated_summary import TargetAlertPolicyUnassociatedSummary
from .target_database import TargetDatabase
from .target_database_group import TargetDatabaseGroup
from .target_database_group_collection import TargetDatabaseGroupCollection
@@ -935,6 +937,8 @@
"TargetAlertPolicyAssociation": TargetAlertPolicyAssociation,
"TargetAlertPolicyAssociationCollection": TargetAlertPolicyAssociationCollection,
"TargetAlertPolicyAssociationSummary": TargetAlertPolicyAssociationSummary,
+ "TargetAlertPolicyUnassociatedCollection": TargetAlertPolicyUnassociatedCollection,
+ "TargetAlertPolicyUnassociatedSummary": TargetAlertPolicyUnassociatedSummary,
"TargetDatabase": TargetDatabase,
"TargetDatabaseGroup": TargetDatabaseGroup,
"TargetDatabaseGroupCollection": TargetDatabaseGroupCollection,
diff --git a/src/oci/data_safe/models/activate_target_database_details.py b/src/oci/data_safe/models/activate_target_database_details.py
index daf5c790ba..dbd144b70b 100644
--- a/src/oci/data_safe/models/activate_target_database_details.py
+++ b/src/oci/data_safe/models/activate_target_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'credentials': 'credentials'
}
+ self._redacted_field_paths = [
+ ['credentials', 'password'],
+ ]
self._credentials = None
@property
@@ -54,7 +57,9 @@ def credentials(self, credentials):
self._credentials = credentials
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/associated_resource_summary.py b/src/oci/data_safe/models/associated_resource_summary.py
index e9ca3a175a..7c7643391b 100644
--- a/src/oci/data_safe/models/associated_resource_summary.py
+++ b/src/oci/data_safe/models/associated_resource_summary.py
@@ -19,6 +19,10 @@ class AssociatedResourceSummary(object):
#: This constant has a value of "AUDIT_POLICY"
ASSOCIATED_RESOURCE_TYPE_AUDIT_POLICY = "AUDIT_POLICY"
+ #: A constant which can be used with the associated_resource_type property of a AssociatedResourceSummary.
+ #: This constant has a value of "AUDIT_REPORT"
+ ASSOCIATED_RESOURCE_TYPE_AUDIT_REPORT = "AUDIT_REPORT"
+
def __init__(self, **kwargs):
"""
Initializes a new AssociatedResourceSummary object with values from keyword arguments.
@@ -26,7 +30,7 @@ def __init__(self, **kwargs):
:param associated_resource_type:
The value to assign to the associated_resource_type property of this AssociatedResourceSummary.
- Allowed values for this property are: "AUDIT_POLICY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "AUDIT_POLICY", "AUDIT_REPORT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type associated_resource_type: str
@@ -73,7 +77,7 @@ def associated_resource_type(self):
Gets the associated_resource_type of this AssociatedResourceSummary.
The resource type that is associated with the attribute set.
- Allowed values for this property are: "AUDIT_POLICY", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "AUDIT_POLICY", "AUDIT_REPORT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -92,7 +96,7 @@ def associated_resource_type(self, associated_resource_type):
:param associated_resource_type: The associated_resource_type of this AssociatedResourceSummary.
:type: str
"""
- allowed_values = ["AUDIT_POLICY"]
+ allowed_values = ["AUDIT_POLICY", "AUDIT_REPORT"]
if not value_allowed_none_or_none_sentinel(associated_resource_type, allowed_values):
associated_resource_type = 'UNKNOWN_ENUM_VALUE'
self._associated_resource_type = associated_resource_type
diff --git a/src/oci/data_safe/models/audit_trail_summary.py b/src/oci/data_safe/models/audit_trail_summary.py
index ed883a9185..3fc2d228c0 100644
--- a/src/oci/data_safe/models/audit_trail_summary.py
+++ b/src/oci/data_safe/models/audit_trail_summary.py
@@ -497,7 +497,7 @@ def lifecycle_state(self, lifecycle_state):
def lifecycle_details(self):
"""
Gets the lifecycle_details of this AuditTrailSummary.
- Details about the current state of the audit trail in Data Safe.
+ Details about the current state of the audit trail in Data Safe. This attribute will be deprecated, but will still be available in GET audit trail response.
:return: The lifecycle_details of this AuditTrailSummary.
@@ -509,7 +509,7 @@ def lifecycle_details(self):
def lifecycle_details(self, lifecycle_details):
"""
Sets the lifecycle_details of this AuditTrailSummary.
- Details about the current state of the audit trail in Data Safe.
+ Details about the current state of the audit trail in Data Safe. This attribute will be deprecated, but will still be available in GET audit trail response.
:param lifecycle_details: The lifecycle_details of this AuditTrailSummary.
diff --git a/src/oci/data_safe/models/columns_info.py b/src/oci/data_safe/models/columns_info.py
index 2f583c0cae..5237e5b702 100644
--- a/src/oci/data_safe/models/columns_info.py
+++ b/src/oci/data_safe/models/columns_info.py
@@ -19,6 +19,10 @@ class ColumnsInfo(object):
#: This constant has a value of "TABLE"
OBJECT_TYPE_TABLE = "TABLE"
+ #: A constant which can be used with the object_type property of a ColumnsInfo.
+ #: This constant has a value of "EDITIONING_VIEW"
+ OBJECT_TYPE_EDITIONING_VIEW = "EDITIONING_VIEW"
+
def __init__(self, **kwargs):
"""
Initializes a new ColumnsInfo object with values from keyword arguments.
@@ -30,7 +34,7 @@ def __init__(self, **kwargs):
:param object_type:
The value to assign to the object_type property of this ColumnsInfo.
- Allowed values for this property are: "TABLE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "TABLE", "EDITIONING_VIEW", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type object_type: str
@@ -104,7 +108,7 @@ def object_type(self):
**[Required]** Gets the object_type of this ColumnsInfo.
The type of the database object that contains the sensitive column.
- Allowed values for this property are: "TABLE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "TABLE", "EDITIONING_VIEW", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -123,7 +127,7 @@ def object_type(self, object_type):
:param object_type: The object_type of this ColumnsInfo.
:type: str
"""
- allowed_values = ["TABLE"]
+ allowed_values = ["TABLE", "EDITIONING_VIEW"]
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_safe/models/create_data_safe_private_endpoint_details.py b/src/oci/data_safe/models/create_data_safe_private_endpoint_details.py
index 73d531416c..7e5e14e479 100644
--- a/src/oci/data_safe/models/create_data_safe_private_endpoint_details.py
+++ b/src/oci/data_safe/models/create_data_safe_private_endpoint_details.py
@@ -56,6 +56,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this CreateDataSafePrivateEndpointDetails.
:type defined_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this CreateDataSafePrivateEndpointDetails.
+ :type security_attributes: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'display_name': 'str',
@@ -66,7 +70,8 @@ def __init__(self, **kwargs):
'description': 'str',
'nsg_ids': 'list[str]',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'display_name': 'displayName',
@@ -77,7 +82,8 @@ def __init__(self, **kwargs):
'description': 'description',
'nsg_ids': 'nsgIds',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'security_attributes': 'securityAttributes'
}
self._display_name = None
self._compartment_id = None
@@ -88,6 +94,7 @@ def __init__(self, **kwargs):
self._nsg_ids = None
self._freeform_tags = None
self._defined_tags = None
+ self._security_attributes = None
@property
def display_name(self):
@@ -319,6 +326,38 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def security_attributes(self):
+ """
+ Gets the security_attributes of this CreateDataSafePrivateEndpointDetails.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The security_attributes of this CreateDataSafePrivateEndpointDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._security_attributes
+
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
+ """
+ Sets the security_attributes of this CreateDataSafePrivateEndpointDetails.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param security_attributes: The security_attributes of this CreateDataSafePrivateEndpointDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._security_attributes = security_attributes
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_safe/models/create_peer_target_database_details.py b/src/oci/data_safe/models/create_peer_target_database_details.py
index 0004cdf031..0e880ba29c 100644
--- a/src/oci/data_safe/models/create_peer_target_database_details.py
+++ b/src/oci/data_safe/models/create_peer_target_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -55,6 +55,9 @@ def __init__(self, **kwargs):
'database_details': 'databaseDetails',
'tls_config': 'tlsConfig'
}
+ self._redacted_field_paths = [
+ ['tls_config', 'store_password'],
+ ]
self._display_name = None
self._description = None
self._dataguard_association_id = None
@@ -174,7 +177,9 @@ def tls_config(self, tls_config):
self._tls_config = tls_config
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['tls_config', 'store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/create_target_alert_policy_association_details.py b/src/oci/data_safe/models/create_target_alert_policy_association_details.py
index ac966a1077..f753d377bc 100644
--- a/src/oci/data_safe/models/create_target_alert_policy_association_details.py
+++ b/src/oci/data_safe/models/create_target_alert_policy_association_details.py
@@ -44,6 +44,10 @@ def __init__(self, **kwargs):
The value to assign to the is_enabled property of this CreateTargetAlertPolicyAssociationDetails.
:type is_enabled: bool
+ :param target_type:
+ The value to assign to the target_type property of this CreateTargetAlertPolicyAssociationDetails.
+ :type target_type: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this CreateTargetAlertPolicyAssociationDetails.
:type freeform_tags: dict(str, str)
@@ -60,6 +64,7 @@ def __init__(self, **kwargs):
'description': 'str',
'compartment_id': 'str',
'is_enabled': 'bool',
+ 'target_type': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))'
}
@@ -70,6 +75,7 @@ def __init__(self, **kwargs):
'description': 'description',
'compartment_id': 'compartmentId',
'is_enabled': 'isEnabled',
+ 'target_type': 'targetType',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
@@ -79,6 +85,7 @@ def __init__(self, **kwargs):
self._description = None
self._compartment_id = None
self._is_enabled = None
+ self._target_type = None
self._freeform_tags = None
self._defined_tags = None
@@ -110,7 +117,7 @@ def policy_id(self, policy_id):
def target_id(self):
"""
**[Required]** Gets the target_id of this CreateTargetAlertPolicyAssociationDetails.
- The OCID of the target.
+ The OCID of the target or target database group.
:return: The target_id of this CreateTargetAlertPolicyAssociationDetails.
@@ -122,7 +129,7 @@ def target_id(self):
def target_id(self, target_id):
"""
Sets the target_id of this CreateTargetAlertPolicyAssociationDetails.
- The OCID of the target.
+ The OCID of the target or target database group.
:param target_id: The target_id of this CreateTargetAlertPolicyAssociationDetails.
@@ -226,6 +233,30 @@ def is_enabled(self, is_enabled):
"""
self._is_enabled = is_enabled
+ @property
+ def target_type(self):
+ """
+ Gets the target_type of this CreateTargetAlertPolicyAssociationDetails.
+ The resource type that is represented by the alert policy association. Default is considered as TARGET_DATABASE.
+
+
+ :return: The target_type of this CreateTargetAlertPolicyAssociationDetails.
+ :rtype: str
+ """
+ return self._target_type
+
+ @target_type.setter
+ def target_type(self, target_type):
+ """
+ Sets the target_type of this CreateTargetAlertPolicyAssociationDetails.
+ The resource type that is represented by the alert policy association. Default is considered as TARGET_DATABASE.
+
+
+ :param target_type: The target_type of this CreateTargetAlertPolicyAssociationDetails.
+ :type: str
+ """
+ self._target_type = target_type
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/data_safe/models/create_target_database_details.py b/src/oci/data_safe/models/create_target_database_details.py
index 204eccd2d6..c4e3399ec1 100644
--- a/src/oci/data_safe/models/create_target_database_details.py
+++ b/src/oci/data_safe/models/create_target_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -85,6 +85,11 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
+ self._redacted_field_paths = [
+ ['credentials', 'password'],
+ ['tls_config', 'store_password'],
+ ['peer_target_database_details', '*', 'tls_config', 'store_password'],
+ ]
self._compartment_id = None
self._display_name = None
self._description = None
@@ -335,7 +340,11 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credentials', 'password'])
+ redact_password_field(as_dict, ['tls_config', 'store_password'])
+ redact_password_field(as_dict, ['peer_target_database_details', '*', 'tls_config', 'store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/credentials.py b/src/oci/data_safe/models/credentials.py
index 03b915775e..4f69c29209 100644
--- a/src/oci/data_safe/models/credentials.py
+++ b/src/oci/data_safe/models/credentials.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'user_name': 'userName',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._user_name = None
self._password = None
@@ -89,7 +92,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/data_safe_private_endpoint.py b/src/oci/data_safe/models/data_safe_private_endpoint.py
index 2ebe071197..f8387b3873 100644
--- a/src/oci/data_safe/models/data_safe_private_endpoint.py
+++ b/src/oci/data_safe/models/data_safe_private_endpoint.py
@@ -110,6 +110,10 @@ def __init__(self, **kwargs):
The value to assign to the system_tags property of this DataSafePrivateEndpoint.
:type system_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this DataSafePrivateEndpoint.
+ :type security_attributes: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -126,7 +130,8 @@ def __init__(self, **kwargs):
'nsg_ids': 'list[str]',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'system_tags': 'dict(str, dict(str, object))'
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'id': 'id',
@@ -143,7 +148,8 @@ def __init__(self, **kwargs):
'nsg_ids': 'nsgIds',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'system_tags': 'systemTags'
+ 'system_tags': 'systemTags',
+ 'security_attributes': 'securityAttributes'
}
self._id = None
self._display_name = None
@@ -160,6 +166,7 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
+ self._security_attributes = None
@property
def id(self):
@@ -547,6 +554,38 @@ def system_tags(self, system_tags):
"""
self._system_tags = system_tags
+ @property
+ def security_attributes(self):
+ """
+ Gets the security_attributes of this DataSafePrivateEndpoint.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The security_attributes of this DataSafePrivateEndpoint.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._security_attributes
+
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
+ """
+ Sets the security_attributes of this DataSafePrivateEndpoint.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param security_attributes: The security_attributes of this DataSafePrivateEndpoint.
+ :type: dict(str, dict(str, object))
+ """
+ self._security_attributes = security_attributes
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_safe/models/data_safe_private_endpoint_summary.py b/src/oci/data_safe/models/data_safe_private_endpoint_summary.py
index 333b1b20e2..9c46d9aa48 100644
--- a/src/oci/data_safe/models/data_safe_private_endpoint_summary.py
+++ b/src/oci/data_safe/models/data_safe_private_endpoint_summary.py
@@ -98,6 +98,10 @@ def __init__(self, **kwargs):
The value to assign to the system_tags property of this DataSafePrivateEndpointSummary.
:type system_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this DataSafePrivateEndpointSummary.
+ :type security_attributes: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'id': 'str',
@@ -111,7 +115,8 @@ def __init__(self, **kwargs):
'lifecycle_state': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'system_tags': 'dict(str, dict(str, object))'
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'id': 'id',
@@ -125,7 +130,8 @@ def __init__(self, **kwargs):
'lifecycle_state': 'lifecycleState',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'system_tags': 'systemTags'
+ 'system_tags': 'systemTags',
+ 'security_attributes': 'securityAttributes'
}
self._id = None
self._display_name = None
@@ -139,6 +145,7 @@ def __init__(self, **kwargs):
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
+ self._security_attributes = None
@property
def id(self):
@@ -454,6 +461,38 @@ def system_tags(self, system_tags):
"""
self._system_tags = system_tags
+ @property
+ def security_attributes(self):
+ """
+ Gets the security_attributes of this DataSafePrivateEndpointSummary.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The security_attributes of this DataSafePrivateEndpointSummary.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._security_attributes
+
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
+ """
+ Sets the security_attributes of this DataSafePrivateEndpointSummary.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param security_attributes: The security_attributes of this DataSafePrivateEndpointSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._security_attributes = security_attributes
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_safe/models/download_security_assessment_report_details.py b/src/oci/data_safe/models/download_security_assessment_report_details.py
index 167db94ec7..3886b04c37 100644
--- a/src/oci/data_safe/models/download_security_assessment_report_details.py
+++ b/src/oci/data_safe/models/download_security_assessment_report_details.py
@@ -37,14 +37,21 @@ def __init__(self, **kwargs):
Allowed values for this property are: "PDF", "XLS", "STIGXLS"
:type format: str
+ :param is_single_report:
+ The value to assign to the is_single_report property of this DownloadSecurityAssessmentReportDetails.
+ :type is_single_report: bool
+
"""
self.swagger_types = {
- 'format': 'str'
+ 'format': 'str',
+ 'is_single_report': 'bool'
}
self.attribute_map = {
- 'format': 'format'
+ 'format': 'format',
+ 'is_single_report': 'isSingleReport'
}
self._format = None
+ self._is_single_report = None
@property
def format(self):
@@ -77,6 +84,44 @@ def format(self, format):
)
self._format = format
+ @property
+ def is_single_report(self):
+ """
+ Gets the is_single_report of this DownloadSecurityAssessmentReportDetails.
+ Optional flag controlling the output format of a target group report:
+ - true: Return a single consolidated report file for the entire target group.
+ - false/null (default): Return a ZIP archive containing one file per target in the group.
+
+ Important:
+ - This flag is only applicable when the security assessment OCID refers to a target group assessment (targetType TARGET_DATABASE_GROUP).
+ - If `isSingleReport` is set to true for an individual target (targetType TARGET_DATABASE), the request will return an error.
+ - If `isSingleReport` is null or false for an individual target, the value is ignored and the selected output format for the assessment type is returned.
+
+
+ :return: The is_single_report of this DownloadSecurityAssessmentReportDetails.
+ :rtype: bool
+ """
+ return self._is_single_report
+
+ @is_single_report.setter
+ def is_single_report(self, is_single_report):
+ """
+ Sets the is_single_report of this DownloadSecurityAssessmentReportDetails.
+ Optional flag controlling the output format of a target group report:
+ - true: Return a single consolidated report file for the entire target group.
+ - false/null (default): Return a ZIP archive containing one file per target in the group.
+
+ Important:
+ - This flag is only applicable when the security assessment OCID refers to a target group assessment (targetType TARGET_DATABASE_GROUP).
+ - If `isSingleReport` is set to true for an individual target (targetType TARGET_DATABASE), the request will return an error.
+ - If `isSingleReport` is null or false for an individual target, the value is ignored and the selected output format for the assessment type is returned.
+
+
+ :param is_single_report: The is_single_report of this DownloadSecurityAssessmentReportDetails.
+ :type: bool
+ """
+ self._is_single_report = is_single_report
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_safe/models/generate_health_report_details.py b/src/oci/data_safe/models/generate_health_report_details.py
index e9f48b4f22..34d993d270 100644
--- a/src/oci/data_safe/models/generate_health_report_details.py
+++ b/src/oci/data_safe/models/generate_health_report_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -72,6 +72,9 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'target_credentials': 'targetCredentials'
}
+ self._redacted_field_paths = [
+ ['target_credentials', 'password'],
+ ]
self._check_type = None
self._target_id = None
self._compartment_id = None
@@ -272,7 +275,9 @@ def target_credentials(self, target_credentials):
self._target_credentials = target_credentials
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['target_credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/generate_report_details.py b/src/oci/data_safe/models/generate_report_details.py
index 5328a4dd26..23ff3a3886 100644
--- a/src/oci/data_safe/models/generate_report_details.py
+++ b/src/oci/data_safe/models/generate_report_details.py
@@ -69,6 +69,10 @@ def __init__(self, **kwargs):
The value to assign to the row_limit property of this GenerateReportDetails.
:type row_limit: int
+ :param is_pagination_enabled:
+ The value to assign to the is_pagination_enabled property of this GenerateReportDetails.
+ :type is_pagination_enabled: bool
+
"""
self.swagger_types = {
'display_name': 'str',
@@ -79,7 +83,8 @@ def __init__(self, **kwargs):
'mime_type': 'str',
'time_less_than': 'datetime',
'time_greater_than': 'datetime',
- 'row_limit': 'int'
+ 'row_limit': 'int',
+ 'is_pagination_enabled': 'bool'
}
self.attribute_map = {
'display_name': 'displayName',
@@ -90,7 +95,8 @@ def __init__(self, **kwargs):
'mime_type': 'mimeType',
'time_less_than': 'timeLessThan',
'time_greater_than': 'timeGreaterThan',
- 'row_limit': 'rowLimit'
+ 'row_limit': 'rowLimit',
+ 'is_pagination_enabled': 'isPaginationEnabled'
}
self._display_name = None
self._target_ids = None
@@ -101,6 +107,7 @@ def __init__(self, **kwargs):
self._time_less_than = None
self._time_greater_than = None
self._row_limit = None
+ self._is_pagination_enabled = None
@property
def display_name(self):
@@ -331,6 +338,34 @@ def row_limit(self, row_limit):
"""
self._row_limit = row_limit
+ @property
+ def is_pagination_enabled(self):
+ """
+ Gets the is_pagination_enabled of this GenerateReportDetails.
+ Indicates if the reports being generated should be pagination enabled.
+ If set to true, multiple reports can be generated and the details of next and previous report are present in Report.
+ Values can either be 'true' or 'false'.
+
+
+ :return: The is_pagination_enabled of this GenerateReportDetails.
+ :rtype: bool
+ """
+ return self._is_pagination_enabled
+
+ @is_pagination_enabled.setter
+ def is_pagination_enabled(self, is_pagination_enabled):
+ """
+ Sets the is_pagination_enabled of this GenerateReportDetails.
+ Indicates if the reports being generated should be pagination enabled.
+ If set to true, multiple reports can be generated and the details of next and previous report are present in Report.
+ Values can either be 'true' or 'false'.
+
+
+ :param is_pagination_enabled: The is_pagination_enabled of this GenerateReportDetails.
+ :type: bool
+ """
+ self._is_pagination_enabled = is_pagination_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_safe/models/generate_security_assessment_report_details.py b/src/oci/data_safe/models/generate_security_assessment_report_details.py
index eb7fdb1e46..db315ca3f3 100644
--- a/src/oci/data_safe/models/generate_security_assessment_report_details.py
+++ b/src/oci/data_safe/models/generate_security_assessment_report_details.py
@@ -37,14 +37,21 @@ def __init__(self, **kwargs):
Allowed values for this property are: "PDF", "XLS", "STIGXLS"
:type format: str
+ :param is_single_report:
+ The value to assign to the is_single_report property of this GenerateSecurityAssessmentReportDetails.
+ :type is_single_report: bool
+
"""
self.swagger_types = {
- 'format': 'str'
+ 'format': 'str',
+ 'is_single_report': 'bool'
}
self.attribute_map = {
- 'format': 'format'
+ 'format': 'format',
+ 'is_single_report': 'isSingleReport'
}
self._format = None
+ self._is_single_report = None
@property
def format(self):
@@ -77,6 +84,44 @@ def format(self, format):
)
self._format = format
+ @property
+ def is_single_report(self):
+ """
+ Gets the is_single_report of this GenerateSecurityAssessmentReportDetails.
+ Optional flag controlling the output format of a target group report:
+ - true: Generate a single consolidated report file for the entire target group.
+ - false: Generate a ZIP archive containing one file per target in the group.
+
+ Important:
+ - This flag is only applicable when the security assessment OCID refers to a target group assessment (targetType TARGET_DATABASE_GROUP).
+ - If `isSingleReport` is set to true for an individual target (targetType TARGET_DATABASE), the request will return an error.
+ - If `isSingleReport` is null or false for an individual target, the value is ignored and the selected output format for the assessment type is generated.
+
+
+ :return: The is_single_report of this GenerateSecurityAssessmentReportDetails.
+ :rtype: bool
+ """
+ return self._is_single_report
+
+ @is_single_report.setter
+ def is_single_report(self, is_single_report):
+ """
+ Sets the is_single_report of this GenerateSecurityAssessmentReportDetails.
+ Optional flag controlling the output format of a target group report:
+ - true: Generate a single consolidated report file for the entire target group.
+ - false: Generate a ZIP archive containing one file per target in the group.
+
+ Important:
+ - This flag is only applicable when the security assessment OCID refers to a target group assessment (targetType TARGET_DATABASE_GROUP).
+ - If `isSingleReport` is set to true for an individual target (targetType TARGET_DATABASE), the request will return an error.
+ - If `isSingleReport` is null or false for an individual target, the value is ignored and the selected output format for the assessment type is generated.
+
+
+ :param is_single_report: The is_single_report of this GenerateSecurityAssessmentReportDetails.
+ :type: bool
+ """
+ self._is_single_report = is_single_report
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_safe/models/include.py b/src/oci/data_safe/models/include.py
index 9c3919bcb2..81daf2d0d4 100644
--- a/src/oci/data_safe/models/include.py
+++ b/src/oci/data_safe/models/include.py
@@ -13,7 +13,7 @@
class Include(object):
"""
Criteria to determine whether a target database should be included in the target database group.
- If the database satisfies any of compartments, targetDatabaseIds, freeformTags, or definedTags criteria, it qualifies for inclusion in the target database group
+ If the database satisfies any of compartments, targetDatabaseIds, freeformTags, definedTags or systemTags criteria then it qualifies for inclusion in the target database group.
"""
def __init__(self, **kwargs):
diff --git a/src/oci/data_safe/models/mask_data_details.py b/src/oci/data_safe/models/mask_data_details.py
index f032f0503d..8dec281483 100644
--- a/src/oci/data_safe/models/mask_data_details.py
+++ b/src/oci/data_safe/models/mask_data_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -130,6 +130,11 @@ def __init__(self, **kwargs):
'recompile': 'recompile',
'target_credentials': 'targetCredentials'
}
+ self._redacted_field_paths = [
+ ['seed'],
+ ['user_defined_function_seed'],
+ ['target_credentials', 'password'],
+ ]
self._target_id = None
self._is_decrypt = None
self._is_rerun = None
@@ -605,7 +610,11 @@ def target_credentials(self, target_credentials):
self._target_credentials = target_credentials
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['seed'])
+ redact_password_field(as_dict, ['user_defined_function_seed'])
+ redact_password_field(as_dict, ['target_credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/peer_target_database.py b/src/oci/data_safe/models/peer_target_database.py
index 446be6ee48..19b5fac922 100644
--- a/src/oci/data_safe/models/peer_target_database.py
+++ b/src/oci/data_safe/models/peer_target_database.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -125,6 +125,9 @@ def __init__(self, **kwargs):
'lifecycle_state': 'lifecycleState',
'lifecycle_details': 'lifecycleDetails'
}
+ self._redacted_field_paths = [
+ ['tls_config', 'store_password'],
+ ]
self._display_name = None
self._description = None
self._key = None
@@ -400,7 +403,9 @@ def lifecycle_details(self, lifecycle_details):
self._lifecycle_details = lifecycle_details
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['tls_config', 'store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/report.py b/src/oci/data_safe/models/report.py
index bd93bc5c25..294be547b1 100644
--- a/src/oci/data_safe/models/report.py
+++ b/src/oci/data_safe/models/report.py
@@ -136,6 +136,14 @@ def __init__(self, **kwargs):
The value to assign to the lifecycle_details property of this Report.
:type lifecycle_details: str
+ :param previous_report_id:
+ The value to assign to the previous_report_id property of this Report.
+ :type previous_report_id: str
+
+ :param next_report_id:
+ The value to assign to the next_report_id property of this Report.
+ :type next_report_id: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this Report.
:type freeform_tags: dict(str, str)
@@ -163,6 +171,8 @@ def __init__(self, **kwargs):
'type': 'str',
'data_source': 'str',
'lifecycle_details': 'str',
+ 'previous_report_id': 'str',
+ 'next_report_id': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))'
@@ -181,6 +191,8 @@ def __init__(self, **kwargs):
'type': 'type',
'data_source': 'dataSource',
'lifecycle_details': 'lifecycleDetails',
+ 'previous_report_id': 'previousReportId',
+ 'next_report_id': 'nextReportId',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
@@ -198,6 +210,8 @@ def __init__(self, **kwargs):
self._type = None
self._data_source = None
self._lifecycle_details = None
+ self._previous_report_id = None
+ self._next_report_id = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
@@ -538,6 +552,54 @@ def lifecycle_details(self, lifecycle_details):
"""
self._lifecycle_details = lifecycle_details
+ @property
+ def previous_report_id(self):
+ """
+ Gets the previous_report_id of this Report.
+ The OCID of the previous report generated.
+
+
+ :return: The previous_report_id of this Report.
+ :rtype: str
+ """
+ return self._previous_report_id
+
+ @previous_report_id.setter
+ def previous_report_id(self, previous_report_id):
+ """
+ Sets the previous_report_id of this Report.
+ The OCID of the previous report generated.
+
+
+ :param previous_report_id: The previous_report_id of this Report.
+ :type: str
+ """
+ self._previous_report_id = previous_report_id
+
+ @property
+ def next_report_id(self):
+ """
+ Gets the next_report_id of this Report.
+ The OCID of the next report generated.
+
+
+ :return: The next_report_id of this Report.
+ :rtype: str
+ """
+ return self._next_report_id
+
+ @next_report_id.setter
+ def next_report_id(self, next_report_id):
+ """
+ Sets the next_report_id of this Report.
+ The OCID of the next report generated.
+
+
+ :param next_report_id: The next_report_id of this Report.
+ :type: str
+ """
+ self._next_report_id = next_report_id
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/data_safe/models/report_definition.py b/src/oci/data_safe/models/report_definition.py
index 4092ab8e95..eb3aeeec19 100644
--- a/src/oci/data_safe/models/report_definition.py
+++ b/src/oci/data_safe/models/report_definition.py
@@ -208,6 +208,10 @@ def __init__(self, **kwargs):
The value to assign to the lifecycle_details property of this ReportDefinition.
:type lifecycle_details: str
+ :param is_schedule_pagination_enabled:
+ The value to assign to the is_schedule_pagination_enabled property of this ReportDefinition.
+ :type is_schedule_pagination_enabled: bool
+
:param freeform_tags:
The value to assign to the freeform_tags property of this ReportDefinition.
:type freeform_tags: dict(str, str)
@@ -247,6 +251,7 @@ def __init__(self, **kwargs):
'record_time_span': 'str',
'compliance_standards': 'list[str]',
'lifecycle_details': 'str',
+ 'is_schedule_pagination_enabled': 'bool',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))'
@@ -277,6 +282,7 @@ def __init__(self, **kwargs):
'record_time_span': 'recordTimeSpan',
'compliance_standards': 'complianceStandards',
'lifecycle_details': 'lifecycleDetails',
+ 'is_schedule_pagination_enabled': 'isSchedulePaginationEnabled',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
@@ -306,6 +312,7 @@ def __init__(self, **kwargs):
self._record_time_span = None
self._compliance_standards = None
self._lifecycle_details = None
+ self._is_schedule_pagination_enabled = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
@@ -976,6 +983,34 @@ def lifecycle_details(self, lifecycle_details):
"""
self._lifecycle_details = lifecycle_details
+ @property
+ def is_schedule_pagination_enabled(self):
+ """
+ Gets the is_schedule_pagination_enabled of this ReportDefinition.
+ Indicates if the reports being generated should be paginated.
+ If set to true, multiple reports can be generated and the details of next and previous report are present in Report.
+ Values can either be 'true' or 'false'.
+
+
+ :return: The is_schedule_pagination_enabled of this ReportDefinition.
+ :rtype: bool
+ """
+ return self._is_schedule_pagination_enabled
+
+ @is_schedule_pagination_enabled.setter
+ def is_schedule_pagination_enabled(self, is_schedule_pagination_enabled):
+ """
+ Sets the is_schedule_pagination_enabled of this ReportDefinition.
+ Indicates if the reports being generated should be paginated.
+ If set to true, multiple reports can be generated and the details of next and previous report are present in Report.
+ Values can either be 'true' or 'false'.
+
+
+ :param is_schedule_pagination_enabled: The is_schedule_pagination_enabled of this ReportDefinition.
+ :type: bool
+ """
+ self._is_schedule_pagination_enabled = is_schedule_pagination_enabled
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/data_safe/models/schedule_report_details.py b/src/oci/data_safe/models/schedule_report_details.py
index 5921da6a64..759c24a92f 100644
--- a/src/oci/data_safe/models/schedule_report_details.py
+++ b/src/oci/data_safe/models/schedule_report_details.py
@@ -53,26 +53,33 @@ def __init__(self, **kwargs):
The value to assign to the report_details property of this ScheduleReportDetails.
:type report_details: oci.data_safe.models.ReportDetails
+ :param is_pagination_enabled:
+ The value to assign to the is_pagination_enabled property of this ScheduleReportDetails.
+ :type is_pagination_enabled: bool
+
"""
self.swagger_types = {
'display_name': 'str',
'schedule': 'str',
'mime_type': 'str',
'compartment_id': 'str',
- 'report_details': 'ReportDetails'
+ 'report_details': 'ReportDetails',
+ 'is_pagination_enabled': 'bool'
}
self.attribute_map = {
'display_name': 'displayName',
'schedule': 'schedule',
'mime_type': 'mimeType',
'compartment_id': 'compartmentId',
- 'report_details': 'reportDetails'
+ 'report_details': 'reportDetails',
+ 'is_pagination_enabled': 'isPaginationEnabled'
}
self._display_name = None
self._schedule = None
self._mime_type = None
self._compartment_id = None
self._report_details = None
+ self._is_pagination_enabled = None
@property
def display_name(self):
@@ -225,6 +232,34 @@ def report_details(self, report_details):
"""
self._report_details = report_details
+ @property
+ def is_pagination_enabled(self):
+ """
+ Gets the is_pagination_enabled of this ScheduleReportDetails.
+ Indicates if the reports being generated should be paginated.
+ If set to true, multiple reports can be generated and the details of next and previous report are present in Report.
+ Values can either be 'true' or 'false'.
+
+
+ :return: The is_pagination_enabled of this ScheduleReportDetails.
+ :rtype: bool
+ """
+ return self._is_pagination_enabled
+
+ @is_pagination_enabled.setter
+ def is_pagination_enabled(self, is_pagination_enabled):
+ """
+ Sets the is_pagination_enabled of this ScheduleReportDetails.
+ Indicates if the reports being generated should be paginated.
+ If set to true, multiple reports can be generated and the details of next and previous report are present in Report.
+ Values can either be 'true' or 'false'.
+
+
+ :param is_pagination_enabled: The is_pagination_enabled of this ScheduleReportDetails.
+ :type: bool
+ """
+ self._is_pagination_enabled = is_pagination_enabled
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_safe/models/target_alert_policy_association.py b/src/oci/data_safe/models/target_alert_policy_association.py
index 0c172b9a4e..be30db5826 100644
--- a/src/oci/data_safe/models/target_alert_policy_association.py
+++ b/src/oci/data_safe/models/target_alert_policy_association.py
@@ -39,6 +39,14 @@ class TargetAlertPolicyAssociation(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the target_type property of a TargetAlertPolicyAssociation.
+ #: This constant has a value of "TARGET_DATABASE"
+ TARGET_TYPE_TARGET_DATABASE = "TARGET_DATABASE"
+
+ #: A constant which can be used with the target_type property of a TargetAlertPolicyAssociation.
+ #: This constant has a value of "TARGET_DATABASE_GROUP"
+ TARGET_TYPE_TARGET_DATABASE_GROUP = "TARGET_DATABASE_GROUP"
+
def __init__(self, **kwargs):
"""
Initializes a new TargetAlertPolicyAssociation object with values from keyword arguments.
@@ -90,6 +98,12 @@ def __init__(self, **kwargs):
The value to assign to the lifecycle_details property of this TargetAlertPolicyAssociation.
:type lifecycle_details: str
+ :param target_type:
+ The value to assign to the target_type property of this TargetAlertPolicyAssociation.
+ Allowed values for this property are: "TARGET_DATABASE", "TARGET_DATABASE_GROUP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type target_type: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this TargetAlertPolicyAssociation.
:type freeform_tags: dict(str, str)
@@ -115,6 +129,7 @@ def __init__(self, **kwargs):
'time_updated': 'datetime',
'lifecycle_state': 'str',
'lifecycle_details': 'str',
+ 'target_type': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))'
@@ -131,6 +146,7 @@ def __init__(self, **kwargs):
'time_updated': 'timeUpdated',
'lifecycle_state': 'lifecycleState',
'lifecycle_details': 'lifecycleDetails',
+ 'target_type': 'targetType',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
@@ -146,6 +162,7 @@ def __init__(self, **kwargs):
self._time_updated = None
self._lifecycle_state = None
self._lifecycle_details = None
+ self._target_type = None
self._freeform_tags = None
self._defined_tags = None
self._system_tags = None
@@ -250,7 +267,7 @@ def policy_id(self, policy_id):
def target_id(self):
"""
Gets the target_id of this TargetAlertPolicyAssociation.
- The OCID of the target on which alert policy is to be applied.
+ The OCID of the target or target database group on which alert policy is to be applied.
:return: The target_id of this TargetAlertPolicyAssociation.
@@ -262,7 +279,7 @@ def target_id(self):
def target_id(self, target_id):
"""
Sets the target_id of this TargetAlertPolicyAssociation.
- The OCID of the target on which alert policy is to be applied.
+ The OCID of the target or target database group on which alert policy is to be applied.
:param target_id: The target_id of this TargetAlertPolicyAssociation.
@@ -428,6 +445,36 @@ def lifecycle_details(self, lifecycle_details):
"""
self._lifecycle_details = lifecycle_details
+ @property
+ def target_type(self):
+ """
+ **[Required]** Gets the target_type of this TargetAlertPolicyAssociation.
+ The resource type that is represented by the target alert policy association.
+
+ Allowed values for this property are: "TARGET_DATABASE", "TARGET_DATABASE_GROUP", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The target_type of this TargetAlertPolicyAssociation.
+ :rtype: str
+ """
+ return self._target_type
+
+ @target_type.setter
+ def target_type(self, target_type):
+ """
+ Sets the target_type of this TargetAlertPolicyAssociation.
+ The resource type that is represented by the target alert policy association.
+
+
+ :param target_type: The target_type of this TargetAlertPolicyAssociation.
+ :type: str
+ """
+ allowed_values = ["TARGET_DATABASE", "TARGET_DATABASE_GROUP"]
+ if not value_allowed_none_or_none_sentinel(target_type, allowed_values):
+ target_type = 'UNKNOWN_ENUM_VALUE'
+ self._target_type = target_type
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/data_safe/models/target_alert_policy_association_summary.py b/src/oci/data_safe/models/target_alert_policy_association_summary.py
index 1a3bcd2440..a83970c1d6 100644
--- a/src/oci/data_safe/models/target_alert_policy_association_summary.py
+++ b/src/oci/data_safe/models/target_alert_policy_association_summary.py
@@ -90,6 +90,10 @@ def __init__(self, **kwargs):
The value to assign to the lifecycle_details property of this TargetAlertPolicyAssociationSummary.
:type lifecycle_details: str
+ :param target_type:
+ The value to assign to the target_type property of this TargetAlertPolicyAssociationSummary.
+ :type target_type: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this TargetAlertPolicyAssociationSummary.
:type freeform_tags: dict(str, str)
@@ -111,6 +115,7 @@ def __init__(self, **kwargs):
'time_updated': 'datetime',
'lifecycle_state': 'str',
'lifecycle_details': 'str',
+ 'target_type': 'str',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))'
}
@@ -126,6 +131,7 @@ def __init__(self, **kwargs):
'time_updated': 'timeUpdated',
'lifecycle_state': 'lifecycleState',
'lifecycle_details': 'lifecycleDetails',
+ 'target_type': 'targetType',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
@@ -140,6 +146,7 @@ def __init__(self, **kwargs):
self._time_updated = None
self._lifecycle_state = None
self._lifecycle_details = None
+ self._target_type = None
self._freeform_tags = None
self._defined_tags = None
@@ -243,7 +250,7 @@ def policy_id(self, policy_id):
def target_id(self):
"""
Gets the target_id of this TargetAlertPolicyAssociationSummary.
- The OCID of the target on which alert policy is to be applied.
+ The OCID of the target or target database group on which alert policy is to be applied.
:return: The target_id of this TargetAlertPolicyAssociationSummary.
@@ -255,7 +262,7 @@ def target_id(self):
def target_id(self, target_id):
"""
Sets the target_id of this TargetAlertPolicyAssociationSummary.
- The OCID of the target on which alert policy is to be applied.
+ The OCID of the target or target database group on which alert policy is to be applied.
:param target_id: The target_id of this TargetAlertPolicyAssociationSummary.
@@ -421,6 +428,30 @@ def lifecycle_details(self, lifecycle_details):
"""
self._lifecycle_details = lifecycle_details
+ @property
+ def target_type(self):
+ """
+ Gets the target_type of this TargetAlertPolicyAssociationSummary.
+ The resource type that is represented by the target alert policy association.
+
+
+ :return: The target_type of this TargetAlertPolicyAssociationSummary.
+ :rtype: str
+ """
+ return self._target_type
+
+ @target_type.setter
+ def target_type(self, target_type):
+ """
+ Sets the target_type of this TargetAlertPolicyAssociationSummary.
+ The resource type that is represented by the target alert policy association.
+
+
+ :param target_type: The target_type of this TargetAlertPolicyAssociationSummary.
+ :type: str
+ """
+ self._target_type = target_type
+
@property
def freeform_tags(self):
"""
diff --git a/src/oci/data_safe/models/target_alert_policy_unassociated_collection.py b/src/oci/data_safe/models/target_alert_policy_unassociated_collection.py
new file mode 100644
index 0000000000..53a12ca9ba
--- /dev/null
+++ b/src/oci/data_safe/models/target_alert_policy_unassociated_collection.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
+
+
+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 TargetAlertPolicyUnassociatedCollection(object):
+ """
+ Collection of unassociated target alert policy association summary.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new TargetAlertPolicyUnassociatedCollection 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 TargetAlertPolicyUnassociatedCollection.
+ :type items: list[oci.data_safe.models.TargetAlertPolicyUnassociatedSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[TargetAlertPolicyUnassociatedSummary]'
+ }
+ self.attribute_map = {
+ 'items': 'items'
+ }
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this TargetAlertPolicyUnassociatedCollection.
+ Array of unassociated target alert policy association summary.
+
+
+ :return: The items of this TargetAlertPolicyUnassociatedCollection.
+ :rtype: list[oci.data_safe.models.TargetAlertPolicyUnassociatedSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this TargetAlertPolicyUnassociatedCollection.
+ Array of unassociated target alert policy association summary.
+
+
+ :param items: The items of this TargetAlertPolicyUnassociatedCollection.
+ :type: list[oci.data_safe.models.TargetAlertPolicyUnassociatedSummary]
+ """
+ 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_safe/models/target_alert_policy_unassociated_summary.py b/src/oci/data_safe/models/target_alert_policy_unassociated_summary.py
new file mode 100644
index 0000000000..1e594cf49f
--- /dev/null
+++ b/src/oci/data_safe/models/target_alert_policy_unassociated_summary.py
@@ -0,0 +1,241 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
+
+
+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 TargetAlertPolicyUnassociatedSummary(object):
+ """
+ Summary of the target databases that differ from the association of the target database group.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new TargetAlertPolicyUnassociatedSummary object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param target_database_id:
+ The value to assign to the target_database_id property of this TargetAlertPolicyUnassociatedSummary.
+ :type target_database_id: str
+
+ :param is_enabled:
+ The value to assign to the is_enabled property of this TargetAlertPolicyUnassociatedSummary.
+ :type is_enabled: bool
+
+ :param not_applied_reason:
+ The value to assign to the not_applied_reason property of this TargetAlertPolicyUnassociatedSummary.
+ :type not_applied_reason: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this TargetAlertPolicyUnassociatedSummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this TargetAlertPolicyUnassociatedSummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this TargetAlertPolicyUnassociatedSummary.
+ :type system_tags: dict(str, dict(str, object))
+
+ """
+ self.swagger_types = {
+ 'target_database_id': 'str',
+ 'is_enabled': 'bool',
+ 'not_applied_reason': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))'
+ }
+ self.attribute_map = {
+ 'target_database_id': 'targetDatabaseId',
+ 'is_enabled': 'isEnabled',
+ 'not_applied_reason': 'notAppliedReason',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags'
+ }
+ self._target_database_id = None
+ self._is_enabled = None
+ self._not_applied_reason = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+
+ @property
+ def target_database_id(self):
+ """
+ **[Required]** Gets the target_database_id of this TargetAlertPolicyUnassociatedSummary.
+ The OCID of the target database that differs from the alert policy association of the target database group.
+
+
+ :return: The target_database_id of this TargetAlertPolicyUnassociatedSummary.
+ :rtype: str
+ """
+ return self._target_database_id
+
+ @target_database_id.setter
+ def target_database_id(self, target_database_id):
+ """
+ Sets the target_database_id of this TargetAlertPolicyUnassociatedSummary.
+ The OCID of the target database that differs from the alert policy association of the target database group.
+
+
+ :param target_database_id: The target_database_id of this TargetAlertPolicyUnassociatedSummary.
+ :type: str
+ """
+ self._target_database_id = target_database_id
+
+ @property
+ def is_enabled(self):
+ """
+ **[Required]** Gets the is_enabled of this TargetAlertPolicyUnassociatedSummary.
+ Indicates if the target-alert policy association is enabled or disabled by user.
+
+
+ :return: The is_enabled of this TargetAlertPolicyUnassociatedSummary.
+ :rtype: bool
+ """
+ return self._is_enabled
+
+ @is_enabled.setter
+ def is_enabled(self, is_enabled):
+ """
+ Sets the is_enabled of this TargetAlertPolicyUnassociatedSummary.
+ Indicates if the target-alert policy association is enabled or disabled by user.
+
+
+ :param is_enabled: The is_enabled of this TargetAlertPolicyUnassociatedSummary.
+ :type: bool
+ """
+ self._is_enabled = is_enabled
+
+ @property
+ def not_applied_reason(self):
+ """
+ Gets the not_applied_reason of this TargetAlertPolicyUnassociatedSummary.
+ Details on why policy is not applied on target.
+
+
+ :return: The not_applied_reason of this TargetAlertPolicyUnassociatedSummary.
+ :rtype: str
+ """
+ return self._not_applied_reason
+
+ @not_applied_reason.setter
+ def not_applied_reason(self, not_applied_reason):
+ """
+ Sets the not_applied_reason of this TargetAlertPolicyUnassociatedSummary.
+ Details on why policy is not applied on target.
+
+
+ :param not_applied_reason: The not_applied_reason of this TargetAlertPolicyUnassociatedSummary.
+ :type: str
+ """
+ self._not_applied_reason = not_applied_reason
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this TargetAlertPolicyUnassociatedSummary.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this TargetAlertPolicyUnassociatedSummary.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this TargetAlertPolicyUnassociatedSummary.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this TargetAlertPolicyUnassociatedSummary.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this TargetAlertPolicyUnassociatedSummary.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this TargetAlertPolicyUnassociatedSummary.
+ :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 TargetAlertPolicyUnassociatedSummary.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this TargetAlertPolicyUnassociatedSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def system_tags(self):
+ """
+ Gets the system_tags of this TargetAlertPolicyUnassociatedSummary.
+ System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
+
+
+ :return: The system_tags of this TargetAlertPolicyUnassociatedSummary.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this TargetAlertPolicyUnassociatedSummary.
+ System tags for this resource. Each key is predefined and scoped to a namespace. For more information, see Resource Tags.
+ Example: `{\"orcl-cloud\": {\"free-tier-retained\": \"true\"}}`
+
+
+ :param system_tags: The system_tags of this TargetAlertPolicyUnassociatedSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_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/data_safe/models/target_database.py b/src/oci/data_safe/models/target_database.py
index 61b0dba3cb..6ee3abbf3e 100644
--- a/src/oci/data_safe/models/target_database.py
+++ b/src/oci/data_safe/models/target_database.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -161,6 +161,11 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'system_tags': 'systemTags'
}
+ self._redacted_field_paths = [
+ ['credentials', 'password'],
+ ['tls_config', 'store_password'],
+ ['peer_target_databases', '*', 'tls_config', 'store_password'],
+ ]
self._compartment_id = None
self._id = None
self._display_name = None
@@ -594,7 +599,11 @@ def system_tags(self, system_tags):
self._system_tags = system_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credentials', 'password'])
+ redact_password_field(as_dict, ['tls_config', 'store_password'])
+ redact_password_field(as_dict, ['peer_target_databases', '*', 'tls_config', 'store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/tls_config.py b/src/oci/data_safe/models/tls_config.py
index 1c795533c3..23d15bdcb9 100644
--- a/src/oci/data_safe/models/tls_config.py
+++ b/src/oci/data_safe/models/tls_config.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -71,6 +71,9 @@ def __init__(self, **kwargs):
'trust_store_content': 'trustStoreContent',
'key_store_content': 'keyStoreContent'
}
+ self._redacted_field_paths = [
+ ['store_password'],
+ ]
self._status = None
self._certificate_store_type = None
self._store_password = None
@@ -210,7 +213,9 @@ def key_store_content(self, key_store_content):
self._key_store_content = key_store_content
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/update_data_safe_private_endpoint_details.py b/src/oci/data_safe/models/update_data_safe_private_endpoint_details.py
index 93135f8d90..a4967b7e8e 100644
--- a/src/oci/data_safe/models/update_data_safe_private_endpoint_details.py
+++ b/src/oci/data_safe/models/update_data_safe_private_endpoint_details.py
@@ -40,26 +40,33 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this UpdateDataSafePrivateEndpointDetails.
:type defined_tags: dict(str, dict(str, object))
+ :param security_attributes:
+ The value to assign to the security_attributes property of this UpdateDataSafePrivateEndpointDetails.
+ :type security_attributes: dict(str, dict(str, object))
+
"""
self.swagger_types = {
'display_name': 'str',
'description': 'str',
'nsg_ids': 'list[str]',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'security_attributes': 'dict(str, dict(str, object))'
}
self.attribute_map = {
'display_name': 'displayName',
'description': 'description',
'nsg_ids': 'nsgIds',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'security_attributes': 'securityAttributes'
}
self._display_name = None
self._description = None
self._nsg_ids = None
self._freeform_tags = None
self._defined_tags = None
+ self._security_attributes = None
@property
def display_name(self):
@@ -195,6 +202,38 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def security_attributes(self):
+ """
+ Gets the security_attributes of this UpdateDataSafePrivateEndpointDetails.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The security_attributes of this UpdateDataSafePrivateEndpointDetails.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._security_attributes
+
+ @security_attributes.setter
+ def security_attributes(self, security_attributes):
+ """
+ Sets the security_attributes of this UpdateDataSafePrivateEndpointDetails.
+ Security attributes for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+ Example: `{\"Oracle-ZPR\": {\"MaxEgressCount\": {\"value\": \"42\", \"mode\": \"enforce\"}}}`
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param security_attributes: The security_attributes of this UpdateDataSafePrivateEndpointDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._security_attributes = security_attributes
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/data_safe/models/update_peer_target_database_details.py b/src/oci/data_safe/models/update_peer_target_database_details.py
index 937c87abd0..d2e38b03f5 100644
--- a/src/oci/data_safe/models/update_peer_target_database_details.py
+++ b/src/oci/data_safe/models/update_peer_target_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -49,6 +49,9 @@ def __init__(self, **kwargs):
'database_details': 'databaseDetails',
'tls_config': 'tlsConfig'
}
+ self._redacted_field_paths = [
+ ['tls_config', 'store_password'],
+ ]
self._display_name = None
self._description = None
self._database_details = None
@@ -143,7 +146,9 @@ def tls_config(self, tls_config):
self._tls_config = tls_config
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['tls_config', 'store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/update_target_database_details.py b/src/oci/data_safe/models/update_target_database_details.py
index fcea5bc061..03071f5f17 100644
--- a/src/oci/data_safe/models/update_target_database_details.py
+++ b/src/oci/data_safe/models/update_target_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20181201
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -73,6 +73,10 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
+ self._redacted_field_paths = [
+ ['credentials', 'password'],
+ ['tls_config', 'store_password'],
+ ]
self._display_name = None
self._description = None
self._database_details = None
@@ -273,7 +277,10 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credentials', 'password'])
+ redact_password_field(as_dict, ['tls_config', 'store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/data_safe/models/work_request.py b/src/oci/data_safe/models/work_request.py
index 9ef4c73841..251fb2fdef 100644
--- a/src/oci/data_safe/models/work_request.py
+++ b/src/oci/data_safe/models/work_request.py
@@ -403,6 +403,10 @@ class WorkRequest(object):
#: This constant has a value of "GENERATE_REPORT"
OPERATION_TYPE_GENERATE_REPORT = "GENERATE_REPORT"
+ #: A constant which can be used with the operation_type property of a WorkRequest.
+ #: This constant has a value of "GENERATE_PAGINATED_REPORT"
+ OPERATION_TYPE_GENERATE_PAGINATED_REPORT = "GENERATE_PAGINATED_REPORT"
+
#: A constant which can be used with the operation_type property of a WorkRequest.
#: This constant has a value of "CHANGE_REPORT_COMPARTMENT"
OPERATION_TYPE_CHANGE_REPORT_COMPARTMENT = "CHANGE_REPORT_COMPARTMENT"
@@ -802,7 +806,7 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this WorkRequest.
- Allowed values for this property are: "ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CREATE_AUDIT_PROFILE", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CREATE_AUDIT_PROFILE", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "GENERATE_PAGINATED_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
@@ -879,7 +883,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this WorkRequest.
The resources that are affected by the work request.
- Allowed values for this property are: "ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CREATE_AUDIT_PROFILE", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CREATE_AUDIT_PROFILE", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "GENERATE_PAGINATED_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -898,7 +902,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequest.
:type: str
"""
- allowed_values = ["ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CREATE_AUDIT_PROFILE", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT"]
+ allowed_values = ["ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CREATE_AUDIT_PROFILE", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "GENERATE_PAGINATED_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
diff --git a/src/oci/data_safe/models/work_request_summary.py b/src/oci/data_safe/models/work_request_summary.py
index 5a4dce3644..44d4099a31 100644
--- a/src/oci/data_safe/models/work_request_summary.py
+++ b/src/oci/data_safe/models/work_request_summary.py
@@ -379,6 +379,10 @@ class WorkRequestSummary(object):
#: This constant has a value of "GENERATE_REPORT"
OPERATION_TYPE_GENERATE_REPORT = "GENERATE_REPORT"
+ #: A constant which can be used with the operation_type property of a WorkRequestSummary.
+ #: This constant has a value of "GENERATE_PAGINATED_REPORT"
+ OPERATION_TYPE_GENERATE_PAGINATED_REPORT = "GENERATE_PAGINATED_REPORT"
+
#: A constant which can be used with the operation_type property of a WorkRequestSummary.
#: This constant has a value of "CHANGE_REPORT_COMPARTMENT"
OPERATION_TYPE_CHANGE_REPORT_COMPARTMENT = "CHANGE_REPORT_COMPARTMENT"
@@ -798,7 +802,7 @@ def __init__(self, **kwargs):
:param operation_type:
The value to assign to the operation_type property of this WorkRequestSummary.
- Allowed values for this property are: "ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "GENERATE_PAGINATED_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type operation_type: str
@@ -875,7 +879,7 @@ def operation_type(self):
**[Required]** Gets the operation_type of this WorkRequestSummary.
The asynchronous operation tracked by this work request.
- Allowed values for this property are: "ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "GENERATE_PAGINATED_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -894,7 +898,7 @@ def operation_type(self, operation_type):
:param operation_type: The operation_type of this WorkRequestSummary.
:type: str
"""
- allowed_values = ["ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT"]
+ allowed_values = ["ENABLE_DATA_SAFE_CONFIGURATION", "CREATE_PRIVATE_ENDPOINT", "UPDATE_PRIVATE_ENDPOINT", "DELETE_PRIVATE_ENDPOINT", "CHANGE_PRIVATE_ENDPOINT_COMPARTMENT", "CREATE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR", "DELETE_ONPREM_CONNECTOR", "UPDATE_ONPREM_CONNECTOR_WALLET", "CHANGE_ONPREM_CONNECTOR_COMPARTMENT", "PROVISION_POLICY", "RETRIEVE_POLICY", "UPDATE_POLICY", "CHANGE_POLICY_COMPARTMENT", "CREATE_TARGET_DATABASE", "UPDATE_TARGET_DATABASE", "ACTIVATE_TARGET_DATABASE", "DEACTIVATE_TARGET_DATABASE", "DELETE_TARGET_DATABASE", "CHANGE_TARGET_DATABASE_COMPARTMENT", "CREATE_PEER_TARGET_DATABASE", "UPDATE_PEER_TARGET_DATABASE", "DELETE_PEER_TARGET_DATABASE", "REFRESH_TARGET_DATABASE", "CREATE_USER_ASSESSMENT", "ASSESS_USER_ASSESSMENT", "CREATE_SNAPSHOT_USER_ASSESSMENT", "CREATE_SCHEDULE_USER_ASSESSMENT", "COMPARE_WITH_BASELINE_USER_ASSESSMENT", "DELETE_USER_ASSESSMENT", "UPDATE_USER_ASSESSMENT", "CHANGE_USER_ASSESSMENT_COMPARTMENT", "SET_USER_ASSESSMENT_BASELINE", "UNSET_USER_ASSESSMENT_BASELINE", "GENERATE_USER_ASSESSMENT_REPORT", "CREATE_SECURITY_ASSESSMENT", "CREATE_SECURITY_ASSESSMENT_NOW", "ASSESS_SECURITY_ASSESSMENT", "CREATE_SNAPSHOT_SECURITY_ASSESSMENT", "CREATE_SCHEDULE_SECURITY_ASSESSMENT", "COMPARE_WITH_BASELINE_SECURITY_ASSESSMENT", "DELETE_SECURITY_ASSESSMENT", "UPDATE_SECURITY_ASSESSMENT", "UPDATE_FINDING_RISK", "CHANGE_SECURITY_ASSESSMENT_COMPARTMENT", "SET_SECURITY_ASSESSMENT_BASELINE", "UNSET_SECURITY_ASSESSMENT_BASELINE", "GENERATE_SECURITY_ASSESSMENT_REPORT", "PATCH_CHECKS", "UPDATE_FINDING_SEVERITY", "APPLY_TEMPLATE", "DELETE_SQL_FIREWALL_ALLOWED_SQL", "BULK_CREATE_SQL_FIREWALL_ALLOWED_SQL", "BULK_DELETE_SQL_FIREWALL_ALLOWED_SQL", "CALCULATE_VOLUME", "CALCULATE_COLLECTED_VOLUME", "CREATE_DB_SECURITY_CONFIG", "REFRESH_DB_SECURITY_CONFIG", "UPDATE_DB_SECURITY_CONFIG", "CHANGE_DB_SECURITY_CONFIG_COMPARTMENT", "GENERATE_FIREWALL_POLICY", "UPDATE_FIREWALL_POLICY", "CHANGE_FIREWALL_POLICY_COMPARTMENT", "DELETE_FIREWALL_POLICY", "CREATE_SQL_COLLECTION", "UPDATE_SQL_COLLECTION", "START_SQL_COLLECTION", "STOP_SQL_COLLECTION", "DELETE_SQL_COLLECTION", "CHANGE_SQL_COLLECTION_COMPARTMENT", "REFRESH_SQL_COLLECTION_LOG_INSIGHTS", "PURGE_SQL_COLLECTION_LOGS", "REFRESH_VIOLATIONS", "CREATE_ARCHIVAL", "CREATE_SECURITY_POLICY", "DELETE_SECURITY_POLICY", "UPDATE_SECURITY_POLICY", "CHANGE_SECURITY_POLICY_COMPARTMENT", "UPDATE_SECURITY_POLICY_DEPLOYMENT", "CHANGE_SECURITY_POLICY_DEPLOYMENT_COMPARTMENT", "AUDIT_TRAIL", "DELETE_AUDIT_TRAIL", "DISCOVER_AUDIT_TRAILS", "UPDATE_AUDIT_TRAIL", "UPDATE_AUDIT_PROFILE", "AUDIT_CHANGE_COMPARTMENT", "CREATE_REPORT_DEFINITION", "UPDATE_REPORT_DEFINITION", "CHANGE_REPORT_DEFINITION_COMPARTMENT", "DELETE_REPORT_DEFINITION", "GENERATE_REPORT", "GENERATE_PAGINATED_REPORT", "CHANGE_REPORT_COMPARTMENT", "DELETE_ARCHIVE_RETRIEVAL", "CREATE_ARCHIVE_RETRIEVAL", "UPDATE_ARCHIVE_RETRIEVAL", "CHANGE_ARCHIVE_RETRIEVAL_COMPARTMENT", "UPDATE_ALERT", "TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_TARGET_DATABASE_GROUP", "UPDATE_TARGET_DATABASE_GROUP", "DELETE_TARGET_DATABASE_GROUP", "CHANGE_TARGET_DATABASE_GROUP_COMPARTMENT", "CREATE_SECURITY_POLICY_CONFIG", "UPDATE_SECURITY_POLICY_CONFIG", "DELETE_SECURITY_POLICY_CONFIG", "CHANGE_SECURITY_POLICY_CONFIG_COMPARTMENT", "CREATE_UNIFIED_AUDIT_POLICY", "UPDATE_UNIFIED_AUDIT_POLICY", "DELETE_UNIFIED_AUDIT_POLICY", "CHANGE_UNIFIED_AUDIT_POLICY_COMPARTMENT", "UPDATE_UNIFIED_AUDIT_POLICY_DEFINITION", "DELETE_UNIFIED_AUDIT_POLICY_DEFINITION", "CHANGE_UNIFIED_AUDIT_POLICY_DEFINITION_COMPARTMENT", "FLEET_GENERATE_SECURITY_ASSESSMENT_REPORT", "FLEET_GENERATE_USER_ASSESSMENT_REPORT", "REFRESH_TARGET_DATABASE_GROUP_WITH_CHANGES", "FETCH_AUDIT_POLICY_DETAILS", "BULK_CREATE_UNIFIED_AUDIT_POLICY", "SECURITY_POLICY_DEPLOYMENT_ACTIONS", "PROVISION_SECURITY_POLICY_DEPLOYMENT", "CREATE_SENSITIVE_DATA_MODEL", "UPDATE_SENSITIVE_DATA_MODEL", "DELETE_SENSITIVE_DATA_MODEL", "UPLOAD_SENSITIVE_DATA_MODEL", "GENERATE_SENSITIVE_DATA_MODEL_FOR_DOWNLOAD", "CREATE_SENSITIVE_COLUMN", "UPDATE_SENSITIVE_COLUMN", "PATCH_SENSITIVE_COLUMNS", "CREATE_DISCOVERY_JOB", "DELETE_DISCOVERY_JOB", "PATCH_DISCOVERY_JOB_RESULT", "APPLY_DISCOVERY_JOB_RESULT", "GENERATE_DISCOVERY_REPORT", "CREATE_SENSITIVE_TYPE", "UPDATE_SENSITIVE_TYPE", "CREATE_MASKING_POLICY", "UPDATE_MASKING_POLICY", "DELETE_MASKING_POLICY", "UPLOAD_MASKING_POLICY", "GENERATE_MASKING_POLICY_FOR_DOWNLOAD", "CREATE_MASKING_COLUMN", "UPDATE_MASKING_COLUMN", "PATCH_MASKING_COLUMNS", "GENERATE_MASKING_REPORT", "CREATE_LIBRARY_MASKING_FORMAT", "UPDATE_LIBRARY_MASKING_FORMAT", "ADD_COLUMNS_FROM_SDM", "MASKING_JOB", "CREATE_DIFFERENCE", "DELETE_DIFFERENCE", "UPDATE_DIFFERENCE", "PATCH_DIFFERENCE", "APPLY_DIFFERENCE", "DELETE_MASKING_REPORT", "MASK_POLICY_GENERATE_HEALTH_REPORT", "MASK_POLICY_DELETE_HEALTH_REPORT", "CREATE_SENSITIVE_TYPES_EXPORT", "UPDATE_SENSITIVE_TYPES_EXPORT", "BULK_CREATE_SENSITIVE_TYPES", "CREATE_SENSITIVE_TYPE_GROUP", "UPDATE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE_GROUP", "DELETE_SENSITIVE_TYPE", "PATCH_GROUPED_SENSITIVE_TYPES", "CREATE_RELATION", "DELETE_RELATION", "ABORT_MASKING", "CREATE_SECURITY_POLICY_REPORT", "REFRESH_SECURITY_POLICY_CACHE", "DELETE_SECURITY_POLICY_CACHE", "CREATE_SCHEDULE", "REMOVE_SCHEDULE_REPORT", "UPDATE_ALL_ALERT", "PATCH_TARGET_ALERT_POLICY_ASSOCIATION", "CREATE_ALERT_POLICY", "UPDATE_ALERT_POLICY", "DELETE_ALERT_POLICY", "CREATE_ALERT_POLICY_RULE", "UPDATE_ALERT_POLICY_RULE", "DELETE_ALERT_POLICY_RULE", "CHANGE_ALERT_POLICY_COMPARTMENT", "UPDATE_TARGET_GROUP_AUDIT_PROFILE", "CREATE_ATTRIBUTE_SET", "UPDATE_ATTRIBUTE_SET", "DELETE_ATTRIBUTE_SET", "CHANGE_ATTRIBUTE_SET_COMPARTMENT"]
if not value_allowed_none_or_none_sentinel(operation_type, allowed_values):
operation_type = 'UNKNOWN_ENUM_VALUE'
self._operation_type = operation_type
diff --git a/src/oci/data_science/models/schedule_interval_trigger.py b/src/oci/data_science/models/schedule_interval_trigger.py
index bf545eb9f8..78b6d053ae 100644
--- a/src/oci/data_science/models/schedule_interval_trigger.py
+++ b/src/oci/data_science/models/schedule_interval_trigger.py
@@ -53,6 +53,10 @@ def __init__(self, **kwargs):
The value to assign to the interval property of this ScheduleIntervalTrigger.
:type interval: int
+ :param initial_jitter_in_minutes:
+ The value to assign to the initial_jitter_in_minutes property of this ScheduleIntervalTrigger.
+ :type initial_jitter_in_minutes: int
+
:param is_random_start_time:
The value to assign to the is_random_start_time property of this ScheduleIntervalTrigger.
:type is_random_start_time: bool
@@ -64,6 +68,7 @@ def __init__(self, **kwargs):
'time_end': 'datetime',
'frequency': 'str',
'interval': 'int',
+ 'initial_jitter_in_minutes': 'int',
'is_random_start_time': 'bool'
}
self.attribute_map = {
@@ -72,6 +77,7 @@ def __init__(self, **kwargs):
'time_end': 'timeEnd',
'frequency': 'frequency',
'interval': 'interval',
+ 'initial_jitter_in_minutes': 'initialJitterInMinutes',
'is_random_start_time': 'isRandomStartTime'
}
self._trigger_type = None
@@ -79,6 +85,7 @@ def __init__(self, **kwargs):
self._time_end = None
self._frequency = None
self._interval = None
+ self._initial_jitter_in_minutes = None
self._is_random_start_time = None
self._trigger_type = 'INTERVAL'
@@ -136,12 +143,48 @@ def interval(self, interval):
"""
self._interval = interval
+ @property
+ def initial_jitter_in_minutes(self):
+ """
+ Gets the initial_jitter_in_minutes of this ScheduleIntervalTrigger.
+ Maximum number of minutes after timeStart that the scheduler may use to randomly select the first execution time.
+ This value is considered only when isRandomStartTime is true.
+ This value applies only to the initial execution; subsequent executions remain deterministic based on the resolved first trigger time.
+ If timeStart is null, the service resolves the effective start time using the current time.
+ The initial jitter window is then applied once to that resolved start time to determine the first execution time.
+ If not provided and isRandomStartTime is true, the service defaults the jitter window to half of the configured interval duration.
+ The value must not exceed the configured interval duration.
+
+
+ :return: The initial_jitter_in_minutes of this ScheduleIntervalTrigger.
+ :rtype: int
+ """
+ return self._initial_jitter_in_minutes
+
+ @initial_jitter_in_minutes.setter
+ def initial_jitter_in_minutes(self, initial_jitter_in_minutes):
+ """
+ Sets the initial_jitter_in_minutes of this ScheduleIntervalTrigger.
+ Maximum number of minutes after timeStart that the scheduler may use to randomly select the first execution time.
+ This value is considered only when isRandomStartTime is true.
+ This value applies only to the initial execution; subsequent executions remain deterministic based on the resolved first trigger time.
+ If timeStart is null, the service resolves the effective start time using the current time.
+ The initial jitter window is then applied once to that resolved start time to determine the first execution time.
+ If not provided and isRandomStartTime is true, the service defaults the jitter window to half of the configured interval duration.
+ The value must not exceed the configured interval duration.
+
+
+ :param initial_jitter_in_minutes: The initial_jitter_in_minutes of this ScheduleIntervalTrigger.
+ :type: int
+ """
+ self._initial_jitter_in_minutes = initial_jitter_in_minutes
+
@property
def is_random_start_time(self):
"""
Gets the is_random_start_time of this ScheduleIntervalTrigger.
- when true and timeStart is null, system generate a random start time between now and now + interval;
- isRandomStartTime can be true if timeStart is null.
+ when true, system generates a randomized first start time between timeStart and timeStart + initialJitterInMinutes.
+ if timeStart is null, the current time is used as the base start time.
:return: The is_random_start_time of this ScheduleIntervalTrigger.
@@ -153,8 +196,8 @@ def is_random_start_time(self):
def is_random_start_time(self, is_random_start_time):
"""
Sets the is_random_start_time of this ScheduleIntervalTrigger.
- when true and timeStart is null, system generate a random start time between now and now + interval;
- isRandomStartTime can be true if timeStart is null.
+ when true, system generates a randomized first start time between timeStart and timeStart + initialJitterInMinutes.
+ if timeStart is null, the current time is used as the base start time.
:param is_random_start_time: The is_random_start_time of this ScheduleIntervalTrigger.
diff --git a/src/oci/database/database_client.py b/src/oci/database/database_client.py
index 22ab418fae..02aed9b655 100644
--- a/src/oci/database/database_client.py
+++ b/src/oci/database/database_client.py
@@ -2404,6 +2404,131 @@ def change_backup_destination_compartment(self, change_compartment_details, back
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def change_basecc_vm_cluster_compartment(self, change_basecc_vm_cluster_compartment_details, basecc_vm_cluster_id, **kwargs):
+ """
+ Moves a BaseDB-C@C VM cluster and its dependent resources to another compartment. Applies to Base Database Service on Cloud@Customer instances only.
+
+
+ :param oci.database.models.ChangeBaseccVmClusterCompartmentDetails change_basecc_vm_cluster_compartment_details: (required)
+ Request to move the BaseDB-C@C VM cluster to a different compartment.
+
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (for example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_basecc_vm_cluster_compartment API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['baseccVmClusterId']
+ resource_path = "/baseccVmClusters/{baseccVmClusterId}/actions/changeCompartment"
+ method = "POST"
+ operation_name = "change_basecc_vm_cluster_compartment"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/ChangeBaseccVmClusterCompartment"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"change_basecc_vm_cluster_compartment got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "baseccVmClusterId": basecc_vm_cluster_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
+ }
+ 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_basecc_vm_cluster_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=change_basecc_vm_cluster_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def change_cloud_autonomous_vm_cluster_compartment(self, change_cloud_autonomous_vm_cluster_compartment_details, cloud_autonomous_vm_cluster_id, **kwargs):
"""
Moves an Autonomous Exadata VM cluster in the Oracle cloud and its dependent resources to another compartment. For Exadata Cloud@Customer systems, see :func:`change_autonomous_vm_cluster_compartment`.
@@ -8263,6 +8388,109 @@ def create_backup_destination(self, create_backup_destination_details, **kwargs)
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def create_basecc_vm_cluster(self, create_basecc_vm_cluster_details, **kwargs):
+ """
+ Creates a BaseDB-C@C VM cluster.
+
+
+ :param oci.database.models.CreateBaseccVmClusterDetails create_basecc_vm_cluster_details: (required)
+ Request to create a BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (for example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.BaseccVmCluster`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_basecc_vm_cluster API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/baseccVmClusters"
+ method = "POST"
+ operation_name = "create_basecc_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/CreateBaseccVmCluster"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"create_basecc_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+
+ 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,
+ header_params=header_params,
+ body=create_basecc_vm_cluster_details,
+ response_type="BaseccVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_basecc_vm_cluster_details,
+ response_type="BaseccVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def create_cloud_autonomous_vm_cluster(self, create_cloud_autonomous_vm_cluster_details, **kwargs):
"""
Creates an Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see :func:`create_autonomous_vm_cluster`.
@@ -11475,6 +11703,8 @@ def db_node_action(self, db_node_id, action, **kwargs):
Performs one of the following power actions on the specified DB node:
- start - power on
- stop - power off gracefully
+ - forcestop - power off forcefully
+ - forcereset - ACPI shutdown and power on forcefully
- softreset - ACPI shutdown and power on
- reset - power off and power on
@@ -11495,7 +11725,7 @@ def db_node_action(self, db_node_id, action, **kwargs):
:param str action: (required)
The action to perform on the DB Node.
- Allowed values are: "STOP", "START", "SOFTRESET", "RESET"
+ Allowed values are: "STOP", "FORCESTOP", "FORCERESET", "START", "SOFTRESET", "RESET"
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -12509,13 +12739,13 @@ def delete_backup_destination(self, backup_destination_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def delete_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **kwargs):
+ def delete_basecc_vm_cluster(self, basecc_vm_cluster_id, **kwargs):
"""
- Deletes the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see :func:`delete_autonomous_vm_cluster`.
+ Deletes the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
- :param str cloud_autonomous_vm_cluster_id: (required)
- The Cloud VM cluster `OCID`__.
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -12547,14 +12777,14 @@ def delete_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **k
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_cloud_autonomous_vm_cluster API.
+ Click `here `__ to see an example of how to use delete_basecc_vm_cluster API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudAutonomousVmClusterId']
- resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}"
+ required_arguments = ['baseccVmClusterId']
+ resource_path = "/baseccVmClusters/{baseccVmClusterId}"
method = "DELETE"
- operation_name = "delete_cloud_autonomous_vm_cluster"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/DeleteCloudAutonomousVmCluster"
+ operation_name = "delete_basecc_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/DeleteBaseccVmCluster"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -12567,10 +12797,10 @@ def delete_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **k
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"delete_cloud_autonomous_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+ f"delete_basecc_vm_cluster got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
+ "baseccVmClusterId": basecc_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -12619,13 +12849,13 @@ def delete_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **k
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kwargs):
+ def delete_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **kwargs):
"""
- Deletes the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
+ Deletes the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see :func:`delete_autonomous_vm_cluster`.
- :param str cloud_exadata_infrastructure_id: (required)
- The cloud Exadata infrastructure `OCID`__.
+ :param str cloud_autonomous_vm_cluster_id: (required)
+ The Cloud VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -12634,9 +12864,6 @@ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, *
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
- :param bool is_delete_vm_clusters: (optional)
- If `true`, forces the deletion the specified cloud Exadata infrastructure resource as well as all associated VM clusters. If `false`, the cloud Exadata infrastructure resource can be deleted only if it has no associated VM clusters. Default value is `false`.
-
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -12660,14 +12887,14 @@ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, *
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_cloud_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use delete_cloud_autonomous_vm_cluster API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudExadataInfrastructureId']
- resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}"
+ required_arguments = ['cloudAutonomousVmClusterId']
+ resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}"
method = "DELETE"
- operation_name = "delete_cloud_exadata_infrastructure"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/DeleteCloudExadataInfrastructure"
+ operation_name = "delete_cloud_autonomous_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/DeleteCloudAutonomousVmCluster"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -12675,16 +12902,15 @@ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, *
"enable_strict_url_encoding",
"retry_strategy",
"if_match",
- "is_delete_vm_clusters",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"delete_cloud_exadata_infrastructure got unknown kwargs: {extra_kwargs!r}")
+ f"delete_cloud_autonomous_vm_cluster got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudExadataInfrastructureId": cloud_exadata_infrastructure_id
+ "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -12693,11 +12919,6 @@ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, *
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
- query_params = {
- "isDeleteVmClusters": kwargs.get("is_delete_vm_clusters", missing)
- }
- query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
-
header_params = {
"accept": "application/json",
"content-type": "application/json",
@@ -12720,7 +12941,6 @@ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, *
resource_path=resource_path,
method=method,
path_params=path_params,
- query_params=query_params,
header_params=header_params,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
@@ -12732,7 +12952,6 @@ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, *
resource_path=resource_path,
method=method,
path_params=path_params,
- query_params=query_params,
header_params=header_params,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
@@ -12740,13 +12959,13 @@ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, *
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def delete_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
+ def delete_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kwargs):
"""
- Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
+ Deletes the cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
+ :param str cloud_exadata_infrastructure_id: (required)
+ The cloud Exadata infrastructure `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -12755,6 +12974,9 @@ def delete_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
will be updated or deleted only if the etag you provide matches the resource's current etag value.
+ :param bool is_delete_vm_clusters: (optional)
+ If `true`, forces the deletion the specified cloud Exadata infrastructure resource as well as all associated VM clusters. If `false`, the cloud Exadata infrastructure resource can be deleted only if it has no associated VM clusters. Default value is `false`.
+
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -12778,14 +13000,14 @@ def delete_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use delete_cloud_vm_cluster API.
+ Click `here `__ to see an example of how to use delete_cloud_exadata_infrastructure API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudVmClusterId']
- resource_path = "/cloudVmClusters/{cloudVmClusterId}"
+ required_arguments = ['cloudExadataInfrastructureId']
+ resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}"
method = "DELETE"
- operation_name = "delete_cloud_vm_cluster"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/DeleteCloudVmCluster"
+ operation_name = "delete_cloud_exadata_infrastructure"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/DeleteCloudExadataInfrastructure"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -12793,15 +13015,133 @@ def delete_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
"enable_strict_url_encoding",
"retry_strategy",
"if_match",
+ "is_delete_vm_clusters",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"delete_cloud_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+ f"delete_cloud_exadata_infrastructure got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudVmClusterId": cloud_vm_cluster_id
+ "cloudExadataInfrastructureId": cloud_exadata_infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ query_params = {
+ "isDeleteVmClusters": kwargs.get("is_delete_vm_clusters", missing)
+ }
+ query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "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,
+ query_params=query_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def delete_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
+ """
+ Deletes the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
+
+
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_cloud_vm_cluster API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['cloudVmClusterId']
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}"
+ method = "DELETE"
+ operation_name = "delete_cloud_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/DeleteCloudVmCluster"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"delete_cloud_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "cloudVmClusterId": cloud_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -20714,20 +21054,18 @@ def get_autonomous_container_database(self, autonomous_container_database_id, **
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_autonomous_container_database_dataguard_association(self, autonomous_container_database_id, autonomous_container_database_dataguard_association_id, **kwargs):
+ def get_autonomous_container_database_backup(self, autonomous_container_database_backup_id, **kwargs):
"""
- **Deprecated.** Use the :func:`get_autonomous_container_database` operation to get the details of an Autonomous Container Database (ACD) enabled with Autonomous Data Guard associated with the specified ACD.
+ Gets information about the specified Autonomous Container Database backup.
- :param str autonomous_container_database_id: (required)
- The Autonomous Container Database `OCID`__.
+ :param str autonomous_container_database_backup_id: (required)
+ The Autonomous Container Database backup `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param str autonomous_container_database_dataguard_association_id: (required)
- The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
-
- __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -20745,28 +21083,33 @@ def get_autonomous_container_database_dataguard_association(self, autonomous_con
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabaseDataguardAssociation`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabaseBackup`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_autonomous_container_database_dataguard_association API.
+ Click `here `__ to see an example of how to use get_autonomous_container_database_backup API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['autonomousContainerDatabaseId', 'autonomousContainerDatabaseDataguardAssociationId']
- resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}"
+ required_arguments = ['autonomousContainerDatabaseBackupId']
+ resource_path = "/autonomousContainerDatabaseBackups/{autonomousContainerDatabaseBackupId}"
method = "GET"
- operation_name = "get_autonomous_container_database_dataguard_association"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabaseDataguardAssociation/GetAutonomousContainerDatabaseDataguardAssociation"
+ operation_name = "get_autonomous_container_database_backup"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabaseBackup/GetAutonomousContainerDatabaseBackup"
- expected_kwargs = ["retry_strategy"]
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
- f"get_autonomous_container_database_dataguard_association got unknown kwargs: {extra_kwargs!r}")
+ f"get_autonomous_container_database_backup got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "autonomousContainerDatabaseId": autonomous_container_database_id,
- "autonomousContainerDatabaseDataguardAssociationId": autonomous_container_database_dataguard_association_id
+ "autonomousContainerDatabaseBackupId": autonomous_container_database_backup_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -20777,8 +21120,10 @@ def get_autonomous_container_database_dataguard_association(self, autonomous_con
header_params = {
"accept": "application/json",
- "content-type": "application/json"
+ "content-type": "application/json",
+ "opc-request-id": kwargs.get("opc_request_id", missing)
}
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.base_client.get_preferred_retry_strategy(
operation_retry_strategy=kwargs.get('retry_strategy'),
@@ -20795,7 +21140,7 @@ def get_autonomous_container_database_dataguard_association(self, autonomous_con
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousContainerDatabaseDataguardAssociation",
+ response_type="AutonomousContainerDatabaseBackup",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -20807,16 +21152,16 @@ def get_autonomous_container_database_dataguard_association(self, autonomous_con
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousContainerDatabaseDataguardAssociation",
+ response_type="AutonomousContainerDatabaseBackup",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_autonomous_container_database_resource_usage(self, autonomous_container_database_id, **kwargs):
+ def get_autonomous_container_database_dataguard_association(self, autonomous_container_database_id, autonomous_container_database_dataguard_association_id, **kwargs):
"""
- Get resource usage details for the specified Autonomous Container Database.
+ **Deprecated.** Use the :func:`get_autonomous_container_database` operation to get the details of an Autonomous Container Database (ACD) enabled with Autonomous Data Guard associated with the specified ACD.
:param str autonomous_container_database_id: (required)
@@ -20824,8 +21169,10 @@ def get_autonomous_container_database_resource_usage(self, autonomous_container_
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param str opc_request_id: (optional)
- Unique identifier for the request.
+ :param str autonomous_container_database_dataguard_association_id: (required)
+ The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -20843,33 +21190,28 @@ def get_autonomous_container_database_resource_usage(self, autonomous_container_
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabaseResourceUsage`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabaseDataguardAssociation`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_autonomous_container_database_resource_usage API.
+ Click `here `__ to see an example of how to use get_autonomous_container_database_dataguard_association API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['autonomousContainerDatabaseId']
- resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/resourceUsage"
+ required_arguments = ['autonomousContainerDatabaseId', 'autonomousContainerDatabaseDataguardAssociationId']
+ resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/autonomousContainerDatabaseDataguardAssociations/{autonomousContainerDatabaseDataguardAssociationId}"
method = "GET"
- operation_name = "get_autonomous_container_database_resource_usage"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabase/GetAutonomousContainerDatabaseResourceUsage"
+ operation_name = "get_autonomous_container_database_dataguard_association"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabaseDataguardAssociation/GetAutonomousContainerDatabaseDataguardAssociation"
- # Don't accept unknown kwargs
- expected_kwargs = [
- "allow_control_chars",
- "enable_strict_url_encoding",
- "retry_strategy",
- "opc_request_id"
- ]
+ expected_kwargs = ["retry_strategy"]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_autonomous_container_database_resource_usage got unknown kwargs: {extra_kwargs!r}")
+ f"get_autonomous_container_database_dataguard_association got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "autonomousContainerDatabaseId": autonomous_container_database_id
+ "autonomousContainerDatabaseId": autonomous_container_database_id,
+ "autonomousContainerDatabaseDataguardAssociationId": autonomous_container_database_dataguard_association_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -20880,10 +21222,8 @@ def get_autonomous_container_database_resource_usage(self, autonomous_container_
header_params = {
"accept": "application/json",
- "content-type": "application/json",
- "opc-request-id": kwargs.get("opc_request_id", missing)
+ "content-type": "application/json"
}
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
retry_strategy = self.base_client.get_preferred_retry_strategy(
operation_retry_strategy=kwargs.get('retry_strategy'),
@@ -20900,7 +21240,7 @@ def get_autonomous_container_database_resource_usage(self, autonomous_container_
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousContainerDatabaseResourceUsage",
+ response_type="AutonomousContainerDatabaseDataguardAssociation",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -20912,20 +21252,20 @@ def get_autonomous_container_database_resource_usage(self, autonomous_container_
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousContainerDatabaseResourceUsage",
+ response_type="AutonomousContainerDatabaseDataguardAssociation",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_autonomous_database(self, autonomous_database_id, **kwargs):
+ def get_autonomous_container_database_resource_usage(self, autonomous_container_database_id, **kwargs):
"""
- Gets the details of the specified Autonomous AI Database.
+ Get resource usage details for the specified Autonomous Container Database.
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+ :param str autonomous_container_database_id: (required)
+ The Autonomous Container Database `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -20948,18 +21288,18 @@ def get_autonomous_database(self, autonomous_database_id, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabase`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousContainerDatabaseResourceUsage`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_autonomous_database API.
+ Click `here `__ to see an example of how to use get_autonomous_container_database_resource_usage API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['autonomousDatabaseId']
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}"
+ required_arguments = ['autonomousContainerDatabaseId']
+ resource_path = "/autonomousContainerDatabases/{autonomousContainerDatabaseId}/resourceUsage"
method = "GET"
- operation_name = "get_autonomous_database"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/GetAutonomousDatabase"
+ operation_name = "get_autonomous_container_database_resource_usage"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousContainerDatabase/GetAutonomousContainerDatabaseResourceUsage"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -20971,10 +21311,10 @@ def get_autonomous_database(self, autonomous_database_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_autonomous_database got unknown kwargs: {extra_kwargs!r}")
+ f"get_autonomous_container_database_resource_usage got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "autonomousDatabaseId": autonomous_database_id
+ "autonomousContainerDatabaseId": autonomous_container_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -21005,7 +21345,7 @@ def get_autonomous_database(self, autonomous_database_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousDatabase",
+ response_type="AutonomousContainerDatabaseResourceUsage",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -21017,20 +21357,20 @@ def get_autonomous_database(self, autonomous_database_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousDatabase",
+ response_type="AutonomousContainerDatabaseResourceUsage",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs):
+ def get_autonomous_database(self, autonomous_database_id, **kwargs):
"""
- Gets information about the specified Autonomous AI Database backup.
+ Gets the details of the specified Autonomous AI Database.
- :param str autonomous_database_backup_id: (required)
- The `OCID`__ of the Autonomous AI Database backup.
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -21053,18 +21393,18 @@ def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseBackup`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_autonomous_database_backup API.
+ Click `here `__ to see an example of how to use get_autonomous_database API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['autonomousDatabaseBackupId']
- resource_path = "/autonomousDatabaseBackups/{autonomousDatabaseBackupId}"
+ required_arguments = ['autonomousDatabaseId']
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}"
method = "GET"
- operation_name = "get_autonomous_database_backup"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/GetAutonomousDatabaseBackup"
+ operation_name = "get_autonomous_database"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/GetAutonomousDatabase"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -21076,10 +21416,10 @@ def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_autonomous_database_backup got unknown kwargs: {extra_kwargs!r}")
+ f"get_autonomous_database got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "autonomousDatabaseBackupId": autonomous_database_backup_id
+ "autonomousDatabaseId": autonomous_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -21110,7 +21450,7 @@ def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousDatabaseBackup",
+ response_type="AutonomousDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -21122,25 +21462,20 @@ def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AutonomousDatabaseBackup",
+ response_type="AutonomousDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_autonomous_database_dataguard_association(self, autonomous_database_id, autonomous_database_dataguard_association_id, **kwargs):
+ def get_autonomous_database_backup(self, autonomous_database_backup_id, **kwargs):
"""
- *Deprecated.* Use the :func:`get_autonomous_container_database` operation to gets an Autonomous Data Guard-enabled database associated with the specified Autonomous AI Database.
-
-
- :param str autonomous_database_id: (required)
- The database `OCID`__.
+ Gets information about the specified Autonomous AI Database backup.
- __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param str autonomous_database_dataguard_association_id: (required)
- The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
+ :param str autonomous_database_backup_id: (required)
+ The `OCID`__ of the Autonomous AI Database backup.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -21163,18 +21498,18 @@ def get_autonomous_database_dataguard_association(self, autonomous_database_id,
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseDataguardAssociation`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseBackup`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_autonomous_database_dataguard_association API.
+ Click `here `__ to see an example of how to use get_autonomous_database_backup API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['autonomousDatabaseId', 'autonomousDatabaseDataguardAssociationId']
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations/{autonomousDatabaseDataguardAssociationId}"
+ required_arguments = ['autonomousDatabaseBackupId']
+ resource_path = "/autonomousDatabaseBackups/{autonomousDatabaseBackupId}"
method = "GET"
- operation_name = "get_autonomous_database_dataguard_association"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseDataguardAssociation/GetAutonomousDatabaseDataguardAssociation"
+ operation_name = "get_autonomous_database_backup"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseBackup/GetAutonomousDatabaseBackup"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -21186,11 +21521,121 @@ def get_autonomous_database_dataguard_association(self, autonomous_database_id,
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_autonomous_database_dataguard_association got unknown kwargs: {extra_kwargs!r}")
+ f"get_autonomous_database_backup got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "autonomousDatabaseId": autonomous_database_id,
- "autonomousDatabaseDataguardAssociationId": autonomous_database_dataguard_association_id
+ "autonomousDatabaseBackupId": autonomous_database_backup_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ 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="AutonomousDatabaseBackup",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="AutonomousDatabaseBackup",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_autonomous_database_dataguard_association(self, autonomous_database_id, autonomous_database_dataguard_association_id, **kwargs):
+ """
+ *Deprecated.* Use the :func:`get_autonomous_container_database` operation to gets an Autonomous Data Guard-enabled database associated with the specified Autonomous AI Database.
+
+
+ :param str autonomous_database_id: (required)
+ The database `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str autonomous_database_dataguard_association_id: (required)
+ The Autonomous Container Database-Autonomous Data Guard association `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseDataguardAssociation`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_autonomous_database_dataguard_association API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['autonomousDatabaseId', 'autonomousDatabaseDataguardAssociationId']
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/autonomousDatabaseDataguardAssociations/{autonomousDatabaseDataguardAssociationId}"
+ method = "GET"
+ operation_name = "get_autonomous_database_dataguard_association"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseDataguardAssociation/GetAutonomousDatabaseDataguardAssociation"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_autonomous_database_dataguard_association got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "autonomousDatabaseId": autonomous_database_id,
+ "autonomousDatabaseDataguardAssociationId": autonomous_database_dataguard_association_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -22240,13 +22685,13 @@ def get_backup_destination(self, backup_destination_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **kwargs):
+ def get_basecc_vm_cluster(self, basecc_vm_cluster_id, **kwargs):
"""
- Gets information about the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Custustomer systems, see :func:`get_autonomous_vm_cluster`.
+ Gets information about the BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
- :param str cloud_autonomous_vm_cluster_id: (required)
- The Cloud VM cluster `OCID`__.
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -22269,18 +22714,18 @@ def get_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **kwar
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudAutonomousVmCluster`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.BaseccVmCluster`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_autonomous_vm_cluster API.
+ Click `here `__ to see an example of how to use get_basecc_vm_cluster API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudAutonomousVmClusterId']
- resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}"
+ required_arguments = ['baseccVmClusterId']
+ resource_path = "/baseccVmClusters/{baseccVmClusterId}"
method = "GET"
- operation_name = "get_cloud_autonomous_vm_cluster"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmCluster"
+ operation_name = "get_basecc_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/GetBaseccVmCluster"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -22292,10 +22737,10 @@ def get_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **kwar
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_cloud_autonomous_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+ f"get_basecc_vm_cluster got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
+ "baseccVmClusterId": basecc_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -22326,7 +22771,7 @@ def get_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **kwar
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudAutonomousVmCluster",
+ response_type="BaseccVmCluster",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -22338,20 +22783,25 @@ def get_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **kwar
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudAutonomousVmCluster",
+ response_type="BaseccVmCluster",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_cloud_autonomous_vm_cluster_resource_usage(self, cloud_autonomous_vm_cluster_id, **kwargs):
+ def get_basecc_vm_cluster_update(self, basecc_vm_cluster_id, update_id, **kwargs):
"""
- Get the resource usage details for the specified Cloud Autonomous Exadata VM cluster.
+ Gets information about a specified maintenance update package for a BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
- :param str cloud_autonomous_vm_cluster_id: (required)
- The Cloud VM cluster `OCID`__.
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str update_id: (required)
+ The `OCID`__ of the maintenance update.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -22374,18 +22824,18 @@ def get_cloud_autonomous_vm_cluster_resource_usage(self, cloud_autonomous_vm_clu
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudAutonomousVmClusterResourceUsage`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.BaseccVmClusterUpdate`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_autonomous_vm_cluster_resource_usage API.
+ Click `here `__ to see an example of how to use get_basecc_vm_cluster_update API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudAutonomousVmClusterId']
- resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/resourceUsage"
+ required_arguments = ['baseccVmClusterId', 'updateId']
+ resource_path = "/baseccVmClusters/{baseccVmClusterId}/updates/{updateId}"
method = "GET"
- operation_name = "get_cloud_autonomous_vm_cluster_resource_usage"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmClusterResourceUsage"
+ operation_name = "get_basecc_vm_cluster_update"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdate/GetBaseccVmClusterUpdate"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -22397,10 +22847,11 @@ def get_cloud_autonomous_vm_cluster_resource_usage(self, cloud_autonomous_vm_clu
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_cloud_autonomous_vm_cluster_resource_usage got unknown kwargs: {extra_kwargs!r}")
+ f"get_basecc_vm_cluster_update got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
+ "baseccVmClusterId": basecc_vm_cluster_id,
+ "updateId": update_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -22431,7 +22882,7 @@ def get_cloud_autonomous_vm_cluster_resource_usage(self, cloud_autonomous_vm_clu
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudAutonomousVmClusterResourceUsage",
+ response_type="BaseccVmClusterUpdate",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -22443,20 +22894,25 @@ def get_cloud_autonomous_vm_cluster_resource_usage(self, cloud_autonomous_vm_clu
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudAutonomousVmClusterResourceUsage",
+ response_type="BaseccVmClusterUpdate",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kwargs):
+ def get_basecc_vm_cluster_update_history_entry(self, basecc_vm_cluster_id, update_history_entry_id, **kwargs):
"""
- Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
+ Gets the maintenance update history details for the specified update history entry. Applies to Base Database Service on Cloud@Customer instances only.
- :param str cloud_exadata_infrastructure_id: (required)
- The cloud Exadata infrastructure `OCID`__.
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str update_history_entry_id: (required)
+ The `OCID`__ of the maintenance update history entry.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -22479,18 +22935,18 @@ def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kw
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudExadataInfrastructure`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.BaseccVmClusterUpdateHistoryEntry`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_exadata_infrastructure API.
+ Click `here `__ to see an example of how to use get_basecc_vm_cluster_update_history_entry API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudExadataInfrastructureId']
- resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}"
+ required_arguments = ['baseccVmClusterId', 'updateHistoryEntryId']
+ resource_path = "/baseccVmClusters/{baseccVmClusterId}/updateHistoryEntries/{updateHistoryEntryId}"
method = "GET"
- operation_name = "get_cloud_exadata_infrastructure"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructure"
+ operation_name = "get_basecc_vm_cluster_update_history_entry"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdateHistoryEntry/GetBaseccVmClusterUpdateHistoryEntry"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -22502,10 +22958,11 @@ def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kw
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_cloud_exadata_infrastructure got unknown kwargs: {extra_kwargs!r}")
+ f"get_basecc_vm_cluster_update_history_entry got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudExadataInfrastructureId": cloud_exadata_infrastructure_id
+ "baseccVmClusterId": basecc_vm_cluster_id,
+ "updateHistoryEntryId": update_history_entry_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -22536,7 +22993,7 @@ def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kw
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudExadataInfrastructure",
+ response_type="BaseccVmClusterUpdateHistoryEntry",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -22548,31 +23005,26 @@ def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kw
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudExadataInfrastructure",
+ response_type="BaseccVmClusterUpdateHistoryEntry",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_cloud_exadata_infrastructure_unallocated_resources(self, cloud_exadata_infrastructure_id, **kwargs):
+ def get_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, **kwargs):
"""
- Gets unallocated resources information for the specified Cloud Exadata infrastructure.
+ Gets information about the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Custustomer systems, see :func:`get_autonomous_vm_cluster`.
- :param str cloud_exadata_infrastructure_id: (required)
- The cloud Exadata infrastructure `OCID`__.
+ :param str cloud_autonomous_vm_cluster_id: (required)
+ The Cloud VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
:param str opc_request_id: (optional)
Unique identifier for the request.
- :param list[str] db_servers: (optional)
- The list of `OCIDs`__ of the Db servers.
-
- __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
-
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -22589,34 +23041,33 @@ def get_cloud_exadata_infrastructure_unallocated_resources(self, cloud_exadata_i
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudExadataInfrastructureUnallocatedResources`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudAutonomousVmCluster`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_exadata_infrastructure_unallocated_resources API.
+ Click `here `__ to see an example of how to use get_cloud_autonomous_vm_cluster API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudExadataInfrastructureId']
- resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/unAllocatedResources"
+ required_arguments = ['cloudAutonomousVmClusterId']
+ resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}"
method = "GET"
- operation_name = "get_cloud_exadata_infrastructure_unallocated_resources"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructureUnallocatedResources"
+ operation_name = "get_cloud_autonomous_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmCluster"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "opc_request_id",
- "db_servers"
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_cloud_exadata_infrastructure_unallocated_resources got unknown kwargs: {extra_kwargs!r}")
+ f"get_cloud_autonomous_vm_cluster got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudExadataInfrastructureId": cloud_exadata_infrastructure_id
+ "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -22625,11 +23076,6 @@ def get_cloud_exadata_infrastructure_unallocated_resources(self, cloud_exadata_i
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
- query_params = {
- "dbServers": self.base_client.generate_collection_format_param(kwargs.get("db_servers", 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",
@@ -22651,9 +23097,8 @@ def get_cloud_exadata_infrastructure_unallocated_resources(self, cloud_exadata_i
resource_path=resource_path,
method=method,
path_params=path_params,
- query_params=query_params,
header_params=header_params,
- response_type="CloudExadataInfrastructureUnallocatedResources",
+ response_type="CloudAutonomousVmCluster",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -22664,22 +23109,21 @@ def get_cloud_exadata_infrastructure_unallocated_resources(self, cloud_exadata_i
resource_path=resource_path,
method=method,
path_params=path_params,
- query_params=query_params,
header_params=header_params,
- response_type="CloudExadataInfrastructureUnallocatedResources",
+ response_type="CloudAutonomousVmCluster",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
+ def get_cloud_autonomous_vm_cluster_resource_usage(self, cloud_autonomous_vm_cluster_id, **kwargs):
"""
- Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
+ Get the resource usage details for the specified Cloud Autonomous Exadata VM cluster.
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
+ :param str cloud_autonomous_vm_cluster_id: (required)
+ The Cloud VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -22702,18 +23146,18 @@ def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudVmCluster`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudAutonomousVmClusterResourceUsage`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_vm_cluster API.
+ Click `here `__ to see an example of how to use get_cloud_autonomous_vm_cluster_resource_usage API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudVmClusterId']
- resource_path = "/cloudVmClusters/{cloudVmClusterId}"
+ required_arguments = ['cloudAutonomousVmClusterId']
+ resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/resourceUsage"
method = "GET"
- operation_name = "get_cloud_vm_cluster"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/GetCloudVmCluster"
+ operation_name = "get_cloud_autonomous_vm_cluster_resource_usage"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/GetCloudAutonomousVmClusterResourceUsage"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -22725,10 +23169,10 @@ def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_cloud_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+ f"get_cloud_autonomous_vm_cluster_resource_usage got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudVmClusterId": cloud_vm_cluster_id
+ "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -22759,7 +23203,7 @@ def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudVmCluster",
+ response_type="CloudAutonomousVmClusterResourceUsage",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -22771,21 +23215,20 @@ def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="CloudVmCluster",
+ response_type="CloudAutonomousVmClusterResourceUsage",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def get_cloud_vm_cluster_iorm_config(self, cloud_vm_cluster_id, **kwargs):
+ def get_cloud_exadata_infrastructure(self, cloud_exadata_infrastructure_id, **kwargs):
"""
- Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance.
- If you have not specified an IORM configuration, the default configuration is returned.
+ Gets information about the specified cloud Exadata infrastructure resource. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
+ :param str cloud_exadata_infrastructure_id: (required)
+ The cloud Exadata infrastructure `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -22808,18 +23251,18 @@ def get_cloud_vm_cluster_iorm_config(self, cloud_vm_cluster_id, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataIormConfig`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudExadataInfrastructure`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use get_cloud_vm_cluster_iorm_config API.
+ Click `here `__ to see an example of how to use get_cloud_exadata_infrastructure API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudVmClusterId']
- resource_path = "/cloudVmClusters/{cloudVmClusterId}/CloudVmClusterIormConfig"
+ required_arguments = ['cloudExadataInfrastructureId']
+ resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}"
method = "GET"
- operation_name = "get_cloud_vm_cluster_iorm_config"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/GetCloudVmClusterIormConfig"
+ operation_name = "get_cloud_exadata_infrastructure"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructure"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -22831,10 +23274,339 @@ def get_cloud_vm_cluster_iorm_config(self, cloud_vm_cluster_id, **kwargs):
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"get_cloud_vm_cluster_iorm_config got unknown kwargs: {extra_kwargs!r}")
+ f"get_cloud_exadata_infrastructure got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudVmClusterId": cloud_vm_cluster_id
+ "cloudExadataInfrastructureId": cloud_exadata_infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "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="CloudExadataInfrastructure",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CloudExadataInfrastructure",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_cloud_exadata_infrastructure_unallocated_resources(self, cloud_exadata_infrastructure_id, **kwargs):
+ """
+ Gets unallocated resources information for the specified Cloud Exadata infrastructure.
+
+
+ :param str cloud_exadata_infrastructure_id: (required)
+ The cloud Exadata infrastructure `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param list[str] db_servers: (optional)
+ The list of `OCIDs`__ of the Db servers.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudExadataInfrastructureUnallocatedResources`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_cloud_exadata_infrastructure_unallocated_resources API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['cloudExadataInfrastructureId']
+ resource_path = "/cloudExadataInfrastructures/{cloudExadataInfrastructureId}/unAllocatedResources"
+ method = "GET"
+ operation_name = "get_cloud_exadata_infrastructure_unallocated_resources"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/GetCloudExadataInfrastructureUnallocatedResources"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_request_id",
+ "db_servers"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"get_cloud_exadata_infrastructure_unallocated_resources got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "cloudExadataInfrastructureId": cloud_exadata_infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ query_params = {
+ "dbServers": self.base_client.generate_collection_format_param(kwargs.get("db_servers", 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="CloudExadataInfrastructureUnallocatedResources",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="CloudExadataInfrastructureUnallocatedResources",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_cloud_vm_cluster(self, cloud_vm_cluster_id, **kwargs):
+ """
+ Gets information about the specified cloud VM cluster. Applies to Exadata Cloud Service instances and Autonomous Database on dedicated Exadata infrastructure only.
+
+
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.CloudVmCluster`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_cloud_vm_cluster API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['cloudVmClusterId']
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}"
+ method = "GET"
+ operation_name = "get_cloud_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/GetCloudVmCluster"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_cloud_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "cloudVmClusterId": cloud_vm_cluster_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ 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="CloudVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="CloudVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_cloud_vm_cluster_iorm_config(self, cloud_vm_cluster_id, **kwargs):
+ """
+ Gets the IORM configuration for the specified cloud VM cluster in an Exadata Cloud Service instance.
+ If you have not specified an IORM configuration, the default configuration is returned.
+
+
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadataIormConfig`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_cloud_vm_cluster_iorm_config API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['cloudVmClusterId']
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}/CloudVmClusterIormConfig"
+ method = "GET"
+ operation_name = "get_cloud_vm_cluster_iorm_config"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/GetCloudVmClusterIormConfig"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_cloud_vm_cluster_iorm_config got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "cloudVmClusterId": cloud_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -29948,6 +30720,9 @@ def list_autonomous_database_backups(self, **kwargs):
Allowed values are: "CLOUD", "CLOUD_AT_CUSTOMER"
+ :param bool is_pitr_eligible: (optional)
+ Filters backups based on the current Autonomous AI Database configuration; returns only those relevant for point-in-time recovery (PITR). Does not guarantee exclusion of backups in orphan ranges.
+
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -29997,6 +30772,7 @@ def list_autonomous_database_backups(self, **kwargs):
"backup_destination_id",
"key_store_id",
"infrastructure_type",
+ "is_pitr_eligible",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
@@ -30044,7 +30820,8 @@ def list_autonomous_database_backups(self, **kwargs):
"type": kwargs.get("type", missing),
"backupDestinationId": kwargs.get("backup_destination_id", missing),
"keyStoreId": kwargs.get("key_store_id", missing),
- "infrastructureType": kwargs.get("infrastructure_type", missing)
+ "infrastructureType": kwargs.get("infrastructure_type", missing),
+ "isPitrEligible": kwargs.get("is_pitr_eligible", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
@@ -31165,6 +31942,127 @@ def list_autonomous_databases(self, compartment_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def list_autonomous_databases_in_autonomous_container_database_backup(self, autonomous_container_database_id, time_stamp_requested, **kwargs):
+ """
+ Gets a list of Autonomous Databases associated with backups at the given timestamp for the specified Autonomous Container Database. If `compartmentId` is provided, filters to that compartment; otherwise, uses the container's compartment.
+
+
+ :param str autonomous_container_database_id: (required)
+ The Autonomous Container Database `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param datetime time_stamp_requested: (required)
+ The timestamp at which the list of autonomous databases present to be returned (ISO-8601 format, e.g., \"2025-12-02T06:39:15Z\"). The requested value must be after the end timestamp of the oldest available Autonomous Container Database backup.
+
+ :param str compartment_id: (optional)
+ The compartment `OCID`__. If not provided, uses the Autonomous Container Database's compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AutonomousDatabaseInBackupCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_autonomous_databases_in_autonomous_container_database_backup API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['autonomousContainerDatabaseId', 'timeStampRequested']
+ resource_path = "/autonomousContainerDatabaseBackups/listAutonomousDatabasesInBackup"
+ method = "GET"
+ operation_name = "list_autonomous_databases_in_autonomous_container_database_backup"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabaseInBackup/ListAutonomousDatabasesInAutonomousContainerDatabaseBackup"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "compartment_id",
+ "limit",
+ "page",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_autonomous_databases_in_autonomous_container_database_backup got unknown kwargs: {extra_kwargs!r}")
+
+ query_params = {
+ "autonomousContainerDatabaseId": autonomous_container_database_id,
+ "timeStampRequested": time_stamp_requested,
+ "compartmentId": kwargs.get("compartment_id", 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="AutonomousDatabaseInBackupCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="AutonomousDatabaseInBackupCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def list_autonomous_db_preview_versions(self, compartment_id, **kwargs):
"""
Gets a list of supported Autonomous AI Database versions. Note that preview version software is only available for
@@ -32416,24 +33314,25 @@ def list_backups(self, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_cloud_autonomous_vm_cluster_acd_resource_usage(self, cloud_autonomous_vm_cluster_id, **kwargs):
+ def list_basecc_vm_cluster_update_history_entries(self, basecc_vm_cluster_id, **kwargs):
"""
- Gets the list of resource usage details for all the Cloud Autonomous Container Database
- in the specified Cloud Autonomous Exadata VM cluster.
+ Gets the history of the maintenance update actions performed on the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
- :param str cloud_autonomous_vm_cluster_id: (required)
- The Cloud VM cluster `OCID`__.
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param str compartment_id: (optional)
- The compartment `OCID`__.
+ :param str update_type: (optional)
+ A filter to return only resources that match the given update type exactly.
- __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ Allowed values are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE"
- :param str opc_request_id: (optional)
- Unique identifier for the request.
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "IN_PROGRESS", "SUCCEEDED", "FAILED"
:param int limit: (optional)
The maximum number of items to return per page.
@@ -32441,6 +33340,9 @@ def list_cloud_autonomous_vm_cluster_acd_resource_usage(self, cloud_autonomous_v
:param str page: (optional)
The pagination token to continue listing from.
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -32457,36 +33359,37 @@ def list_cloud_autonomous_vm_cluster_acd_resource_usage(self, cloud_autonomous_v
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousContainerDatabaseResourceUsage`
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.BaseccVmClusterUpdateHistoryEntrySummary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_cloud_autonomous_vm_cluster_acd_resource_usage API.
+ Click `here `__ to see an example of how to use list_basecc_vm_cluster_update_history_entries API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudAutonomousVmClusterId']
- resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/acdResourceUsage"
+ required_arguments = ['baseccVmClusterId']
+ resource_path = "/baseccVmClusters/{baseccVmClusterId}/updateHistoryEntries"
method = "GET"
- operation_name = "list_cloud_autonomous_vm_cluster_acd_resource_usage"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/ListCloudAutonomousVmClusterAcdResourceUsage"
+ operation_name = "list_basecc_vm_cluster_update_history_entries"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdateHistoryEntry/ListBaseccVmClusterUpdateHistoryEntries"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "compartment_id",
- "opc_request_id",
+ "update_type",
+ "lifecycle_state",
"limit",
- "page"
+ "page",
+ "opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"list_cloud_autonomous_vm_cluster_acd_resource_usage got unknown kwargs: {extra_kwargs!r}")
+ f"list_basecc_vm_cluster_update_history_entries got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
+ "baseccVmClusterId": basecc_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -32495,8 +33398,23 @@ def list_cloud_autonomous_vm_cluster_acd_resource_usage(self, cloud_autonomous_v
if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+ if 'update_type' in kwargs:
+ update_type_allowed_values = ["GI_UPGRADE", "GI_PATCH", "OS_UPDATE"]
+ if kwargs['update_type'] not in update_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `update_type`, must be one of { update_type_allowed_values }"
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["IN_PROGRESS", "SUCCEEDED", "FAILED"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
+ )
+
query_params = {
- "compartmentId": kwargs.get("compartment_id", missing),
+ "updateType": kwargs.get("update_type", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
"limit": kwargs.get("limit", missing),
"page": kwargs.get("page", missing)
}
@@ -32525,7 +33443,7 @@ def list_cloud_autonomous_vm_cluster_acd_resource_usage(self, cloud_autonomous_v
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousContainerDatabaseResourceUsage]",
+ response_type="list[BaseccVmClusterUpdateHistoryEntrySummary]",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -32538,52 +33456,38 @@ def list_cloud_autonomous_vm_cluster_acd_resource_usage(self, cloud_autonomous_v
path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[AutonomousContainerDatabaseResourceUsage]",
+ response_type="list[BaseccVmClusterUpdateHistoryEntrySummary]",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_cloud_autonomous_vm_clusters(self, compartment_id, **kwargs):
+ def list_basecc_vm_cluster_updates(self, basecc_vm_cluster_id, **kwargs):
"""
- Lists Autonomous Exadata VM clusters in the Oracle cloud. For Exadata Cloud@Customer systems, see :func:`list_autonomous_vm_clusters`.
+ Lists the maintenance updates that can be applied to the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
- :param str compartment_id: (required)
- The compartment `OCID`__.
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param str cloud_exadata_infrastructure_id: (optional)
- If provided, filters the results for the specified cloud Exadata infrastructure.
-
- :param int limit: (optional)
- The maximum number of items to return per page.
-
- :param str page: (optional)
- The pagination token to continue listing from.
-
- :param str sort_by: (optional)
- The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
-
- Allowed values are: "TIMECREATED", "DISPLAYNAME"
-
- :param str sort_order: (optional)
- The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+ :param str update_type: (optional)
+ A filter to return only resources that match the given update type exactly.
- Allowed values are: "ASC", "DESC"
+ Allowed values are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE"
:param str lifecycle_state: (optional)
A filter to return only resources that match the given lifecycle state exactly.
- Allowed values are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"
+ Allowed values are: "AVAILABLE", "SUCCESS", "IN_PROGRESS", "FAILED"
- :param str availability_domain: (optional)
- A filter to return only resources that match the given availability domain exactly.
+ :param int limit: (optional)
+ The maximum number of items to return per page.
- :param str display_name: (optional)
- A filter to return only resources that match the entire display name given. The match is not case sensitive.
+ :param str page: (optional)
+ The pagination token to continue listing from.
:param str opc_request_id: (optional)
Unique identifier for the request.
@@ -32604,70 +33508,64 @@ def list_cloud_autonomous_vm_clusters(self, compartment_id, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.CloudAutonomousVmClusterSummary`
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.BaseccVmClusterUpdateSummary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_cloud_autonomous_vm_clusters API.
+ Click `here `__ to see an example of how to use list_basecc_vm_cluster_updates API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['compartmentId']
- resource_path = "/cloudAutonomousVmClusters"
+ required_arguments = ['baseccVmClusterId']
+ resource_path = "/baseccVmClusters/{baseccVmClusterId}/updates"
method = "GET"
- operation_name = "list_cloud_autonomous_vm_clusters"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/ListCloudAutonomousVmClusters"
+ operation_name = "list_basecc_vm_cluster_updates"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmClusterUpdate/ListBaseccVmClusterUpdates"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "cloud_exadata_infrastructure_id",
+ "update_type",
+ "lifecycle_state",
"limit",
"page",
- "sort_by",
- "sort_order",
- "lifecycle_state",
- "availability_domain",
- "display_name",
"opc_request_id"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"list_cloud_autonomous_vm_clusters got unknown kwargs: {extra_kwargs!r}")
+ f"list_basecc_vm_cluster_updates got unknown kwargs: {extra_kwargs!r}")
- if 'sort_by' in kwargs:
- sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
- if kwargs['sort_by'] not in sort_by_allowed_values:
- raise ValueError(
- f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
- )
+ path_params = {
+ "baseccVmClusterId": basecc_vm_cluster_id
+ }
- if 'sort_order' in kwargs:
- sort_order_allowed_values = ["ASC", "DESC"]
- if kwargs['sort_order'] not in sort_order_allowed_values:
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ if 'update_type' in kwargs:
+ update_type_allowed_values = ["GI_UPGRADE", "GI_PATCH", "OS_UPDATE"]
+ if kwargs['update_type'] not in update_type_allowed_values:
raise ValueError(
- f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ f"Invalid value for `update_type`, must be one of { update_type_allowed_values }"
)
if 'lifecycle_state' in kwargs:
- lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]
+ lifecycle_state_allowed_values = ["AVAILABLE", "SUCCESS", "IN_PROGRESS", "FAILED"]
if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
raise ValueError(
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
)
query_params = {
- "compartmentId": compartment_id,
- "cloudExadataInfrastructureId": kwargs.get("cloud_exadata_infrastructure_id", missing),
- "limit": kwargs.get("limit", missing),
- "page": kwargs.get("page", missing),
- "sortBy": kwargs.get("sort_by", missing),
- "sortOrder": kwargs.get("sort_order", missing),
+ "updateType": kwargs.get("update_type", missing),
"lifecycleState": kwargs.get("lifecycle_state", missing),
- "availabilityDomain": kwargs.get("availability_domain", missing),
- "displayName": kwargs.get("display_name", 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}
@@ -32691,9 +33589,10 @@ def list_cloud_autonomous_vm_clusters(self, compartment_id, **kwargs):
self.base_client.call_api,
resource_path=resource_path,
method=method,
+ path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[CloudAutonomousVmClusterSummary]",
+ response_type="list[BaseccVmClusterUpdateSummary]",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -32703,18 +33602,19 @@ def list_cloud_autonomous_vm_clusters(self, compartment_id, **kwargs):
return self.base_client.call_api(
resource_path=resource_path,
method=method,
+ path_params=path_params,
query_params=query_params,
header_params=header_params,
- response_type="list[CloudAutonomousVmClusterSummary]",
+ response_type="list[BaseccVmClusterUpdateSummary]",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def list_cloud_exadata_infrastructures(self, compartment_id, **kwargs):
+ def list_basecc_vm_clusters(self, compartment_id, **kwargs):
"""
- Gets a list of the cloud Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
+ Lists the BaseDB-C@C VM clusters in the specified compartment. Applies to Base Database Service on Cloud@Customer instances only.
:param str compartment_id: (required)
@@ -32722,17 +33622,17 @@ def list_cloud_exadata_infrastructures(self, compartment_id, **kwargs):
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ :param str base_infrastructure_id: (optional)
+ If provided, filters the results for the given Oracle Data Cloud@Customer Infrastructure.
+
:param int limit: (optional)
The maximum number of items to return per page.
:param str page: (optional)
The pagination token to continue listing from.
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
:param str sort_by: (optional)
- The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
Allowed values are: "TIMECREATED", "DISPLAYNAME"
@@ -32746,11 +33646,19 @@ def list_cloud_exadata_infrastructures(self, compartment_id, **kwargs):
Allowed values are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"
+ :param str availability_domain: (optional)
+ A filter to return only resources that match the given availability domain exactly.
+
:param str display_name: (optional)
A filter to return only resources that match the entire display name given. The match is not case sensitive.
- :param str cluster_placement_group_id: (optional)
- A filter to return only resources that match the given cluster placement group ID exactly.
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str vm_cluster_type: (optional)
+ A filter to return only BaseDB-C@C VM clusters that match the given VM Cluster type exactly.
+
+ Allowed values are: "REGULAR", "DEVELOPER"
: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.
@@ -32768,37 +33676,506 @@ def list_cloud_exadata_infrastructures(self, compartment_id, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.CloudExadataInfrastructureSummary`
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.BaseccVmClusterSummary`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use list_cloud_exadata_infrastructures API.
+ Click `here `__ to see an example of how to use list_basecc_vm_clusters API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
required_arguments = ['compartmentId']
- resource_path = "/cloudExadataInfrastructures"
+ resource_path = "/baseccVmClusters"
method = "GET"
- operation_name = "list_cloud_exadata_infrastructures"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/ListCloudExadataInfrastructures"
+ operation_name = "list_basecc_vm_clusters"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/ListBaseccVmClusters"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
+ "base_infrastructure_id",
"limit",
"page",
- "opc_request_id",
"sort_by",
"sort_order",
"lifecycle_state",
+ "availability_domain",
"display_name",
- "cluster_placement_group_id"
+ "opc_request_id",
+ "vm_cluster_type"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"list_cloud_exadata_infrastructures got unknown kwargs: {extra_kwargs!r}")
+ f"list_basecc_vm_clusters got unknown kwargs: {extra_kwargs!r}")
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { 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(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
+ )
+
+ if 'vm_cluster_type' in kwargs:
+ vm_cluster_type_allowed_values = ["REGULAR", "DEVELOPER"]
+ if kwargs['vm_cluster_type'] not in vm_cluster_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `vm_cluster_type`, must be one of { vm_cluster_type_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "baseInfrastructureId": kwargs.get("base_infrastructure_id", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "availabilityDomain": kwargs.get("availability_domain", missing),
+ "displayName": kwargs.get("display_name", missing),
+ "vmClusterType": kwargs.get("vm_cluster_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="list[BaseccVmClusterSummary]",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[BaseccVmClusterSummary]",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_cloud_autonomous_vm_cluster_acd_resource_usage(self, cloud_autonomous_vm_cluster_id, **kwargs):
+ """
+ Gets the list of resource usage details for all the Cloud Autonomous Container Database
+ in the specified Cloud Autonomous Exadata VM cluster.
+
+
+ :param str cloud_autonomous_vm_cluster_id: (required)
+ The Cloud VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str compartment_id: (optional)
+ The compartment `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.AutonomousContainerDatabaseResourceUsage`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_cloud_autonomous_vm_cluster_acd_resource_usage API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['cloudAutonomousVmClusterId']
+ resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/acdResourceUsage"
+ method = "GET"
+ operation_name = "list_cloud_autonomous_vm_cluster_acd_resource_usage"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/ListCloudAutonomousVmClusterAcdResourceUsage"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "compartment_id",
+ "opc_request_id",
+ "limit",
+ "page"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_cloud_autonomous_vm_cluster_acd_resource_usage got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ query_params = {
+ "compartmentId": kwargs.get("compartment_id", 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,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousContainerDatabaseResourceUsage]",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[AutonomousContainerDatabaseResourceUsage]",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_cloud_autonomous_vm_clusters(self, compartment_id, **kwargs):
+ """
+ Lists Autonomous Exadata VM clusters in the Oracle cloud. For Exadata Cloud@Customer systems, see :func:`list_autonomous_vm_clusters`.
+
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str cloud_exadata_infrastructure_id: (optional)
+ If provided, filters the results for the specified cloud Exadata infrastructure.
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
+
+ Allowed values are: "TIMECREATED", "DISPLAYNAME"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"
+
+ :param str availability_domain: (optional)
+ A filter to return only resources that match the given availability domain exactly.
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given. The match is not case sensitive.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.CloudAutonomousVmClusterSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_cloud_autonomous_vm_clusters API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/cloudAutonomousVmClusters"
+ method = "GET"
+ operation_name = "list_cloud_autonomous_vm_clusters"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/ListCloudAutonomousVmClusters"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "cloud_exadata_infrastructure_id",
+ "limit",
+ "page",
+ "sort_by",
+ "sort_order",
+ "lifecycle_state",
+ "availability_domain",
+ "display_name",
+ "opc_request_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_cloud_autonomous_vm_clusters got unknown kwargs: {extra_kwargs!r}")
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { 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(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "cloudExadataInfrastructureId": kwargs.get("cloud_exadata_infrastructure_id", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "availabilityDomain": kwargs.get("availability_domain", missing),
+ "displayName": kwargs.get("display_name", missing)
+ }
+ 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="list[CloudAutonomousVmClusterSummary]",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="list[CloudAutonomousVmClusterSummary]",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_cloud_exadata_infrastructures(self, compartment_id, **kwargs):
+ """
+ Gets a list of the cloud Exadata infrastructure resources in the specified compartment. Applies to Exadata Cloud Service instances and Autonomous AI Database on dedicated Exadata infrastructure only.
+
+
+ :param str compartment_id: (required)
+ The compartment `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param int limit: (optional)
+ The maximum number of items to return per page.
+
+ :param str page: (optional)
+ The pagination token to continue listing from.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str sort_by: (optional)
+ The field to sort by. You can provide one sort order (`sortOrder`). Default order for TIMECREATED is descending. Default order for DISPLAYNAME is ascending. The DISPLAYNAME sort order is case sensitive.
+
+ Allowed values are: "TIMECREATED", "DISPLAYNAME"
+
+ :param str sort_order: (optional)
+ The sort order to use, either ascending (`ASC`) or descending (`DESC`).
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"
+
+ :param str display_name: (optional)
+ A filter to return only resources that match the entire display name given. The match is not case sensitive.
+
+ :param str cluster_placement_group_id: (optional)
+ A filter to return only resources that match the given cluster placement group ID exactly.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type list of :class:`~oci.database.models.CloudExadataInfrastructureSummary`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_cloud_exadata_infrastructures API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/cloudExadataInfrastructures"
+ method = "GET"
+ operation_name = "list_cloud_exadata_infrastructures"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudExadataInfrastructure/ListCloudExadataInfrastructures"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "limit",
+ "page",
+ "opc_request_id",
+ "sort_by",
+ "sort_order",
+ "lifecycle_state",
+ "display_name",
+ "cluster_placement_group_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_cloud_exadata_infrastructures got unknown kwargs: {extra_kwargs!r}")
if 'sort_by' in kwargs:
sort_by_allowed_values = ["TIMECREATED", "DISPLAYNAME"]
@@ -33875,7 +35252,7 @@ def list_database_software_images(self, compartment_id, **kwargs):
:param str image_shape_family: (optional)
A filter to return only resources that match the given image shape family exactly.
- Allowed values are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE"
+ Allowed values are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE"
:param str patch_set_greater_than_or_equal_to: (optional)
A filter to return only resources with `patchSet` greater than or equal to given value.
@@ -33968,7 +35345,7 @@ def list_database_software_images(self, compartment_id, **kwargs):
)
if 'image_shape_family' in kwargs:
- image_shape_family_allowed_values = ["VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE"]
+ image_shape_family_allowed_values = ["VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE"]
if kwargs['image_shape_family'] not in image_shape_family_allowed_values:
raise ValueError(
f"Invalid value for `image_shape_family`, must be one of { image_shape_family_allowed_values }"
@@ -34250,6 +35627,16 @@ def list_databases(self, compartment_id, **kwargs):
:param str db_name: (optional)
A filter to return only resources that match the entire database name given. The match is not case sensitive.
+ :param str managed_auto_failover: (optional)
+ Filter the databases by managed auto failover param.
+
+ Allowed values are: "REGISTERED", "UNREGISTERED", "ALL"
+
+ :param str failover_targets: (optional)
+ Filter the databases by failoverTargets param.
+
+ Allowed values are: "DEFINED", "UNDEFINED", "ALL"
+
: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.
@@ -34291,7 +35678,9 @@ def list_databases(self, compartment_id, **kwargs):
"sort_by",
"sort_order",
"lifecycle_state",
- "db_name"
+ "db_name",
+ "managed_auto_failover",
+ "failover_targets"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
@@ -34319,6 +35708,20 @@ def list_databases(self, compartment_id, **kwargs):
f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
)
+ if 'managed_auto_failover' in kwargs:
+ managed_auto_failover_allowed_values = ["REGISTERED", "UNREGISTERED", "ALL"]
+ if kwargs['managed_auto_failover'] not in managed_auto_failover_allowed_values:
+ raise ValueError(
+ f"Invalid value for `managed_auto_failover`, must be one of { managed_auto_failover_allowed_values }"
+ )
+
+ if 'failover_targets' in kwargs:
+ failover_targets_allowed_values = ["DEFINED", "UNDEFINED", "ALL"]
+ if kwargs['failover_targets'] not in failover_targets_allowed_values:
+ raise ValueError(
+ f"Invalid value for `failover_targets`, must be one of { failover_targets_allowed_values }"
+ )
+
query_params = {
"compartmentId": compartment_id,
"dbHomeId": kwargs.get("db_home_id", missing),
@@ -34328,7 +35731,9 @@ def list_databases(self, compartment_id, **kwargs):
"sortBy": kwargs.get("sort_by", missing),
"sortOrder": kwargs.get("sort_order", missing),
"lifecycleState": kwargs.get("lifecycle_state", missing),
- "dbName": kwargs.get("db_name", missing)
+ "dbName": kwargs.get("db_name", missing),
+ "managedAutoFailover": kwargs.get("managed_auto_failover", missing),
+ "failoverTargets": kwargs.get("failover_targets", missing)
}
query_params = {k: v for (k, v) in six.iteritems(query_params) if v is not missing and v is not None}
@@ -38891,6 +40296,9 @@ def list_gi_version_minor_versions(self, version, **kwargs):
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :param str exadata_infrastructure_id: (optional)
+ If provided, filters the results for the given Exadata Infrastructure.
+
:param str shape_family: (optional)
If provided, filters the results to the set of database versions which are supported for the given shape family.
@@ -38955,6 +40363,7 @@ def list_gi_version_minor_versions(self, version, **kwargs):
"availability_domain",
"compartment_id",
"opc_request_id",
+ "exadata_infrastructure_id",
"shape_family",
"is_gi_version_for_provisioning",
"shape",
@@ -39002,6 +40411,7 @@ def list_gi_version_minor_versions(self, version, **kwargs):
query_params = {
"availabilityDomain": kwargs.get("availability_domain", missing),
"compartmentId": kwargs.get("compartment_id", missing),
+ "exadataInfrastructureId": kwargs.get("exadata_infrastructure_id", missing),
"shapeFamily": kwargs.get("shape_family", missing),
"isGiVersionForProvisioning": kwargs.get("is_gi_version_for_provisioning", missing),
"shape": kwargs.get("shape", missing),
@@ -43695,18 +45105,269 @@ def mount_dbnode_snapshot(self, mount_dbnode_snapshot_details, dbnode_snapshot_i
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbnodeSnapshot`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbnodeSnapshot`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use mount_dbnode_snapshot API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['dbnodeSnapshotId']
+ resource_path = "/dbnodeSnapshots/{dbnodeSnapshotId}/actions/mount"
+ method = "POST"
+ operation_name = "mount_dbnode_snapshot"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbnodeSnapshot/MountDbnodeSnapshot"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"mount_dbnode_snapshot got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "dbnodeSnapshotId": dbnode_snapshot_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.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=mount_dbnode_snapshot_details,
+ response_type="DbnodeSnapshot",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=mount_dbnode_snapshot_details,
+ response_type="DbnodeSnapshot",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def move_execution_action_member(self, execution_action_id, move_execution_action_member_details, **kwargs):
+ """
+ Moves an execution action member to this execution action resource from another.
+
+
+ :param str execution_action_id: (required)
+ The execution action `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.database.models.MoveExecutionActionMemberDetails move_execution_action_member_details: (required)
+ Request to move an execution action member to this execution action resource from another.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (for example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExecutionAction`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use move_execution_action_member API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['executionActionId']
+ resource_path = "/executionActions/{executionActionId}/actions/moveActionMember"
+ method = "POST"
+ operation_name = "move_execution_action_member"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExecutionAction/MoveExecutionActionMember"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "opc_retry_token"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"move_execution_action_member got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "executionActionId": execution_action_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=move_execution_action_member_details,
+ response_type="ExecutionAction",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=move_execution_action_member_details,
+ response_type="ExecutionAction",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def refresh_data_guard_health_status(self, database_id, **kwargs):
+ """
+ Refreshes the Data Guard health status for the specified database. This operation is supported on both primary and standby databases.
+
+
+ :param str database_id: (required)
+ The database `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (for example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Database`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use mount_dbnode_snapshot API.
+ Click `here `__ to see an example of how to use refresh_data_guard_health_status API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['dbnodeSnapshotId']
- resource_path = "/dbnodeSnapshots/{dbnodeSnapshotId}/actions/mount"
+ required_arguments = ['databaseId']
+ resource_path = "/databases/{databaseId}/dataGuard/actions/refresh"
method = "POST"
- operation_name = "mount_dbnode_snapshot"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbnodeSnapshot/MountDbnodeSnapshot"
+ operation_name = "refresh_data_guard_health_status"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/Database/RefreshDataGuardHealthStatus"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -43720,10 +45381,10 @@ def mount_dbnode_snapshot(self, mount_dbnode_snapshot_details, dbnode_snapshot_i
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"mount_dbnode_snapshot got unknown kwargs: {extra_kwargs!r}")
+ f"refresh_data_guard_health_status got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "dbnodeSnapshotId": dbnode_snapshot_id
+ "databaseId": database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -43757,8 +45418,7 @@ def mount_dbnode_snapshot(self, mount_dbnode_snapshot_details, dbnode_snapshot_i
method=method,
path_params=path_params,
header_params=header_params,
- body=mount_dbnode_snapshot_details,
- response_type="DbnodeSnapshot",
+ response_type="Database",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -43770,27 +45430,23 @@ def mount_dbnode_snapshot(self, mount_dbnode_snapshot_details, dbnode_snapshot_i
method=method,
path_params=path_params,
header_params=header_params,
- body=mount_dbnode_snapshot_details,
- response_type="DbnodeSnapshot",
+ response_type="Database",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def move_execution_action_member(self, execution_action_id, move_execution_action_member_details, **kwargs):
+ def refresh_pluggable_database(self, pluggable_database_id, **kwargs):
"""
- Moves an execution action member to this execution action resource from another.
+ Refreshes a pluggable database (PDB) Refreshable clone.
- :param str execution_action_id: (required)
- The execution action `OCID`__.
+ :param str pluggable_database_id: (required)
+ The database `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param oci.database.models.MoveExecutionActionMemberDetails move_execution_action_member_details: (required)
- Request to move an execution action member to this execution action resource from another.
-
: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
@@ -43822,18 +45478,18 @@ def move_execution_action_member(self, execution_action_id, move_execution_actio
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExecutionAction`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.PluggableDatabase`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use move_execution_action_member API.
+ Click `here `__ to see an example of how to use refresh_pluggable_database API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['executionActionId']
- resource_path = "/executionActions/{executionActionId}/actions/moveActionMember"
+ required_arguments = ['pluggableDatabaseId']
+ resource_path = "/pluggableDatabases/{pluggableDatabaseId}/actions/refresh"
method = "POST"
- operation_name = "move_execution_action_member"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExecutionAction/MoveExecutionActionMember"
+ operation_name = "refresh_pluggable_database"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/PluggableDatabase/RefreshPluggableDatabase"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -43847,10 +45503,10 @@ def move_execution_action_member(self, execution_action_id, move_execution_actio
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"move_execution_action_member got unknown kwargs: {extra_kwargs!r}")
+ f"refresh_pluggable_database got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "executionActionId": execution_action_id
+ "pluggableDatabaseId": pluggable_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -43884,8 +45540,7 @@ def move_execution_action_member(self, execution_action_id, move_execution_actio
method=method,
path_params=path_params,
header_params=header_params,
- body=move_execution_action_member_details,
- response_type="ExecutionAction",
+ response_type="PluggableDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -43897,38 +45552,32 @@ def move_execution_action_member(self, execution_action_id, move_execution_actio
method=method,
path_params=path_params,
header_params=header_params,
- body=move_execution_action_member_details,
- response_type="ExecutionAction",
+ response_type="PluggableDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def refresh_data_guard_health_status(self, database_id, **kwargs):
+ def register_autonomous_database_data_safe(self, autonomous_database_id, **kwargs):
"""
- Refreshes the Data Guard health status for the specified database. This operation is supported on both primary and standby databases.
+ Asynchronously registers this Autonomous AI Database with Data Safe.
- :param str database_id: (required)
+ :param str autonomous_database_id: (required)
The database `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param str opc_retry_token: (optional)
- A token that uniquely identifies a request so it can be retried in case of a timeout or
- server error without risk of executing that same action again. Retry tokens expire after 24
- hours, but can be invalidated before then due to conflicting operations (for example, if a resource
- has been deleted and purged from the system, then a retry of the original creation request
- may be rejected).
-
:param str opc_request_id: (optional)
Unique identifier for the request.
- :param str if_match: (optional)
- For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
- parameter to the value of the etag from a previous GET or POST response for that resource. The resource
- will be updated or deleted only if the etag you provide matches the resource's current etag value.
+ :param bool opc_dry_run: (optional)
+ Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually
+ creating or updating a resource and is used only to perform validation on the submitted data.
+
+ :param oci.database.models.RegisterAutonomousDatabaseDataSafeDetails register_autonomous_database_data_safe_details: (optional)
+ Request to register an Autonomous AI Database with Data Safe.
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -43946,35 +45595,35 @@ def refresh_data_guard_health_status(self, database_id, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Database`
+ :return: A :class:`~oci.response.Response` object with data of type None
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use refresh_data_guard_health_status API.
+ Click `here `__ to see an example of how to use register_autonomous_database_data_safe API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['databaseId']
- resource_path = "/databases/{databaseId}/dataGuard/actions/refresh"
+ required_arguments = ['autonomousDatabaseId']
+ resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/registerDataSafe"
method = "POST"
- operation_name = "refresh_data_guard_health_status"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/Database/RefreshDataGuardHealthStatus"
+ operation_name = "register_autonomous_database_data_safe"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/RegisterAutonomousDatabaseDataSafe"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "opc_retry_token",
"opc_request_id",
- "if_match"
+ "opc_dry_run",
+ "register_autonomous_database_data_safe_details"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"refresh_data_guard_health_status got unknown kwargs: {extra_kwargs!r}")
+ f"register_autonomous_database_data_safe got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "databaseId": database_id
+ "autonomousDatabaseId": autonomous_database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -43986,9 +45635,8 @@ def refresh_data_guard_health_status(self, database_id, **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),
- "if-match": kwargs.get("if_match", missing)
+ "opc-dry-run": kwargs.get("opc_dry_run", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -43999,7 +45647,6 @@ def refresh_data_guard_health_status(self, database_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(
@@ -44008,7 +45655,7 @@ def refresh_data_guard_health_status(self, database_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Database",
+ body=kwargs.get('register_autonomous_database_data_safe_details'),
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -44020,30 +45667,25 @@ def refresh_data_guard_health_status(self, database_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
- response_type="Database",
+ body=kwargs.get('register_autonomous_database_data_safe_details'),
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def refresh_pluggable_database(self, pluggable_database_id, **kwargs):
+ def register_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluster_id, register_cloud_autonomous_vm_cluster_pkcs_details, **kwargs):
"""
- Refreshes a pluggable database (PDB) Refreshable clone.
+ Install the PKCS11 driver for given keystore type
- :param str pluggable_database_id: (required)
- The database `OCID`__.
+ :param str cloud_autonomous_vm_cluster_id: (required)
+ The Cloud VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param str if_match: (optional)
- For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
- parameter to the value of the etag from a previous GET or POST response for that resource. The resource
- will be updated or deleted only if the etag you provide matches the resource's current etag value.
-
- :param str opc_request_id: (optional)
- Unique identifier for the request.
+ :param oci.database.models.RegisterCloudAutonomousVmClusterPkcsDetails register_cloud_autonomous_vm_cluster_pkcs_details: (required)
+ Details of registering PKCS11 driver.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -44052,122 +45694,13 @@ def refresh_pluggable_database(self, pluggable_database_id, **kwargs):
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`.
-
- :param bool allow_control_chars: (optional)
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
- By default, the response will not allow control characters in strings
-
- :param bool enable_strict_url_encoding: (optional)
- enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
- By default, strict url encoding for path params is disabled
-
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.PluggableDatabase`
- :rtype: :class:`~oci.response.Response`
-
- :example:
- Click `here `__ to see an example of how to use refresh_pluggable_database API.
- """
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['pluggableDatabaseId']
- resource_path = "/pluggableDatabases/{pluggableDatabaseId}/actions/refresh"
- method = "POST"
- operation_name = "refresh_pluggable_database"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/PluggableDatabase/RefreshPluggableDatabase"
-
- # Don't accept unknown kwargs
- expected_kwargs = [
- "allow_control_chars",
- "enable_strict_url_encoding",
- "retry_strategy",
- "if_match",
- "opc_request_id",
- "opc_retry_token"
- ]
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
- if extra_kwargs:
- raise ValueError(
- f"refresh_pluggable_database got unknown kwargs: {extra_kwargs!r}")
-
- path_params = {
- "pluggableDatabaseId": pluggable_database_id
- }
-
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
-
- for (k, v) in six.iteritems(path_params):
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
- raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
-
- header_params = {
- "accept": "application/json",
- "content-type": "application/json",
- "if-match": kwargs.get("if_match", missing),
- "opc-request-id": kwargs.get("opc_request_id", missing),
- "opc-retry-token": kwargs.get("opc_retry_token", missing)
- }
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
-
- retry_strategy = self.base_client.get_preferred_retry_strategy(
- operation_retry_strategy=kwargs.get('retry_strategy'),
- client_retry_strategy=self.retry_strategy
- )
-
- if retry_strategy:
- if not isinstance(retry_strategy, retry.NoneRetryStrategy):
- self.base_client.add_opc_retry_token_if_needed(header_params)
- self.base_client.add_opc_client_retries_header(header_params)
- retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
- return retry_strategy.make_retrying_call(
- self.base_client.call_api,
- resource_path=resource_path,
- method=method,
- path_params=path_params,
- header_params=header_params,
- response_type="PluggableDatabase",
- allow_control_chars=kwargs.get('allow_control_chars'),
- enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
- operation_name=operation_name,
- api_reference_link=api_reference_link,
- required_arguments=required_arguments)
- else:
- return self.base_client.call_api(
- resource_path=resource_path,
- method=method,
- path_params=path_params,
- header_params=header_params,
- response_type="PluggableDatabase",
- allow_control_chars=kwargs.get('allow_control_chars'),
- enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
- operation_name=operation_name,
- api_reference_link=api_reference_link,
- required_arguments=required_arguments)
-
- def register_autonomous_database_data_safe(self, autonomous_database_id, **kwargs):
- """
- Asynchronously registers this Autonomous AI Database with Data Safe.
-
-
- :param str autonomous_database_id: (required)
- The database `OCID`__.
-
- __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
-
:param str opc_request_id: (optional)
Unique identifier for the request.
- :param bool opc_dry_run: (optional)
- Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually
- creating or updating a resource and is used only to perform validation on the submitted data.
-
- :param oci.database.models.RegisterAutonomousDatabaseDataSafeDetails register_autonomous_database_data_safe_details: (optional)
- Request to register an Autonomous AI Database with Data Safe.
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -44189,31 +45722,31 @@ def register_autonomous_database_data_safe(self, autonomous_database_id, **kwarg
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use register_autonomous_database_data_safe API.
+ Click `here `__ to see an example of how to use register_cloud_autonomous_vm_cluster_pkcs API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['autonomousDatabaseId']
- resource_path = "/autonomousDatabases/{autonomousDatabaseId}/actions/registerDataSafe"
+ required_arguments = ['cloudAutonomousVmClusterId']
+ resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/registerPkcs"
method = "POST"
- operation_name = "register_autonomous_database_data_safe"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousDatabase/RegisterAutonomousDatabaseDataSafe"
+ operation_name = "register_cloud_autonomous_vm_cluster_pkcs"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/RegisterCloudAutonomousVmClusterPkcs"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
+ "opc_retry_token",
"opc_request_id",
- "opc_dry_run",
- "register_autonomous_database_data_safe_details"
+ "if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"register_autonomous_database_data_safe got unknown kwargs: {extra_kwargs!r}")
+ f"register_cloud_autonomous_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "autonomousDatabaseId": autonomous_database_id
+ "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -44225,8 +45758,9 @@ def register_autonomous_database_data_safe(self, autonomous_database_id, **kwarg
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-dry-run": kwargs.get("opc_dry_run", 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}
@@ -44237,6 +45771,7 @@ def register_autonomous_database_data_safe(self, autonomous_database_id, **kwarg
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(
@@ -44245,7 +45780,7 @@ def register_autonomous_database_data_safe(self, autonomous_database_id, **kwarg
method=method,
path_params=path_params,
header_params=header_params,
- body=kwargs.get('register_autonomous_database_data_safe_details'),
+ body=register_cloud_autonomous_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -44257,24 +45792,24 @@ def register_autonomous_database_data_safe(self, autonomous_database_id, **kwarg
method=method,
path_params=path_params,
header_params=header_params,
- body=kwargs.get('register_autonomous_database_data_safe_details'),
+ body=register_cloud_autonomous_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def register_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluster_id, register_cloud_autonomous_vm_cluster_pkcs_details, **kwargs):
+ def register_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, register_cloud_vm_cluster_pkcs_details, **kwargs):
"""
Install the PKCS11 driver for given keystore type
- :param str cloud_autonomous_vm_cluster_id: (required)
- The Cloud VM cluster `OCID`__.
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param oci.database.models.RegisterCloudAutonomousVmClusterPkcsDetails register_cloud_autonomous_vm_cluster_pkcs_details: (required)
+ :param oci.database.models.RegisterCloudVmClusterPkcsDetails register_cloud_vm_cluster_pkcs_details: (required)
Details of registering PKCS11 driver.
:param str opc_retry_token: (optional)
@@ -44312,14 +45847,14 @@ def register_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluster_
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use register_cloud_autonomous_vm_cluster_pkcs API.
+ Click `here `__ to see an example of how to use register_cloud_vm_cluster_pkcs API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudAutonomousVmClusterId']
- resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/registerPkcs"
+ required_arguments = ['cloudVmClusterId']
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}/actions/registerPkcs"
method = "POST"
- operation_name = "register_cloud_autonomous_vm_cluster_pkcs"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/RegisterCloudAutonomousVmClusterPkcs"
+ operation_name = "register_cloud_vm_cluster_pkcs"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/RegisterCloudVmClusterPkcs"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -44333,10 +45868,10 @@ def register_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluster_
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"register_cloud_autonomous_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
+ f"register_cloud_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
+ "cloudVmClusterId": cloud_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -44370,7 +45905,7 @@ def register_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluster_
method=method,
path_params=path_params,
header_params=header_params,
- body=register_cloud_autonomous_vm_cluster_pkcs_details,
+ body=register_cloud_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -44382,24 +45917,24 @@ def register_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluster_
method=method,
path_params=path_params,
header_params=header_params,
- body=register_cloud_autonomous_vm_cluster_pkcs_details,
+ body=register_cloud_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def register_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, register_cloud_vm_cluster_pkcs_details, **kwargs):
+ def register_exadb_vm_cluster_pkcs(self, exadb_vm_cluster_id, register_exadb_vm_cluster_pkcs_details, **kwargs):
"""
Install the PKCS11 driver for given keystore type
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
+ :param str exadb_vm_cluster_id: (required)
+ The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param oci.database.models.RegisterCloudVmClusterPkcsDetails register_cloud_vm_cluster_pkcs_details: (required)
+ :param oci.database.models.RegisterExadbVmClusterPkcsDetails register_exadb_vm_cluster_pkcs_details: (required)
Details of registering PKCS11 driver.
:param str opc_retry_token: (optional)
@@ -44437,14 +45972,14 @@ def register_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, register_cloud_vm_
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use register_cloud_vm_cluster_pkcs API.
+ Click `here `__ to see an example of how to use register_exadb_vm_cluster_pkcs API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudVmClusterId']
- resource_path = "/cloudVmClusters/{cloudVmClusterId}/actions/registerPkcs"
+ required_arguments = ['exadbVmClusterId']
+ resource_path = "/exadbVmClusters/{exadbVmClusterId}/actions/registerPkcs"
method = "POST"
- operation_name = "register_cloud_vm_cluster_pkcs"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/RegisterCloudVmClusterPkcs"
+ operation_name = "register_exadb_vm_cluster_pkcs"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/RegisterExadbVmClusterPkcs"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -44458,10 +45993,10 @@ def register_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, register_cloud_vm_
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"register_cloud_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
+ f"register_exadb_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudVmClusterId": cloud_vm_cluster_id
+ "exadbVmClusterId": exadb_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -44495,7 +46030,7 @@ def register_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, register_cloud_vm_
method=method,
path_params=path_params,
header_params=header_params,
- body=register_cloud_vm_cluster_pkcs_details,
+ body=register_exadb_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -44507,7 +46042,7 @@ def register_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, register_cloud_vm_
method=method,
path_params=path_params,
header_params=header_params,
- body=register_cloud_vm_cluster_pkcs_details,
+ body=register_exadb_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -45224,8 +46759,262 @@ def remove_virtual_machine_from_cloud_vm_cluster(self, remove_virtual_machine_fr
method=method,
path_params=path_params,
header_params=header_params,
- body=remove_virtual_machine_from_cloud_vm_cluster_details,
- response_type="CloudVmCluster",
+ body=remove_virtual_machine_from_cloud_vm_cluster_details,
+ response_type="CloudVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=remove_virtual_machine_from_cloud_vm_cluster_details,
+ response_type="CloudVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def remove_virtual_machine_from_exadb_vm_cluster(self, remove_virtual_machine_from_exadb_vm_cluster_details, exadb_vm_cluster_id, **kwargs):
+ """
+ Remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Cloud instances only.
+
+
+ :param oci.database.models.RemoveVirtualMachineFromExadbVmClusterDetails remove_virtual_machine_from_exadb_vm_cluster_details: (required)
+ Request to remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure.
+
+ :param str exadb_vm_cluster_id: (required)
+ The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (for example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadbVmCluster`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use remove_virtual_machine_from_exadb_vm_cluster API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['exadbVmClusterId']
+ resource_path = "/exadbVmClusters/{exadbVmClusterId}/actions/removeVirtualMachine"
+ method = "POST"
+ operation_name = "remove_virtual_machine_from_exadb_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/RemoveVirtualMachineFromExadbVmCluster"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"remove_virtual_machine_from_exadb_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "exadbVmClusterId": exadb_vm_cluster_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
+ }
+ 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=remove_virtual_machine_from_exadb_vm_cluster_details,
+ response_type="ExadbVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=remove_virtual_machine_from_exadb_vm_cluster_details,
+ response_type="ExadbVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def remove_virtual_machine_from_vm_cluster(self, remove_virtual_machine_from_vm_cluster_details, vm_cluster_id, **kwargs):
+ """
+ Remove Virtual Machines from the VM cluster. Applies to Exadata Cloud@Customer instances only.
+
+
+ :param oci.database.models.RemoveVirtualMachineFromVmClusterDetails remove_virtual_machine_from_vm_cluster_details: (required)
+ Request to remove Virtual Machines from the VM cluster.
+
+ :param str vm_cluster_id: (required)
+ The VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (for example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmCluster`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use remove_virtual_machine_from_vm_cluster API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['vmClusterId']
+ resource_path = "/vmClusters/{vmClusterId}/actions/removeVirtualMachine"
+ method = "POST"
+ operation_name = "remove_virtual_machine_from_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/VmCluster/RemoveVirtualMachineFromVmCluster"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"remove_virtual_machine_from_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "vmClusterId": vm_cluster_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
+ }
+ 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=remove_virtual_machine_from_vm_cluster_details,
+ response_type="VmCluster",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -45237,27 +47026,35 @@ def remove_virtual_machine_from_cloud_vm_cluster(self, remove_virtual_machine_fr
method=method,
path_params=path_params,
header_params=header_params,
- body=remove_virtual_machine_from_cloud_vm_cluster_details,
- response_type="CloudVmCluster",
+ body=remove_virtual_machine_from_vm_cluster_details,
+ response_type="VmCluster",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def remove_virtual_machine_from_exadb_vm_cluster(self, remove_virtual_machine_from_exadb_vm_cluster_details, exadb_vm_cluster_id, **kwargs):
+ def reorder_execution_actions(self, execution_window_id, reorder_execution_action_details, **kwargs):
"""
- Remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure. Applies to Exadata Cloud instances only.
-
+ Reorders the execution actions under this execution window resource.
- :param oci.database.models.RemoveVirtualMachineFromExadbVmClusterDetails remove_virtual_machine_from_exadb_vm_cluster_details: (required)
- Request to remove Virtual Machines from the Exadata VM cluster on Exascale Infrastructure.
- :param str exadb_vm_cluster_id: (required)
- The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
+ :param str execution_window_id: (required)
+ The execution window `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.ReorderExecutionActionDetails reorder_execution_action_details: (required)
+ Request to reorder the execution actions under this execution window resource.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
server error without risk of executing that same action again. Retry tokens expire after 24
@@ -45265,14 +47062,6 @@ def remove_virtual_machine_from_exadb_vm_cluster(self, remove_virtual_machine_fr
has been deleted and purged from the system, then a retry of the original creation request
may be rejected).
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
- :param str if_match: (optional)
- For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
- parameter to the value of the etag from a previous GET or POST response for that resource. The resource
- will be updated or deleted only if the etag you provide matches the resource's current etag value.
-
:param obj retry_strategy: (optional)
A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
@@ -45289,35 +47078,35 @@ def remove_virtual_machine_from_exadb_vm_cluster(self, remove_virtual_machine_fr
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExadbVmCluster`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExecutionWindow`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use remove_virtual_machine_from_exadb_vm_cluster API.
+ Click `here `__ to see an example of how to use reorder_execution_actions API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['exadbVmClusterId']
- resource_path = "/exadbVmClusters/{exadbVmClusterId}/actions/removeVirtualMachine"
+ required_arguments = ['executionWindowId']
+ resource_path = "/executionWindows/{executionWindowId}/actions/reorder"
method = "POST"
- operation_name = "remove_virtual_machine_from_exadb_vm_cluster"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/RemoveVirtualMachineFromExadbVmCluster"
+ operation_name = "reorder_execution_actions"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExecutionWindow/ReorderExecutionActions"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
- "opc_retry_token",
+ "if_match",
"opc_request_id",
- "if_match"
+ "opc_retry_token"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"remove_virtual_machine_from_exadb_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+ f"reorder_execution_actions got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "exadbVmClusterId": exadb_vm_cluster_id
+ "executionWindowId": execution_window_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -45329,9 +47118,9 @@ def remove_virtual_machine_from_exadb_vm_cluster(self, remove_virtual_machine_fr
header_params = {
"accept": "application/json",
"content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "if-match": kwargs.get("if_match", missing),
"opc-request-id": kwargs.get("opc_request_id", missing),
- "if-match": kwargs.get("if_match", missing)
+ "opc-retry-token": kwargs.get("opc_retry_token", missing)
}
header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
@@ -45351,8 +47140,8 @@ def remove_virtual_machine_from_exadb_vm_cluster(self, remove_virtual_machine_fr
method=method,
path_params=path_params,
header_params=header_params,
- body=remove_virtual_machine_from_exadb_vm_cluster_details,
- response_type="ExadbVmCluster",
+ body=reorder_execution_action_details,
+ response_type="ExecutionWindow",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -45364,24 +47153,24 @@ def remove_virtual_machine_from_exadb_vm_cluster(self, remove_virtual_machine_fr
method=method,
path_params=path_params,
header_params=header_params,
- body=remove_virtual_machine_from_exadb_vm_cluster_details,
- response_type="ExadbVmCluster",
+ body=reorder_execution_action_details,
+ response_type="ExecutionWindow",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def remove_virtual_machine_from_vm_cluster(self, remove_virtual_machine_from_vm_cluster_details, vm_cluster_id, **kwargs):
+ def reorder_scheduled_actions(self, reorder_scheduled_actions_details, scheduling_plan_id, **kwargs):
"""
- Remove Virtual Machines from the VM cluster. Applies to Exadata Cloud@Customer instances only.
+ Re-order the scheduled actions under this scheduling plan resource.
- :param oci.database.models.RemoveVirtualMachineFromVmClusterDetails remove_virtual_machine_from_vm_cluster_details: (required)
- Request to remove Virtual Machines from the VM cluster.
+ :param oci.database.models.ReorderScheduledActionsDetails reorder_scheduled_actions_details: (required)
+ Request to re-order Scheduled Action resources.
- :param str vm_cluster_id: (required)
- The VM cluster `OCID`__.
+ :param str scheduling_plan_id: (required)
+ The Schedule Plan `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -45416,18 +47205,18 @@ def remove_virtual_machine_from_vm_cluster(self, remove_virtual_machine_from_vm_
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.VmCluster`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.SchedulingPlan`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use remove_virtual_machine_from_vm_cluster API.
+ Click `here `__ to see an example of how to use reorder_scheduled_actions API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['vmClusterId']
- resource_path = "/vmClusters/{vmClusterId}/actions/removeVirtualMachine"
+ required_arguments = ['schedulingPlanId']
+ resource_path = "/schedulingPlans/{schedulingPlanId}/actions/reorder"
method = "POST"
- operation_name = "remove_virtual_machine_from_vm_cluster"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/VmCluster/RemoveVirtualMachineFromVmCluster"
+ operation_name = "reorder_scheduled_actions"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/SchedulingPlan/ReorderScheduledActions"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -45441,10 +47230,10 @@ def remove_virtual_machine_from_vm_cluster(self, remove_virtual_machine_from_vm_
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"remove_virtual_machine_from_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+ f"reorder_scheduled_actions got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "vmClusterId": vm_cluster_id
+ "schedulingPlanId": scheduling_plan_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -45478,8 +47267,8 @@ def remove_virtual_machine_from_vm_cluster(self, remove_virtual_machine_from_vm_
method=method,
path_params=path_params,
header_params=header_params,
- body=remove_virtual_machine_from_vm_cluster_details,
- response_type="VmCluster",
+ body=reorder_scheduled_actions_details,
+ response_type="SchedulingPlan",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -45491,27 +47280,24 @@ def remove_virtual_machine_from_vm_cluster(self, remove_virtual_machine_from_vm_
method=method,
path_params=path_params,
header_params=header_params,
- body=remove_virtual_machine_from_vm_cluster_details,
- response_type="VmCluster",
+ body=reorder_scheduled_actions_details,
+ response_type="SchedulingPlan",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def reorder_execution_actions(self, execution_window_id, reorder_execution_action_details, **kwargs):
+ def reschedule_managed_db_software_update(self, database_id, **kwargs):
"""
- Reorders the execution actions under this execution window resource.
+ Reschedule the Managed Database Software Update
- :param str execution_window_id: (required)
- The execution window `OCID`__.
+ :param str database_id: (required)
+ The database `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param oci.database.models.ReorderExecutionActionDetails reorder_execution_action_details: (required)
- Request to reorder the execution actions under this execution window resource.
-
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
parameter to the value of the etag from a previous GET or POST response for that resource. The resource
@@ -45543,18 +47329,18 @@ def reorder_execution_actions(self, execution_window_id, reorder_execution_actio
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.ExecutionWindow`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.Database`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use reorder_execution_actions API.
+ Click `here `__ to see an example of how to use reschedule_managed_db_software_update API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['executionWindowId']
- resource_path = "/executionWindows/{executionWindowId}/actions/reorder"
+ required_arguments = ['databaseId']
+ resource_path = "/databases/{databaseId}/actions/rescheduleManagedDbSoftwareUpdate"
method = "POST"
- operation_name = "reorder_execution_actions"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExecutionWindow/ReorderExecutionActions"
+ operation_name = "reschedule_managed_db_software_update"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/Database/RescheduleManagedDbSoftwareUpdate"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -45568,10 +47354,10 @@ def reorder_execution_actions(self, execution_window_id, reorder_execution_actio
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"reorder_execution_actions got unknown kwargs: {extra_kwargs!r}")
+ f"reschedule_managed_db_software_update got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "executionWindowId": execution_window_id
+ "databaseId": database_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -45605,135 +47391,7 @@ def reorder_execution_actions(self, execution_window_id, reorder_execution_actio
method=method,
path_params=path_params,
header_params=header_params,
- body=reorder_execution_action_details,
- response_type="ExecutionWindow",
- allow_control_chars=kwargs.get('allow_control_chars'),
- enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
- operation_name=operation_name,
- api_reference_link=api_reference_link,
- required_arguments=required_arguments)
- else:
- return self.base_client.call_api(
- resource_path=resource_path,
- method=method,
- path_params=path_params,
- header_params=header_params,
- body=reorder_execution_action_details,
- response_type="ExecutionWindow",
- allow_control_chars=kwargs.get('allow_control_chars'),
- enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
- operation_name=operation_name,
- api_reference_link=api_reference_link,
- required_arguments=required_arguments)
-
- def reorder_scheduled_actions(self, reorder_scheduled_actions_details, scheduling_plan_id, **kwargs):
- """
- Re-order the scheduled actions under this scheduling plan resource.
-
-
- :param oci.database.models.ReorderScheduledActionsDetails reorder_scheduled_actions_details: (required)
- Request to re-order Scheduled Action resources.
-
- :param str scheduling_plan_id: (required)
- The Schedule Plan `OCID`__.
-
- __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
-
- :param str opc_retry_token: (optional)
- A token that uniquely identifies a request so it can be retried in case of a timeout or
- server error without risk of executing that same action again. Retry tokens expire after 24
- hours, but can be invalidated before then due to conflicting operations (for example, if a resource
- has been deleted and purged from the system, then a retry of the original creation request
- may be rejected).
-
- :param str opc_request_id: (optional)
- Unique identifier for the request.
-
- :param str if_match: (optional)
- For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
- parameter to the value of the etag from a previous GET or POST response for that resource. The resource
- will be updated or deleted only if the etag you provide matches the resource's current etag value.
-
- :param obj retry_strategy: (optional)
- A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
-
- This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
- The specifics of the default retry strategy are described `here `__.
-
- To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
-
- :param bool allow_control_chars: (optional)
- allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
- By default, the response will not allow control characters in strings
-
- :param bool enable_strict_url_encoding: (optional)
- enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
- By default, strict url encoding for path params is disabled
-
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.SchedulingPlan`
- :rtype: :class:`~oci.response.Response`
-
- :example:
- Click `here `__ to see an example of how to use reorder_scheduled_actions API.
- """
- # Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['schedulingPlanId']
- resource_path = "/schedulingPlans/{schedulingPlanId}/actions/reorder"
- method = "POST"
- operation_name = "reorder_scheduled_actions"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/SchedulingPlan/ReorderScheduledActions"
-
- # Don't accept unknown kwargs
- expected_kwargs = [
- "allow_control_chars",
- "enable_strict_url_encoding",
- "retry_strategy",
- "opc_retry_token",
- "opc_request_id",
- "if_match"
- ]
- extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
- if extra_kwargs:
- raise ValueError(
- f"reorder_scheduled_actions got unknown kwargs: {extra_kwargs!r}")
-
- path_params = {
- "schedulingPlanId": scheduling_plan_id
- }
-
- path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
-
- for (k, v) in six.iteritems(path_params):
- if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
- raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
-
- header_params = {
- "accept": "application/json",
- "content-type": "application/json",
- "opc-retry-token": kwargs.get("opc_retry_token", missing),
- "opc-request-id": kwargs.get("opc_request_id", missing),
- "if-match": kwargs.get("if_match", missing)
- }
- header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
-
- retry_strategy = self.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=reorder_scheduled_actions_details,
- response_type="SchedulingPlan",
+ response_type="Database",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -45745,8 +47403,7 @@ def reorder_scheduled_actions(self, reorder_scheduled_actions_details, schedulin
method=method,
path_params=path_params,
header_params=header_params,
- body=reorder_scheduled_actions_details,
- response_type="SchedulingPlan",
+ response_type="Database",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -46026,6 +47683,9 @@ def restart_autonomous_container_database(self, autonomous_container_database_id
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :param oci.database.models.RestartAutonomousContainerDatabaseDetails restart_autonomous_container_database_details: (optional)
+ Request details to restart the Autonomous Container Database with force option.
+
: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.
@@ -46061,7 +47721,8 @@ def restart_autonomous_container_database(self, autonomous_container_database_id
"enable_strict_url_encoding",
"retry_strategy",
"if_match",
- "opc_request_id"
+ "opc_request_id",
+ "restart_autonomous_container_database_details"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
@@ -46101,6 +47762,7 @@ def restart_autonomous_container_database(self, autonomous_container_database_id
method=method,
path_params=path_params,
header_params=header_params,
+ body=kwargs.get('restart_autonomous_container_database_details'),
response_type="AutonomousContainerDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
@@ -46113,6 +47775,7 @@ def restart_autonomous_container_database(self, autonomous_container_database_id
method=method,
path_params=path_params,
header_params=header_params,
+ body=kwargs.get('restart_autonomous_container_database_details'),
response_type="AutonomousContainerDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
@@ -46138,6 +47801,9 @@ def restart_autonomous_database(self, autonomous_database_id, **kwargs):
:param bool is_online_restart: (optional)
If provided, an online restart will be triggered.
+ :param oci.database.models.RestartAutonomousDatabaseDetails restart_autonomous_database_details: (optional)
+ Request details to restart the Autonomous Database with force option.
+
:param bool opc_dry_run: (optional)
Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually
creating or updating a resource and is used only to perform validation on the submitted data.
@@ -46178,6 +47844,7 @@ def restart_autonomous_database(self, autonomous_database_id, **kwargs):
"retry_strategy",
"if_match",
"is_online_restart",
+ "restart_autonomous_database_details",
"opc_dry_run"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
@@ -46224,6 +47891,7 @@ def restart_autonomous_database(self, autonomous_database_id, **kwargs):
path_params=path_params,
query_params=query_params,
header_params=header_params,
+ body=kwargs.get('restart_autonomous_database_details'),
response_type="AutonomousDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
@@ -46237,6 +47905,7 @@ def restart_autonomous_database(self, autonomous_database_id, **kwargs):
path_params=path_params,
query_params=query_params,
header_params=header_params,
+ body=kwargs.get('restart_autonomous_database_details'),
response_type="AutonomousDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
@@ -46244,6 +47913,246 @@ def restart_autonomous_database(self, autonomous_database_id, **kwargs):
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def restart_autonomous_vm_cluster_ords(self, autonomous_vm_cluster_id, **kwargs):
+ """
+ Restarts Oracle REST Data Services (ORDS) for Autonomous Exadata VM cluster.
+
+
+ :param str autonomous_vm_cluster_id: (required)
+ The autonomous VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (for example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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 restart_autonomous_vm_cluster_ords API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['autonomousVmClusterId']
+ resource_path = "/autonomousVmClusters/{autonomousVmClusterId}/actions/restartOrds"
+ method = "POST"
+ operation_name = "restart_autonomous_vm_cluster_ords"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AutonomousVmCluster/RestartAutonomousVmClusterOrds"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"restart_autonomous_vm_cluster_ords got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "autonomousVmClusterId": autonomous_vm_cluster_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def restart_cloud_autonomous_vm_cluster_ords(self, cloud_autonomous_vm_cluster_id, **kwargs):
+ """
+ Restarts Oracle REST Data Services (ORDS) for a cloud Autonomous Exadata VM cluster.
+
+
+ :param str cloud_autonomous_vm_cluster_id: (required)
+ The Cloud VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (for example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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 restart_cloud_autonomous_vm_cluster_ords API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['cloudAutonomousVmClusterId']
+ resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/restartOrds"
+ method = "POST"
+ operation_name = "restart_cloud_autonomous_vm_cluster_ords"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/RestartCloudAutonomousVmClusterOrds"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"restart_cloud_autonomous_vm_cluster_ords got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
+ }
+ header_params = {k: v for (k, v) in six.iteritems(header_params) if v is not missing and v is not None}
+
+ retry_strategy = self.base_client.get_preferred_retry_strategy(
+ operation_retry_strategy=kwargs.get('retry_strategy'),
+ client_retry_strategy=self.retry_strategy
+ )
+
+ if retry_strategy:
+ if not isinstance(retry_strategy, retry.NoneRetryStrategy):
+ self.base_client.add_opc_retry_token_if_needed(header_params)
+ self.base_client.add_opc_client_retries_header(header_params)
+ retry_strategy.add_circuit_breaker_callback(self.circuit_breaker_callback)
+ return retry_strategy.make_retrying_call(
+ self.base_client.call_api,
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def restore_autonomous_database(self, autonomous_database_id, restore_autonomous_database_details, **kwargs):
"""
Restores an Autonomous AI Database based on the provided request parameters.
@@ -48704,6 +50613,9 @@ def stop_autonomous_database(self, autonomous_database_id, **kwargs):
:param str opc_request_id: (optional)
Unique identifier for the request.
+ :param oci.database.models.StopAutonomousDatabaseDetails stop_autonomous_database_details: (optional)
+ Request details to stop the Autonomous Database with force option.
+
:param bool opc_dry_run: (optional)
Indicates that the request is a dry run, if set to \"true\". A dry run request does not actually
creating or updating a resource and is used only to perform validation on the submitted data.
@@ -48744,6 +50656,7 @@ def stop_autonomous_database(self, autonomous_database_id, **kwargs):
"retry_strategy",
"if_match",
"opc_request_id",
+ "stop_autonomous_database_details",
"opc_dry_run"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
@@ -48785,6 +50698,7 @@ def stop_autonomous_database(self, autonomous_database_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
+ body=kwargs.get('stop_autonomous_database_details'),
response_type="AutonomousDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
@@ -48797,6 +50711,7 @@ def stop_autonomous_database(self, autonomous_database_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
+ body=kwargs.get('stop_autonomous_database_details'),
response_type="AutonomousDatabase",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
@@ -49763,22 +51678,137 @@ def terminate_autonomous_exadata_infrastructure(self, autonomous_exadata_infrast
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def terminate_db_system(self, db_system_id, **kwargs):
+ def terminate_db_system(self, db_system_id, **kwargs):
+ """
+ Terminates a DB system and permanently deletes it and any databases running on it, and any storage volumes attached to it. The database data is local to the DB system and will be lost when the system is terminated. Oracle recommends that you back up any data in the DB system prior to terminating it.
+
+ **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
+
+ For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
+
+ __ https://docs.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
+ __ https://docs.oracle.com/iaas/Content/Database/Concepts/exaflexsystem_topic-resource_model_conversion.htm
+
+
+ :param str db_system_id: (required)
+ The DB system `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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 terminate_db_system API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['dbSystemId']
+ resource_path = "/dbSystems/{dbSystemId}"
+ method = "DELETE"
+ operation_name = "terminate_db_system"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbSystem/TerminateDbSystem"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"terminate_db_system got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "dbSystemId": db_system_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing)
+ }
+ 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,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def unmount_advanced_cluster_file_system(self, advanced_cluster_file_system_id, **kwargs):
"""
- Terminates a DB system and permanently deletes it and any databases running on it, and any storage volumes attached to it. The database data is local to the DB system and will be lost when the system is terminated. Oracle recommends that you back up any data in the DB system prior to terminating it.
-
- **Note:** Deprecated for Exadata Cloud Service systems. Use the `new resource model APIs`__ instead.
+ Unmounts the advanced cluster file system from all the virtual machines within a vmcluster.
- For Exadata Cloud Service instances, support for this API will end on May 15th, 2021. See `Switching an Exadata DB System to the New Resource Model and APIs`__ for details on converting existing Exadata DB systems to the new resource model.
- __ https://docs.oracle.com/iaas/Content/Database/Concepts/exaflexsystem.htm#exaflexsystem_topic-resource_model
- __ https://docs.oracle.com/iaas/Content/Database/Concepts/exaflexsystem_topic-resource_model_conversion.htm
+ :param str advanced_cluster_file_system_id: (required)
+ The advanced cluster file system Id `OCID`__.
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param str db_system_id: (required)
- The DB system `OCID`__.
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request so it can be retried in case of a timeout or
+ server error without risk of executing that same action again. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations (for example, if a resource
+ has been deleted and purged from the system, then a retry of the original creation request
+ may be rejected).
- __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
:param str if_match: (optional)
For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
@@ -49801,33 +51831,35 @@ def terminate_db_system(self, db_system_id, **kwargs):
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type None
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AdvancedClusterFileSystem`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use terminate_db_system API.
+ Click `here `__ to see an example of how to use unmount_advanced_cluster_file_system API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['dbSystemId']
- resource_path = "/dbSystems/{dbSystemId}"
- method = "DELETE"
- operation_name = "terminate_db_system"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbSystem/TerminateDbSystem"
+ required_arguments = ['advancedClusterFileSystemId']
+ resource_path = "/advancedClusterFileSystems/{advancedClusterFileSystemId}/actions/unmount"
+ method = "POST"
+ operation_name = "unmount_advanced_cluster_file_system"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AdvancedClusterFileSystem/UnmountAdvancedClusterFileSystem"
# Don't accept unknown kwargs
expected_kwargs = [
"allow_control_chars",
"enable_strict_url_encoding",
"retry_strategy",
+ "opc_retry_token",
+ "opc_request_id",
"if_match"
]
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"terminate_db_system got unknown kwargs: {extra_kwargs!r}")
+ f"unmount_advanced_cluster_file_system got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "dbSystemId": db_system_id
+ "advancedClusterFileSystemId": advanced_cluster_file_system_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -49839,6 +51871,8 @@ def terminate_db_system(self, db_system_id, **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),
"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}
@@ -49850,6 +51884,7 @@ def terminate_db_system(self, db_system_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(
@@ -49858,6 +51893,7 @@ def terminate_db_system(self, db_system_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
+ response_type="AdvancedClusterFileSystem",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -49869,19 +51905,23 @@ def terminate_db_system(self, db_system_id, **kwargs):
method=method,
path_params=path_params,
header_params=header_params,
+ response_type="AdvancedClusterFileSystem",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def unmount_advanced_cluster_file_system(self, advanced_cluster_file_system_id, **kwargs):
+ def unmount_dbnode_snapshot(self, unmount_dbnode_snapshot_details, dbnode_snapshot_id, **kwargs):
"""
- Unmounts the advanced cluster file system from all the virtual machines within a vmcluster.
+ Unmounts the snapshot for the provided dbNode.
- :param str advanced_cluster_file_system_id: (required)
- The advanced cluster file system Id `OCID`__.
+ :param oci.database.models.UnmountDbnodeSnapshotDetails unmount_dbnode_snapshot_details: (required)
+ Request to unmount the snapshot for the provided Exadata Database Node.
+
+ :param str dbnode_snapshot_id: (required)
+ The Exadata Database Node Snapshot `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
@@ -49916,18 +51956,18 @@ def unmount_advanced_cluster_file_system(self, advanced_cluster_file_system_id,
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.AdvancedClusterFileSystem`
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbnodeSnapshot`
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use unmount_advanced_cluster_file_system API.
+ Click `here `__ to see an example of how to use unmount_dbnode_snapshot API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['advancedClusterFileSystemId']
- resource_path = "/advancedClusterFileSystems/{advancedClusterFileSystemId}/actions/unmount"
+ required_arguments = ['dbnodeSnapshotId']
+ resource_path = "/dbnodeSnapshots/{dbnodeSnapshotId}/actions/unmount"
method = "POST"
- operation_name = "unmount_advanced_cluster_file_system"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/AdvancedClusterFileSystem/UnmountAdvancedClusterFileSystem"
+ operation_name = "unmount_dbnode_snapshot"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbnodeSnapshot/UnmountDbnodeSnapshot"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -49941,10 +51981,10 @@ def unmount_advanced_cluster_file_system(self, advanced_cluster_file_system_id,
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"unmount_advanced_cluster_file_system got unknown kwargs: {extra_kwargs!r}")
+ f"unmount_dbnode_snapshot got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "advancedClusterFileSystemId": advanced_cluster_file_system_id
+ "dbnodeSnapshotId": dbnode_snapshot_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -49978,7 +52018,8 @@ def unmount_advanced_cluster_file_system(self, advanced_cluster_file_system_id,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AdvancedClusterFileSystem",
+ body=unmount_dbnode_snapshot_details,
+ response_type="DbnodeSnapshot",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -49990,26 +52031,27 @@ def unmount_advanced_cluster_file_system(self, advanced_cluster_file_system_id,
method=method,
path_params=path_params,
header_params=header_params,
- response_type="AdvancedClusterFileSystem",
+ body=unmount_dbnode_snapshot_details,
+ response_type="DbnodeSnapshot",
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def unmount_dbnode_snapshot(self, unmount_dbnode_snapshot_details, dbnode_snapshot_id, **kwargs):
+ def unregister_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluster_id, unregister_cloud_autonomous_vm_cluster_pkcs_details, **kwargs):
"""
- Unmounts the snapshot for the provided dbNode.
-
+ Uninstall the PKCS11 driver for given keystore type
- :param oci.database.models.UnmountDbnodeSnapshotDetails unmount_dbnode_snapshot_details: (required)
- Request to unmount the snapshot for the provided Exadata Database Node.
- :param str dbnode_snapshot_id: (required)
- The Exadata Database Node Snapshot `OCID`__.
+ :param str cloud_autonomous_vm_cluster_id: (required)
+ The Cloud VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+ :param oci.database.models.UnregisterCloudAutonomousVmClusterPkcsDetails unregister_cloud_autonomous_vm_cluster_pkcs_details: (required)
+ Details of unregistering PKCS11 driver.
+
: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
@@ -50041,18 +52083,18 @@ def unmount_dbnode_snapshot(self, unmount_dbnode_snapshot_details, dbnode_snapsh
enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
By default, strict url encoding for path params is disabled
- :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.DbnodeSnapshot`
+ :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 unmount_dbnode_snapshot API.
+ Click `here `__ to see an example of how to use unregister_cloud_autonomous_vm_cluster_pkcs API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['dbnodeSnapshotId']
- resource_path = "/dbnodeSnapshots/{dbnodeSnapshotId}/actions/unmount"
+ required_arguments = ['cloudAutonomousVmClusterId']
+ resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/unregisterPkcs"
method = "POST"
- operation_name = "unmount_dbnode_snapshot"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/DbnodeSnapshot/UnmountDbnodeSnapshot"
+ operation_name = "unregister_cloud_autonomous_vm_cluster_pkcs"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/UnregisterCloudAutonomousVmClusterPkcs"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -50066,10 +52108,10 @@ def unmount_dbnode_snapshot(self, unmount_dbnode_snapshot_details, dbnode_snapsh
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"unmount_dbnode_snapshot got unknown kwargs: {extra_kwargs!r}")
+ f"unregister_cloud_autonomous_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "dbnodeSnapshotId": dbnode_snapshot_id
+ "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -50103,8 +52145,7 @@ def unmount_dbnode_snapshot(self, unmount_dbnode_snapshot_details, dbnode_snapsh
method=method,
path_params=path_params,
header_params=header_params,
- body=unmount_dbnode_snapshot_details,
- response_type="DbnodeSnapshot",
+ body=unregister_cloud_autonomous_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -50116,26 +52157,25 @@ def unmount_dbnode_snapshot(self, unmount_dbnode_snapshot_details, dbnode_snapsh
method=method,
path_params=path_params,
header_params=header_params,
- body=unmount_dbnode_snapshot_details,
- response_type="DbnodeSnapshot",
+ body=unregister_cloud_autonomous_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def unregister_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluster_id, unregister_cloud_autonomous_vm_cluster_pkcs_details, **kwargs):
+ def unregister_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, unregister_cloud_vm_cluster_pkcs_details, **kwargs):
"""
Uninstall the PKCS11 driver for given keystore type
- :param str cloud_autonomous_vm_cluster_id: (required)
- The Cloud VM cluster `OCID`__.
+ :param str cloud_vm_cluster_id: (required)
+ The cloud VM cluster `OCID`__.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param oci.database.models.UnregisterCloudAutonomousVmClusterPkcsDetails unregister_cloud_autonomous_vm_cluster_pkcs_details: (required)
- Details of unregistering PKCS11 driver.
+ :param oci.database.models.UnregisterCloudVmClusterPkcsDetails unregister_cloud_vm_cluster_pkcs_details: (required)
+ Details of registering PKCS11 driver.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -50172,14 +52212,14 @@ def unregister_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluste
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use unregister_cloud_autonomous_vm_cluster_pkcs API.
+ Click `here `__ to see an example of how to use unregister_cloud_vm_cluster_pkcs API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudAutonomousVmClusterId']
- resource_path = "/cloudAutonomousVmClusters/{cloudAutonomousVmClusterId}/actions/unregisterPkcs"
+ required_arguments = ['cloudVmClusterId']
+ resource_path = "/cloudVmClusters/{cloudVmClusterId}/actions/unregisterPkcs"
method = "POST"
- operation_name = "unregister_cloud_autonomous_vm_cluster_pkcs"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudAutonomousVmCluster/UnregisterCloudAutonomousVmClusterPkcs"
+ operation_name = "unregister_cloud_vm_cluster_pkcs"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/UnregisterCloudVmClusterPkcs"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -50193,10 +52233,10 @@ def unregister_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluste
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"unregister_cloud_autonomous_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
+ f"unregister_cloud_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudAutonomousVmClusterId": cloud_autonomous_vm_cluster_id
+ "cloudVmClusterId": cloud_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -50230,7 +52270,7 @@ def unregister_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluste
method=method,
path_params=path_params,
header_params=header_params,
- body=unregister_cloud_autonomous_vm_cluster_pkcs_details,
+ body=unregister_cloud_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -50242,25 +52282,25 @@ def unregister_cloud_autonomous_vm_cluster_pkcs(self, cloud_autonomous_vm_cluste
method=method,
path_params=path_params,
header_params=header_params,
- body=unregister_cloud_autonomous_vm_cluster_pkcs_details,
+ body=unregister_cloud_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
api_reference_link=api_reference_link,
required_arguments=required_arguments)
- def unregister_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, unregister_cloud_vm_cluster_pkcs_details, **kwargs):
+ def unregister_exadb_vm_cluster_pkcs(self, exadb_vm_cluster_id, unregister_exadb_vm_cluster_pkcs_details, **kwargs):
"""
Uninstall the PKCS11 driver for given keystore type
- :param str cloud_vm_cluster_id: (required)
- The cloud VM cluster `OCID`__.
+ :param str exadb_vm_cluster_id: (required)
+ The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
- :param oci.database.models.UnregisterCloudVmClusterPkcsDetails unregister_cloud_vm_cluster_pkcs_details: (required)
- Details of registering PKCS11 driver.
+ :param oci.database.models.UnregisterExadbVmClusterPkcsDetails unregister_exadb_vm_cluster_pkcs_details: (required)
+ Details of unregistering PKCS11 driver.
:param str opc_retry_token: (optional)
A token that uniquely identifies a request so it can be retried in case of a timeout or
@@ -50297,14 +52337,14 @@ def unregister_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, unregister_cloud
:rtype: :class:`~oci.response.Response`
:example:
- Click `here `__ to see an example of how to use unregister_cloud_vm_cluster_pkcs API.
+ Click `here `__ to see an example of how to use unregister_exadb_vm_cluster_pkcs API.
"""
# Required path and query arguments. These are in camelCase to replace values in service endpoints.
- required_arguments = ['cloudVmClusterId']
- resource_path = "/cloudVmClusters/{cloudVmClusterId}/actions/unregisterPkcs"
+ required_arguments = ['exadbVmClusterId']
+ resource_path = "/exadbVmClusters/{exadbVmClusterId}/actions/unregisterPkcs"
method = "POST"
- operation_name = "unregister_cloud_vm_cluster_pkcs"
- api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/CloudVmCluster/UnregisterCloudVmClusterPkcs"
+ operation_name = "unregister_exadb_vm_cluster_pkcs"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/ExadbVmCluster/UnregisterExadbVmClusterPkcs"
# Don't accept unknown kwargs
expected_kwargs = [
@@ -50318,10 +52358,10 @@ def unregister_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, unregister_cloud
extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
if extra_kwargs:
raise ValueError(
- f"unregister_cloud_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
+ f"unregister_exadb_vm_cluster_pkcs got unknown kwargs: {extra_kwargs!r}")
path_params = {
- "cloudVmClusterId": cloud_vm_cluster_id
+ "exadbVmClusterId": exadb_vm_cluster_id
}
path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
@@ -50355,7 +52395,7 @@ def unregister_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, unregister_cloud
method=method,
path_params=path_params,
header_params=header_params,
- body=unregister_cloud_vm_cluster_pkcs_details,
+ body=unregister_exadb_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -50367,7 +52407,7 @@ def unregister_cloud_vm_cluster_pkcs(self, cloud_vm_cluster_id, unregister_cloud
method=method,
path_params=path_params,
header_params=header_params,
- body=unregister_cloud_vm_cluster_pkcs_details,
+ body=unregister_exadb_vm_cluster_pkcs_details,
allow_control_chars=kwargs.get('allow_control_chars'),
enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
operation_name=operation_name,
@@ -51766,6 +53806,123 @@ def update_backup_destination(self, backup_destination_id, update_backup_destina
api_reference_link=api_reference_link,
required_arguments=required_arguments)
+ def update_basecc_vm_cluster(self, basecc_vm_cluster_id, update_basecc_vm_cluster_details, **kwargs):
+ """
+ Updates the specified BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
+
+
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.database.models.UpdateBaseccVmClusterDetails update_basecc_vm_cluster_details: (required)
+ Request to update the attributes of a BaseDB-C@C VM cluster.
+
+ :param str if_match: (optional)
+ For optimistic concurrency control. In the PUT or DELETE call for a resource, set the `if-match`
+ parameter to the value of the etag from a previous GET or POST response for that resource. The resource
+ will be updated or deleted only if the etag you provide matches the resource's current etag value.
+
+ :param str opc_request_id: (optional)
+ Unique identifier for the request.
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation will not retry by default, users can also use the convenient :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` provided by the SDK to enable retries for it.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.database.models.BaseccVmCluster`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use update_basecc_vm_cluster API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['baseccVmClusterId']
+ resource_path = "/baseccVmClusters/{baseccVmClusterId}"
+ method = "PUT"
+ operation_name = "update_basecc_vm_cluster"
+ api_reference_link = "https://docs.oracle.com/iaas/api/#/en/database/20160918/BaseccVmCluster/UpdateBaseccVmCluster"
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"update_basecc_vm_cluster got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "baseccVmClusterId": basecc_vm_cluster_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
+ }
+ 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_basecc_vm_cluster_details,
+ response_type="BaseccVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=update_basecc_vm_cluster_details,
+ response_type="BaseccVmCluster",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
def update_cloud_autonomous_vm_cluster(self, cloud_autonomous_vm_cluster_id, update_cloud_autonomous_vm_cluster_details, **kwargs):
"""
Updates the specified Autonomous Exadata VM cluster in the Oracle cloud. For Exadata Cloud@Customer systems, see :func:`update_autonomous_vm_cluster`.
diff --git a/src/oci/database/database_client_composite_operations.py b/src/oci/database/database_client_composite_operations.py
index 85186f9458..7b7401e62e 100644
--- a/src/oci/database/database_client_composite_operations.py
+++ b/src/oci/database/database_client_composite_operations.py
@@ -1125,6 +1125,47 @@ def change_backup_destination_compartment_and_wait_for_work_request(self, change
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def change_basecc_vm_cluster_compartment_and_wait_for_work_request(self, change_basecc_vm_cluster_compartment_details, basecc_vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.change_basecc_vm_cluster_compartment` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param oci.database.models.ChangeBaseccVmClusterCompartmentDetails change_basecc_vm_cluster_compartment_details: (required)
+ Request to move the BaseDB-C@C VM cluster to a different compartment.
+
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.change_basecc_vm_cluster_compartment`
+
+ :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.change_basecc_vm_cluster_compartment(change_basecc_vm_cluster_compartment_details, basecc_vm_cluster_id, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def change_cloud_autonomous_vm_cluster_compartment_and_wait_for_work_request(self, change_cloud_autonomous_vm_cluster_compartment_details, cloud_autonomous_vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.database.DatabaseClient.change_cloud_autonomous_vm_cluster_compartment` and waits for the oci.work_requests.models.WorkRequest
@@ -3913,6 +3954,84 @@ def create_backup_destination_and_wait_for_state(self, create_backup_destination
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def create_basecc_vm_cluster_and_wait_for_work_request(self, create_basecc_vm_cluster_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.create_basecc_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param oci.database.models.CreateBaseccVmClusterDetails create_basecc_vm_cluster_details: (required)
+ Request to create a BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.create_basecc_vm_cluster`
+
+ :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_basecc_vm_cluster(create_basecc_vm_cluster_details, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def create_basecc_vm_cluster_and_wait_for_state(self, create_basecc_vm_cluster_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.create_basecc_vm_cluster` and waits for the :py:class:`~oci.database.models.BaseccVmCluster` acted upon
+ to enter the given state(s).
+
+ :param oci.database.models.CreateBaseccVmClusterDetails create_basecc_vm_cluster_details: (required)
+ Request to create a BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.BaseccVmCluster.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.create_basecc_vm_cluster`
+
+ :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_basecc_vm_cluster(create_basecc_vm_cluster_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ basecc_vm_cluster_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_basecc_vm_cluster(basecc_vm_cluster_id), # noqa: F821
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except (NameError, TypeError) as e:
+ if not e.args:
+ e.args = ('',)
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def create_cloud_autonomous_vm_cluster_and_wait_for_work_request(self, create_cloud_autonomous_vm_cluster_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.database.DatabaseClient.create_cloud_autonomous_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
@@ -6216,7 +6335,7 @@ def db_node_action_and_wait_for_work_request(self, db_node_id, action, work_requ
:param str action: (required)
The action to perform on the DB Node.
- Allowed values are: "STOP", "START", "SOFTRESET", "RESET"
+ Allowed values are: "STOP", "FORCESTOP", "FORCERESET", "START", "SOFTRESET", "RESET"
:param list[str] work_request_states: (optional)
An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
@@ -6259,7 +6378,7 @@ def db_node_action_and_wait_for_state(self, db_node_id, action, wait_for_states=
:param str action: (required)
The action to perform on the DB Node.
- Allowed values are: "STOP", "START", "SOFTRESET", "RESET"
+ Allowed values are: "STOP", "FORCESTOP", "FORCERESET", "START", "SOFTRESET", "RESET"
:param list[str] wait_for_states:
An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.DbNode.lifecycle_state`
@@ -6622,6 +6741,44 @@ def delete_backup_destination_and_wait_for_state(self, backup_destination_id, wa
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def delete_basecc_vm_cluster_and_wait_for_work_request(self, basecc_vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.delete_basecc_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.delete_basecc_vm_cluster`
+
+ :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.delete_basecc_vm_cluster(basecc_vm_cluster_id, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def delete_cloud_autonomous_vm_cluster_and_wait_for_work_request(self, cloud_autonomous_vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.database.DatabaseClient.delete_cloud_autonomous_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
@@ -10836,6 +10993,47 @@ def register_cloud_vm_cluster_pkcs_and_wait_for_work_request(self, cloud_vm_clus
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def register_exadb_vm_cluster_pkcs_and_wait_for_work_request(self, exadb_vm_cluster_id, register_exadb_vm_cluster_pkcs_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.register_exadb_vm_cluster_pkcs` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param str exadb_vm_cluster_id: (required)
+ The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.database.models.RegisterExadbVmClusterPkcsDetails register_exadb_vm_cluster_pkcs_details: (required)
+ Details of registering PKCS11 driver.
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.register_exadb_vm_cluster_pkcs`
+
+ :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.register_exadb_vm_cluster_pkcs(exadb_vm_cluster_id, register_exadb_vm_cluster_pkcs_details, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def reinstate_autonomous_container_database_dataguard_and_wait_for_work_request(self, autonomous_container_database_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.database.DatabaseClient.reinstate_autonomous_container_database_dataguard` and waits for the oci.work_requests.models.WorkRequest
@@ -11724,6 +11922,88 @@ def reorder_scheduled_actions_and_wait_for_state(self, reorder_scheduled_actions
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def reschedule_managed_db_software_update_and_wait_for_work_request(self, database_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.reschedule_managed_db_software_update` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param str database_id: (required)
+ The database `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.reschedule_managed_db_software_update`
+
+ :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.reschedule_managed_db_software_update(database_id, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def reschedule_managed_db_software_update_and_wait_for_state(self, database_id, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.reschedule_managed_db_software_update` and waits for the :py:class:`~oci.database.models.Database` acted upon
+ to enter the given state(s).
+
+ :param str database_id: (required)
+ The database `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.Database.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.reschedule_managed_db_software_update`
+
+ :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.reschedule_managed_db_software_update(database_id, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ database_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_database(database_id), # noqa: F821
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except (NameError, TypeError) as e:
+ if not e.args:
+ e.args = ('',)
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def resize_vm_cluster_network_and_wait_for_work_request(self, exadata_infrastructure_id, vm_cluster_network_id, resize_vm_cluster_network_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.database.DatabaseClient.resize_vm_cluster_network` and waits for the oci.work_requests.models.WorkRequest
@@ -11986,6 +12266,82 @@ def restart_autonomous_database_and_wait_for_state(self, autonomous_database_id,
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def restart_autonomous_vm_cluster_ords_and_wait_for_work_request(self, autonomous_vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.restart_autonomous_vm_cluster_ords` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param str autonomous_vm_cluster_id: (required)
+ The autonomous VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.restart_autonomous_vm_cluster_ords`
+
+ :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.restart_autonomous_vm_cluster_ords(autonomous_vm_cluster_id, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def restart_cloud_autonomous_vm_cluster_ords_and_wait_for_work_request(self, cloud_autonomous_vm_cluster_id, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.restart_cloud_autonomous_vm_cluster_ords` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param str cloud_autonomous_vm_cluster_id: (required)
+ The Cloud VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.restart_cloud_autonomous_vm_cluster_ords`
+
+ :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.restart_cloud_autonomous_vm_cluster_ords(cloud_autonomous_vm_cluster_id, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def restore_autonomous_database_and_wait_for_work_request(self, autonomous_database_id, restore_autonomous_database_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.database.DatabaseClient.restore_autonomous_database` and waits for the oci.work_requests.models.WorkRequest
@@ -14200,6 +14556,47 @@ def unregister_cloud_vm_cluster_pkcs_and_wait_for_work_request(self, cloud_vm_cl
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def unregister_exadb_vm_cluster_pkcs_and_wait_for_work_request(self, exadb_vm_cluster_id, unregister_exadb_vm_cluster_pkcs_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.unregister_exadb_vm_cluster_pkcs` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param str exadb_vm_cluster_id: (required)
+ The Exadata VM cluster `OCID`__ on Exascale Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.database.models.UnregisterExadbVmClusterPkcsDetails unregister_exadb_vm_cluster_pkcs_details: (required)
+ Details of unregistering PKCS11 driver.
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.unregister_exadb_vm_cluster_pkcs`
+
+ :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.unregister_exadb_vm_cluster_pkcs(exadb_vm_cluster_id, unregister_exadb_vm_cluster_pkcs_details, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def update_advanced_cluster_file_system_and_wait_for_work_request(self, advanced_cluster_file_system_id, update_advanced_cluster_file_system_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.database.DatabaseClient.update_advanced_cluster_file_system` and waits for the oci.work_requests.models.WorkRequest
@@ -15086,6 +15483,94 @@ def update_backup_destination_and_wait_for_state(self, backup_destination_id, up
except Exception as e:
raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ def update_basecc_vm_cluster_and_wait_for_work_request(self, basecc_vm_cluster_id, update_basecc_vm_cluster_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.update_basecc_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
+ to enter the given state(s).
+
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.database.models.UpdateBaseccVmClusterDetails update_basecc_vm_cluster_details: (required)
+ Request to update the attributes of a BaseDB-C@C VM cluster.
+
+ :param list[str] work_request_states: (optional)
+ An array of work requests states to wait on. These should be valid values for :py:attr:`~oci.work_requests.models.WorkRequest.status`
+ Default values are termination states: [STATUS_SUCCEEDED, STATUS_FAILED, STATUS_CANCELED]
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.update_basecc_vm_cluster`
+
+ :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_basecc_vm_cluster(basecc_vm_cluster_id, update_basecc_vm_cluster_details, **operation_kwargs)
+ work_request_states = work_request_states if work_request_states else oci.waiter._WORK_REQUEST_TERMINATION_STATES
+ lowered_work_request_states = [w.lower() for w in work_request_states]
+ if 'opc-work-request-id' not in operation_result.headers:
+ return operation_result
+ work_request_id = operation_result.headers['opc-work-request-id']
+ try:
+ waiter_result = oci.wait_until(
+ self._work_request_client,
+ self._work_request_client.get_work_request(work_request_id),
+ evaluate_response=lambda r: getattr(r.data, 'status') and getattr(r.data, 'status').lower() in lowered_work_request_states,
+ **waiter_kwargs
+ )
+ return waiter_result
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
+ def update_basecc_vm_cluster_and_wait_for_state(self, basecc_vm_cluster_id, update_basecc_vm_cluster_details, wait_for_states=[], operation_kwargs={}, waiter_kwargs={}):
+ """
+ Calls :py:func:`~oci.database.DatabaseClient.update_basecc_vm_cluster` and waits for the :py:class:`~oci.database.models.BaseccVmCluster` acted upon
+ to enter the given state(s).
+
+ :param str basecc_vm_cluster_id: (required)
+ The BaseDB-C@C VM cluster `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.database.models.UpdateBaseccVmClusterDetails update_basecc_vm_cluster_details: (required)
+ Request to update the attributes of a BaseDB-C@C VM cluster.
+
+ :param list[str] wait_for_states:
+ An array of states to wait on. These should be valid values for :py:attr:`~oci.database.models.BaseccVmCluster.lifecycle_state`
+
+ :param dict operation_kwargs:
+ A dictionary of keyword arguments to pass to :py:func:`~oci.database.DatabaseClient.update_basecc_vm_cluster`
+
+ :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_basecc_vm_cluster(basecc_vm_cluster_id, update_basecc_vm_cluster_details, **operation_kwargs)
+ if not wait_for_states:
+ return operation_result
+ lowered_wait_for_states = [w.lower() for w in wait_for_states]
+ basecc_vm_cluster_id = operation_result.data.id
+
+ try:
+ waiter_result = oci.wait_until(
+ self.client,
+ self.client.get_basecc_vm_cluster(basecc_vm_cluster_id), # noqa: F821
+ evaluate_response=lambda r: getattr(r.data, 'lifecycle_state') and getattr(r.data, 'lifecycle_state').lower() in lowered_wait_for_states,
+ **waiter_kwargs
+ )
+ result_to_return = waiter_result
+
+ return result_to_return
+ except (NameError, TypeError) as e:
+ if not e.args:
+ e.args = ('',)
+ e.args = e.args + ('This composite operation is currently not supported in the SDK. Please use the operation from the service client and use waiters as an alternative. For more information on waiters, visit: "https://docs.oracle.com/en-us/iaas/tools/python/latest/api/waiters.html"', )
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+ except Exception as e:
+ raise oci.exceptions.CompositeOperationError(partial_results=[operation_result], cause=e)
+
def update_cloud_autonomous_vm_cluster_and_wait_for_work_request(self, cloud_autonomous_vm_cluster_id, update_cloud_autonomous_vm_cluster_details, work_request_states=[], operation_kwargs={}, waiter_kwargs={}):
"""
Calls :py:func:`~oci.database.DatabaseClient.update_cloud_autonomous_vm_cluster` and waits for the oci.work_requests.models.WorkRequest
diff --git a/src/oci/database/models/__init__.py b/src/oci/database/models/__init__.py
index 5d774647f5..7682cc3242 100644
--- a/src/oci/database/models/__init__.py
+++ b/src/oci/database/models/__init__.py
@@ -25,6 +25,7 @@
from .associated_database_details import AssociatedDatabaseDetails
from .associated_long_term_backup import AssociatedLongTermBackup
from .associated_resource_details import AssociatedResourceDetails
+from .auto_failover_configuration import AutoFailoverConfiguration
from .automated_mount_details import AutomatedMountDetails
from .autonomous_container_database import AutonomousContainerDatabase
from .autonomous_container_database_backup import AutonomousContainerDatabaseBackup
@@ -52,6 +53,8 @@
from .autonomous_database_encryption_key_details import AutonomousDatabaseEncryptionKeyDetails
from .autonomous_database_encryption_key_history_entry import AutonomousDatabaseEncryptionKeyHistoryEntry
from .autonomous_database_in_backup import AutonomousDatabaseInBackup
+from .autonomous_database_in_backup_collection import AutonomousDatabaseInBackupCollection
+from .autonomous_database_in_backup_summary import AutonomousDatabaseInBackupSummary
from .autonomous_database_key_history_entry import AutonomousDatabaseKeyHistoryEntry
from .autonomous_database_maintenance_window_summary import AutonomousDatabaseMaintenanceWindowSummary
from .autonomous_database_manual_refresh_details import AutonomousDatabaseManualRefreshDetails
@@ -91,10 +94,18 @@
from .backup_destination_properties import BackupDestinationProperties
from .backup_destination_summary import BackupDestinationSummary
from .backup_summary import BackupSummary
+from .basecc_vm_cluster import BaseccVmCluster
+from .basecc_vm_cluster_summary import BaseccVmClusterSummary
+from .basecc_vm_cluster_update import BaseccVmClusterUpdate
+from .basecc_vm_cluster_update_details import BaseccVmClusterUpdateDetails
+from .basecc_vm_cluster_update_history_entry import BaseccVmClusterUpdateHistoryEntry
+from .basecc_vm_cluster_update_history_entry_summary import BaseccVmClusterUpdateHistoryEntrySummary
+from .basecc_vm_cluster_update_summary import BaseccVmClusterUpdateSummary
from .cancel_execution_window_details import CancelExecutionWindowDetails
from .change_autonomous_database_software_image_compartment_details import ChangeAutonomousDatabaseSoftwareImageCompartmentDetails
from .change_autonomous_database_subscription_details import ChangeAutonomousDatabaseSubscriptionDetails
from .change_autonomous_vm_cluster_compartment_details import ChangeAutonomousVmClusterCompartmentDetails
+from .change_basecc_vm_cluster_compartment_details import ChangeBaseccVmClusterCompartmentDetails
from .change_cloud_autonomous_vm_cluster_compartment_details import ChangeCloudAutonomousVmClusterCompartmentDetails
from .change_cloud_autonomous_vm_cluster_subscription_details import ChangeCloudAutonomousVmClusterSubscriptionDetails
from .change_cloud_db_system_subscription_details import ChangeCloudDbSystemSubscriptionDetails
@@ -154,6 +165,7 @@
from .create_autonomous_container_database_dataguard_association_details import CreateAutonomousContainerDatabaseDataguardAssociationDetails
from .create_autonomous_container_database_details import CreateAutonomousContainerDatabaseDetails
from .create_autonomous_container_database_from_backup_details import CreateAutonomousContainerDatabaseFromBackupDetails
+from .create_autonomous_container_database_from_backup_timestamp_details import CreateAutonomousContainerDatabaseFromBackupTimestampDetails
from .create_autonomous_database_backup_details import CreateAutonomousDatabaseBackupDetails
from .create_autonomous_database_base import CreateAutonomousDatabaseBase
from .create_autonomous_database_clone_details import CreateAutonomousDatabaseCloneDetails
@@ -164,6 +176,7 @@
from .create_autonomous_vm_cluster_details import CreateAutonomousVmClusterDetails
from .create_backup_destination_details import CreateBackupDestinationDetails
from .create_backup_details import CreateBackupDetails
+from .create_basecc_vm_cluster_details import CreateBaseccVmClusterDetails
from .create_cloud_autonomous_vm_cluster_details import CreateCloudAutonomousVmClusterDetails
from .create_cloud_exadata_infrastructure_details import CreateCloudExadataInfrastructureDetails
from .create_cloud_vm_cluster_details import CreateCloudVmClusterDetails
@@ -328,6 +341,7 @@
from .exadata_infrastructure_un_allocated_resources import ExadataInfrastructureUnAllocatedResources
from .exadata_iorm_config import ExadataIormConfig
from .exadata_iorm_config_update_details import ExadataIormConfigUpdateDetails
+from .exadata_live_image_version_details import ExadataLiveImageVersionDetails
from .exadb_vm_cluster import ExadbVmCluster
from .exadb_vm_cluster_storage_details import ExadbVmClusterStorageDetails
from .exadb_vm_cluster_summary import ExadbVmClusterSummary
@@ -396,6 +410,11 @@
from .maintenance_run_summary import MaintenanceRunSummary
from .maintenance_version_preference_details import MaintenanceVersionPreferenceDetails
from .maintenance_window import MaintenanceWindow
+from .managed_software_update_day_of_week import ManagedSoftwareUpdateDayOfWeek
+from .managed_software_update_details import ManagedSoftwareUpdateDetails
+from .managed_software_update_input_details import ManagedSoftwareUpdateInputDetails
+from .managed_software_update_maintenance_details import ManagedSoftwareUpdateMaintenanceDetails
+from .managed_software_update_preference_details import ManagedSoftwareUpdatePreferenceDetails
from .migrate_vault_key_details import MigrateVaultKeyDetails
from .modify_database_management_details import ModifyDatabaseManagementDetails
from .modify_pluggable_database_management_details import ModifyPluggableDatabaseManagementDetails
@@ -440,6 +459,7 @@
from .register_autonomous_database_data_safe_details import RegisterAutonomousDatabaseDataSafeDetails
from .register_cloud_autonomous_vm_cluster_pkcs_details import RegisterCloudAutonomousVmClusterPkcsDetails
from .register_cloud_vm_cluster_pkcs_details import RegisterCloudVmClusterPkcsDetails
+from .register_exadb_vm_cluster_pkcs_details import RegisterExadbVmClusterPkcsDetails
from .reinstate_data_guard_association_details import ReinstateDataGuardAssociationDetails
from .reinstate_data_guard_details import ReinstateDataGuardDetails
from .remote_clone_pluggable_database_details import RemoteClonePluggableDatabaseDetails
@@ -454,6 +474,8 @@
from .resource_pool_shape_collection import ResourcePoolShapeCollection
from .resource_pool_shape_summary import ResourcePoolShapeSummary
from .resource_pool_summary import ResourcePoolSummary
+from .restart_autonomous_container_database_details import RestartAutonomousContainerDatabaseDetails
+from .restart_autonomous_database_details import RestartAutonomousDatabaseDetails
from .restore_autonomous_database_details import RestoreAutonomousDatabaseDetails
from .restore_database_details import RestoreDatabaseDetails
from .rotate_autonomous_container_database_encryption_key_details import RotateAutonomousContainerDatabaseEncryptionKeyDetails
@@ -481,6 +503,7 @@
from .set_key_version_details import SetKeyVersionDetails
from .source_database_details import SourceDatabaseDetails
from .stack_monitoring_config import StackMonitoringConfig
+from .stop_autonomous_database_details import StopAutonomousDatabaseDetails
from .storage_performance_details import StoragePerformanceDetails
from .switch_over_data_guard_details import SwitchOverDataGuardDetails
from .switchover_data_guard_association_details import SwitchoverDataGuardAssociationDetails
@@ -488,10 +511,12 @@
from .system_version_minor_version_collection import SystemVersionMinorVersionCollection
from .system_version_minor_version_summary import SystemVersionMinorVersionSummary
from .system_version_summary import SystemVersionSummary
+from .tde_wallet_backup_destination import TdeWalletBackupDestination
from .undelete_autonomous_database_details import UndeleteAutonomousDatabaseDetails
from .unmount_dbnode_snapshot_details import UnmountDbnodeSnapshotDetails
from .unregister_cloud_autonomous_vm_cluster_pkcs_details import UnregisterCloudAutonomousVmClusterPkcsDetails
from .unregister_cloud_vm_cluster_pkcs_details import UnregisterCloudVmClusterPkcsDetails
+from .unregister_exadb_vm_cluster_pkcs_details import UnregisterExadbVmClusterPkcsDetails
from .update import Update
from .update_advanced_cluster_file_system_details import UpdateAdvancedClusterFileSystemDetails
from .update_autonomous_container_database_data_guard_association_details import UpdateAutonomousContainerDatabaseDataGuardAssociationDetails
@@ -504,6 +529,7 @@
from .update_autonomous_vm_cluster_details import UpdateAutonomousVmClusterDetails
from .update_backup_destination_details import UpdateBackupDestinationDetails
from .update_backup_details import UpdateBackupDetails
+from .update_basecc_vm_cluster_details import UpdateBaseccVmClusterDetails
from .update_cloud_autonomous_vm_cluster_details import UpdateCloudAutonomousVmClusterDetails
from .update_cloud_exadata_infrastructure_details import UpdateCloudExadataInfrastructureDetails
from .update_cloud_vm_cluster_details import UpdateCloudVmClusterDetails
@@ -544,6 +570,8 @@
from .upgrade_database_details import UpgradeDatabaseDetails
from .upgrade_db_system_details import UpgradeDbSystemDetails
from .vanity_url_details import VanityUrlDetails
+from .version_scheme_details import VersionSchemeDetails
+from .version_scheme_from_version_series_details import VersionSchemeFromVersionSeriesDetails
from .vm_cluster import VmCluster
from .vm_cluster_network import VmClusterNetwork
from .vm_cluster_network_details import VmClusterNetworkDetails
@@ -581,6 +609,7 @@
"AssociatedDatabaseDetails": AssociatedDatabaseDetails,
"AssociatedLongTermBackup": AssociatedLongTermBackup,
"AssociatedResourceDetails": AssociatedResourceDetails,
+ "AutoFailoverConfiguration": AutoFailoverConfiguration,
"AutomatedMountDetails": AutomatedMountDetails,
"AutonomousContainerDatabase": AutonomousContainerDatabase,
"AutonomousContainerDatabaseBackup": AutonomousContainerDatabaseBackup,
@@ -608,6 +637,8 @@
"AutonomousDatabaseEncryptionKeyDetails": AutonomousDatabaseEncryptionKeyDetails,
"AutonomousDatabaseEncryptionKeyHistoryEntry": AutonomousDatabaseEncryptionKeyHistoryEntry,
"AutonomousDatabaseInBackup": AutonomousDatabaseInBackup,
+ "AutonomousDatabaseInBackupCollection": AutonomousDatabaseInBackupCollection,
+ "AutonomousDatabaseInBackupSummary": AutonomousDatabaseInBackupSummary,
"AutonomousDatabaseKeyHistoryEntry": AutonomousDatabaseKeyHistoryEntry,
"AutonomousDatabaseMaintenanceWindowSummary": AutonomousDatabaseMaintenanceWindowSummary,
"AutonomousDatabaseManualRefreshDetails": AutonomousDatabaseManualRefreshDetails,
@@ -647,10 +678,18 @@
"BackupDestinationProperties": BackupDestinationProperties,
"BackupDestinationSummary": BackupDestinationSummary,
"BackupSummary": BackupSummary,
+ "BaseccVmCluster": BaseccVmCluster,
+ "BaseccVmClusterSummary": BaseccVmClusterSummary,
+ "BaseccVmClusterUpdate": BaseccVmClusterUpdate,
+ "BaseccVmClusterUpdateDetails": BaseccVmClusterUpdateDetails,
+ "BaseccVmClusterUpdateHistoryEntry": BaseccVmClusterUpdateHistoryEntry,
+ "BaseccVmClusterUpdateHistoryEntrySummary": BaseccVmClusterUpdateHistoryEntrySummary,
+ "BaseccVmClusterUpdateSummary": BaseccVmClusterUpdateSummary,
"CancelExecutionWindowDetails": CancelExecutionWindowDetails,
"ChangeAutonomousDatabaseSoftwareImageCompartmentDetails": ChangeAutonomousDatabaseSoftwareImageCompartmentDetails,
"ChangeAutonomousDatabaseSubscriptionDetails": ChangeAutonomousDatabaseSubscriptionDetails,
"ChangeAutonomousVmClusterCompartmentDetails": ChangeAutonomousVmClusterCompartmentDetails,
+ "ChangeBaseccVmClusterCompartmentDetails": ChangeBaseccVmClusterCompartmentDetails,
"ChangeCloudAutonomousVmClusterCompartmentDetails": ChangeCloudAutonomousVmClusterCompartmentDetails,
"ChangeCloudAutonomousVmClusterSubscriptionDetails": ChangeCloudAutonomousVmClusterSubscriptionDetails,
"ChangeCloudDbSystemSubscriptionDetails": ChangeCloudDbSystemSubscriptionDetails,
@@ -710,6 +749,7 @@
"CreateAutonomousContainerDatabaseDataguardAssociationDetails": CreateAutonomousContainerDatabaseDataguardAssociationDetails,
"CreateAutonomousContainerDatabaseDetails": CreateAutonomousContainerDatabaseDetails,
"CreateAutonomousContainerDatabaseFromBackupDetails": CreateAutonomousContainerDatabaseFromBackupDetails,
+ "CreateAutonomousContainerDatabaseFromBackupTimestampDetails": CreateAutonomousContainerDatabaseFromBackupTimestampDetails,
"CreateAutonomousDatabaseBackupDetails": CreateAutonomousDatabaseBackupDetails,
"CreateAutonomousDatabaseBase": CreateAutonomousDatabaseBase,
"CreateAutonomousDatabaseCloneDetails": CreateAutonomousDatabaseCloneDetails,
@@ -720,6 +760,7 @@
"CreateAutonomousVmClusterDetails": CreateAutonomousVmClusterDetails,
"CreateBackupDestinationDetails": CreateBackupDestinationDetails,
"CreateBackupDetails": CreateBackupDetails,
+ "CreateBaseccVmClusterDetails": CreateBaseccVmClusterDetails,
"CreateCloudAutonomousVmClusterDetails": CreateCloudAutonomousVmClusterDetails,
"CreateCloudExadataInfrastructureDetails": CreateCloudExadataInfrastructureDetails,
"CreateCloudVmClusterDetails": CreateCloudVmClusterDetails,
@@ -884,6 +925,7 @@
"ExadataInfrastructureUnAllocatedResources": ExadataInfrastructureUnAllocatedResources,
"ExadataIormConfig": ExadataIormConfig,
"ExadataIormConfigUpdateDetails": ExadataIormConfigUpdateDetails,
+ "ExadataLiveImageVersionDetails": ExadataLiveImageVersionDetails,
"ExadbVmCluster": ExadbVmCluster,
"ExadbVmClusterStorageDetails": ExadbVmClusterStorageDetails,
"ExadbVmClusterSummary": ExadbVmClusterSummary,
@@ -952,6 +994,11 @@
"MaintenanceRunSummary": MaintenanceRunSummary,
"MaintenanceVersionPreferenceDetails": MaintenanceVersionPreferenceDetails,
"MaintenanceWindow": MaintenanceWindow,
+ "ManagedSoftwareUpdateDayOfWeek": ManagedSoftwareUpdateDayOfWeek,
+ "ManagedSoftwareUpdateDetails": ManagedSoftwareUpdateDetails,
+ "ManagedSoftwareUpdateInputDetails": ManagedSoftwareUpdateInputDetails,
+ "ManagedSoftwareUpdateMaintenanceDetails": ManagedSoftwareUpdateMaintenanceDetails,
+ "ManagedSoftwareUpdatePreferenceDetails": ManagedSoftwareUpdatePreferenceDetails,
"MigrateVaultKeyDetails": MigrateVaultKeyDetails,
"ModifyDatabaseManagementDetails": ModifyDatabaseManagementDetails,
"ModifyPluggableDatabaseManagementDetails": ModifyPluggableDatabaseManagementDetails,
@@ -996,6 +1043,7 @@
"RegisterAutonomousDatabaseDataSafeDetails": RegisterAutonomousDatabaseDataSafeDetails,
"RegisterCloudAutonomousVmClusterPkcsDetails": RegisterCloudAutonomousVmClusterPkcsDetails,
"RegisterCloudVmClusterPkcsDetails": RegisterCloudVmClusterPkcsDetails,
+ "RegisterExadbVmClusterPkcsDetails": RegisterExadbVmClusterPkcsDetails,
"ReinstateDataGuardAssociationDetails": ReinstateDataGuardAssociationDetails,
"ReinstateDataGuardDetails": ReinstateDataGuardDetails,
"RemoteClonePluggableDatabaseDetails": RemoteClonePluggableDatabaseDetails,
@@ -1010,6 +1058,8 @@
"ResourcePoolShapeCollection": ResourcePoolShapeCollection,
"ResourcePoolShapeSummary": ResourcePoolShapeSummary,
"ResourcePoolSummary": ResourcePoolSummary,
+ "RestartAutonomousContainerDatabaseDetails": RestartAutonomousContainerDatabaseDetails,
+ "RestartAutonomousDatabaseDetails": RestartAutonomousDatabaseDetails,
"RestoreAutonomousDatabaseDetails": RestoreAutonomousDatabaseDetails,
"RestoreDatabaseDetails": RestoreDatabaseDetails,
"RotateAutonomousContainerDatabaseEncryptionKeyDetails": RotateAutonomousContainerDatabaseEncryptionKeyDetails,
@@ -1037,6 +1087,7 @@
"SetKeyVersionDetails": SetKeyVersionDetails,
"SourceDatabaseDetails": SourceDatabaseDetails,
"StackMonitoringConfig": StackMonitoringConfig,
+ "StopAutonomousDatabaseDetails": StopAutonomousDatabaseDetails,
"StoragePerformanceDetails": StoragePerformanceDetails,
"SwitchOverDataGuardDetails": SwitchOverDataGuardDetails,
"SwitchoverDataGuardAssociationDetails": SwitchoverDataGuardAssociationDetails,
@@ -1044,10 +1095,12 @@
"SystemVersionMinorVersionCollection": SystemVersionMinorVersionCollection,
"SystemVersionMinorVersionSummary": SystemVersionMinorVersionSummary,
"SystemVersionSummary": SystemVersionSummary,
+ "TdeWalletBackupDestination": TdeWalletBackupDestination,
"UndeleteAutonomousDatabaseDetails": UndeleteAutonomousDatabaseDetails,
"UnmountDbnodeSnapshotDetails": UnmountDbnodeSnapshotDetails,
"UnregisterCloudAutonomousVmClusterPkcsDetails": UnregisterCloudAutonomousVmClusterPkcsDetails,
"UnregisterCloudVmClusterPkcsDetails": UnregisterCloudVmClusterPkcsDetails,
+ "UnregisterExadbVmClusterPkcsDetails": UnregisterExadbVmClusterPkcsDetails,
"Update": Update,
"UpdateAdvancedClusterFileSystemDetails": UpdateAdvancedClusterFileSystemDetails,
"UpdateAutonomousContainerDatabaseDataGuardAssociationDetails": UpdateAutonomousContainerDatabaseDataGuardAssociationDetails,
@@ -1060,6 +1113,7 @@
"UpdateAutonomousVmClusterDetails": UpdateAutonomousVmClusterDetails,
"UpdateBackupDestinationDetails": UpdateBackupDestinationDetails,
"UpdateBackupDetails": UpdateBackupDetails,
+ "UpdateBaseccVmClusterDetails": UpdateBaseccVmClusterDetails,
"UpdateCloudAutonomousVmClusterDetails": UpdateCloudAutonomousVmClusterDetails,
"UpdateCloudExadataInfrastructureDetails": UpdateCloudExadataInfrastructureDetails,
"UpdateCloudVmClusterDetails": UpdateCloudVmClusterDetails,
@@ -1100,6 +1154,8 @@
"UpgradeDatabaseDetails": UpgradeDatabaseDetails,
"UpgradeDbSystemDetails": UpgradeDbSystemDetails,
"VanityUrlDetails": VanityUrlDetails,
+ "VersionSchemeDetails": VersionSchemeDetails,
+ "VersionSchemeFromVersionSeriesDetails": VersionSchemeFromVersionSeriesDetails,
"VmCluster": VmCluster,
"VmClusterNetwork": VmClusterNetwork,
"VmClusterNetworkDetails": VmClusterNetworkDetails,
diff --git a/src/oci/database/models/auto_failover_configuration.py b/src/oci/database/models/auto_failover_configuration.py
new file mode 100644
index 0000000000..4316a57de5
--- /dev/null
+++ b/src/oci/database/models/auto_failover_configuration.py
@@ -0,0 +1,117 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 AutoFailoverConfiguration(object):
+ """
+ The properties for defining auto failover configuration.
+ """
+
+ #: A constant which can be used with the managed_auto_failover property of a AutoFailoverConfiguration.
+ #: This constant has a value of "ENABLE"
+ MANAGED_AUTO_FAILOVER_ENABLE = "ENABLE"
+
+ #: A constant which can be used with the managed_auto_failover property of a AutoFailoverConfiguration.
+ #: This constant has a value of "DISABLE"
+ MANAGED_AUTO_FAILOVER_DISABLE = "DISABLE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AutoFailoverConfiguration object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param managed_auto_failover:
+ The value to assign to the managed_auto_failover property of this AutoFailoverConfiguration.
+ Allowed values for this property are: "ENABLE", "DISABLE"
+ :type managed_auto_failover: str
+
+ :param failover_targets:
+ The value to assign to the failover_targets property of this AutoFailoverConfiguration.
+ :type failover_targets: list[str]
+
+ """
+ self.swagger_types = {
+ 'managed_auto_failover': 'str',
+ 'failover_targets': 'list[str]'
+ }
+ self.attribute_map = {
+ 'managed_auto_failover': 'managedAutoFailover',
+ 'failover_targets': 'failoverTargets'
+ }
+ self._managed_auto_failover = None
+ self._failover_targets = None
+
+ @property
+ def managed_auto_failover(self):
+ """
+ Gets the managed_auto_failover of this AutoFailoverConfiguration.
+ The state of managed auto failover.
+
+ Allowed values for this property are: "ENABLE", "DISABLE"
+
+
+ :return: The managed_auto_failover of this AutoFailoverConfiguration.
+ :rtype: str
+ """
+ return self._managed_auto_failover
+
+ @managed_auto_failover.setter
+ def managed_auto_failover(self, managed_auto_failover):
+ """
+ Sets the managed_auto_failover of this AutoFailoverConfiguration.
+ The state of managed auto failover.
+
+
+ :param managed_auto_failover: The managed_auto_failover of this AutoFailoverConfiguration.
+ :type: str
+ """
+ allowed_values = ["ENABLE", "DISABLE"]
+ if not value_allowed_none_or_none_sentinel(managed_auto_failover, allowed_values):
+ raise ValueError(
+ f"Invalid value for `managed_auto_failover`, must be None or one of {allowed_values}"
+ )
+ self._managed_auto_failover = managed_auto_failover
+
+ @property
+ def failover_targets(self):
+ """
+ Gets the failover_targets of this AutoFailoverConfiguration.
+ Specifies the `DB_UNIQUE_NAME` of the data guard group member databases.
+
+
+ :return: The failover_targets of this AutoFailoverConfiguration.
+ :rtype: list[str]
+ """
+ return self._failover_targets
+
+ @failover_targets.setter
+ def failover_targets(self, failover_targets):
+ """
+ Sets the failover_targets of this AutoFailoverConfiguration.
+ Specifies the `DB_UNIQUE_NAME` of the data guard group member databases.
+
+
+ :param failover_targets: The failover_targets of this AutoFailoverConfiguration.
+ :type: list[str]
+ """
+ self._failover_targets = failover_targets
+
+ 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/database/models/autonomous_container_database_backup.py b/src/oci/database/models/autonomous_container_database_backup.py
index 512ddf1873..f0416c6e9b 100644
--- a/src/oci/database/models/autonomous_container_database_backup.py
+++ b/src/oci/database/models/autonomous_container_database_backup.py
@@ -82,7 +82,8 @@ def __init__(self, **kwargs):
:param type:
The value to assign to the type property of this AutonomousContainerDatabaseBackup.
- Allowed values for this property are: "INCREMENTAL", "FULL", "VIRTUAL_FULL"
+ Allowed values for this property are: "INCREMENTAL", "FULL", "VIRTUAL_FULL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type type: str
:param is_automatic:
@@ -103,7 +104,8 @@ def __init__(self, **kwargs):
:param lifecycle_state:
The value to assign to the lifecycle_state property of this AutonomousContainerDatabaseBackup.
- Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values for this property are: "CREATING", "ACTIVE", "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 retention_period_in_days:
@@ -116,7 +118,8 @@ def __init__(self, **kwargs):
:param infrastructure_type:
The value to assign to the infrastructure_type property of this AutonomousContainerDatabaseBackup.
- Allowed values for this property are: "CLOUD", "CLOUD_AT_CUSTOMER"
+ Allowed values for this property are: "CLOUD", "CLOUD_AT_CUSTOMER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type infrastructure_type: str
:param freeform_tags:
@@ -135,6 +138,14 @@ def __init__(self, **kwargs):
The value to assign to the autonomous_databases property of this AutonomousContainerDatabaseBackup.
:type autonomous_databases: list[oci.database.models.AutonomousDatabaseInBackup]
+ :param db_version:
+ The value to assign to the db_version property of this AutonomousContainerDatabaseBackup.
+ :type db_version: str
+
+ :param backup_destination_details:
+ The value to assign to the backup_destination_details property of this AutonomousContainerDatabaseBackup.
+ :type backup_destination_details: oci.database.models.BackupDestinationDetails
+
"""
self.swagger_types = {
'id': 'str',
@@ -154,7 +165,9 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
- 'autonomous_databases': 'list[AutonomousDatabaseInBackup]'
+ 'autonomous_databases': 'list[AutonomousDatabaseInBackup]',
+ 'db_version': 'str',
+ 'backup_destination_details': 'BackupDestinationDetails'
}
self.attribute_map = {
'id': 'id',
@@ -174,7 +187,9 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
- 'autonomous_databases': 'autonomousDatabases'
+ 'autonomous_databases': 'autonomousDatabases',
+ 'db_version': 'dbVersion',
+ 'backup_destination_details': 'backupDestinationDetails'
}
self._id = None
self._compartment_id = None
@@ -194,6 +209,8 @@ def __init__(self, **kwargs):
self._defined_tags = None
self._system_tags = None
self._autonomous_databases = None
+ self._db_version = None
+ self._backup_destination_details = None
@property
def id(self):
@@ -333,7 +350,8 @@ def type(self):
**[Required]** Gets the type of this AutonomousContainerDatabaseBackup.
The type of backup.
- Allowed values for this property are: "INCREMENTAL", "FULL", "VIRTUAL_FULL"
+ Allowed values for this property are: "INCREMENTAL", "FULL", "VIRTUAL_FULL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:return: The type of this AutonomousContainerDatabaseBackup.
@@ -353,9 +371,7 @@ def type(self, type):
"""
allowed_values = ["INCREMENTAL", "FULL", "VIRTUAL_FULL"]
if not value_allowed_none_or_none_sentinel(type, allowed_values):
- raise ValueError(
- f"Invalid value for `type`, must be None or one of {allowed_values}"
- )
+ type = 'UNKNOWN_ENUM_VALUE'
self._type = type
@property
@@ -460,7 +476,8 @@ def lifecycle_state(self):
**[Required]** Gets the lifecycle_state of this AutonomousContainerDatabaseBackup.
The current state of the backup.
- Allowed values for this property are: "CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"
+ Allowed values for this property are: "CREATING", "ACTIVE", "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 AutonomousContainerDatabaseBackup.
@@ -480,9 +497,7 @@ def lifecycle_state(self, lifecycle_state):
"""
allowed_values = ["CREATING", "ACTIVE", "DELETING", "DELETED", "FAILED"]
if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
- raise ValueError(
- f"Invalid value for `lifecycle_state`, must be None or one of {allowed_values}"
- )
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
@property
@@ -539,7 +554,8 @@ def infrastructure_type(self):
Gets the infrastructure_type of this AutonomousContainerDatabaseBackup.
The infrastructure type this resource belongs to.
- Allowed values for this property are: "CLOUD", "CLOUD_AT_CUSTOMER"
+ Allowed values for this property are: "CLOUD", "CLOUD_AT_CUSTOMER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:return: The infrastructure_type of this AutonomousContainerDatabaseBackup.
@@ -559,9 +575,7 @@ def infrastructure_type(self, infrastructure_type):
"""
allowed_values = ["CLOUD", "CLOUD_AT_CUSTOMER"]
if not value_allowed_none_or_none_sentinel(infrastructure_type, allowed_values):
- raise ValueError(
- f"Invalid value for `infrastructure_type`, must be None or one of {allowed_values}"
- )
+ infrastructure_type = 'UNKNOWN_ENUM_VALUE'
self._infrastructure_type = infrastructure_type
@property
@@ -682,6 +696,60 @@ def autonomous_databases(self, autonomous_databases):
"""
self._autonomous_databases = autonomous_databases
+ @property
+ def db_version(self):
+ """
+ Gets the db_version of this AutonomousContainerDatabaseBackup.
+ A valid Oracle AI Database version for Autonomous AI Database.
+ When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ For new databases, it is recommended to use either 19c or 26ai.
+
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+
+
+ :return: The db_version of this AutonomousContainerDatabaseBackup.
+ :rtype: str
+ """
+ return self._db_version
+
+ @db_version.setter
+ def db_version(self, db_version):
+ """
+ Sets the db_version of this AutonomousContainerDatabaseBackup.
+ A valid Oracle AI Database version for Autonomous AI Database.
+ When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ For new databases, it is recommended to use either 19c or 26ai.
+
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+
+
+ :param db_version: The db_version of this AutonomousContainerDatabaseBackup.
+ :type: str
+ """
+ self._db_version = db_version
+
+ @property
+ def backup_destination_details(self):
+ """
+ Gets the backup_destination_details of this AutonomousContainerDatabaseBackup.
+
+ :return: The backup_destination_details of this AutonomousContainerDatabaseBackup.
+ :rtype: oci.database.models.BackupDestinationDetails
+ """
+ return self._backup_destination_details
+
+ @backup_destination_details.setter
+ def backup_destination_details(self, backup_destination_details):
+ """
+ Sets the backup_destination_details of this AutonomousContainerDatabaseBackup.
+
+ :param backup_destination_details: The backup_destination_details of this AutonomousContainerDatabaseBackup.
+ :type: oci.database.models.BackupDestinationDetails
+ """
+ self._backup_destination_details = backup_destination_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/autonomous_container_database_backup_summary.py b/src/oci/database/models/autonomous_container_database_backup_summary.py
index 05676ccc2d..486768fb4b 100644
--- a/src/oci/database/models/autonomous_container_database_backup_summary.py
+++ b/src/oci/database/models/autonomous_container_database_backup_summary.py
@@ -143,6 +143,14 @@ def __init__(self, **kwargs):
The value to assign to the autonomous_databases property of this AutonomousContainerDatabaseBackupSummary.
:type autonomous_databases: list[oci.database.models.AutonomousDatabaseInBackup]
+ :param db_version:
+ The value to assign to the db_version property of this AutonomousContainerDatabaseBackupSummary.
+ :type db_version: str
+
+ :param backup_destination_details:
+ The value to assign to the backup_destination_details property of this AutonomousContainerDatabaseBackupSummary.
+ :type backup_destination_details: oci.database.models.BackupDestinationDetails
+
"""
self.swagger_types = {
'id': 'str',
@@ -162,7 +170,9 @@ def __init__(self, **kwargs):
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
- 'autonomous_databases': 'list[AutonomousDatabaseInBackup]'
+ 'autonomous_databases': 'list[AutonomousDatabaseInBackup]',
+ 'db_version': 'str',
+ 'backup_destination_details': 'BackupDestinationDetails'
}
self.attribute_map = {
'id': 'id',
@@ -182,7 +192,9 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
- 'autonomous_databases': 'autonomousDatabases'
+ 'autonomous_databases': 'autonomousDatabases',
+ 'db_version': 'dbVersion',
+ 'backup_destination_details': 'backupDestinationDetails'
}
self._id = None
self._compartment_id = None
@@ -202,6 +214,8 @@ def __init__(self, **kwargs):
self._defined_tags = None
self._system_tags = None
self._autonomous_databases = None
+ self._db_version = None
+ self._backup_destination_details = None
@property
def id(self):
@@ -687,6 +701,60 @@ def autonomous_databases(self, autonomous_databases):
"""
self._autonomous_databases = autonomous_databases
+ @property
+ def db_version(self):
+ """
+ Gets the db_version of this AutonomousContainerDatabaseBackupSummary.
+ A valid Oracle AI Database version for Autonomous AI Database.
+ When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ For new databases, it is recommended to use either 19c or 26ai.
+
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+
+
+ :return: The db_version of this AutonomousContainerDatabaseBackupSummary.
+ :rtype: str
+ """
+ return self._db_version
+
+ @db_version.setter
+ def db_version(self, db_version):
+ """
+ Sets the db_version of this AutonomousContainerDatabaseBackupSummary.
+ A valid Oracle AI Database version for Autonomous AI Database.
+ When you specify 23ai for dbversion, the system will provision a 23ai database, but the UI will display it as 26ai.
+ When you specify 26ai for dbversion, the system will provision and display a 26ai database as expected.
+ For new databases, it is recommended to use either 19c or 26ai.
+
+ **Note** Starting December 2026, 23ai will not be supported as a valid value for this parameter.
+
+
+ :param db_version: The db_version of this AutonomousContainerDatabaseBackupSummary.
+ :type: str
+ """
+ self._db_version = db_version
+
+ @property
+ def backup_destination_details(self):
+ """
+ Gets the backup_destination_details of this AutonomousContainerDatabaseBackupSummary.
+
+ :return: The backup_destination_details of this AutonomousContainerDatabaseBackupSummary.
+ :rtype: oci.database.models.BackupDestinationDetails
+ """
+ return self._backup_destination_details
+
+ @backup_destination_details.setter
+ def backup_destination_details(self, backup_destination_details):
+ """
+ Sets the backup_destination_details of this AutonomousContainerDatabaseBackupSummary.
+
+ :param backup_destination_details: The backup_destination_details of this AutonomousContainerDatabaseBackupSummary.
+ :type: oci.database.models.BackupDestinationDetails
+ """
+ self._backup_destination_details = backup_destination_details
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/autonomous_database.py b/src/oci/database/models/autonomous_database.py
index 5431e3500b..3a0090b622 100644
--- a/src/oci/database/models/autonomous_database.py
+++ b/src/oci/database/models/autonomous_database.py
@@ -328,6 +328,10 @@ def __init__(self, **kwargs):
Initializes a new AutonomousDatabase object with values from keyword arguments.
The following keyword arguments are supported (corresponding to the getters/setters of this class):
+ :param external_location_zone:
+ The value to assign to the external_location_zone property of this AutonomousDatabase.
+ :type external_location_zone: str
+
:param id:
The value to assign to the id property of this AutonomousDatabase.
:type id: str
@@ -886,6 +890,10 @@ def __init__(self, **kwargs):
The value to assign to the remote_disaster_recovery_configuration property of this AutonomousDatabase.
:type remote_disaster_recovery_configuration: oci.database.models.DisasterRecoveryConfiguration
+ :param access_types:
+ The value to assign to the access_types property of this AutonomousDatabase.
+ :type access_types: list[str]
+
:param net_services_architecture:
The value to assign to the net_services_architecture property of this AutonomousDatabase.
Allowed values for this property are: "DEDICATED", "SHARED", "DRCP", 'UNKNOWN_ENUM_VALUE'.
@@ -900,6 +908,22 @@ def __init__(self, **kwargs):
The value to assign to the cluster_placement_group_id property of this AutonomousDatabase.
:type cluster_placement_group_id: str
+ :param ad_scheduled_for_update:
+ The value to assign to the ad_scheduled_for_update property of this AutonomousDatabase.
+ :type ad_scheduled_for_update: str
+
+ :param time_earliest_available_ad_update:
+ The value to assign to the time_earliest_available_ad_update property of this AutonomousDatabase.
+ :type time_earliest_available_ad_update: datetime
+
+ :param time_latest_available_ad_update:
+ The value to assign to the time_latest_available_ad_update property of this AutonomousDatabase.
+ :type time_latest_available_ad_update: datetime
+
+ :param time_scheduled_ad_update:
+ The value to assign to the time_scheduled_ad_update property of this AutonomousDatabase.
+ :type time_scheduled_ad_update: datetime
+
:param clone_table_space_list:
The value to assign to the clone_table_space_list property of this AutonomousDatabase.
:type clone_table_space_list: list[int]
@@ -920,6 +944,7 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
+ 'external_location_zone': 'str',
'id': 'str',
'compartment_id': 'str',
'subscription_id': 'str',
@@ -1051,15 +1076,21 @@ def __init__(self, **kwargs):
'disaster_recovery_region_type': 'str',
'time_disaster_recovery_role_changed': 'datetime',
'remote_disaster_recovery_configuration': 'DisasterRecoveryConfiguration',
+ 'access_types': 'list[str]',
'net_services_architecture': 'str',
'availability_domain': 'str',
'cluster_placement_group_id': 'str',
+ 'ad_scheduled_for_update': 'str',
+ 'time_earliest_available_ad_update': 'datetime',
+ 'time_latest_available_ad_update': 'datetime',
+ 'time_scheduled_ad_update': 'datetime',
'clone_table_space_list': 'list[int]',
'clone_type': 'str',
'additional_attributes': 'dict(str, str)',
'local_adg_resource_pool_leader_id': 'str'
}
self.attribute_map = {
+ 'external_location_zone': 'externalLocationZone',
'id': 'id',
'compartment_id': 'compartmentId',
'subscription_id': 'subscriptionId',
@@ -1191,14 +1222,20 @@ def __init__(self, **kwargs):
'disaster_recovery_region_type': 'disasterRecoveryRegionType',
'time_disaster_recovery_role_changed': 'timeDisasterRecoveryRoleChanged',
'remote_disaster_recovery_configuration': 'remoteDisasterRecoveryConfiguration',
+ 'access_types': 'accessTypes',
'net_services_architecture': 'netServicesArchitecture',
'availability_domain': 'availabilityDomain',
'cluster_placement_group_id': 'clusterPlacementGroupId',
+ 'ad_scheduled_for_update': 'adScheduledForUpdate',
+ 'time_earliest_available_ad_update': 'timeEarliestAvailableAdUpdate',
+ 'time_latest_available_ad_update': 'timeLatestAvailableAdUpdate',
+ 'time_scheduled_ad_update': 'timeScheduledAdUpdate',
'clone_table_space_list': 'cloneTableSpaceList',
'clone_type': 'cloneType',
'additional_attributes': 'additionalAttributes',
'local_adg_resource_pool_leader_id': 'localAdgResourcePoolLeaderId'
}
+ self._external_location_zone = None
self._id = None
self._compartment_id = None
self._subscription_id = None
@@ -1330,14 +1367,43 @@ def __init__(self, **kwargs):
self._disaster_recovery_region_type = None
self._time_disaster_recovery_role_changed = None
self._remote_disaster_recovery_configuration = None
+ self._access_types = None
self._net_services_architecture = None
self._availability_domain = None
self._cluster_placement_group_id = None
+ self._ad_scheduled_for_update = None
+ self._time_earliest_available_ad_update = None
+ self._time_latest_available_ad_update = None
+ self._time_scheduled_ad_update = None
self._clone_table_space_list = None
self._clone_type = None
self._additional_attributes = None
self._local_adg_resource_pool_leader_id = None
+ @property
+ def external_location_zone(self):
+ """
+ Gets the external_location_zone of this AutonomousDatabase.
+ The external logical zone where the Autonomous AI Database Serverless instance is located (Intended for multicloud use).
+
+
+ :return: The external_location_zone of this AutonomousDatabase.
+ :rtype: str
+ """
+ return self._external_location_zone
+
+ @external_location_zone.setter
+ def external_location_zone(self, external_location_zone):
+ """
+ Sets the external_location_zone of this AutonomousDatabase.
+ The external logical zone where the Autonomous AI Database Serverless instance is located (Intended for multicloud use).
+
+
+ :param external_location_zone: The external_location_zone of this AutonomousDatabase.
+ :type: str
+ """
+ self._external_location_zone = external_location_zone
+
@property
def id(self):
"""
@@ -4878,6 +4944,30 @@ def remote_disaster_recovery_configuration(self, remote_disaster_recovery_config
"""
self._remote_disaster_recovery_configuration = remote_disaster_recovery_configuration
+ @property
+ def access_types(self):
+ """
+ Gets the access_types of this AutonomousDatabase.
+ List of access types for an Autonomous AI Database.
+
+
+ :return: The access_types of this AutonomousDatabase.
+ :rtype: list[str]
+ """
+ return self._access_types
+
+ @access_types.setter
+ def access_types(self, access_types):
+ """
+ Sets the access_types of this AutonomousDatabase.
+ List of access types for an Autonomous AI Database.
+
+
+ :param access_types: The access_types of this AutonomousDatabase.
+ :type: list[str]
+ """
+ self._access_types = access_types
+
@property
def net_services_architecture(self):
"""
@@ -4960,6 +5050,102 @@ def cluster_placement_group_id(self, cluster_placement_group_id):
"""
self._cluster_placement_group_id = cluster_placement_group_id
+ @property
+ def ad_scheduled_for_update(self):
+ """
+ Gets the ad_scheduled_for_update of this AutonomousDatabase.
+ The Availability Domain which is planned for Scheduled Update
+
+
+ :return: The ad_scheduled_for_update of this AutonomousDatabase.
+ :rtype: str
+ """
+ return self._ad_scheduled_for_update
+
+ @ad_scheduled_for_update.setter
+ def ad_scheduled_for_update(self, ad_scheduled_for_update):
+ """
+ Sets the ad_scheduled_for_update of this AutonomousDatabase.
+ The Availability Domain which is planned for Scheduled Update
+
+
+ :param ad_scheduled_for_update: The ad_scheduled_for_update of this AutonomousDatabase.
+ :type: str
+ """
+ self._ad_scheduled_for_update = ad_scheduled_for_update
+
+ @property
+ def time_earliest_available_ad_update(self):
+ """
+ Gets the time_earliest_available_ad_update of this AutonomousDatabase.
+ The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :return: The time_earliest_available_ad_update of this AutonomousDatabase.
+ :rtype: datetime
+ """
+ return self._time_earliest_available_ad_update
+
+ @time_earliest_available_ad_update.setter
+ def time_earliest_available_ad_update(self, time_earliest_available_ad_update):
+ """
+ Sets the time_earliest_available_ad_update of this AutonomousDatabase.
+ The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :param time_earliest_available_ad_update: The time_earliest_available_ad_update of this AutonomousDatabase.
+ :type: datetime
+ """
+ self._time_earliest_available_ad_update = time_earliest_available_ad_update
+
+ @property
+ def time_latest_available_ad_update(self):
+ """
+ Gets the time_latest_available_ad_update of this AutonomousDatabase.
+ The latest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :return: The time_latest_available_ad_update of this AutonomousDatabase.
+ :rtype: datetime
+ """
+ return self._time_latest_available_ad_update
+
+ @time_latest_available_ad_update.setter
+ def time_latest_available_ad_update(self, time_latest_available_ad_update):
+ """
+ Sets the time_latest_available_ad_update of this AutonomousDatabase.
+ The latest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :param time_latest_available_ad_update: The time_latest_available_ad_update of this AutonomousDatabase.
+ :type: datetime
+ """
+ self._time_latest_available_ad_update = time_latest_available_ad_update
+
+ @property
+ def time_scheduled_ad_update(self):
+ """
+ Gets the time_scheduled_ad_update of this AutonomousDatabase.
+ The date and time to which the Autonomous Database availability domain update is scheduled.
+
+
+ :return: The time_scheduled_ad_update of this AutonomousDatabase.
+ :rtype: datetime
+ """
+ return self._time_scheduled_ad_update
+
+ @time_scheduled_ad_update.setter
+ def time_scheduled_ad_update(self, time_scheduled_ad_update):
+ """
+ Sets the time_scheduled_ad_update of this AutonomousDatabase.
+ The date and time to which the Autonomous Database availability domain update is scheduled.
+
+
+ :param time_scheduled_ad_update: The time_scheduled_ad_update of this AutonomousDatabase.
+ :type: datetime
+ """
+ self._time_scheduled_ad_update = time_scheduled_ad_update
+
@property
def clone_table_space_list(self):
"""
diff --git a/src/oci/database/models/autonomous_database_in_backup.py b/src/oci/database/models/autonomous_database_in_backup.py
index 6225dc3be0..b18972827b 100644
--- a/src/oci/database/models/autonomous_database_in_backup.py
+++ b/src/oci/database/models/autonomous_database_in_backup.py
@@ -15,6 +15,94 @@ class AutonomousDatabaseInBackup(object):
Details of Autonomous AI Database in Autonomous Container Database
"""
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "PROVISIONING"
+ LIFECYCLE_STATE_PROVISIONING = "PROVISIONING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "AVAILABLE"
+ LIFECYCLE_STATE_AVAILABLE = "AVAILABLE"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "STOPPING"
+ LIFECYCLE_STATE_STOPPING = "STOPPING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "STOPPED"
+ LIFECYCLE_STATE_STOPPED = "STOPPED"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "STARTING"
+ LIFECYCLE_STATE_STARTING = "STARTING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "TERMINATING"
+ LIFECYCLE_STATE_TERMINATING = "TERMINATING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "TERMINATED"
+ LIFECYCLE_STATE_TERMINATED = "TERMINATED"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "UNAVAILABLE"
+ LIFECYCLE_STATE_UNAVAILABLE = "UNAVAILABLE"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "RESTORE_IN_PROGRESS"
+ LIFECYCLE_STATE_RESTORE_IN_PROGRESS = "RESTORE_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "RESTORE_FAILED"
+ LIFECYCLE_STATE_RESTORE_FAILED = "RESTORE_FAILED"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "BACKUP_IN_PROGRESS"
+ LIFECYCLE_STATE_BACKUP_IN_PROGRESS = "BACKUP_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "SCALE_IN_PROGRESS"
+ LIFECYCLE_STATE_SCALE_IN_PROGRESS = "SCALE_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "AVAILABLE_NEEDS_ATTENTION"
+ LIFECYCLE_STATE_AVAILABLE_NEEDS_ATTENTION = "AVAILABLE_NEEDS_ATTENTION"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "MAINTENANCE_IN_PROGRESS"
+ LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = "MAINTENANCE_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "RESTARTING"
+ LIFECYCLE_STATE_RESTARTING = "RESTARTING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "RECREATING"
+ LIFECYCLE_STATE_RECREATING = "RECREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "ROLE_CHANGE_IN_PROGRESS"
+ LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS = "ROLE_CHANGE_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "UPGRADING"
+ LIFECYCLE_STATE_UPGRADING = "UPGRADING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "INACCESSIBLE"
+ LIFECYCLE_STATE_INACCESSIBLE = "INACCESSIBLE"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "STANDBY"
+ LIFECYCLE_STATE_STANDBY = "STANDBY"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackup.
+ #: This constant has a value of "TRANSPORTING"
+ LIFECYCLE_STATE_TRANSPORTING = "TRANSPORTING"
+
def __init__(self, **kwargs):
"""
Initializes a new AutonomousDatabaseInBackup object with values from keyword arguments.
@@ -28,17 +116,26 @@ def __init__(self, **kwargs):
The value to assign to the display_name property of this AutonomousDatabaseInBackup.
:type display_name: str
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this AutonomousDatabaseInBackup.
+ Allowed values for this property are: "PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING", "INACCESSIBLE", "STANDBY", "TRANSPORTING", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
"""
self.swagger_types = {
'compartment_id': 'str',
- 'display_name': 'str'
+ 'display_name': 'str',
+ 'lifecycle_state': 'str'
}
self.attribute_map = {
'compartment_id': 'compartmentId',
- 'display_name': 'displayName'
+ 'display_name': 'displayName',
+ 'lifecycle_state': 'lifecycleState'
}
self._compartment_id = None
self._display_name = None
+ self._lifecycle_state = None
@property
def compartment_id(self):
@@ -92,6 +189,36 @@ def display_name(self, display_name):
"""
self._display_name = display_name
+ @property
+ def lifecycle_state(self):
+ """
+ Gets the lifecycle_state of this AutonomousDatabaseInBackup.
+ The current state of the Autonomous AI Database.
+
+ Allowed values for this property are: "PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING", "INACCESSIBLE", "STANDBY", "TRANSPORTING", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this AutonomousDatabaseInBackup.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this AutonomousDatabaseInBackup.
+ The current state of the Autonomous AI Database.
+
+
+ :param lifecycle_state: The lifecycle_state of this AutonomousDatabaseInBackup.
+ :type: str
+ """
+ allowed_values = ["PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING", "INACCESSIBLE", "STANDBY", "TRANSPORTING"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/autonomous_database_in_backup_collection.py b/src/oci/database/models/autonomous_database_in_backup_collection.py
new file mode 100644
index 0000000000..cf34a6e450
--- /dev/null
+++ b/src/oci/database/models/autonomous_database_in_backup_collection.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 AutonomousDatabaseInBackupCollection(object):
+ """
+ The collection of Autonomous Database details that are part of Autonomous Container Database Backup associated.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AutonomousDatabaseInBackupCollection 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 AutonomousDatabaseInBackupCollection.
+ :type items: list[oci.database.models.AutonomousDatabaseInBackupSummary]
+
+ """
+ self.swagger_types = {
+ 'items': 'list[AutonomousDatabaseInBackupSummary]'
+ }
+ self.attribute_map = {
+ 'items': 'items'
+ }
+ self._items = None
+
+ @property
+ def items(self):
+ """
+ **[Required]** Gets the items of this AutonomousDatabaseInBackupCollection.
+ The list of Autonomous Databases that are part of the Autonomous Container Database Backup.
+
+
+ :return: The items of this AutonomousDatabaseInBackupCollection.
+ :rtype: list[oci.database.models.AutonomousDatabaseInBackupSummary]
+ """
+ return self._items
+
+ @items.setter
+ def items(self, items):
+ """
+ Sets the items of this AutonomousDatabaseInBackupCollection.
+ The list of Autonomous Databases that are part of the Autonomous Container Database Backup.
+
+
+ :param items: The items of this AutonomousDatabaseInBackupCollection.
+ :type: list[oci.database.models.AutonomousDatabaseInBackupSummary]
+ """
+ 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/database/models/autonomous_database_in_backup_summary.py b/src/oci/database/models/autonomous_database_in_backup_summary.py
new file mode 100644
index 0000000000..bcd9e9f3f2
--- /dev/null
+++ b/src/oci/database/models/autonomous_database_in_backup_summary.py
@@ -0,0 +1,232 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 AutonomousDatabaseInBackupSummary(object):
+ """
+ The summary of the autonomous database that are in the Autonomous Container Database Backup associated.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "PROVISIONING"
+ LIFECYCLE_STATE_PROVISIONING = "PROVISIONING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "AVAILABLE"
+ LIFECYCLE_STATE_AVAILABLE = "AVAILABLE"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "STOPPING"
+ LIFECYCLE_STATE_STOPPING = "STOPPING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "STOPPED"
+ LIFECYCLE_STATE_STOPPED = "STOPPED"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "STARTING"
+ LIFECYCLE_STATE_STARTING = "STARTING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "TERMINATING"
+ LIFECYCLE_STATE_TERMINATING = "TERMINATING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "TERMINATED"
+ LIFECYCLE_STATE_TERMINATED = "TERMINATED"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "UNAVAILABLE"
+ LIFECYCLE_STATE_UNAVAILABLE = "UNAVAILABLE"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "RESTORE_IN_PROGRESS"
+ LIFECYCLE_STATE_RESTORE_IN_PROGRESS = "RESTORE_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "RESTORE_FAILED"
+ LIFECYCLE_STATE_RESTORE_FAILED = "RESTORE_FAILED"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "BACKUP_IN_PROGRESS"
+ LIFECYCLE_STATE_BACKUP_IN_PROGRESS = "BACKUP_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "SCALE_IN_PROGRESS"
+ LIFECYCLE_STATE_SCALE_IN_PROGRESS = "SCALE_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "AVAILABLE_NEEDS_ATTENTION"
+ LIFECYCLE_STATE_AVAILABLE_NEEDS_ATTENTION = "AVAILABLE_NEEDS_ATTENTION"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "MAINTENANCE_IN_PROGRESS"
+ LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = "MAINTENANCE_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "RESTARTING"
+ LIFECYCLE_STATE_RESTARTING = "RESTARTING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "RECREATING"
+ LIFECYCLE_STATE_RECREATING = "RECREATING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "ROLE_CHANGE_IN_PROGRESS"
+ LIFECYCLE_STATE_ROLE_CHANGE_IN_PROGRESS = "ROLE_CHANGE_IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "UPGRADING"
+ LIFECYCLE_STATE_UPGRADING = "UPGRADING"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "INACCESSIBLE"
+ LIFECYCLE_STATE_INACCESSIBLE = "INACCESSIBLE"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "STANDBY"
+ LIFECYCLE_STATE_STANDBY = "STANDBY"
+
+ #: A constant which can be used with the lifecycle_state property of a AutonomousDatabaseInBackupSummary.
+ #: This constant has a value of "TRANSPORTING"
+ LIFECYCLE_STATE_TRANSPORTING = "TRANSPORTING"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new AutonomousDatabaseInBackupSummary 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 AutonomousDatabaseInBackupSummary.
+ :type compartment_id: str
+
+ :param display_name:
+ The value to assign to the display_name property of this AutonomousDatabaseInBackupSummary.
+ :type display_name: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this AutonomousDatabaseInBackupSummary.
+ Allowed values for this property are: "PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING", "INACCESSIBLE", "STANDBY", "TRANSPORTING", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'display_name': 'str',
+ 'lifecycle_state': 'str'
+ }
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'display_name': 'displayName',
+ 'lifecycle_state': 'lifecycleState'
+ }
+ self._compartment_id = None
+ self._display_name = None
+ self._lifecycle_state = None
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this AutonomousDatabaseInBackupSummary.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this AutonomousDatabaseInBackupSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this AutonomousDatabaseInBackupSummary.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this AutonomousDatabaseInBackupSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def display_name(self):
+ """
+ **[Required]** Gets the display_name of this AutonomousDatabaseInBackupSummary.
+ The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
+
+
+ :return: The display_name of this AutonomousDatabaseInBackupSummary.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this AutonomousDatabaseInBackupSummary.
+ The user-friendly name for the Autonomous AI Database. The name does not have to be unique.
+
+
+ :param display_name: The display_name of this AutonomousDatabaseInBackupSummary.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def lifecycle_state(self):
+ """
+ Gets the lifecycle_state of this AutonomousDatabaseInBackupSummary.
+ The current state of the Autonomous AI Database.
+
+ Allowed values for this property are: "PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING", "INACCESSIBLE", "STANDBY", "TRANSPORTING", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this AutonomousDatabaseInBackupSummary.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this AutonomousDatabaseInBackupSummary.
+ The current state of the Autonomous AI Database.
+
+
+ :param lifecycle_state: The lifecycle_state of this AutonomousDatabaseInBackupSummary.
+ :type: str
+ """
+ allowed_values = ["PROVISIONING", "AVAILABLE", "STOPPING", "STOPPED", "STARTING", "TERMINATING", "TERMINATED", "UNAVAILABLE", "RESTORE_IN_PROGRESS", "RESTORE_FAILED", "BACKUP_IN_PROGRESS", "SCALE_IN_PROGRESS", "AVAILABLE_NEEDS_ATTENTION", "UPDATING", "MAINTENANCE_IN_PROGRESS", "RESTARTING", "RECREATING", "ROLE_CHANGE_IN_PROGRESS", "UPGRADING", "INACCESSIBLE", "STANDBY", "TRANSPORTING"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ 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/database/models/autonomous_database_standby_summary.py b/src/oci/database/models/autonomous_database_standby_summary.py
index fa17bcc8b2..6114ed1a82 100644
--- a/src/oci/database/models/autonomous_database_standby_summary.py
+++ b/src/oci/database/models/autonomous_database_standby_summary.py
@@ -146,6 +146,10 @@ def __init__(self, **kwargs):
The value to assign to the availability_domain property of this AutonomousDatabaseStandbySummary.
:type availability_domain: str
+ :param external_location_zone:
+ The value to assign to the external_location_zone property of this AutonomousDatabaseStandbySummary.
+ :type external_location_zone: str
+
"""
self.swagger_types = {
'lag_time_in_seconds': 'int',
@@ -156,7 +160,8 @@ def __init__(self, **kwargs):
'time_maintenance_begin': 'datetime',
'time_maintenance_end': 'datetime',
'maintenance_target_component': 'str',
- 'availability_domain': 'str'
+ 'availability_domain': 'str',
+ 'external_location_zone': 'str'
}
self.attribute_map = {
'lag_time_in_seconds': 'lagTimeInSeconds',
@@ -167,7 +172,8 @@ def __init__(self, **kwargs):
'time_maintenance_begin': 'timeMaintenanceBegin',
'time_maintenance_end': 'timeMaintenanceEnd',
'maintenance_target_component': 'maintenanceTargetComponent',
- 'availability_domain': 'availabilityDomain'
+ 'availability_domain': 'availabilityDomain',
+ 'external_location_zone': 'externalLocationZone'
}
self._lag_time_in_seconds = None
self._lifecycle_state = None
@@ -178,6 +184,7 @@ def __init__(self, **kwargs):
self._time_maintenance_end = None
self._maintenance_target_component = None
self._availability_domain = None
+ self._external_location_zone = None
@property
def lag_time_in_seconds(self):
@@ -401,6 +408,30 @@ def availability_domain(self, availability_domain):
"""
self._availability_domain = availability_domain
+ @property
+ def external_location_zone(self):
+ """
+ Gets the external_location_zone of this AutonomousDatabaseStandbySummary.
+ The external logical zone where the local Autonomous Data Guard is located (Intended for multicloud use).
+
+
+ :return: The external_location_zone of this AutonomousDatabaseStandbySummary.
+ :rtype: str
+ """
+ return self._external_location_zone
+
+ @external_location_zone.setter
+ def external_location_zone(self, external_location_zone):
+ """
+ Sets the external_location_zone of this AutonomousDatabaseStandbySummary.
+ The external logical zone where the local Autonomous Data Guard is located (Intended for multicloud use).
+
+
+ :param external_location_zone: The external_location_zone of this AutonomousDatabaseStandbySummary.
+ :type: str
+ """
+ self._external_location_zone = external_location_zone
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/autonomous_database_summary.py b/src/oci/database/models/autonomous_database_summary.py
index bc2635ee9e..8aeb6236bb 100644
--- a/src/oci/database/models/autonomous_database_summary.py
+++ b/src/oci/database/models/autonomous_database_summary.py
@@ -888,6 +888,10 @@ def __init__(self, **kwargs):
The value to assign to the remote_disaster_recovery_configuration property of this AutonomousDatabaseSummary.
:type remote_disaster_recovery_configuration: oci.database.models.DisasterRecoveryConfiguration
+ :param access_types:
+ The value to assign to the access_types property of this AutonomousDatabaseSummary.
+ :type access_types: list[str]
+
:param net_services_architecture:
The value to assign to the net_services_architecture property of this AutonomousDatabaseSummary.
Allowed values for this property are: "DEDICATED", "SHARED", "DRCP", 'UNKNOWN_ENUM_VALUE'.
@@ -902,6 +906,22 @@ def __init__(self, **kwargs):
The value to assign to the cluster_placement_group_id property of this AutonomousDatabaseSummary.
:type cluster_placement_group_id: str
+ :param ad_scheduled_for_update:
+ The value to assign to the ad_scheduled_for_update property of this AutonomousDatabaseSummary.
+ :type ad_scheduled_for_update: str
+
+ :param time_earliest_available_ad_update:
+ The value to assign to the time_earliest_available_ad_update property of this AutonomousDatabaseSummary.
+ :type time_earliest_available_ad_update: datetime
+
+ :param time_latest_available_ad_update:
+ The value to assign to the time_latest_available_ad_update property of this AutonomousDatabaseSummary.
+ :type time_latest_available_ad_update: datetime
+
+ :param time_scheduled_ad_update:
+ The value to assign to the time_scheduled_ad_update property of this AutonomousDatabaseSummary.
+ :type time_scheduled_ad_update: datetime
+
:param clone_table_space_list:
The value to assign to the clone_table_space_list property of this AutonomousDatabaseSummary.
:type clone_table_space_list: list[int]
@@ -1053,9 +1073,14 @@ def __init__(self, **kwargs):
'disaster_recovery_region_type': 'str',
'time_disaster_recovery_role_changed': 'datetime',
'remote_disaster_recovery_configuration': 'DisasterRecoveryConfiguration',
+ 'access_types': 'list[str]',
'net_services_architecture': 'str',
'availability_domain': 'str',
'cluster_placement_group_id': 'str',
+ 'ad_scheduled_for_update': 'str',
+ 'time_earliest_available_ad_update': 'datetime',
+ 'time_latest_available_ad_update': 'datetime',
+ 'time_scheduled_ad_update': 'datetime',
'clone_table_space_list': 'list[int]',
'clone_type': 'str',
'additional_attributes': 'dict(str, str)',
@@ -1193,9 +1218,14 @@ def __init__(self, **kwargs):
'disaster_recovery_region_type': 'disasterRecoveryRegionType',
'time_disaster_recovery_role_changed': 'timeDisasterRecoveryRoleChanged',
'remote_disaster_recovery_configuration': 'remoteDisasterRecoveryConfiguration',
+ 'access_types': 'accessTypes',
'net_services_architecture': 'netServicesArchitecture',
'availability_domain': 'availabilityDomain',
'cluster_placement_group_id': 'clusterPlacementGroupId',
+ 'ad_scheduled_for_update': 'adScheduledForUpdate',
+ 'time_earliest_available_ad_update': 'timeEarliestAvailableAdUpdate',
+ 'time_latest_available_ad_update': 'timeLatestAvailableAdUpdate',
+ 'time_scheduled_ad_update': 'timeScheduledAdUpdate',
'clone_table_space_list': 'cloneTableSpaceList',
'clone_type': 'cloneType',
'additional_attributes': 'additionalAttributes',
@@ -1332,9 +1362,14 @@ def __init__(self, **kwargs):
self._disaster_recovery_region_type = None
self._time_disaster_recovery_role_changed = None
self._remote_disaster_recovery_configuration = None
+ self._access_types = None
self._net_services_architecture = None
self._availability_domain = None
self._cluster_placement_group_id = None
+ self._ad_scheduled_for_update = None
+ self._time_earliest_available_ad_update = None
+ self._time_latest_available_ad_update = None
+ self._time_scheduled_ad_update = None
self._clone_table_space_list = None
self._clone_type = None
self._additional_attributes = None
@@ -4880,6 +4915,30 @@ def remote_disaster_recovery_configuration(self, remote_disaster_recovery_config
"""
self._remote_disaster_recovery_configuration = remote_disaster_recovery_configuration
+ @property
+ def access_types(self):
+ """
+ Gets the access_types of this AutonomousDatabaseSummary.
+ List of access types for an Autonomous AI Database.
+
+
+ :return: The access_types of this AutonomousDatabaseSummary.
+ :rtype: list[str]
+ """
+ return self._access_types
+
+ @access_types.setter
+ def access_types(self, access_types):
+ """
+ Sets the access_types of this AutonomousDatabaseSummary.
+ List of access types for an Autonomous AI Database.
+
+
+ :param access_types: The access_types of this AutonomousDatabaseSummary.
+ :type: list[str]
+ """
+ self._access_types = access_types
+
@property
def net_services_architecture(self):
"""
@@ -4962,6 +5021,102 @@ def cluster_placement_group_id(self, cluster_placement_group_id):
"""
self._cluster_placement_group_id = cluster_placement_group_id
+ @property
+ def ad_scheduled_for_update(self):
+ """
+ Gets the ad_scheduled_for_update of this AutonomousDatabaseSummary.
+ The Availability Domain which is planned for Scheduled Update
+
+
+ :return: The ad_scheduled_for_update of this AutonomousDatabaseSummary.
+ :rtype: str
+ """
+ return self._ad_scheduled_for_update
+
+ @ad_scheduled_for_update.setter
+ def ad_scheduled_for_update(self, ad_scheduled_for_update):
+ """
+ Sets the ad_scheduled_for_update of this AutonomousDatabaseSummary.
+ The Availability Domain which is planned for Scheduled Update
+
+
+ :param ad_scheduled_for_update: The ad_scheduled_for_update of this AutonomousDatabaseSummary.
+ :type: str
+ """
+ self._ad_scheduled_for_update = ad_scheduled_for_update
+
+ @property
+ def time_earliest_available_ad_update(self):
+ """
+ Gets the time_earliest_available_ad_update of this AutonomousDatabaseSummary.
+ The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :return: The time_earliest_available_ad_update of this AutonomousDatabaseSummary.
+ :rtype: datetime
+ """
+ return self._time_earliest_available_ad_update
+
+ @time_earliest_available_ad_update.setter
+ def time_earliest_available_ad_update(self, time_earliest_available_ad_update):
+ """
+ Sets the time_earliest_available_ad_update of this AutonomousDatabaseSummary.
+ The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :param time_earliest_available_ad_update: The time_earliest_available_ad_update of this AutonomousDatabaseSummary.
+ :type: datetime
+ """
+ self._time_earliest_available_ad_update = time_earliest_available_ad_update
+
+ @property
+ def time_latest_available_ad_update(self):
+ """
+ Gets the time_latest_available_ad_update of this AutonomousDatabaseSummary.
+ The latest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :return: The time_latest_available_ad_update of this AutonomousDatabaseSummary.
+ :rtype: datetime
+ """
+ return self._time_latest_available_ad_update
+
+ @time_latest_available_ad_update.setter
+ def time_latest_available_ad_update(self, time_latest_available_ad_update):
+ """
+ Sets the time_latest_available_ad_update of this AutonomousDatabaseSummary.
+ The latest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :param time_latest_available_ad_update: The time_latest_available_ad_update of this AutonomousDatabaseSummary.
+ :type: datetime
+ """
+ self._time_latest_available_ad_update = time_latest_available_ad_update
+
+ @property
+ def time_scheduled_ad_update(self):
+ """
+ Gets the time_scheduled_ad_update of this AutonomousDatabaseSummary.
+ The date and time to which the Autonomous Database availability domain update is scheduled.
+
+
+ :return: The time_scheduled_ad_update of this AutonomousDatabaseSummary.
+ :rtype: datetime
+ """
+ return self._time_scheduled_ad_update
+
+ @time_scheduled_ad_update.setter
+ def time_scheduled_ad_update(self, time_scheduled_ad_update):
+ """
+ Sets the time_scheduled_ad_update of this AutonomousDatabaseSummary.
+ The date and time to which the Autonomous Database availability domain update is scheduled.
+
+
+ :param time_scheduled_ad_update: The time_scheduled_ad_update of this AutonomousDatabaseSummary.
+ :type: datetime
+ """
+ self._time_scheduled_ad_update = time_scheduled_ad_update
+
@property
def clone_table_space_list(self):
"""
diff --git a/src/oci/database/models/autonomous_dw_database.py b/src/oci/database/models/autonomous_dw_database.py
index 4ed88e9ed7..e1a13f5ebf 100644
--- a/src/oci/database/models/autonomous_dw_database.py
+++ b/src/oci/database/models/autonomous_dw_database.py
@@ -869,6 +869,10 @@ def __init__(self, **kwargs):
The value to assign to the remote_disaster_recovery_configuration property of this AutonomousDwDatabase.
:type remote_disaster_recovery_configuration: oci.database.models.DisasterRecoveryConfiguration
+ :param access_types:
+ The value to assign to the access_types property of this AutonomousDwDatabase.
+ :type access_types: list[str]
+
:param net_services_architecture:
The value to assign to the net_services_architecture property of this AutonomousDwDatabase.
Allowed values for this property are: "DEDICATED", "SHARED", "DRCP"
@@ -882,6 +886,22 @@ def __init__(self, **kwargs):
The value to assign to the cluster_placement_group_id property of this AutonomousDwDatabase.
:type cluster_placement_group_id: str
+ :param ad_scheduled_for_update:
+ The value to assign to the ad_scheduled_for_update property of this AutonomousDwDatabase.
+ :type ad_scheduled_for_update: str
+
+ :param time_earliest_available_ad_update:
+ The value to assign to the time_earliest_available_ad_update property of this AutonomousDwDatabase.
+ :type time_earliest_available_ad_update: datetime
+
+ :param time_latest_available_ad_update:
+ The value to assign to the time_latest_available_ad_update property of this AutonomousDwDatabase.
+ :type time_latest_available_ad_update: datetime
+
+ :param time_scheduled_ad_update:
+ The value to assign to the time_scheduled_ad_update property of this AutonomousDwDatabase.
+ :type time_scheduled_ad_update: datetime
+
:param clone_table_space_list:
The value to assign to the clone_table_space_list property of this AutonomousDwDatabase.
:type clone_table_space_list: list[int]
@@ -1032,9 +1052,14 @@ def __init__(self, **kwargs):
'disaster_recovery_region_type': 'str',
'time_disaster_recovery_role_changed': 'datetime',
'remote_disaster_recovery_configuration': 'DisasterRecoveryConfiguration',
+ 'access_types': 'list[str]',
'net_services_architecture': 'str',
'availability_domain': 'str',
'cluster_placement_group_id': 'str',
+ 'ad_scheduled_for_update': 'str',
+ 'time_earliest_available_ad_update': 'datetime',
+ 'time_latest_available_ad_update': 'datetime',
+ 'time_scheduled_ad_update': 'datetime',
'clone_table_space_list': 'list[int]',
'clone_type': 'str',
'additional_attributes': 'dict(str, str)',
@@ -1172,9 +1197,14 @@ def __init__(self, **kwargs):
'disaster_recovery_region_type': 'disasterRecoveryRegionType',
'time_disaster_recovery_role_changed': 'timeDisasterRecoveryRoleChanged',
'remote_disaster_recovery_configuration': 'remoteDisasterRecoveryConfiguration',
+ 'access_types': 'accessTypes',
'net_services_architecture': 'netServicesArchitecture',
'availability_domain': 'availabilityDomain',
'cluster_placement_group_id': 'clusterPlacementGroupId',
+ 'ad_scheduled_for_update': 'adScheduledForUpdate',
+ 'time_earliest_available_ad_update': 'timeEarliestAvailableAdUpdate',
+ 'time_latest_available_ad_update': 'timeLatestAvailableAdUpdate',
+ 'time_scheduled_ad_update': 'timeScheduledAdUpdate',
'clone_table_space_list': 'cloneTableSpaceList',
'clone_type': 'cloneType',
'additional_attributes': 'additionalAttributes',
@@ -1311,9 +1341,14 @@ def __init__(self, **kwargs):
self._disaster_recovery_region_type = None
self._time_disaster_recovery_role_changed = None
self._remote_disaster_recovery_configuration = None
+ self._access_types = None
self._net_services_architecture = None
self._availability_domain = None
self._cluster_placement_group_id = None
+ self._ad_scheduled_for_update = None
+ self._time_earliest_available_ad_update = None
+ self._time_latest_available_ad_update = None
+ self._time_scheduled_ad_update = None
self._clone_table_space_list = None
self._clone_type = None
self._additional_attributes = None
@@ -4876,6 +4911,30 @@ def remote_disaster_recovery_configuration(self, remote_disaster_recovery_config
"""
self._remote_disaster_recovery_configuration = remote_disaster_recovery_configuration
+ @property
+ def access_types(self):
+ """
+ Gets the access_types of this AutonomousDwDatabase.
+ List of access types for an Autonomous AI Database.
+
+
+ :return: The access_types of this AutonomousDwDatabase.
+ :rtype: list[str]
+ """
+ return self._access_types
+
+ @access_types.setter
+ def access_types(self, access_types):
+ """
+ Sets the access_types of this AutonomousDwDatabase.
+ List of access types for an Autonomous AI Database.
+
+
+ :param access_types: The access_types of this AutonomousDwDatabase.
+ :type: list[str]
+ """
+ self._access_types = access_types
+
@property
def net_services_architecture(self):
"""
@@ -4959,6 +5018,102 @@ def cluster_placement_group_id(self, cluster_placement_group_id):
"""
self._cluster_placement_group_id = cluster_placement_group_id
+ @property
+ def ad_scheduled_for_update(self):
+ """
+ Gets the ad_scheduled_for_update of this AutonomousDwDatabase.
+ The Availability Domain which is planned for Scheduled Update
+
+
+ :return: The ad_scheduled_for_update of this AutonomousDwDatabase.
+ :rtype: str
+ """
+ return self._ad_scheduled_for_update
+
+ @ad_scheduled_for_update.setter
+ def ad_scheduled_for_update(self, ad_scheduled_for_update):
+ """
+ Sets the ad_scheduled_for_update of this AutonomousDwDatabase.
+ The Availability Domain which is planned for Scheduled Update
+
+
+ :param ad_scheduled_for_update: The ad_scheduled_for_update of this AutonomousDwDatabase.
+ :type: str
+ """
+ self._ad_scheduled_for_update = ad_scheduled_for_update
+
+ @property
+ def time_earliest_available_ad_update(self):
+ """
+ Gets the time_earliest_available_ad_update of this AutonomousDwDatabase.
+ The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :return: The time_earliest_available_ad_update of this AutonomousDwDatabase.
+ :rtype: datetime
+ """
+ return self._time_earliest_available_ad_update
+
+ @time_earliest_available_ad_update.setter
+ def time_earliest_available_ad_update(self, time_earliest_available_ad_update):
+ """
+ Sets the time_earliest_available_ad_update of this AutonomousDwDatabase.
+ The earliest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :param time_earliest_available_ad_update: The time_earliest_available_ad_update of this AutonomousDwDatabase.
+ :type: datetime
+ """
+ self._time_earliest_available_ad_update = time_earliest_available_ad_update
+
+ @property
+ def time_latest_available_ad_update(self):
+ """
+ Gets the time_latest_available_ad_update of this AutonomousDwDatabase.
+ The latest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :return: The time_latest_available_ad_update of this AutonomousDwDatabase.
+ :rtype: datetime
+ """
+ return self._time_latest_available_ad_update
+
+ @time_latest_available_ad_update.setter
+ def time_latest_available_ad_update(self, time_latest_available_ad_update):
+ """
+ Sets the time_latest_available_ad_update of this AutonomousDwDatabase.
+ The latest date and time to which you can schedule an Autonomous Database availability domain update.
+
+
+ :param time_latest_available_ad_update: The time_latest_available_ad_update of this AutonomousDwDatabase.
+ :type: datetime
+ """
+ self._time_latest_available_ad_update = time_latest_available_ad_update
+
+ @property
+ def time_scheduled_ad_update(self):
+ """
+ Gets the time_scheduled_ad_update of this AutonomousDwDatabase.
+ The date and time to which the Autonomous Database availability domain update is scheduled.
+
+
+ :return: The time_scheduled_ad_update of this AutonomousDwDatabase.
+ :rtype: datetime
+ """
+ return self._time_scheduled_ad_update
+
+ @time_scheduled_ad_update.setter
+ def time_scheduled_ad_update(self, time_scheduled_ad_update):
+ """
+ Sets the time_scheduled_ad_update of this AutonomousDwDatabase.
+ The date and time to which the Autonomous Database availability domain update is scheduled.
+
+
+ :param time_scheduled_ad_update: The time_scheduled_ad_update of this AutonomousDwDatabase.
+ :type: datetime
+ """
+ self._time_scheduled_ad_update = time_scheduled_ad_update
+
@property
def clone_table_space_list(self):
"""
diff --git a/src/oci/database/models/backup.py b/src/oci/database/models/backup.py
index 1b174ecea0..1890e6489f 100644
--- a/src/oci/database/models/backup.py
+++ b/src/oci/database/models/backup.py
@@ -95,6 +95,14 @@ class Backup(object):
#: This constant has a value of "AWS_S3"
BACKUP_DESTINATION_TYPE_AWS_S3 = "AWS_S3"
+ #: A constant which can be used with the backup_destination_type property of a Backup.
+ #: This constant has a value of "NFS"
+ BACKUP_DESTINATION_TYPE_NFS = "NFS"
+
+ #: A constant which can be used with the backup_destination_type property of a Backup.
+ #: This constant has a value of "RECOVERY_APPLIANCE"
+ BACKUP_DESTINATION_TYPE_RECOVERY_APPLIANCE = "RECOVERY_APPLIANCE"
+
def __init__(self, **kwargs):
"""
Initializes a new Backup object with values from keyword arguments.
@@ -204,7 +212,7 @@ def __init__(self, **kwargs):
:param backup_destination_type:
The value to assign to the backup_destination_type property of this Backup.
- Allowed values for this property are: "OBJECT_STORE", "DBRS", "AWS_S3", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "OBJECT_STORE", "DBRS", "AWS_S3", "NFS", "RECOVERY_APPLIANCE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type backup_destination_type: str
@@ -920,7 +928,7 @@ def backup_destination_type(self):
Gets the backup_destination_type of this Backup.
Type of the backup destination.
- Allowed values for this property are: "OBJECT_STORE", "DBRS", "AWS_S3", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "OBJECT_STORE", "DBRS", "AWS_S3", "NFS", "RECOVERY_APPLIANCE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -939,7 +947,7 @@ def backup_destination_type(self, backup_destination_type):
:param backup_destination_type: The backup_destination_type of this Backup.
:type: str
"""
- allowed_values = ["OBJECT_STORE", "DBRS", "AWS_S3"]
+ allowed_values = ["OBJECT_STORE", "DBRS", "AWS_S3", "NFS", "RECOVERY_APPLIANCE"]
if not value_allowed_none_or_none_sentinel(backup_destination_type, allowed_values):
backup_destination_type = 'UNKNOWN_ENUM_VALUE'
self._backup_destination_type = backup_destination_type
diff --git a/src/oci/database/models/backup_destination_configuration_summary.py b/src/oci/database/models/backup_destination_configuration_summary.py
index aee8a04827..b594a8ed07 100644
--- a/src/oci/database/models/backup_destination_configuration_summary.py
+++ b/src/oci/database/models/backup_destination_configuration_summary.py
@@ -116,6 +116,10 @@ def __init__(self, **kwargs):
The value to assign to the remote_region property of this BackupDestinationConfigurationSummary.
:type remote_region: str
+ :param tde_wallet_backup_destination:
+ The value to assign to the tde_wallet_backup_destination property of this BackupDestinationConfigurationSummary.
+ :type tde_wallet_backup_destination: oci.database.models.TdeWalletBackupDestination
+
"""
self.swagger_types = {
'recovery_window_in_days': 'int',
@@ -132,7 +136,8 @@ def __init__(self, **kwargs):
'is_retention_lock_enabled': 'bool',
'backup_retention_policy_on_terminate': 'str',
'is_remote': 'bool',
- 'remote_region': 'str'
+ 'remote_region': 'str',
+ 'tde_wallet_backup_destination': 'TdeWalletBackupDestination'
}
self.attribute_map = {
'recovery_window_in_days': 'recoveryWindowInDays',
@@ -149,7 +154,8 @@ def __init__(self, **kwargs):
'is_retention_lock_enabled': 'isRetentionLockEnabled',
'backup_retention_policy_on_terminate': 'backupRetentionPolicyOnTerminate',
'is_remote': 'isRemote',
- 'remote_region': 'remoteRegion'
+ 'remote_region': 'remoteRegion',
+ 'tde_wallet_backup_destination': 'tdeWalletBackupDestination'
}
self._recovery_window_in_days = None
self._backup_destination_attach_history = None
@@ -166,6 +172,7 @@ def __init__(self, **kwargs):
self._backup_retention_policy_on_terminate = None
self._is_remote = None
self._remote_region = None
+ self._tde_wallet_backup_destination = None
@property
def recovery_window_in_days(self):
@@ -565,6 +572,26 @@ def remote_region(self, remote_region):
"""
self._remote_region = remote_region
+ @property
+ def tde_wallet_backup_destination(self):
+ """
+ Gets the tde_wallet_backup_destination of this BackupDestinationConfigurationSummary.
+
+ :return: The tde_wallet_backup_destination of this BackupDestinationConfigurationSummary.
+ :rtype: oci.database.models.TdeWalletBackupDestination
+ """
+ return self._tde_wallet_backup_destination
+
+ @tde_wallet_backup_destination.setter
+ def tde_wallet_backup_destination(self, tde_wallet_backup_destination):
+ """
+ Sets the tde_wallet_backup_destination of this BackupDestinationConfigurationSummary.
+
+ :param tde_wallet_backup_destination: The tde_wallet_backup_destination of this BackupDestinationConfigurationSummary.
+ :type: oci.database.models.TdeWalletBackupDestination
+ """
+ self._tde_wallet_backup_destination = tde_wallet_backup_destination
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/backup_destination_details.py b/src/oci/database/models/backup_destination_details.py
index 1c618ea55c..5c8151e131 100644
--- a/src/oci/database/models/backup_destination_details.py
+++ b/src/oci/database/models/backup_destination_details.py
@@ -100,6 +100,10 @@ def __init__(self, **kwargs):
The value to assign to the remote_region property of this BackupDestinationDetails.
:type remote_region: str
+ :param tde_wallet_backup_destination:
+ The value to assign to the tde_wallet_backup_destination property of this BackupDestinationDetails.
+ :type tde_wallet_backup_destination: oci.database.models.TdeWalletBackupDestination
+
"""
self.swagger_types = {
'type': 'str',
@@ -112,7 +116,8 @@ def __init__(self, **kwargs):
'is_retention_lock_enabled': 'bool',
'backup_retention_policy_on_terminate': 'str',
'is_remote': 'bool',
- 'remote_region': 'str'
+ 'remote_region': 'str',
+ 'tde_wallet_backup_destination': 'TdeWalletBackupDestination'
}
self.attribute_map = {
'type': 'type',
@@ -125,7 +130,8 @@ def __init__(self, **kwargs):
'is_retention_lock_enabled': 'isRetentionLockEnabled',
'backup_retention_policy_on_terminate': 'backupRetentionPolicyOnTerminate',
'is_remote': 'isRemote',
- 'remote_region': 'remoteRegion'
+ 'remote_region': 'remoteRegion',
+ 'tde_wallet_backup_destination': 'tdeWalletBackupDestination'
}
self._type = None
self._id = None
@@ -138,6 +144,7 @@ def __init__(self, **kwargs):
self._backup_retention_policy_on_terminate = None
self._is_remote = None
self._remote_region = None
+ self._tde_wallet_backup_destination = None
@property
def type(self):
@@ -441,6 +448,26 @@ def remote_region(self, remote_region):
"""
self._remote_region = remote_region
+ @property
+ def tde_wallet_backup_destination(self):
+ """
+ Gets the tde_wallet_backup_destination of this BackupDestinationDetails.
+
+ :return: The tde_wallet_backup_destination of this BackupDestinationDetails.
+ :rtype: oci.database.models.TdeWalletBackupDestination
+ """
+ return self._tde_wallet_backup_destination
+
+ @tde_wallet_backup_destination.setter
+ def tde_wallet_backup_destination(self, tde_wallet_backup_destination):
+ """
+ Sets the tde_wallet_backup_destination of this BackupDestinationDetails.
+
+ :param tde_wallet_backup_destination: The tde_wallet_backup_destination of this BackupDestinationDetails.
+ :type: oci.database.models.TdeWalletBackupDestination
+ """
+ self._tde_wallet_backup_destination = tde_wallet_backup_destination
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/backup_destination_details_summary.py b/src/oci/database/models/backup_destination_details_summary.py
index 468844d389..3dc20e04ec 100644
--- a/src/oci/database/models/backup_destination_details_summary.py
+++ b/src/oci/database/models/backup_destination_details_summary.py
@@ -112,6 +112,10 @@ def __init__(self, **kwargs):
The value to assign to the remote_region property of this BackupDestinationDetailsSummary.
:type remote_region: str
+ :param tde_wallet_backup_destination:
+ The value to assign to the tde_wallet_backup_destination property of this BackupDestinationDetailsSummary.
+ :type tde_wallet_backup_destination: oci.database.models.TdeWalletBackupDestination
+
"""
self.swagger_types = {
'backup_destination_attach_history': 'list[datetime]',
@@ -127,7 +131,8 @@ def __init__(self, **kwargs):
'is_retention_lock_enabled': 'bool',
'backup_retention_policy_on_terminate': 'str',
'is_remote': 'bool',
- 'remote_region': 'str'
+ 'remote_region': 'str',
+ 'tde_wallet_backup_destination': 'TdeWalletBackupDestination'
}
self.attribute_map = {
'backup_destination_attach_history': 'backupDestinationAttachHistory',
@@ -143,7 +148,8 @@ def __init__(self, **kwargs):
'is_retention_lock_enabled': 'isRetentionLockEnabled',
'backup_retention_policy_on_terminate': 'backupRetentionPolicyOnTerminate',
'is_remote': 'isRemote',
- 'remote_region': 'remoteRegion'
+ 'remote_region': 'remoteRegion',
+ 'tde_wallet_backup_destination': 'tdeWalletBackupDestination'
}
self._backup_destination_attach_history = None
self._space_utilized_in_gbs = None
@@ -159,6 +165,7 @@ def __init__(self, **kwargs):
self._backup_retention_policy_on_terminate = None
self._is_remote = None
self._remote_region = None
+ self._tde_wallet_backup_destination = None
@property
def backup_destination_attach_history(self):
@@ -534,6 +541,26 @@ def remote_region(self, remote_region):
"""
self._remote_region = remote_region
+ @property
+ def tde_wallet_backup_destination(self):
+ """
+ Gets the tde_wallet_backup_destination of this BackupDestinationDetailsSummary.
+
+ :return: The tde_wallet_backup_destination of this BackupDestinationDetailsSummary.
+ :rtype: oci.database.models.TdeWalletBackupDestination
+ """
+ return self._tde_wallet_backup_destination
+
+ @tde_wallet_backup_destination.setter
+ def tde_wallet_backup_destination(self, tde_wallet_backup_destination):
+ """
+ Sets the tde_wallet_backup_destination of this BackupDestinationDetailsSummary.
+
+ :param tde_wallet_backup_destination: The tde_wallet_backup_destination of this BackupDestinationDetailsSummary.
+ :type: oci.database.models.TdeWalletBackupDestination
+ """
+ self._tde_wallet_backup_destination = tde_wallet_backup_destination
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/backup_summary.py b/src/oci/database/models/backup_summary.py
index 0978d8c0c7..fe60f01504 100644
--- a/src/oci/database/models/backup_summary.py
+++ b/src/oci/database/models/backup_summary.py
@@ -100,6 +100,14 @@ class BackupSummary(object):
#: This constant has a value of "AWS_S3"
BACKUP_DESTINATION_TYPE_AWS_S3 = "AWS_S3"
+ #: A constant which can be used with the backup_destination_type property of a BackupSummary.
+ #: This constant has a value of "NFS"
+ BACKUP_DESTINATION_TYPE_NFS = "NFS"
+
+ #: A constant which can be used with the backup_destination_type property of a BackupSummary.
+ #: This constant has a value of "RECOVERY_APPLIANCE"
+ BACKUP_DESTINATION_TYPE_RECOVERY_APPLIANCE = "RECOVERY_APPLIANCE"
+
def __init__(self, **kwargs):
"""
Initializes a new BackupSummary object with values from keyword arguments.
@@ -209,7 +217,7 @@ def __init__(self, **kwargs):
:param backup_destination_type:
The value to assign to the backup_destination_type property of this BackupSummary.
- Allowed values for this property are: "OBJECT_STORE", "DBRS", "AWS_S3", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "OBJECT_STORE", "DBRS", "AWS_S3", "NFS", "RECOVERY_APPLIANCE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type backup_destination_type: str
@@ -925,7 +933,7 @@ def backup_destination_type(self):
Gets the backup_destination_type of this BackupSummary.
Type of the backup destination.
- Allowed values for this property are: "OBJECT_STORE", "DBRS", "AWS_S3", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "OBJECT_STORE", "DBRS", "AWS_S3", "NFS", "RECOVERY_APPLIANCE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -944,7 +952,7 @@ def backup_destination_type(self, backup_destination_type):
:param backup_destination_type: The backup_destination_type of this BackupSummary.
:type: str
"""
- allowed_values = ["OBJECT_STORE", "DBRS", "AWS_S3"]
+ allowed_values = ["OBJECT_STORE", "DBRS", "AWS_S3", "NFS", "RECOVERY_APPLIANCE"]
if not value_allowed_none_or_none_sentinel(backup_destination_type, allowed_values):
backup_destination_type = 'UNKNOWN_ENUM_VALUE'
self._backup_destination_type = backup_destination_type
diff --git a/src/oci/database/models/basecc_vm_cluster.py b/src/oci/database/models/basecc_vm_cluster.py
new file mode 100644
index 0000000000..3aebe3325f
--- /dev/null
+++ b/src/oci/database/models/basecc_vm_cluster.py
@@ -0,0 +1,1229 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 BaseccVmCluster(object):
+ """
+ Details of the BaseDB-C@C VM cluster resource. Applies to Base Database Service on Cloud@Customer instances only.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmCluster.
+ #: This constant has a value of "PROVISIONING"
+ LIFECYCLE_STATE_PROVISIONING = "PROVISIONING"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmCluster.
+ #: This constant has a value of "AVAILABLE"
+ LIFECYCLE_STATE_AVAILABLE = "AVAILABLE"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmCluster.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmCluster.
+ #: This constant has a value of "TERMINATING"
+ LIFECYCLE_STATE_TERMINATING = "TERMINATING"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmCluster.
+ #: This constant has a value of "TERMINATED"
+ LIFECYCLE_STATE_TERMINATED = "TERMINATED"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmCluster.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmCluster.
+ #: This constant has a value of "MAINTENANCE_IN_PROGRESS"
+ LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = "MAINTENANCE_IN_PROGRESS"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmCluster.
+ #: This constant has a value of "STANDARD_EDITION"
+ DATABASE_EDITION_STANDARD_EDITION = "STANDARD_EDITION"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmCluster.
+ #: This constant has a value of "ENTERPRISE_EDITION"
+ DATABASE_EDITION_ENTERPRISE_EDITION = "ENTERPRISE_EDITION"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmCluster.
+ #: This constant has a value of "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
+ DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCE = "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmCluster.
+ #: This constant has a value of "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
+ DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCE = "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmCluster.
+ #: This constant has a value of "ENTERPRISE_EDITION_DEVELOPER"
+ DATABASE_EDITION_ENTERPRISE_EDITION_DEVELOPER = "ENTERPRISE_EDITION_DEVELOPER"
+
+ #: A constant which can be used with the license_model property of a BaseccVmCluster.
+ #: This constant has a value of "LICENSE_INCLUDED"
+ LICENSE_MODEL_LICENSE_INCLUDED = "LICENSE_INCLUDED"
+
+ #: A constant which can be used with the license_model property of a BaseccVmCluster.
+ #: This constant has a value of "BRING_YOUR_OWN_LICENSE"
+ LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
+
+ #: A constant which can be used with the vm_cluster_type property of a BaseccVmCluster.
+ #: This constant has a value of "REGULAR"
+ VM_CLUSTER_TYPE_REGULAR = "REGULAR"
+
+ #: A constant which can be used with the vm_cluster_type property of a BaseccVmCluster.
+ #: This constant has a value of "DEVELOPER"
+ VM_CLUSTER_TYPE_DEVELOPER = "DEVELOPER"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new BaseccVmCluster 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 BaseccVmCluster.
+ :type id: str
+
+ :param last_patch_history_entry_id:
+ The value to assign to the last_patch_history_entry_id property of this BaseccVmCluster.
+ :type last_patch_history_entry_id: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this BaseccVmCluster.
+ Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param time_created:
+ The value to assign to the time_created property of this BaseccVmCluster.
+ :type time_created: datetime
+
+ :param time_updated:
+ The value to assign to the time_updated property of this BaseccVmCluster.
+ :type time_updated: datetime
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this BaseccVmCluster.
+ :type lifecycle_details: str
+
+ :param availability_domain:
+ The value to assign to the availability_domain property of this BaseccVmCluster.
+ :type availability_domain: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this BaseccVmCluster.
+ :type compartment_id: str
+
+ :param database_edition:
+ The value to assign to the database_edition property of this BaseccVmCluster.
+ Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type database_edition: str
+
+ :param node_count:
+ The value to assign to the node_count property of this BaseccVmCluster.
+ :type node_count: int
+
+ :param db_servers:
+ The value to assign to the db_servers property of this BaseccVmCluster.
+ :type db_servers: list[str]
+
+ :param cpus_enabled:
+ The value to assign to the cpus_enabled property of this BaseccVmCluster.
+ :type cpus_enabled: int
+
+ :param base_infrastructure_id:
+ The value to assign to the base_infrastructure_id property of this BaseccVmCluster.
+ :type base_infrastructure_id: str
+
+ :param base_vm_cluster_network_id:
+ The value to assign to the base_vm_cluster_network_id property of this BaseccVmCluster.
+ :type base_vm_cluster_network_id: str
+
+ :param gi_version:
+ The value to assign to the gi_version property of this BaseccVmCluster.
+ :type gi_version: str
+
+ :param data_collection_options:
+ The value to assign to the data_collection_options property of this BaseccVmCluster.
+ :type data_collection_options: oci.database.models.DataCollectionOptions
+
+ :param description:
+ The value to assign to the description property of this BaseccVmCluster.
+ :type description: str
+
+ :param display_name:
+ The value to assign to the display_name property of this BaseccVmCluster.
+ :type display_name: str
+
+ :param ssh_public_keys:
+ The value to assign to the ssh_public_keys property of this BaseccVmCluster.
+ :type ssh_public_keys: list[str]
+
+ :param time_zone:
+ The value to assign to the time_zone property of this BaseccVmCluster.
+ :type time_zone: str
+
+ :param cluster_name:
+ The value to assign to the cluster_name property of this BaseccVmCluster.
+ :type cluster_name: str
+
+ :param boot_storage_size_in_gbs:
+ The value to assign to the boot_storage_size_in_gbs property of this BaseccVmCluster.
+ :type boot_storage_size_in_gbs: int
+
+ :param additional_vm_storage_size_in_gbs:
+ The value to assign to the additional_vm_storage_size_in_gbs property of this BaseccVmCluster.
+ :type additional_vm_storage_size_in_gbs: int
+
+ :param total_storage_size_in_gbs:
+ The value to assign to the total_storage_size_in_gbs property of this BaseccVmCluster.
+ :type total_storage_size_in_gbs: int
+
+ :param data_storage_size_in_gbs:
+ The value to assign to the data_storage_size_in_gbs property of this BaseccVmCluster.
+ :type data_storage_size_in_gbs: int
+
+ :param reco_storage_size_in_gbs:
+ The value to assign to the reco_storage_size_in_gbs property of this BaseccVmCluster.
+ :type reco_storage_size_in_gbs: int
+
+ :param memory_size_in_gbs:
+ The value to assign to the memory_size_in_gbs property of this BaseccVmCluster.
+ :type memory_size_in_gbs: int
+
+ :param license_model:
+ The value to assign to the license_model property of this BaseccVmCluster.
+ Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type license_model: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this BaseccVmCluster.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this BaseccVmCluster.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this BaseccVmCluster.
+ :type system_tags: dict(str, dict(str, object))
+
+ :param system_version:
+ The value to assign to the system_version property of this BaseccVmCluster.
+ :type system_version: str
+
+ :param vm_cluster_type:
+ The value to assign to the vm_cluster_type property of this BaseccVmCluster.
+ Allowed values for this property are: "REGULAR", "DEVELOPER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type vm_cluster_type: str
+
+ :param cloud_automation_update_details:
+ The value to assign to the cloud_automation_update_details property of this BaseccVmCluster.
+ :type cloud_automation_update_details: oci.database.models.CloudAutomationUpdateDetails
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'last_patch_history_entry_id': 'str',
+ 'lifecycle_state': 'str',
+ 'time_created': 'datetime',
+ 'time_updated': 'datetime',
+ 'lifecycle_details': 'str',
+ 'availability_domain': 'str',
+ 'compartment_id': 'str',
+ 'database_edition': 'str',
+ 'node_count': 'int',
+ 'db_servers': 'list[str]',
+ 'cpus_enabled': 'int',
+ 'base_infrastructure_id': 'str',
+ 'base_vm_cluster_network_id': 'str',
+ 'gi_version': 'str',
+ 'data_collection_options': 'DataCollectionOptions',
+ 'description': 'str',
+ 'display_name': 'str',
+ 'ssh_public_keys': 'list[str]',
+ 'time_zone': 'str',
+ 'cluster_name': 'str',
+ 'boot_storage_size_in_gbs': 'int',
+ 'additional_vm_storage_size_in_gbs': 'int',
+ 'total_storage_size_in_gbs': 'int',
+ 'data_storage_size_in_gbs': 'int',
+ 'reco_storage_size_in_gbs': 'int',
+ 'memory_size_in_gbs': 'int',
+ 'license_model': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'system_version': 'str',
+ 'vm_cluster_type': 'str',
+ 'cloud_automation_update_details': 'CloudAutomationUpdateDetails'
+ }
+ self.attribute_map = {
+ 'id': 'id',
+ 'last_patch_history_entry_id': 'lastPatchHistoryEntryId',
+ 'lifecycle_state': 'lifecycleState',
+ 'time_created': 'timeCreated',
+ 'time_updated': 'timeUpdated',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'availability_domain': 'availabilityDomain',
+ 'compartment_id': 'compartmentId',
+ 'database_edition': 'databaseEdition',
+ 'node_count': 'nodeCount',
+ 'db_servers': 'dbServers',
+ 'cpus_enabled': 'cpusEnabled',
+ 'base_infrastructure_id': 'baseInfrastructureId',
+ 'base_vm_cluster_network_id': 'baseVmClusterNetworkId',
+ 'gi_version': 'giVersion',
+ 'data_collection_options': 'dataCollectionOptions',
+ 'description': 'description',
+ 'display_name': 'displayName',
+ 'ssh_public_keys': 'sshPublicKeys',
+ 'time_zone': 'timeZone',
+ 'cluster_name': 'clusterName',
+ 'boot_storage_size_in_gbs': 'bootStorageSizeInGBs',
+ 'additional_vm_storage_size_in_gbs': 'additionalVmStorageSizeInGBs',
+ 'total_storage_size_in_gbs': 'totalStorageSizeInGBs',
+ 'data_storage_size_in_gbs': 'dataStorageSizeInGBs',
+ 'reco_storage_size_in_gbs': 'recoStorageSizeInGBs',
+ 'memory_size_in_gbs': 'memorySizeInGBs',
+ 'license_model': 'licenseModel',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
+ 'system_version': 'systemVersion',
+ 'vm_cluster_type': 'vmClusterType',
+ 'cloud_automation_update_details': 'cloudAutomationUpdateDetails'
+ }
+ self._id = None
+ self._last_patch_history_entry_id = None
+ self._lifecycle_state = None
+ self._time_created = None
+ self._time_updated = None
+ self._lifecycle_details = None
+ self._availability_domain = None
+ self._compartment_id = None
+ self._database_edition = None
+ self._node_count = None
+ self._db_servers = None
+ self._cpus_enabled = None
+ self._base_infrastructure_id = None
+ self._base_vm_cluster_network_id = None
+ self._gi_version = None
+ self._data_collection_options = None
+ self._description = None
+ self._display_name = None
+ self._ssh_public_keys = None
+ self._time_zone = None
+ self._cluster_name = None
+ self._boot_storage_size_in_gbs = None
+ self._additional_vm_storage_size_in_gbs = None
+ self._total_storage_size_in_gbs = None
+ self._data_storage_size_in_gbs = None
+ self._reco_storage_size_in_gbs = None
+ self._memory_size_in_gbs = None
+ self._license_model = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+ self._system_version = None
+ self._vm_cluster_type = None
+ self._cloud_automation_update_details = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this BaseccVmCluster.
+ The `OCID`__ of the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this BaseccVmCluster.
+ The `OCID`__ of the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this BaseccVmCluster.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def last_patch_history_entry_id(self):
+ """
+ Gets the last_patch_history_entry_id of this BaseccVmCluster.
+ The `OCID`__ of the last patch history. This value is updated as soon as a patch operation starts.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The last_patch_history_entry_id of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._last_patch_history_entry_id
+
+ @last_patch_history_entry_id.setter
+ def last_patch_history_entry_id(self, last_patch_history_entry_id):
+ """
+ Sets the last_patch_history_entry_id of this BaseccVmCluster.
+ The `OCID`__ of the last patch history. This value is updated as soon as a patch operation starts.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param last_patch_history_entry_id: The last_patch_history_entry_id of this BaseccVmCluster.
+ :type: str
+ """
+ self._last_patch_history_entry_id = last_patch_history_entry_id
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this BaseccVmCluster.
+ The current state of the VM Cluster.
+
+ Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this BaseccVmCluster.
+ The current state of the VM Cluster.
+
+
+ :param lifecycle_state: The lifecycle_state of this BaseccVmCluster.
+ :type: str
+ """
+ allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this BaseccVmCluster.
+ The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was created.
+
+
+ :return: The time_created of this BaseccVmCluster.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this BaseccVmCluster.
+ The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was created.
+
+
+ :param time_created: The time_created of this BaseccVmCluster.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def time_updated(self):
+ """
+ Gets the time_updated of this BaseccVmCluster.
+ The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was updated.
+
+
+ :return: The time_updated of this BaseccVmCluster.
+ :rtype: datetime
+ """
+ return self._time_updated
+
+ @time_updated.setter
+ def time_updated(self, time_updated):
+ """
+ Sets the time_updated of this BaseccVmCluster.
+ The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was updated.
+
+
+ :param time_updated: The time_updated of this BaseccVmCluster.
+ :type: datetime
+ """
+ self._time_updated = time_updated
+
+ @property
+ def lifecycle_details(self):
+ """
+ Gets the lifecycle_details of this BaseccVmCluster.
+ Additional information about the current lifecycle state of the the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The lifecycle_details of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this BaseccVmCluster.
+ Additional information about the current lifecycle state of the the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param lifecycle_details: The lifecycle_details of this BaseccVmCluster.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def availability_domain(self):
+ """
+ **[Required]** Gets the availability_domain of this BaseccVmCluster.
+ The name of the availability domain in which the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster is located.
+
+
+ :return: The availability_domain of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._availability_domain
+
+ @availability_domain.setter
+ def availability_domain(self, availability_domain):
+ """
+ Sets the availability_domain of this BaseccVmCluster.
+ The name of the availability domain in which the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster is located.
+
+
+ :param availability_domain: The availability_domain of this BaseccVmCluster.
+ :type: str
+ """
+ self._availability_domain = availability_domain
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this BaseccVmCluster.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this BaseccVmCluster.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this BaseccVmCluster.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def database_edition(self):
+ """
+ Gets the database_edition of this BaseccVmCluster.
+ The Oracle Database Edition that applies to all the databases on the DB system.
+ Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
+
+ Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The database_edition of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._database_edition
+
+ @database_edition.setter
+ def database_edition(self, database_edition):
+ """
+ Sets the database_edition of this BaseccVmCluster.
+ The Oracle Database Edition that applies to all the databases on the DB system.
+ Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
+
+
+ :param database_edition: The database_edition of this BaseccVmCluster.
+ :type: str
+ """
+ allowed_values = ["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER"]
+ if not value_allowed_none_or_none_sentinel(database_edition, allowed_values):
+ database_edition = 'UNKNOWN_ENUM_VALUE'
+ self._database_edition = database_edition
+
+ @property
+ def node_count(self):
+ """
+ Gets the node_count of this BaseccVmCluster.
+ The number of nodes in the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The node_count of this BaseccVmCluster.
+ :rtype: int
+ """
+ return self._node_count
+
+ @node_count.setter
+ def node_count(self, node_count):
+ """
+ Sets the node_count of this BaseccVmCluster.
+ The number of nodes in the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param node_count: The node_count of this BaseccVmCluster.
+ :type: int
+ """
+ self._node_count = node_count
+
+ @property
+ def db_servers(self):
+ """
+ Gets the db_servers of this BaseccVmCluster.
+ List of Base server OCIDs.
+
+
+ :return: The db_servers of this BaseccVmCluster.
+ :rtype: list[str]
+ """
+ return self._db_servers
+
+ @db_servers.setter
+ def db_servers(self, db_servers):
+ """
+ Sets the db_servers of this BaseccVmCluster.
+ List of Base server OCIDs.
+
+
+ :param db_servers: The db_servers of this BaseccVmCluster.
+ :type: list[str]
+ """
+ self._db_servers = db_servers
+
+ @property
+ def cpus_enabled(self):
+ """
+ **[Required]** Gets the cpus_enabled of this BaseccVmCluster.
+ Total CPU cores for the BaseDB C@C VM cluster.
+
+
+ :return: The cpus_enabled of this BaseccVmCluster.
+ :rtype: int
+ """
+ return self._cpus_enabled
+
+ @cpus_enabled.setter
+ def cpus_enabled(self, cpus_enabled):
+ """
+ Sets the cpus_enabled of this BaseccVmCluster.
+ Total CPU cores for the BaseDB C@C VM cluster.
+
+
+ :param cpus_enabled: The cpus_enabled of this BaseccVmCluster.
+ :type: int
+ """
+ self._cpus_enabled = cpus_enabled
+
+ @property
+ def base_infrastructure_id(self):
+ """
+ **[Required]** Gets the base_infrastructure_id of this BaseccVmCluster.
+ The `OCID`__ of Oracle Data Cloud@Customer Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The base_infrastructure_id of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._base_infrastructure_id
+
+ @base_infrastructure_id.setter
+ def base_infrastructure_id(self, base_infrastructure_id):
+ """
+ Sets the base_infrastructure_id of this BaseccVmCluster.
+ The `OCID`__ of Oracle Data Cloud@Customer Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param base_infrastructure_id: The base_infrastructure_id of this BaseccVmCluster.
+ :type: str
+ """
+ self._base_infrastructure_id = base_infrastructure_id
+
+ @property
+ def base_vm_cluster_network_id(self):
+ """
+ **[Required]** Gets the base_vm_cluster_network_id of this BaseccVmCluster.
+ The `OCID`__ of BaseDB-C@C VM Cluster Network.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The base_vm_cluster_network_id of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._base_vm_cluster_network_id
+
+ @base_vm_cluster_network_id.setter
+ def base_vm_cluster_network_id(self, base_vm_cluster_network_id):
+ """
+ Sets the base_vm_cluster_network_id of this BaseccVmCluster.
+ The `OCID`__ of BaseDB-C@C VM Cluster Network.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param base_vm_cluster_network_id: The base_vm_cluster_network_id of this BaseccVmCluster.
+ :type: str
+ """
+ self._base_vm_cluster_network_id = base_vm_cluster_network_id
+
+ @property
+ def gi_version(self):
+ """
+ **[Required]** Gets the gi_version of this BaseccVmCluster.
+ A valid Oracle Grid Infrastructure (GI) software version.
+
+
+ :return: The gi_version of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._gi_version
+
+ @gi_version.setter
+ def gi_version(self, gi_version):
+ """
+ Sets the gi_version of this BaseccVmCluster.
+ A valid Oracle Grid Infrastructure (GI) software version.
+
+
+ :param gi_version: The gi_version of this BaseccVmCluster.
+ :type: str
+ """
+ self._gi_version = gi_version
+
+ @property
+ def data_collection_options(self):
+ """
+ Gets the data_collection_options of this BaseccVmCluster.
+
+ :return: The data_collection_options of this BaseccVmCluster.
+ :rtype: oci.database.models.DataCollectionOptions
+ """
+ return self._data_collection_options
+
+ @data_collection_options.setter
+ def data_collection_options(self, data_collection_options):
+ """
+ Sets the data_collection_options of this BaseccVmCluster.
+
+ :param data_collection_options: The data_collection_options of this BaseccVmCluster.
+ :type: oci.database.models.DataCollectionOptions
+ """
+ self._data_collection_options = data_collection_options
+
+ @property
+ def description(self):
+ """
+ Gets the description of this BaseccVmCluster.
+ The description for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The description of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this BaseccVmCluster.
+ The description for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param description: The description of this BaseccVmCluster.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def display_name(self):
+ """
+ **[Required]** Gets the display_name of this BaseccVmCluster.
+ The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The name does not need to be unique.
+
+
+ :return: The display_name of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this BaseccVmCluster.
+ The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The name does not need to be unique.
+
+
+ :param display_name: The display_name of this BaseccVmCluster.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def ssh_public_keys(self):
+ """
+ **[Required]** Gets the ssh_public_keys of this BaseccVmCluster.
+ The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The ssh_public_keys of this BaseccVmCluster.
+ :rtype: list[str]
+ """
+ return self._ssh_public_keys
+
+ @ssh_public_keys.setter
+ def ssh_public_keys(self, ssh_public_keys):
+ """
+ Sets the ssh_public_keys of this BaseccVmCluster.
+ The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param ssh_public_keys: The ssh_public_keys of this BaseccVmCluster.
+ :type: list[str]
+ """
+ self._ssh_public_keys = ssh_public_keys
+
+ @property
+ def time_zone(self):
+ """
+ Gets the time_zone of this BaseccVmCluster.
+ The time zone to use for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. For details, see `Time Zones`__.
+
+ __ https://docs.oracle.com/iaas/Content/Database/References/timezones.htm
+
+
+ :return: The time_zone of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._time_zone
+
+ @time_zone.setter
+ def time_zone(self, time_zone):
+ """
+ Sets the time_zone of this BaseccVmCluster.
+ The time zone to use for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. For details, see `Time Zones`__.
+
+ __ https://docs.oracle.com/iaas/Content/Database/References/timezones.htm
+
+
+ :param time_zone: The time_zone of this BaseccVmCluster.
+ :type: str
+ """
+ self._time_zone = time_zone
+
+ @property
+ def cluster_name(self):
+ """
+ Gets the cluster_name of this BaseccVmCluster.
+ The cluster name for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The cluster_name of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._cluster_name
+
+ @cluster_name.setter
+ def cluster_name(self, cluster_name):
+ """
+ Sets the cluster_name of this BaseccVmCluster.
+ The cluster name for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param cluster_name: The cluster_name of this BaseccVmCluster.
+ :type: str
+ """
+ self._cluster_name = cluster_name
+
+ @property
+ def boot_storage_size_in_gbs(self):
+ """
+ Gets the boot_storage_size_in_gbs of this BaseccVmCluster.
+ Total boot partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The boot_storage_size_in_gbs of this BaseccVmCluster.
+ :rtype: int
+ """
+ return self._boot_storage_size_in_gbs
+
+ @boot_storage_size_in_gbs.setter
+ def boot_storage_size_in_gbs(self, boot_storage_size_in_gbs):
+ """
+ Sets the boot_storage_size_in_gbs of this BaseccVmCluster.
+ Total boot partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param boot_storage_size_in_gbs: The boot_storage_size_in_gbs of this BaseccVmCluster.
+ :type: int
+ """
+ self._boot_storage_size_in_gbs = boot_storage_size_in_gbs
+
+ @property
+ def additional_vm_storage_size_in_gbs(self):
+ """
+ Gets the additional_vm_storage_size_in_gbs of this BaseccVmCluster.
+ Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The additional_vm_storage_size_in_gbs of this BaseccVmCluster.
+ :rtype: int
+ """
+ return self._additional_vm_storage_size_in_gbs
+
+ @additional_vm_storage_size_in_gbs.setter
+ def additional_vm_storage_size_in_gbs(self, additional_vm_storage_size_in_gbs):
+ """
+ Sets the additional_vm_storage_size_in_gbs of this BaseccVmCluster.
+ Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param additional_vm_storage_size_in_gbs: The additional_vm_storage_size_in_gbs of this BaseccVmCluster.
+ :type: int
+ """
+ self._additional_vm_storage_size_in_gbs = additional_vm_storage_size_in_gbs
+
+ @property
+ def total_storage_size_in_gbs(self):
+ """
+ Gets the total_storage_size_in_gbs of this BaseccVmCluster.
+ The total storage allocated in GBs.
+
+
+ :return: The total_storage_size_in_gbs of this BaseccVmCluster.
+ :rtype: int
+ """
+ return self._total_storage_size_in_gbs
+
+ @total_storage_size_in_gbs.setter
+ def total_storage_size_in_gbs(self, total_storage_size_in_gbs):
+ """
+ Sets the total_storage_size_in_gbs of this BaseccVmCluster.
+ The total storage allocated in GBs.
+
+
+ :param total_storage_size_in_gbs: The total_storage_size_in_gbs of this BaseccVmCluster.
+ :type: int
+ """
+ self._total_storage_size_in_gbs = total_storage_size_in_gbs
+
+ @property
+ def data_storage_size_in_gbs(self):
+ """
+ Gets the data_storage_size_in_gbs of this BaseccVmCluster.
+ The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The data_storage_size_in_gbs of this BaseccVmCluster.
+ :rtype: int
+ """
+ return self._data_storage_size_in_gbs
+
+ @data_storage_size_in_gbs.setter
+ def data_storage_size_in_gbs(self, data_storage_size_in_gbs):
+ """
+ Sets the data_storage_size_in_gbs of this BaseccVmCluster.
+ The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param data_storage_size_in_gbs: The data_storage_size_in_gbs of this BaseccVmCluster.
+ :type: int
+ """
+ self._data_storage_size_in_gbs = data_storage_size_in_gbs
+
+ @property
+ def reco_storage_size_in_gbs(self):
+ """
+ Gets the reco_storage_size_in_gbs of this BaseccVmCluster.
+ The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The reco_storage_size_in_gbs of this BaseccVmCluster.
+ :rtype: int
+ """
+ return self._reco_storage_size_in_gbs
+
+ @reco_storage_size_in_gbs.setter
+ def reco_storage_size_in_gbs(self, reco_storage_size_in_gbs):
+ """
+ Sets the reco_storage_size_in_gbs of this BaseccVmCluster.
+ The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param reco_storage_size_in_gbs: The reco_storage_size_in_gbs of this BaseccVmCluster.
+ :type: int
+ """
+ self._reco_storage_size_in_gbs = reco_storage_size_in_gbs
+
+ @property
+ def memory_size_in_gbs(self):
+ """
+ Gets the memory_size_in_gbs of this BaseccVmCluster.
+ The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The minimum is 11GB for every 4 ECPU.
+
+
+ :return: The memory_size_in_gbs of this BaseccVmCluster.
+ :rtype: int
+ """
+ return self._memory_size_in_gbs
+
+ @memory_size_in_gbs.setter
+ def memory_size_in_gbs(self, memory_size_in_gbs):
+ """
+ Sets the memory_size_in_gbs of this BaseccVmCluster.
+ The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The minimum is 11GB for every 4 ECPU.
+
+
+ :param memory_size_in_gbs: The memory_size_in_gbs of this BaseccVmCluster.
+ :type: int
+ """
+ self._memory_size_in_gbs = memory_size_in_gbs
+
+ @property
+ def license_model(self):
+ """
+ Gets the license_model of this BaseccVmCluster.
+ The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The default is LICENSE_INCLUDED.
+
+ Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The license_model of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._license_model
+
+ @license_model.setter
+ def license_model(self, license_model):
+ """
+ Sets the license_model of this BaseccVmCluster.
+ The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The default is LICENSE_INCLUDED.
+
+
+ :param license_model: The license_model of this BaseccVmCluster.
+ :type: str
+ """
+ allowed_values = ["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]
+ if not value_allowed_none_or_none_sentinel(license_model, allowed_values):
+ license_model = 'UNKNOWN_ENUM_VALUE'
+ self._license_model = license_model
+
+ @property
+ def freeform_tags(self):
+ """
+ **[Required]** Gets the freeform_tags of this BaseccVmCluster.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this BaseccVmCluster.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this BaseccVmCluster.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this BaseccVmCluster.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ **[Required]** Gets the defined_tags of this BaseccVmCluster.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this BaseccVmCluster.
+ :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 BaseccVmCluster.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this BaseccVmCluster.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def system_tags(self):
+ """
+ **[Required]** Gets the system_tags of this BaseccVmCluster.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The system_tags of this BaseccVmCluster.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this BaseccVmCluster.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param system_tags: The system_tags of this BaseccVmCluster.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
+ @property
+ def system_version(self):
+ """
+ Gets the system_version of this BaseccVmCluster.
+ Operating system version of the image.
+
+
+ :return: The system_version of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._system_version
+
+ @system_version.setter
+ def system_version(self, system_version):
+ """
+ Sets the system_version of this BaseccVmCluster.
+ Operating system version of the image.
+
+
+ :param system_version: The system_version of this BaseccVmCluster.
+ :type: str
+ """
+ self._system_version = system_version
+
+ @property
+ def vm_cluster_type(self):
+ """
+ Gets the vm_cluster_type of this BaseccVmCluster.
+ The cluster type for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+ Allowed values for this property are: "REGULAR", "DEVELOPER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The vm_cluster_type of this BaseccVmCluster.
+ :rtype: str
+ """
+ return self._vm_cluster_type
+
+ @vm_cluster_type.setter
+ def vm_cluster_type(self, vm_cluster_type):
+ """
+ Sets the vm_cluster_type of this BaseccVmCluster.
+ The cluster type for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param vm_cluster_type: The vm_cluster_type of this BaseccVmCluster.
+ :type: str
+ """
+ allowed_values = ["REGULAR", "DEVELOPER"]
+ if not value_allowed_none_or_none_sentinel(vm_cluster_type, allowed_values):
+ vm_cluster_type = 'UNKNOWN_ENUM_VALUE'
+ self._vm_cluster_type = vm_cluster_type
+
+ @property
+ def cloud_automation_update_details(self):
+ """
+ Gets the cloud_automation_update_details of this BaseccVmCluster.
+
+ :return: The cloud_automation_update_details of this BaseccVmCluster.
+ :rtype: oci.database.models.CloudAutomationUpdateDetails
+ """
+ return self._cloud_automation_update_details
+
+ @cloud_automation_update_details.setter
+ def cloud_automation_update_details(self, cloud_automation_update_details):
+ """
+ Sets the cloud_automation_update_details of this BaseccVmCluster.
+
+ :param cloud_automation_update_details: The cloud_automation_update_details of this BaseccVmCluster.
+ :type: oci.database.models.CloudAutomationUpdateDetails
+ """
+ self._cloud_automation_update_details = cloud_automation_update_details
+
+ 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/database/models/basecc_vm_cluster_summary.py b/src/oci/database/models/basecc_vm_cluster_summary.py
new file mode 100644
index 0000000000..1215802c01
--- /dev/null
+++ b/src/oci/database/models/basecc_vm_cluster_summary.py
@@ -0,0 +1,1229 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 BaseccVmClusterSummary(object):
+ """
+ Details of the Base Cloud@Customer VM Cluster.
+ """
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterSummary.
+ #: This constant has a value of "PROVISIONING"
+ LIFECYCLE_STATE_PROVISIONING = "PROVISIONING"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterSummary.
+ #: This constant has a value of "AVAILABLE"
+ LIFECYCLE_STATE_AVAILABLE = "AVAILABLE"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterSummary.
+ #: This constant has a value of "UPDATING"
+ LIFECYCLE_STATE_UPDATING = "UPDATING"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterSummary.
+ #: This constant has a value of "TERMINATING"
+ LIFECYCLE_STATE_TERMINATING = "TERMINATING"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterSummary.
+ #: This constant has a value of "TERMINATED"
+ LIFECYCLE_STATE_TERMINATED = "TERMINATED"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterSummary.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterSummary.
+ #: This constant has a value of "MAINTENANCE_IN_PROGRESS"
+ LIFECYCLE_STATE_MAINTENANCE_IN_PROGRESS = "MAINTENANCE_IN_PROGRESS"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmClusterSummary.
+ #: This constant has a value of "STANDARD_EDITION"
+ DATABASE_EDITION_STANDARD_EDITION = "STANDARD_EDITION"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmClusterSummary.
+ #: This constant has a value of "ENTERPRISE_EDITION"
+ DATABASE_EDITION_ENTERPRISE_EDITION = "ENTERPRISE_EDITION"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmClusterSummary.
+ #: This constant has a value of "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
+ DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCE = "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmClusterSummary.
+ #: This constant has a value of "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
+ DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCE = "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
+
+ #: A constant which can be used with the database_edition property of a BaseccVmClusterSummary.
+ #: This constant has a value of "ENTERPRISE_EDITION_DEVELOPER"
+ DATABASE_EDITION_ENTERPRISE_EDITION_DEVELOPER = "ENTERPRISE_EDITION_DEVELOPER"
+
+ #: A constant which can be used with the license_model property of a BaseccVmClusterSummary.
+ #: This constant has a value of "LICENSE_INCLUDED"
+ LICENSE_MODEL_LICENSE_INCLUDED = "LICENSE_INCLUDED"
+
+ #: A constant which can be used with the license_model property of a BaseccVmClusterSummary.
+ #: This constant has a value of "BRING_YOUR_OWN_LICENSE"
+ LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
+
+ #: A constant which can be used with the vm_cluster_type property of a BaseccVmClusterSummary.
+ #: This constant has a value of "REGULAR"
+ VM_CLUSTER_TYPE_REGULAR = "REGULAR"
+
+ #: A constant which can be used with the vm_cluster_type property of a BaseccVmClusterSummary.
+ #: This constant has a value of "DEVELOPER"
+ VM_CLUSTER_TYPE_DEVELOPER = "DEVELOPER"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new BaseccVmClusterSummary 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 BaseccVmClusterSummary.
+ :type id: str
+
+ :param last_patch_history_entry_id:
+ The value to assign to the last_patch_history_entry_id property of this BaseccVmClusterSummary.
+ :type last_patch_history_entry_id: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this BaseccVmClusterSummary.
+ Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param time_created:
+ The value to assign to the time_created property of this BaseccVmClusterSummary.
+ :type time_created: datetime
+
+ :param time_updated:
+ The value to assign to the time_updated property of this BaseccVmClusterSummary.
+ :type time_updated: datetime
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this BaseccVmClusterSummary.
+ :type lifecycle_details: str
+
+ :param availability_domain:
+ The value to assign to the availability_domain property of this BaseccVmClusterSummary.
+ :type availability_domain: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this BaseccVmClusterSummary.
+ :type compartment_id: str
+
+ :param database_edition:
+ The value to assign to the database_edition property of this BaseccVmClusterSummary.
+ Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type database_edition: str
+
+ :param node_count:
+ The value to assign to the node_count property of this BaseccVmClusterSummary.
+ :type node_count: int
+
+ :param db_servers:
+ The value to assign to the db_servers property of this BaseccVmClusterSummary.
+ :type db_servers: list[str]
+
+ :param cpus_enabled:
+ The value to assign to the cpus_enabled property of this BaseccVmClusterSummary.
+ :type cpus_enabled: int
+
+ :param base_infrastructure_id:
+ The value to assign to the base_infrastructure_id property of this BaseccVmClusterSummary.
+ :type base_infrastructure_id: str
+
+ :param base_vm_cluster_network_id:
+ The value to assign to the base_vm_cluster_network_id property of this BaseccVmClusterSummary.
+ :type base_vm_cluster_network_id: str
+
+ :param gi_version:
+ The value to assign to the gi_version property of this BaseccVmClusterSummary.
+ :type gi_version: str
+
+ :param data_collection_options:
+ The value to assign to the data_collection_options property of this BaseccVmClusterSummary.
+ :type data_collection_options: oci.database.models.DataCollectionOptions
+
+ :param description:
+ The value to assign to the description property of this BaseccVmClusterSummary.
+ :type description: str
+
+ :param display_name:
+ The value to assign to the display_name property of this BaseccVmClusterSummary.
+ :type display_name: str
+
+ :param ssh_public_keys:
+ The value to assign to the ssh_public_keys property of this BaseccVmClusterSummary.
+ :type ssh_public_keys: list[str]
+
+ :param time_zone:
+ The value to assign to the time_zone property of this BaseccVmClusterSummary.
+ :type time_zone: str
+
+ :param cluster_name:
+ The value to assign to the cluster_name property of this BaseccVmClusterSummary.
+ :type cluster_name: str
+
+ :param boot_storage_size_in_gbs:
+ The value to assign to the boot_storage_size_in_gbs property of this BaseccVmClusterSummary.
+ :type boot_storage_size_in_gbs: int
+
+ :param additional_vm_storage_size_in_gbs:
+ The value to assign to the additional_vm_storage_size_in_gbs property of this BaseccVmClusterSummary.
+ :type additional_vm_storage_size_in_gbs: int
+
+ :param total_storage_size_in_gbs:
+ The value to assign to the total_storage_size_in_gbs property of this BaseccVmClusterSummary.
+ :type total_storage_size_in_gbs: int
+
+ :param data_storage_size_in_gbs:
+ The value to assign to the data_storage_size_in_gbs property of this BaseccVmClusterSummary.
+ :type data_storage_size_in_gbs: int
+
+ :param reco_storage_size_in_gbs:
+ The value to assign to the reco_storage_size_in_gbs property of this BaseccVmClusterSummary.
+ :type reco_storage_size_in_gbs: int
+
+ :param memory_size_in_gbs:
+ The value to assign to the memory_size_in_gbs property of this BaseccVmClusterSummary.
+ :type memory_size_in_gbs: int
+
+ :param license_model:
+ The value to assign to the license_model property of this BaseccVmClusterSummary.
+ Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type license_model: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this BaseccVmClusterSummary.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this BaseccVmClusterSummary.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param system_tags:
+ The value to assign to the system_tags property of this BaseccVmClusterSummary.
+ :type system_tags: dict(str, dict(str, object))
+
+ :param system_version:
+ The value to assign to the system_version property of this BaseccVmClusterSummary.
+ :type system_version: str
+
+ :param vm_cluster_type:
+ The value to assign to the vm_cluster_type property of this BaseccVmClusterSummary.
+ Allowed values for this property are: "REGULAR", "DEVELOPER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type vm_cluster_type: str
+
+ :param cloud_automation_update_details:
+ The value to assign to the cloud_automation_update_details property of this BaseccVmClusterSummary.
+ :type cloud_automation_update_details: oci.database.models.CloudAutomationUpdateDetails
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'last_patch_history_entry_id': 'str',
+ 'lifecycle_state': 'str',
+ 'time_created': 'datetime',
+ 'time_updated': 'datetime',
+ 'lifecycle_details': 'str',
+ 'availability_domain': 'str',
+ 'compartment_id': 'str',
+ 'database_edition': 'str',
+ 'node_count': 'int',
+ 'db_servers': 'list[str]',
+ 'cpus_enabled': 'int',
+ 'base_infrastructure_id': 'str',
+ 'base_vm_cluster_network_id': 'str',
+ 'gi_version': 'str',
+ 'data_collection_options': 'DataCollectionOptions',
+ 'description': 'str',
+ 'display_name': 'str',
+ 'ssh_public_keys': 'list[str]',
+ 'time_zone': 'str',
+ 'cluster_name': 'str',
+ 'boot_storage_size_in_gbs': 'int',
+ 'additional_vm_storage_size_in_gbs': 'int',
+ 'total_storage_size_in_gbs': 'int',
+ 'data_storage_size_in_gbs': 'int',
+ 'reco_storage_size_in_gbs': 'int',
+ 'memory_size_in_gbs': 'int',
+ 'license_model': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'system_tags': 'dict(str, dict(str, object))',
+ 'system_version': 'str',
+ 'vm_cluster_type': 'str',
+ 'cloud_automation_update_details': 'CloudAutomationUpdateDetails'
+ }
+ self.attribute_map = {
+ 'id': 'id',
+ 'last_patch_history_entry_id': 'lastPatchHistoryEntryId',
+ 'lifecycle_state': 'lifecycleState',
+ 'time_created': 'timeCreated',
+ 'time_updated': 'timeUpdated',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'availability_domain': 'availabilityDomain',
+ 'compartment_id': 'compartmentId',
+ 'database_edition': 'databaseEdition',
+ 'node_count': 'nodeCount',
+ 'db_servers': 'dbServers',
+ 'cpus_enabled': 'cpusEnabled',
+ 'base_infrastructure_id': 'baseInfrastructureId',
+ 'base_vm_cluster_network_id': 'baseVmClusterNetworkId',
+ 'gi_version': 'giVersion',
+ 'data_collection_options': 'dataCollectionOptions',
+ 'description': 'description',
+ 'display_name': 'displayName',
+ 'ssh_public_keys': 'sshPublicKeys',
+ 'time_zone': 'timeZone',
+ 'cluster_name': 'clusterName',
+ 'boot_storage_size_in_gbs': 'bootStorageSizeInGBs',
+ 'additional_vm_storage_size_in_gbs': 'additionalVmStorageSizeInGBs',
+ 'total_storage_size_in_gbs': 'totalStorageSizeInGBs',
+ 'data_storage_size_in_gbs': 'dataStorageSizeInGBs',
+ 'reco_storage_size_in_gbs': 'recoStorageSizeInGBs',
+ 'memory_size_in_gbs': 'memorySizeInGBs',
+ 'license_model': 'licenseModel',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'system_tags': 'systemTags',
+ 'system_version': 'systemVersion',
+ 'vm_cluster_type': 'vmClusterType',
+ 'cloud_automation_update_details': 'cloudAutomationUpdateDetails'
+ }
+ self._id = None
+ self._last_patch_history_entry_id = None
+ self._lifecycle_state = None
+ self._time_created = None
+ self._time_updated = None
+ self._lifecycle_details = None
+ self._availability_domain = None
+ self._compartment_id = None
+ self._database_edition = None
+ self._node_count = None
+ self._db_servers = None
+ self._cpus_enabled = None
+ self._base_infrastructure_id = None
+ self._base_vm_cluster_network_id = None
+ self._gi_version = None
+ self._data_collection_options = None
+ self._description = None
+ self._display_name = None
+ self._ssh_public_keys = None
+ self._time_zone = None
+ self._cluster_name = None
+ self._boot_storage_size_in_gbs = None
+ self._additional_vm_storage_size_in_gbs = None
+ self._total_storage_size_in_gbs = None
+ self._data_storage_size_in_gbs = None
+ self._reco_storage_size_in_gbs = None
+ self._memory_size_in_gbs = None
+ self._license_model = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._system_tags = None
+ self._system_version = None
+ self._vm_cluster_type = None
+ self._cloud_automation_update_details = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this BaseccVmClusterSummary.
+ The `OCID`__ of the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this BaseccVmClusterSummary.
+ The `OCID`__ of the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def last_patch_history_entry_id(self):
+ """
+ Gets the last_patch_history_entry_id of this BaseccVmClusterSummary.
+ The `OCID`__ of the last patch history. This value is updated as soon as a patch operation starts.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The last_patch_history_entry_id of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._last_patch_history_entry_id
+
+ @last_patch_history_entry_id.setter
+ def last_patch_history_entry_id(self, last_patch_history_entry_id):
+ """
+ Sets the last_patch_history_entry_id of this BaseccVmClusterSummary.
+ The `OCID`__ of the last patch history. This value is updated as soon as a patch operation starts.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param last_patch_history_entry_id: The last_patch_history_entry_id of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._last_patch_history_entry_id = last_patch_history_entry_id
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this BaseccVmClusterSummary.
+ The current state of the VM Cluster.
+
+ Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this BaseccVmClusterSummary.
+ The current state of the VM Cluster.
+
+
+ :param lifecycle_state: The lifecycle_state of this BaseccVmClusterSummary.
+ :type: str
+ """
+ allowed_values = ["PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS"]
+ if not value_allowed_none_or_none_sentinel(lifecycle_state, allowed_values):
+ lifecycle_state = 'UNKNOWN_ENUM_VALUE'
+ self._lifecycle_state = lifecycle_state
+
+ @property
+ def time_created(self):
+ """
+ **[Required]** Gets the time_created of this BaseccVmClusterSummary.
+ The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was created.
+
+
+ :return: The time_created of this BaseccVmClusterSummary.
+ :rtype: datetime
+ """
+ return self._time_created
+
+ @time_created.setter
+ def time_created(self, time_created):
+ """
+ Sets the time_created of this BaseccVmClusterSummary.
+ The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was created.
+
+
+ :param time_created: The time_created of this BaseccVmClusterSummary.
+ :type: datetime
+ """
+ self._time_created = time_created
+
+ @property
+ def time_updated(self):
+ """
+ Gets the time_updated of this BaseccVmClusterSummary.
+ The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was updated.
+
+
+ :return: The time_updated of this BaseccVmClusterSummary.
+ :rtype: datetime
+ """
+ return self._time_updated
+
+ @time_updated.setter
+ def time_updated(self, time_updated):
+ """
+ Sets the time_updated of this BaseccVmClusterSummary.
+ The date and time that the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster was updated.
+
+
+ :param time_updated: The time_updated of this BaseccVmClusterSummary.
+ :type: datetime
+ """
+ self._time_updated = time_updated
+
+ @property
+ def lifecycle_details(self):
+ """
+ Gets the lifecycle_details of this BaseccVmClusterSummary.
+ Additional information about the current lifecycle state of the the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The lifecycle_details of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this BaseccVmClusterSummary.
+ Additional information about the current lifecycle state of the the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param lifecycle_details: The lifecycle_details of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def availability_domain(self):
+ """
+ **[Required]** Gets the availability_domain of this BaseccVmClusterSummary.
+ The name of the availability domain in which the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster is located.
+
+
+ :return: The availability_domain of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._availability_domain
+
+ @availability_domain.setter
+ def availability_domain(self, availability_domain):
+ """
+ Sets the availability_domain of this BaseccVmClusterSummary.
+ The name of the availability domain in which the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster is located.
+
+
+ :param availability_domain: The availability_domain of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._availability_domain = availability_domain
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this BaseccVmClusterSummary.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this BaseccVmClusterSummary.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def database_edition(self):
+ """
+ Gets the database_edition of this BaseccVmClusterSummary.
+ The Oracle Database Edition that applies to all the databases on the DB system.
+ Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
+
+ Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The database_edition of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._database_edition
+
+ @database_edition.setter
+ def database_edition(self, database_edition):
+ """
+ Sets the database_edition of this BaseccVmClusterSummary.
+ The Oracle Database Edition that applies to all the databases on the DB system.
+ Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
+
+
+ :param database_edition: The database_edition of this BaseccVmClusterSummary.
+ :type: str
+ """
+ allowed_values = ["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER"]
+ if not value_allowed_none_or_none_sentinel(database_edition, allowed_values):
+ database_edition = 'UNKNOWN_ENUM_VALUE'
+ self._database_edition = database_edition
+
+ @property
+ def node_count(self):
+ """
+ Gets the node_count of this BaseccVmClusterSummary.
+ The number of nodes in the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The node_count of this BaseccVmClusterSummary.
+ :rtype: int
+ """
+ return self._node_count
+
+ @node_count.setter
+ def node_count(self, node_count):
+ """
+ Sets the node_count of this BaseccVmClusterSummary.
+ The number of nodes in the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param node_count: The node_count of this BaseccVmClusterSummary.
+ :type: int
+ """
+ self._node_count = node_count
+
+ @property
+ def db_servers(self):
+ """
+ Gets the db_servers of this BaseccVmClusterSummary.
+ List of Base server OCIDs.
+
+
+ :return: The db_servers of this BaseccVmClusterSummary.
+ :rtype: list[str]
+ """
+ return self._db_servers
+
+ @db_servers.setter
+ def db_servers(self, db_servers):
+ """
+ Sets the db_servers of this BaseccVmClusterSummary.
+ List of Base server OCIDs.
+
+
+ :param db_servers: The db_servers of this BaseccVmClusterSummary.
+ :type: list[str]
+ """
+ self._db_servers = db_servers
+
+ @property
+ def cpus_enabled(self):
+ """
+ **[Required]** Gets the cpus_enabled of this BaseccVmClusterSummary.
+ Total CPU cores for the BaseDB C@C VM cluster.
+
+
+ :return: The cpus_enabled of this BaseccVmClusterSummary.
+ :rtype: int
+ """
+ return self._cpus_enabled
+
+ @cpus_enabled.setter
+ def cpus_enabled(self, cpus_enabled):
+ """
+ Sets the cpus_enabled of this BaseccVmClusterSummary.
+ Total CPU cores for the BaseDB C@C VM cluster.
+
+
+ :param cpus_enabled: The cpus_enabled of this BaseccVmClusterSummary.
+ :type: int
+ """
+ self._cpus_enabled = cpus_enabled
+
+ @property
+ def base_infrastructure_id(self):
+ """
+ **[Required]** Gets the base_infrastructure_id of this BaseccVmClusterSummary.
+ The `OCID`__ of Oracle Data Cloud@Customer Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The base_infrastructure_id of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._base_infrastructure_id
+
+ @base_infrastructure_id.setter
+ def base_infrastructure_id(self, base_infrastructure_id):
+ """
+ Sets the base_infrastructure_id of this BaseccVmClusterSummary.
+ The `OCID`__ of Oracle Data Cloud@Customer Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param base_infrastructure_id: The base_infrastructure_id of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._base_infrastructure_id = base_infrastructure_id
+
+ @property
+ def base_vm_cluster_network_id(self):
+ """
+ **[Required]** Gets the base_vm_cluster_network_id of this BaseccVmClusterSummary.
+ The `OCID`__ of BaseDB-C@C VM Cluster Network.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The base_vm_cluster_network_id of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._base_vm_cluster_network_id
+
+ @base_vm_cluster_network_id.setter
+ def base_vm_cluster_network_id(self, base_vm_cluster_network_id):
+ """
+ Sets the base_vm_cluster_network_id of this BaseccVmClusterSummary.
+ The `OCID`__ of BaseDB-C@C VM Cluster Network.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param base_vm_cluster_network_id: The base_vm_cluster_network_id of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._base_vm_cluster_network_id = base_vm_cluster_network_id
+
+ @property
+ def gi_version(self):
+ """
+ **[Required]** Gets the gi_version of this BaseccVmClusterSummary.
+ A valid Oracle Grid Infrastructure (GI) software version.
+
+
+ :return: The gi_version of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._gi_version
+
+ @gi_version.setter
+ def gi_version(self, gi_version):
+ """
+ Sets the gi_version of this BaseccVmClusterSummary.
+ A valid Oracle Grid Infrastructure (GI) software version.
+
+
+ :param gi_version: The gi_version of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._gi_version = gi_version
+
+ @property
+ def data_collection_options(self):
+ """
+ Gets the data_collection_options of this BaseccVmClusterSummary.
+
+ :return: The data_collection_options of this BaseccVmClusterSummary.
+ :rtype: oci.database.models.DataCollectionOptions
+ """
+ return self._data_collection_options
+
+ @data_collection_options.setter
+ def data_collection_options(self, data_collection_options):
+ """
+ Sets the data_collection_options of this BaseccVmClusterSummary.
+
+ :param data_collection_options: The data_collection_options of this BaseccVmClusterSummary.
+ :type: oci.database.models.DataCollectionOptions
+ """
+ self._data_collection_options = data_collection_options
+
+ @property
+ def description(self):
+ """
+ Gets the description of this BaseccVmClusterSummary.
+ The description for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The description of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this BaseccVmClusterSummary.
+ The description for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param description: The description of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def display_name(self):
+ """
+ **[Required]** Gets the display_name of this BaseccVmClusterSummary.
+ The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The name does not need to be unique.
+
+
+ :return: The display_name of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this BaseccVmClusterSummary.
+ The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The name does not need to be unique.
+
+
+ :param display_name: The display_name of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def ssh_public_keys(self):
+ """
+ **[Required]** Gets the ssh_public_keys of this BaseccVmClusterSummary.
+ The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The ssh_public_keys of this BaseccVmClusterSummary.
+ :rtype: list[str]
+ """
+ return self._ssh_public_keys
+
+ @ssh_public_keys.setter
+ def ssh_public_keys(self, ssh_public_keys):
+ """
+ Sets the ssh_public_keys of this BaseccVmClusterSummary.
+ The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param ssh_public_keys: The ssh_public_keys of this BaseccVmClusterSummary.
+ :type: list[str]
+ """
+ self._ssh_public_keys = ssh_public_keys
+
+ @property
+ def time_zone(self):
+ """
+ Gets the time_zone of this BaseccVmClusterSummary.
+ The time zone to use for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. For details, see `Time Zones`__.
+
+ __ https://docs.oracle.com/iaas/Content/Database/References/timezones.htm
+
+
+ :return: The time_zone of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._time_zone
+
+ @time_zone.setter
+ def time_zone(self, time_zone):
+ """
+ Sets the time_zone of this BaseccVmClusterSummary.
+ The time zone to use for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. For details, see `Time Zones`__.
+
+ __ https://docs.oracle.com/iaas/Content/Database/References/timezones.htm
+
+
+ :param time_zone: The time_zone of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._time_zone = time_zone
+
+ @property
+ def cluster_name(self):
+ """
+ Gets the cluster_name of this BaseccVmClusterSummary.
+ The cluster name for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The cluster_name of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._cluster_name
+
+ @cluster_name.setter
+ def cluster_name(self, cluster_name):
+ """
+ Sets the cluster_name of this BaseccVmClusterSummary.
+ The cluster name for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param cluster_name: The cluster_name of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._cluster_name = cluster_name
+
+ @property
+ def boot_storage_size_in_gbs(self):
+ """
+ Gets the boot_storage_size_in_gbs of this BaseccVmClusterSummary.
+ Total boot partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The boot_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :rtype: int
+ """
+ return self._boot_storage_size_in_gbs
+
+ @boot_storage_size_in_gbs.setter
+ def boot_storage_size_in_gbs(self, boot_storage_size_in_gbs):
+ """
+ Sets the boot_storage_size_in_gbs of this BaseccVmClusterSummary.
+ Total boot partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param boot_storage_size_in_gbs: The boot_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :type: int
+ """
+ self._boot_storage_size_in_gbs = boot_storage_size_in_gbs
+
+ @property
+ def additional_vm_storage_size_in_gbs(self):
+ """
+ Gets the additional_vm_storage_size_in_gbs of this BaseccVmClusterSummary.
+ Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The additional_vm_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :rtype: int
+ """
+ return self._additional_vm_storage_size_in_gbs
+
+ @additional_vm_storage_size_in_gbs.setter
+ def additional_vm_storage_size_in_gbs(self, additional_vm_storage_size_in_gbs):
+ """
+ Sets the additional_vm_storage_size_in_gbs of this BaseccVmClusterSummary.
+ Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param additional_vm_storage_size_in_gbs: The additional_vm_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :type: int
+ """
+ self._additional_vm_storage_size_in_gbs = additional_vm_storage_size_in_gbs
+
+ @property
+ def total_storage_size_in_gbs(self):
+ """
+ Gets the total_storage_size_in_gbs of this BaseccVmClusterSummary.
+ The total storage allocated in GBs.
+
+
+ :return: The total_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :rtype: int
+ """
+ return self._total_storage_size_in_gbs
+
+ @total_storage_size_in_gbs.setter
+ def total_storage_size_in_gbs(self, total_storage_size_in_gbs):
+ """
+ Sets the total_storage_size_in_gbs of this BaseccVmClusterSummary.
+ The total storage allocated in GBs.
+
+
+ :param total_storage_size_in_gbs: The total_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :type: int
+ """
+ self._total_storage_size_in_gbs = total_storage_size_in_gbs
+
+ @property
+ def data_storage_size_in_gbs(self):
+ """
+ Gets the data_storage_size_in_gbs of this BaseccVmClusterSummary.
+ The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The data_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :rtype: int
+ """
+ return self._data_storage_size_in_gbs
+
+ @data_storage_size_in_gbs.setter
+ def data_storage_size_in_gbs(self, data_storage_size_in_gbs):
+ """
+ Sets the data_storage_size_in_gbs of this BaseccVmClusterSummary.
+ The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param data_storage_size_in_gbs: The data_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :type: int
+ """
+ self._data_storage_size_in_gbs = data_storage_size_in_gbs
+
+ @property
+ def reco_storage_size_in_gbs(self):
+ """
+ Gets the reco_storage_size_in_gbs of this BaseccVmClusterSummary.
+ The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The reco_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :rtype: int
+ """
+ return self._reco_storage_size_in_gbs
+
+ @reco_storage_size_in_gbs.setter
+ def reco_storage_size_in_gbs(self, reco_storage_size_in_gbs):
+ """
+ Sets the reco_storage_size_in_gbs of this BaseccVmClusterSummary.
+ The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param reco_storage_size_in_gbs: The reco_storage_size_in_gbs of this BaseccVmClusterSummary.
+ :type: int
+ """
+ self._reco_storage_size_in_gbs = reco_storage_size_in_gbs
+
+ @property
+ def memory_size_in_gbs(self):
+ """
+ Gets the memory_size_in_gbs of this BaseccVmClusterSummary.
+ The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The minimum is 11GB for every 4 ECPU.
+
+
+ :return: The memory_size_in_gbs of this BaseccVmClusterSummary.
+ :rtype: int
+ """
+ return self._memory_size_in_gbs
+
+ @memory_size_in_gbs.setter
+ def memory_size_in_gbs(self, memory_size_in_gbs):
+ """
+ Sets the memory_size_in_gbs of this BaseccVmClusterSummary.
+ The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The minimum is 11GB for every 4 ECPU.
+
+
+ :param memory_size_in_gbs: The memory_size_in_gbs of this BaseccVmClusterSummary.
+ :type: int
+ """
+ self._memory_size_in_gbs = memory_size_in_gbs
+
+ @property
+ def license_model(self):
+ """
+ Gets the license_model of this BaseccVmClusterSummary.
+ The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The default is LICENSE_INCLUDED.
+
+ Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The license_model of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._license_model
+
+ @license_model.setter
+ def license_model(self, license_model):
+ """
+ Sets the license_model of this BaseccVmClusterSummary.
+ The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The default is LICENSE_INCLUDED.
+
+
+ :param license_model: The license_model of this BaseccVmClusterSummary.
+ :type: str
+ """
+ allowed_values = ["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]
+ if not value_allowed_none_or_none_sentinel(license_model, allowed_values):
+ license_model = 'UNKNOWN_ENUM_VALUE'
+ self._license_model = license_model
+
+ @property
+ def freeform_tags(self):
+ """
+ **[Required]** Gets the freeform_tags of this BaseccVmClusterSummary.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this BaseccVmClusterSummary.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this BaseccVmClusterSummary.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this BaseccVmClusterSummary.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ **[Required]** Gets the defined_tags of this BaseccVmClusterSummary.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this BaseccVmClusterSummary.
+ :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 BaseccVmClusterSummary.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this BaseccVmClusterSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def system_tags(self):
+ """
+ **[Required]** Gets the system_tags of this BaseccVmClusterSummary.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The system_tags of this BaseccVmClusterSummary.
+ :rtype: dict(str, dict(str, object))
+ """
+ return self._system_tags
+
+ @system_tags.setter
+ def system_tags(self, system_tags):
+ """
+ Sets the system_tags of this BaseccVmClusterSummary.
+ System tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param system_tags: The system_tags of this BaseccVmClusterSummary.
+ :type: dict(str, dict(str, object))
+ """
+ self._system_tags = system_tags
+
+ @property
+ def system_version(self):
+ """
+ Gets the system_version of this BaseccVmClusterSummary.
+ Operating system version of the image.
+
+
+ :return: The system_version of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._system_version
+
+ @system_version.setter
+ def system_version(self, system_version):
+ """
+ Sets the system_version of this BaseccVmClusterSummary.
+ Operating system version of the image.
+
+
+ :param system_version: The system_version of this BaseccVmClusterSummary.
+ :type: str
+ """
+ self._system_version = system_version
+
+ @property
+ def vm_cluster_type(self):
+ """
+ Gets the vm_cluster_type of this BaseccVmClusterSummary.
+ The cluster type for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+ Allowed values for this property are: "REGULAR", "DEVELOPER", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The vm_cluster_type of this BaseccVmClusterSummary.
+ :rtype: str
+ """
+ return self._vm_cluster_type
+
+ @vm_cluster_type.setter
+ def vm_cluster_type(self, vm_cluster_type):
+ """
+ Sets the vm_cluster_type of this BaseccVmClusterSummary.
+ The cluster type for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param vm_cluster_type: The vm_cluster_type of this BaseccVmClusterSummary.
+ :type: str
+ """
+ allowed_values = ["REGULAR", "DEVELOPER"]
+ if not value_allowed_none_or_none_sentinel(vm_cluster_type, allowed_values):
+ vm_cluster_type = 'UNKNOWN_ENUM_VALUE'
+ self._vm_cluster_type = vm_cluster_type
+
+ @property
+ def cloud_automation_update_details(self):
+ """
+ Gets the cloud_automation_update_details of this BaseccVmClusterSummary.
+
+ :return: The cloud_automation_update_details of this BaseccVmClusterSummary.
+ :rtype: oci.database.models.CloudAutomationUpdateDetails
+ """
+ return self._cloud_automation_update_details
+
+ @cloud_automation_update_details.setter
+ def cloud_automation_update_details(self, cloud_automation_update_details):
+ """
+ Sets the cloud_automation_update_details of this BaseccVmClusterSummary.
+
+ :param cloud_automation_update_details: The cloud_automation_update_details of this BaseccVmClusterSummary.
+ :type: oci.database.models.CloudAutomationUpdateDetails
+ """
+ self._cloud_automation_update_details = cloud_automation_update_details
+
+ 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/database/models/basecc_vm_cluster_update.py b/src/oci/database/models/basecc_vm_cluster_update.py
new file mode 100644
index 0000000000..1b8fdee640
--- /dev/null
+++ b/src/oci/database/models/basecc_vm_cluster_update.py
@@ -0,0 +1,402 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 BaseccVmClusterUpdate(object):
+ """
+ Maintenance update details for a BaseDB-C@C VM cluster.
+ """
+
+ #: A constant which can be used with the last_action property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "ROLLING_APPLY"
+ LAST_ACTION_ROLLING_APPLY = "ROLLING_APPLY"
+
+ #: A constant which can be used with the last_action property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "PRECHECK"
+ LAST_ACTION_PRECHECK = "PRECHECK"
+
+ #: A constant which can be used with the last_action property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "ROLLBACK"
+ LAST_ACTION_ROLLBACK = "ROLLBACK"
+
+ #: A constant which can be used with the available_actions property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "ROLLING_APPLY"
+ AVAILABLE_ACTIONS_ROLLING_APPLY = "ROLLING_APPLY"
+
+ #: A constant which can be used with the available_actions property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "PRECHECK"
+ AVAILABLE_ACTIONS_PRECHECK = "PRECHECK"
+
+ #: A constant which can be used with the available_actions property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "ROLLBACK"
+ AVAILABLE_ACTIONS_ROLLBACK = "ROLLBACK"
+
+ #: A constant which can be used with the update_type property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "GI_UPGRADE"
+ UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
+
+ #: A constant which can be used with the update_type property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "GI_PATCH"
+ UPDATE_TYPE_GI_PATCH = "GI_PATCH"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "AVAILABLE"
+ LIFECYCLE_STATE_AVAILABLE = "AVAILABLE"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "SUCCESS"
+ LIFECYCLE_STATE_SUCCESS = "SUCCESS"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "IN_PROGRESS"
+ LIFECYCLE_STATE_IN_PROGRESS = "IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdate.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new BaseccVmClusterUpdate 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 BaseccVmClusterUpdate.
+ :type id: str
+
+ :param description:
+ The value to assign to the description property of this BaseccVmClusterUpdate.
+ :type description: str
+
+ :param last_action:
+ The value to assign to the last_action property of this BaseccVmClusterUpdate.
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type last_action: str
+
+ :param available_actions:
+ The value to assign to the available_actions property of this BaseccVmClusterUpdate.
+ Allowed values for items in this list are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type available_actions: list[str]
+
+ :param update_type:
+ The value to assign to the update_type property of this BaseccVmClusterUpdate.
+ Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_type: str
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this BaseccVmClusterUpdate.
+ :type lifecycle_details: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this BaseccVmClusterUpdate.
+ Allowed values for this property are: "AVAILABLE", "SUCCESS", "IN_PROGRESS", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param time_released:
+ The value to assign to the time_released property of this BaseccVmClusterUpdate.
+ :type time_released: datetime
+
+ :param version:
+ The value to assign to the version property of this BaseccVmClusterUpdate.
+ :type version: str
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'description': 'str',
+ 'last_action': 'str',
+ 'available_actions': 'list[str]',
+ 'update_type': 'str',
+ 'lifecycle_details': 'str',
+ 'lifecycle_state': 'str',
+ 'time_released': 'datetime',
+ 'version': 'str'
+ }
+ self.attribute_map = {
+ 'id': 'id',
+ 'description': 'description',
+ 'last_action': 'lastAction',
+ 'available_actions': 'availableActions',
+ 'update_type': 'updateType',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'lifecycle_state': 'lifecycleState',
+ 'time_released': 'timeReleased',
+ 'version': 'version'
+ }
+ self._id = None
+ self._description = None
+ self._last_action = None
+ self._available_actions = None
+ self._update_type = None
+ self._lifecycle_details = None
+ self._lifecycle_state = None
+ self._time_released = None
+ self._version = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this BaseccVmClusterUpdate.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this BaseccVmClusterUpdate.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this BaseccVmClusterUpdate.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this BaseccVmClusterUpdate.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def description(self):
+ """
+ **[Required]** Gets the description of this BaseccVmClusterUpdate.
+ Details of the maintenance update package.
+
+
+ :return: The description of this BaseccVmClusterUpdate.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this BaseccVmClusterUpdate.
+ Details of the maintenance update package.
+
+
+ :param description: The description of this BaseccVmClusterUpdate.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def last_action(self):
+ """
+ Gets the last_action of this BaseccVmClusterUpdate.
+ The previous update action performed.
+
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The last_action of this BaseccVmClusterUpdate.
+ :rtype: str
+ """
+ return self._last_action
+
+ @last_action.setter
+ def last_action(self, last_action):
+ """
+ Sets the last_action of this BaseccVmClusterUpdate.
+ The previous update action performed.
+
+
+ :param last_action: The last_action of this BaseccVmClusterUpdate.
+ :type: str
+ """
+ allowed_values = ["ROLLING_APPLY", "PRECHECK", "ROLLBACK"]
+ if not value_allowed_none_or_none_sentinel(last_action, allowed_values):
+ last_action = 'UNKNOWN_ENUM_VALUE'
+ self._last_action = last_action
+
+ @property
+ def available_actions(self):
+ """
+ Gets the available_actions of this BaseccVmClusterUpdate.
+ The possible actions performed by the update operation on the infrastructure components.
+
+ Allowed values for items in this list are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The available_actions of this BaseccVmClusterUpdate.
+ :rtype: list[str]
+ """
+ return self._available_actions
+
+ @available_actions.setter
+ def available_actions(self, available_actions):
+ """
+ Sets the available_actions of this BaseccVmClusterUpdate.
+ The possible actions performed by the update operation on the infrastructure components.
+
+
+ :param available_actions: The available_actions of this BaseccVmClusterUpdate.
+ :type: list[str]
+ """
+ allowed_values = ["ROLLING_APPLY", "PRECHECK", "ROLLBACK"]
+ if available_actions:
+ available_actions[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_actions]
+ self._available_actions = available_actions
+
+ @property
+ def update_type(self):
+ """
+ **[Required]** Gets the update_type of this BaseccVmClusterUpdate.
+ The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
+
+ Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_type of this BaseccVmClusterUpdate.
+ :rtype: str
+ """
+ return self._update_type
+
+ @update_type.setter
+ def update_type(self, update_type):
+ """
+ Sets the update_type of this BaseccVmClusterUpdate.
+ The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
+
+
+ :param update_type: The update_type of this BaseccVmClusterUpdate.
+ :type: str
+ """
+ allowed_values = ["GI_UPGRADE", "GI_PATCH"]
+ if not value_allowed_none_or_none_sentinel(update_type, allowed_values):
+ update_type = 'UNKNOWN_ENUM_VALUE'
+ self._update_type = update_type
+
+ @property
+ def lifecycle_details(self):
+ """
+ Gets the lifecycle_details of this BaseccVmClusterUpdate.
+ Descriptive text providing additional details about the lifecycle state.
+
+
+ :return: The lifecycle_details of this BaseccVmClusterUpdate.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this BaseccVmClusterUpdate.
+ Descriptive text providing additional details about the lifecycle state.
+
+
+ :param lifecycle_details: The lifecycle_details of this BaseccVmClusterUpdate.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def lifecycle_state(self):
+ """
+ Gets the lifecycle_state of this BaseccVmClusterUpdate.
+ The current state of the maintenance update. Dependent on value of `lastAction`.
+
+ Allowed values for this property are: "AVAILABLE", "SUCCESS", "IN_PROGRESS", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this BaseccVmClusterUpdate.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this BaseccVmClusterUpdate.
+ The current state of the maintenance update. Dependent on value of `lastAction`.
+
+
+ :param lifecycle_state: The lifecycle_state of this BaseccVmClusterUpdate.
+ :type: str
+ """
+ allowed_values = ["AVAILABLE", "SUCCESS", "IN_PROGRESS", "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 time_released(self):
+ """
+ **[Required]** Gets the time_released of this BaseccVmClusterUpdate.
+ The date and time the maintenance update was released.
+
+
+ :return: The time_released of this BaseccVmClusterUpdate.
+ :rtype: datetime
+ """
+ return self._time_released
+
+ @time_released.setter
+ def time_released(self, time_released):
+ """
+ Sets the time_released of this BaseccVmClusterUpdate.
+ The date and time the maintenance update was released.
+
+
+ :param time_released: The time_released of this BaseccVmClusterUpdate.
+ :type: datetime
+ """
+ self._time_released = time_released
+
+ @property
+ def version(self):
+ """
+ **[Required]** Gets the version of this BaseccVmClusterUpdate.
+ The version of the maintenance update package.
+
+
+ :return: The version of this BaseccVmClusterUpdate.
+ :rtype: str
+ """
+ return self._version
+
+ @version.setter
+ def version(self, version):
+ """
+ Sets the version of this BaseccVmClusterUpdate.
+ The version of the maintenance update package.
+
+
+ :param version: The version of this BaseccVmClusterUpdate.
+ :type: str
+ """
+ self._version = version
+
+ 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/database/models/basecc_vm_cluster_update_details.py b/src/oci/database/models/basecc_vm_cluster_update_details.py
new file mode 100644
index 0000000000..57f1f002e4
--- /dev/null
+++ b/src/oci/database/models/basecc_vm_cluster_update_details.py
@@ -0,0 +1,160 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 BaseccVmClusterUpdateDetails(object):
+ """
+ Details specifying which maintenance update to apply to the BaseDB-C@C VM cluster and which action is to be performed by the maintenance update. Applies to Base Database Service on Cloud@Customer instances only.
+ """
+
+ #: A constant which can be used with the update_action property of a BaseccVmClusterUpdateDetails.
+ #: This constant has a value of "ROLLING_APPLY"
+ UPDATE_ACTION_ROLLING_APPLY = "ROLLING_APPLY"
+
+ #: A constant which can be used with the update_action property of a BaseccVmClusterUpdateDetails.
+ #: This constant has a value of "PRECHECK"
+ UPDATE_ACTION_PRECHECK = "PRECHECK"
+
+ #: A constant which can be used with the update_action property of a BaseccVmClusterUpdateDetails.
+ #: This constant has a value of "ROLLBACK"
+ UPDATE_ACTION_ROLLBACK = "ROLLBACK"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new BaseccVmClusterUpdateDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param update_id:
+ The value to assign to the update_id property of this BaseccVmClusterUpdateDetails.
+ :type update_id: str
+
+ :param update_action:
+ The value to assign to the update_action property of this BaseccVmClusterUpdateDetails.
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK"
+ :type update_action: str
+
+ :param gi_software_image_id:
+ The value to assign to the gi_software_image_id property of this BaseccVmClusterUpdateDetails.
+ :type gi_software_image_id: str
+
+ """
+ self.swagger_types = {
+ 'update_id': 'str',
+ 'update_action': 'str',
+ 'gi_software_image_id': 'str'
+ }
+ self.attribute_map = {
+ 'update_id': 'updateId',
+ 'update_action': 'updateAction',
+ 'gi_software_image_id': 'giSoftwareImageId'
+ }
+ self._update_id = None
+ self._update_action = None
+ self._gi_software_image_id = None
+
+ @property
+ def update_id(self):
+ """
+ Gets the update_id of this BaseccVmClusterUpdateDetails.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The update_id of this BaseccVmClusterUpdateDetails.
+ :rtype: str
+ """
+ return self._update_id
+
+ @update_id.setter
+ def update_id(self, update_id):
+ """
+ Sets the update_id of this BaseccVmClusterUpdateDetails.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param update_id: The update_id of this BaseccVmClusterUpdateDetails.
+ :type: str
+ """
+ self._update_id = update_id
+
+ @property
+ def update_action(self):
+ """
+ Gets the update_action of this BaseccVmClusterUpdateDetails.
+ The update action to perform.
+
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK"
+
+
+ :return: The update_action of this BaseccVmClusterUpdateDetails.
+ :rtype: str
+ """
+ return self._update_action
+
+ @update_action.setter
+ def update_action(self, update_action):
+ """
+ Sets the update_action of this BaseccVmClusterUpdateDetails.
+ The update action to perform.
+
+
+ :param update_action: The update_action of this BaseccVmClusterUpdateDetails.
+ :type: str
+ """
+ allowed_values = ["ROLLING_APPLY", "PRECHECK", "ROLLBACK"]
+ if not value_allowed_none_or_none_sentinel(update_action, allowed_values):
+ raise ValueError(
+ f"Invalid value for `update_action`, must be None or one of {allowed_values}"
+ )
+ self._update_action = update_action
+
+ @property
+ def gi_software_image_id(self):
+ """
+ Gets the gi_software_image_id of this BaseccVmClusterUpdateDetails.
+ The `OCID`__ of a grid infrastructure software image. This is a database software image of the type `GRID_IMAGE`.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The gi_software_image_id of this BaseccVmClusterUpdateDetails.
+ :rtype: str
+ """
+ return self._gi_software_image_id
+
+ @gi_software_image_id.setter
+ def gi_software_image_id(self, gi_software_image_id):
+ """
+ Sets the gi_software_image_id of this BaseccVmClusterUpdateDetails.
+ The `OCID`__ of a grid infrastructure software image. This is a database software image of the type `GRID_IMAGE`.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param gi_software_image_id: The gi_software_image_id of this BaseccVmClusterUpdateDetails.
+ :type: str
+ """
+ self._gi_software_image_id = gi_software_image_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/database/models/basecc_vm_cluster_update_history_entry.py b/src/oci/database/models/basecc_vm_cluster_update_history_entry.py
new file mode 100644
index 0000000000..d24b39bf4a
--- /dev/null
+++ b/src/oci/database/models/basecc_vm_cluster_update_history_entry.py
@@ -0,0 +1,382 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 BaseccVmClusterUpdateHistoryEntry(object):
+ """
+ The record of a maintenance update action on a specified BaseDB-C@C VM cluster.
+ """
+
+ #: A constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntry.
+ #: This constant has a value of "ROLLING_APPLY"
+ UPDATE_ACTION_ROLLING_APPLY = "ROLLING_APPLY"
+
+ #: A constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntry.
+ #: This constant has a value of "PRECHECK"
+ UPDATE_ACTION_PRECHECK = "PRECHECK"
+
+ #: A constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntry.
+ #: This constant has a value of "ROLLBACK"
+ UPDATE_ACTION_ROLLBACK = "ROLLBACK"
+
+ #: A constant which can be used with the update_type property of a BaseccVmClusterUpdateHistoryEntry.
+ #: This constant has a value of "GI_UPGRADE"
+ UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
+
+ #: A constant which can be used with the update_type property of a BaseccVmClusterUpdateHistoryEntry.
+ #: This constant has a value of "GI_PATCH"
+ UPDATE_TYPE_GI_PATCH = "GI_PATCH"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntry.
+ #: This constant has a value of "IN_PROGRESS"
+ LIFECYCLE_STATE_IN_PROGRESS = "IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntry.
+ #: This constant has a value of "SUCCEEDED"
+ LIFECYCLE_STATE_SUCCEEDED = "SUCCEEDED"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntry.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new BaseccVmClusterUpdateHistoryEntry 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 BaseccVmClusterUpdateHistoryEntry.
+ :type id: str
+
+ :param update_id:
+ The value to assign to the update_id property of this BaseccVmClusterUpdateHistoryEntry.
+ :type update_id: str
+
+ :param update_action:
+ The value to assign to the update_action property of this BaseccVmClusterUpdateHistoryEntry.
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_action: str
+
+ :param update_type:
+ The value to assign to the update_type property of this BaseccVmClusterUpdateHistoryEntry.
+ Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_type: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this BaseccVmClusterUpdateHistoryEntry.
+ Allowed values for this property are: "IN_PROGRESS", "SUCCEEDED", "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 BaseccVmClusterUpdateHistoryEntry.
+ :type lifecycle_details: str
+
+ :param time_started:
+ The value to assign to the time_started property of this BaseccVmClusterUpdateHistoryEntry.
+ :type time_started: datetime
+
+ :param time_completed:
+ The value to assign to the time_completed property of this BaseccVmClusterUpdateHistoryEntry.
+ :type time_completed: datetime
+
+ :param version:
+ The value to assign to the version property of this BaseccVmClusterUpdateHistoryEntry.
+ :type version: str
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'update_id': 'str',
+ 'update_action': 'str',
+ 'update_type': 'str',
+ 'lifecycle_state': 'str',
+ 'lifecycle_details': 'str',
+ 'time_started': 'datetime',
+ 'time_completed': 'datetime',
+ 'version': 'str'
+ }
+ self.attribute_map = {
+ 'id': 'id',
+ 'update_id': 'updateId',
+ 'update_action': 'updateAction',
+ 'update_type': 'updateType',
+ 'lifecycle_state': 'lifecycleState',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'time_started': 'timeStarted',
+ 'time_completed': 'timeCompleted',
+ 'version': 'version'
+ }
+ self._id = None
+ self._update_id = None
+ self._update_action = None
+ self._update_type = None
+ self._lifecycle_state = None
+ self._lifecycle_details = None
+ self._time_started = None
+ self._time_completed = None
+ self._version = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this BaseccVmClusterUpdateHistoryEntry.
+ The `OCID`__ of the maintenance update history entry.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this BaseccVmClusterUpdateHistoryEntry.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this BaseccVmClusterUpdateHistoryEntry.
+ The `OCID`__ of the maintenance update history entry.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this BaseccVmClusterUpdateHistoryEntry.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def update_id(self):
+ """
+ **[Required]** Gets the update_id of this BaseccVmClusterUpdateHistoryEntry.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The update_id of this BaseccVmClusterUpdateHistoryEntry.
+ :rtype: str
+ """
+ return self._update_id
+
+ @update_id.setter
+ def update_id(self, update_id):
+ """
+ Sets the update_id of this BaseccVmClusterUpdateHistoryEntry.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param update_id: The update_id of this BaseccVmClusterUpdateHistoryEntry.
+ :type: str
+ """
+ self._update_id = update_id
+
+ @property
+ def update_action(self):
+ """
+ Gets the update_action of this BaseccVmClusterUpdateHistoryEntry.
+ The update action.
+
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_action of this BaseccVmClusterUpdateHistoryEntry.
+ :rtype: str
+ """
+ return self._update_action
+
+ @update_action.setter
+ def update_action(self, update_action):
+ """
+ Sets the update_action of this BaseccVmClusterUpdateHistoryEntry.
+ The update action.
+
+
+ :param update_action: The update_action of this BaseccVmClusterUpdateHistoryEntry.
+ :type: str
+ """
+ allowed_values = ["ROLLING_APPLY", "PRECHECK", "ROLLBACK"]
+ if not value_allowed_none_or_none_sentinel(update_action, allowed_values):
+ update_action = 'UNKNOWN_ENUM_VALUE'
+ self._update_action = update_action
+
+ @property
+ def update_type(self):
+ """
+ **[Required]** Gets the update_type of this BaseccVmClusterUpdateHistoryEntry.
+ The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
+
+ Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_type of this BaseccVmClusterUpdateHistoryEntry.
+ :rtype: str
+ """
+ return self._update_type
+
+ @update_type.setter
+ def update_type(self, update_type):
+ """
+ Sets the update_type of this BaseccVmClusterUpdateHistoryEntry.
+ The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
+
+
+ :param update_type: The update_type of this BaseccVmClusterUpdateHistoryEntry.
+ :type: str
+ """
+ allowed_values = ["GI_UPGRADE", "GI_PATCH"]
+ if not value_allowed_none_or_none_sentinel(update_type, allowed_values):
+ update_type = 'UNKNOWN_ENUM_VALUE'
+ self._update_type = update_type
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this BaseccVmClusterUpdateHistoryEntry.
+ The current lifecycle state of the maintenance update operation.
+
+ Allowed values for this property are: "IN_PROGRESS", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this BaseccVmClusterUpdateHistoryEntry.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this BaseccVmClusterUpdateHistoryEntry.
+ The current lifecycle state of the maintenance update operation.
+
+
+ :param lifecycle_state: The lifecycle_state of this BaseccVmClusterUpdateHistoryEntry.
+ :type: str
+ """
+ allowed_values = ["IN_PROGRESS", "SUCCEEDED", "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 BaseccVmClusterUpdateHistoryEntry.
+ Descriptive text providing additional details about the lifecycle state.
+
+
+ :return: The lifecycle_details of this BaseccVmClusterUpdateHistoryEntry.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this BaseccVmClusterUpdateHistoryEntry.
+ Descriptive text providing additional details about the lifecycle state.
+
+
+ :param lifecycle_details: The lifecycle_details of this BaseccVmClusterUpdateHistoryEntry.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def time_started(self):
+ """
+ **[Required]** Gets the time_started of this BaseccVmClusterUpdateHistoryEntry.
+ The date and time when the maintenance update action started.
+
+
+ :return: The time_started of this BaseccVmClusterUpdateHistoryEntry.
+ :rtype: datetime
+ """
+ return self._time_started
+
+ @time_started.setter
+ def time_started(self, time_started):
+ """
+ Sets the time_started of this BaseccVmClusterUpdateHistoryEntry.
+ The date and time when the maintenance update action started.
+
+
+ :param time_started: The time_started of this BaseccVmClusterUpdateHistoryEntry.
+ :type: datetime
+ """
+ self._time_started = time_started
+
+ @property
+ def time_completed(self):
+ """
+ Gets the time_completed of this BaseccVmClusterUpdateHistoryEntry.
+ The date and time when the maintenance update action completed.
+
+
+ :return: The time_completed of this BaseccVmClusterUpdateHistoryEntry.
+ :rtype: datetime
+ """
+ return self._time_completed
+
+ @time_completed.setter
+ def time_completed(self, time_completed):
+ """
+ Sets the time_completed of this BaseccVmClusterUpdateHistoryEntry.
+ The date and time when the maintenance update action completed.
+
+
+ :param time_completed: The time_completed of this BaseccVmClusterUpdateHistoryEntry.
+ :type: datetime
+ """
+ self._time_completed = time_completed
+
+ @property
+ def version(self):
+ """
+ Gets the version of this BaseccVmClusterUpdateHistoryEntry.
+ The version of the maintenance update package.
+
+
+ :return: The version of this BaseccVmClusterUpdateHistoryEntry.
+ :rtype: str
+ """
+ return self._version
+
+ @version.setter
+ def version(self, version):
+ """
+ Sets the version of this BaseccVmClusterUpdateHistoryEntry.
+ The version of the maintenance update package.
+
+
+ :param version: The version of this BaseccVmClusterUpdateHistoryEntry.
+ :type: str
+ """
+ self._version = version
+
+ 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/database/models/basecc_vm_cluster_update_history_entry_summary.py b/src/oci/database/models/basecc_vm_cluster_update_history_entry_summary.py
new file mode 100644
index 0000000000..a7fde29630
--- /dev/null
+++ b/src/oci/database/models/basecc_vm_cluster_update_history_entry_summary.py
@@ -0,0 +1,382 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 BaseccVmClusterUpdateHistoryEntrySummary(object):
+ """
+ The record of a maintenance update action on a specified BaseDB-C@C VM cluster.
+ """
+
+ #: A constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "ROLLING_APPLY"
+ UPDATE_ACTION_ROLLING_APPLY = "ROLLING_APPLY"
+
+ #: A constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "PRECHECK"
+ UPDATE_ACTION_PRECHECK = "PRECHECK"
+
+ #: A constant which can be used with the update_action property of a BaseccVmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "ROLLBACK"
+ UPDATE_ACTION_ROLLBACK = "ROLLBACK"
+
+ #: A constant which can be used with the update_type property of a BaseccVmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "GI_UPGRADE"
+ UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
+
+ #: A constant which can be used with the update_type property of a BaseccVmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "GI_PATCH"
+ UPDATE_TYPE_GI_PATCH = "GI_PATCH"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "IN_PROGRESS"
+ LIFECYCLE_STATE_IN_PROGRESS = "IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "SUCCEEDED"
+ LIFECYCLE_STATE_SUCCEEDED = "SUCCEEDED"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new BaseccVmClusterUpdateHistoryEntrySummary 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 BaseccVmClusterUpdateHistoryEntrySummary.
+ :type id: str
+
+ :param update_id:
+ The value to assign to the update_id property of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type update_id: str
+
+ :param update_action:
+ The value to assign to the update_action property of this BaseccVmClusterUpdateHistoryEntrySummary.
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_action: str
+
+ :param update_type:
+ The value to assign to the update_type property of this BaseccVmClusterUpdateHistoryEntrySummary.
+ Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_type: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this BaseccVmClusterUpdateHistoryEntrySummary.
+ Allowed values for this property are: "IN_PROGRESS", "SUCCEEDED", "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 BaseccVmClusterUpdateHistoryEntrySummary.
+ :type lifecycle_details: str
+
+ :param time_started:
+ The value to assign to the time_started property of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type time_started: datetime
+
+ :param time_completed:
+ The value to assign to the time_completed property of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type time_completed: datetime
+
+ :param version:
+ The value to assign to the version property of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type version: str
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'update_id': 'str',
+ 'update_action': 'str',
+ 'update_type': 'str',
+ 'lifecycle_state': 'str',
+ 'lifecycle_details': 'str',
+ 'time_started': 'datetime',
+ 'time_completed': 'datetime',
+ 'version': 'str'
+ }
+ self.attribute_map = {
+ 'id': 'id',
+ 'update_id': 'updateId',
+ 'update_action': 'updateAction',
+ 'update_type': 'updateType',
+ 'lifecycle_state': 'lifecycleState',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'time_started': 'timeStarted',
+ 'time_completed': 'timeCompleted',
+ 'version': 'version'
+ }
+ self._id = None
+ self._update_id = None
+ self._update_action = None
+ self._update_type = None
+ self._lifecycle_state = None
+ self._lifecycle_details = None
+ self._time_started = None
+ self._time_completed = None
+ self._version = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The `OCID`__ of the maintenance update history entry.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The `OCID`__ of the maintenance update history entry.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def update_id(self):
+ """
+ **[Required]** Gets the update_id of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The update_id of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :rtype: str
+ """
+ return self._update_id
+
+ @update_id.setter
+ def update_id(self, update_id):
+ """
+ Sets the update_id of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param update_id: The update_id of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type: str
+ """
+ self._update_id = update_id
+
+ @property
+ def update_action(self):
+ """
+ Gets the update_action of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The update action.
+
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_action of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :rtype: str
+ """
+ return self._update_action
+
+ @update_action.setter
+ def update_action(self, update_action):
+ """
+ Sets the update_action of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The update action.
+
+
+ :param update_action: The update_action of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type: str
+ """
+ allowed_values = ["ROLLING_APPLY", "PRECHECK", "ROLLBACK"]
+ if not value_allowed_none_or_none_sentinel(update_action, allowed_values):
+ update_action = 'UNKNOWN_ENUM_VALUE'
+ self._update_action = update_action
+
+ @property
+ def update_type(self):
+ """
+ **[Required]** Gets the update_type of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
+
+ Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_type of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :rtype: str
+ """
+ return self._update_type
+
+ @update_type.setter
+ def update_type(self, update_type):
+ """
+ Sets the update_type of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
+
+
+ :param update_type: The update_type of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type: str
+ """
+ allowed_values = ["GI_UPGRADE", "GI_PATCH"]
+ if not value_allowed_none_or_none_sentinel(update_type, allowed_values):
+ update_type = 'UNKNOWN_ENUM_VALUE'
+ self._update_type = update_type
+
+ @property
+ def lifecycle_state(self):
+ """
+ **[Required]** Gets the lifecycle_state of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The current lifecycle state of the maintenance update operation.
+
+ Allowed values for this property are: "IN_PROGRESS", "SUCCEEDED", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The current lifecycle state of the maintenance update operation.
+
+
+ :param lifecycle_state: The lifecycle_state of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type: str
+ """
+ allowed_values = ["IN_PROGRESS", "SUCCEEDED", "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 BaseccVmClusterUpdateHistoryEntrySummary.
+ Descriptive text providing additional details about the lifecycle state.
+
+
+ :return: The lifecycle_details of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this BaseccVmClusterUpdateHistoryEntrySummary.
+ Descriptive text providing additional details about the lifecycle state.
+
+
+ :param lifecycle_details: The lifecycle_details of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def time_started(self):
+ """
+ **[Required]** Gets the time_started of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The date and time when the maintenance update action started.
+
+
+ :return: The time_started of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :rtype: datetime
+ """
+ return self._time_started
+
+ @time_started.setter
+ def time_started(self, time_started):
+ """
+ Sets the time_started of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The date and time when the maintenance update action started.
+
+
+ :param time_started: The time_started of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type: datetime
+ """
+ self._time_started = time_started
+
+ @property
+ def time_completed(self):
+ """
+ Gets the time_completed of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The date and time when the maintenance update action completed.
+
+
+ :return: The time_completed of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :rtype: datetime
+ """
+ return self._time_completed
+
+ @time_completed.setter
+ def time_completed(self, time_completed):
+ """
+ Sets the time_completed of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The date and time when the maintenance update action completed.
+
+
+ :param time_completed: The time_completed of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type: datetime
+ """
+ self._time_completed = time_completed
+
+ @property
+ def version(self):
+ """
+ Gets the version of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The version of the maintenance update package.
+
+
+ :return: The version of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :rtype: str
+ """
+ return self._version
+
+ @version.setter
+ def version(self, version):
+ """
+ Sets the version of this BaseccVmClusterUpdateHistoryEntrySummary.
+ The version of the maintenance update package.
+
+
+ :param version: The version of this BaseccVmClusterUpdateHistoryEntrySummary.
+ :type: str
+ """
+ self._version = version
+
+ 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/database/models/basecc_vm_cluster_update_summary.py b/src/oci/database/models/basecc_vm_cluster_update_summary.py
new file mode 100644
index 0000000000..1f376e70d6
--- /dev/null
+++ b/src/oci/database/models/basecc_vm_cluster_update_summary.py
@@ -0,0 +1,408 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 BaseccVmClusterUpdateSummary(object):
+ """
+ Maintenance update details for a BaseDB-C@C VM cluster.
+
+ To use any of the API operations, you must be authorized in an IAM policy. If you're not authorized,
+ talk to an administrator. If you're an administrator who needs to write policies to give users access,
+ see `Getting Started with Policies`__.
+
+ __ https://docs.oracle.com/iaas/Content/Identity/Concepts/policygetstarted.htm
+ """
+
+ #: A constant which can be used with the last_action property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "ROLLING_APPLY"
+ LAST_ACTION_ROLLING_APPLY = "ROLLING_APPLY"
+
+ #: A constant which can be used with the last_action property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "PRECHECK"
+ LAST_ACTION_PRECHECK = "PRECHECK"
+
+ #: A constant which can be used with the last_action property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "ROLLBACK"
+ LAST_ACTION_ROLLBACK = "ROLLBACK"
+
+ #: A constant which can be used with the available_actions property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "ROLLING_APPLY"
+ AVAILABLE_ACTIONS_ROLLING_APPLY = "ROLLING_APPLY"
+
+ #: A constant which can be used with the available_actions property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "PRECHECK"
+ AVAILABLE_ACTIONS_PRECHECK = "PRECHECK"
+
+ #: A constant which can be used with the available_actions property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "ROLLBACK"
+ AVAILABLE_ACTIONS_ROLLBACK = "ROLLBACK"
+
+ #: A constant which can be used with the update_type property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "GI_UPGRADE"
+ UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
+
+ #: A constant which can be used with the update_type property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "GI_PATCH"
+ UPDATE_TYPE_GI_PATCH = "GI_PATCH"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "AVAILABLE"
+ LIFECYCLE_STATE_AVAILABLE = "AVAILABLE"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "SUCCESS"
+ LIFECYCLE_STATE_SUCCESS = "SUCCESS"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "IN_PROGRESS"
+ LIFECYCLE_STATE_IN_PROGRESS = "IN_PROGRESS"
+
+ #: A constant which can be used with the lifecycle_state property of a BaseccVmClusterUpdateSummary.
+ #: This constant has a value of "FAILED"
+ LIFECYCLE_STATE_FAILED = "FAILED"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new BaseccVmClusterUpdateSummary 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 BaseccVmClusterUpdateSummary.
+ :type id: str
+
+ :param description:
+ The value to assign to the description property of this BaseccVmClusterUpdateSummary.
+ :type description: str
+
+ :param last_action:
+ The value to assign to the last_action property of this BaseccVmClusterUpdateSummary.
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type last_action: str
+
+ :param available_actions:
+ The value to assign to the available_actions property of this BaseccVmClusterUpdateSummary.
+ Allowed values for items in this list are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type available_actions: list[str]
+
+ :param update_type:
+ The value to assign to the update_type property of this BaseccVmClusterUpdateSummary.
+ Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_type: str
+
+ :param lifecycle_details:
+ The value to assign to the lifecycle_details property of this BaseccVmClusterUpdateSummary.
+ :type lifecycle_details: str
+
+ :param lifecycle_state:
+ The value to assign to the lifecycle_state property of this BaseccVmClusterUpdateSummary.
+ Allowed values for this property are: "AVAILABLE", "SUCCESS", "IN_PROGRESS", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type lifecycle_state: str
+
+ :param time_released:
+ The value to assign to the time_released property of this BaseccVmClusterUpdateSummary.
+ :type time_released: datetime
+
+ :param version:
+ The value to assign to the version property of this BaseccVmClusterUpdateSummary.
+ :type version: str
+
+ """
+ self.swagger_types = {
+ 'id': 'str',
+ 'description': 'str',
+ 'last_action': 'str',
+ 'available_actions': 'list[str]',
+ 'update_type': 'str',
+ 'lifecycle_details': 'str',
+ 'lifecycle_state': 'str',
+ 'time_released': 'datetime',
+ 'version': 'str'
+ }
+ self.attribute_map = {
+ 'id': 'id',
+ 'description': 'description',
+ 'last_action': 'lastAction',
+ 'available_actions': 'availableActions',
+ 'update_type': 'updateType',
+ 'lifecycle_details': 'lifecycleDetails',
+ 'lifecycle_state': 'lifecycleState',
+ 'time_released': 'timeReleased',
+ 'version': 'version'
+ }
+ self._id = None
+ self._description = None
+ self._last_action = None
+ self._available_actions = None
+ self._update_type = None
+ self._lifecycle_details = None
+ self._lifecycle_state = None
+ self._time_released = None
+ self._version = None
+
+ @property
+ def id(self):
+ """
+ **[Required]** Gets the id of this BaseccVmClusterUpdateSummary.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The id of this BaseccVmClusterUpdateSummary.
+ :rtype: str
+ """
+ return self._id
+
+ @id.setter
+ def id(self, id):
+ """
+ Sets the id of this BaseccVmClusterUpdateSummary.
+ The `OCID`__ of the maintenance update.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param id: The id of this BaseccVmClusterUpdateSummary.
+ :type: str
+ """
+ self._id = id
+
+ @property
+ def description(self):
+ """
+ **[Required]** Gets the description of this BaseccVmClusterUpdateSummary.
+ Details of the maintenance update package.
+
+
+ :return: The description of this BaseccVmClusterUpdateSummary.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this BaseccVmClusterUpdateSummary.
+ Details of the maintenance update package.
+
+
+ :param description: The description of this BaseccVmClusterUpdateSummary.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def last_action(self):
+ """
+ Gets the last_action of this BaseccVmClusterUpdateSummary.
+ The previous update action performed.
+
+ Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The last_action of this BaseccVmClusterUpdateSummary.
+ :rtype: str
+ """
+ return self._last_action
+
+ @last_action.setter
+ def last_action(self, last_action):
+ """
+ Sets the last_action of this BaseccVmClusterUpdateSummary.
+ The previous update action performed.
+
+
+ :param last_action: The last_action of this BaseccVmClusterUpdateSummary.
+ :type: str
+ """
+ allowed_values = ["ROLLING_APPLY", "PRECHECK", "ROLLBACK"]
+ if not value_allowed_none_or_none_sentinel(last_action, allowed_values):
+ last_action = 'UNKNOWN_ENUM_VALUE'
+ self._last_action = last_action
+
+ @property
+ def available_actions(self):
+ """
+ Gets the available_actions of this BaseccVmClusterUpdateSummary.
+ The possible actions performed by the update operation on the infrastructure components.
+
+ Allowed values for items in this list are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The available_actions of this BaseccVmClusterUpdateSummary.
+ :rtype: list[str]
+ """
+ return self._available_actions
+
+ @available_actions.setter
+ def available_actions(self, available_actions):
+ """
+ Sets the available_actions of this BaseccVmClusterUpdateSummary.
+ The possible actions performed by the update operation on the infrastructure components.
+
+
+ :param available_actions: The available_actions of this BaseccVmClusterUpdateSummary.
+ :type: list[str]
+ """
+ allowed_values = ["ROLLING_APPLY", "PRECHECK", "ROLLBACK"]
+ if available_actions:
+ available_actions[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_actions]
+ self._available_actions = available_actions
+
+ @property
+ def update_type(self):
+ """
+ **[Required]** Gets the update_type of this BaseccVmClusterUpdateSummary.
+ The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
+
+ Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_type of this BaseccVmClusterUpdateSummary.
+ :rtype: str
+ """
+ return self._update_type
+
+ @update_type.setter
+ def update_type(self, update_type):
+ """
+ Sets the update_type of this BaseccVmClusterUpdateSummary.
+ The type of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster maintenance update.
+
+
+ :param update_type: The update_type of this BaseccVmClusterUpdateSummary.
+ :type: str
+ """
+ allowed_values = ["GI_UPGRADE", "GI_PATCH"]
+ if not value_allowed_none_or_none_sentinel(update_type, allowed_values):
+ update_type = 'UNKNOWN_ENUM_VALUE'
+ self._update_type = update_type
+
+ @property
+ def lifecycle_details(self):
+ """
+ Gets the lifecycle_details of this BaseccVmClusterUpdateSummary.
+ Descriptive text providing additional details about the lifecycle state.
+
+
+ :return: The lifecycle_details of this BaseccVmClusterUpdateSummary.
+ :rtype: str
+ """
+ return self._lifecycle_details
+
+ @lifecycle_details.setter
+ def lifecycle_details(self, lifecycle_details):
+ """
+ Sets the lifecycle_details of this BaseccVmClusterUpdateSummary.
+ Descriptive text providing additional details about the lifecycle state.
+
+
+ :param lifecycle_details: The lifecycle_details of this BaseccVmClusterUpdateSummary.
+ :type: str
+ """
+ self._lifecycle_details = lifecycle_details
+
+ @property
+ def lifecycle_state(self):
+ """
+ Gets the lifecycle_state of this BaseccVmClusterUpdateSummary.
+ The current state of the maintenance update. Dependent on value of `lastAction`.
+
+ Allowed values for this property are: "AVAILABLE", "SUCCESS", "IN_PROGRESS", "FAILED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The lifecycle_state of this BaseccVmClusterUpdateSummary.
+ :rtype: str
+ """
+ return self._lifecycle_state
+
+ @lifecycle_state.setter
+ def lifecycle_state(self, lifecycle_state):
+ """
+ Sets the lifecycle_state of this BaseccVmClusterUpdateSummary.
+ The current state of the maintenance update. Dependent on value of `lastAction`.
+
+
+ :param lifecycle_state: The lifecycle_state of this BaseccVmClusterUpdateSummary.
+ :type: str
+ """
+ allowed_values = ["AVAILABLE", "SUCCESS", "IN_PROGRESS", "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 time_released(self):
+ """
+ **[Required]** Gets the time_released of this BaseccVmClusterUpdateSummary.
+ The date and time the maintenance update was released.
+
+
+ :return: The time_released of this BaseccVmClusterUpdateSummary.
+ :rtype: datetime
+ """
+ return self._time_released
+
+ @time_released.setter
+ def time_released(self, time_released):
+ """
+ Sets the time_released of this BaseccVmClusterUpdateSummary.
+ The date and time the maintenance update was released.
+
+
+ :param time_released: The time_released of this BaseccVmClusterUpdateSummary.
+ :type: datetime
+ """
+ self._time_released = time_released
+
+ @property
+ def version(self):
+ """
+ **[Required]** Gets the version of this BaseccVmClusterUpdateSummary.
+ The version of the maintenance update package.
+
+
+ :return: The version of this BaseccVmClusterUpdateSummary.
+ :rtype: str
+ """
+ return self._version
+
+ @version.setter
+ def version(self, version):
+ """
+ Sets the version of this BaseccVmClusterUpdateSummary.
+ The version of the maintenance update package.
+
+
+ :param version: The version of this BaseccVmClusterUpdateSummary.
+ :type: str
+ """
+ self._version = version
+
+ 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/database/models/change_basecc_vm_cluster_compartment_details.py b/src/oci/database/models/change_basecc_vm_cluster_compartment_details.py
new file mode 100644
index 0000000000..f1865618a3
--- /dev/null
+++ b/src/oci/database/models/change_basecc_vm_cluster_compartment_details.py
@@ -0,0 +1,74 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 ChangeBaseccVmClusterCompartmentDetails(object):
+ """
+ The configuration details for moving the BaseDB-C@C VM cluster to another compartment. Applies to Base Database Service on Cloud@Customer only.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ChangeBaseccVmClusterCompartmentDetails 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 ChangeBaseccVmClusterCompartmentDetails.
+ :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 ChangeBaseccVmClusterCompartmentDetails.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this ChangeBaseccVmClusterCompartmentDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this ChangeBaseccVmClusterCompartmentDetails.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this ChangeBaseccVmClusterCompartmentDetails.
+ :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/database/models/cloud_vm_cluster.py b/src/oci/database/models/cloud_vm_cluster.py
index 19722fb94d..bcfabfcab9 100644
--- a/src/oci/database/models/cloud_vm_cluster.py
+++ b/src/oci/database/models/cloud_vm_cluster.py
@@ -168,6 +168,14 @@ def __init__(self, **kwargs):
The value to assign to the listener_port property of this CloudVmCluster.
:type listener_port: int
+ :param live_image_version_details:
+ The value to assign to the live_image_version_details property of this CloudVmCluster.
+ :type live_image_version_details: oci.database.models.ExadataLiveImageVersionDetails
+
+ :param oracle_linux_version:
+ The value to assign to the oracle_linux_version property of this CloudVmCluster.
+ :type oracle_linux_version: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this CloudVmCluster.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
@@ -408,6 +416,8 @@ def __init__(self, **kwargs):
'last_update_history_entry_id': 'str',
'shape': 'str',
'listener_port': 'int',
+ 'live_image_version_details': 'ExadataLiveImageVersionDetails',
+ 'oracle_linux_version': 'str',
'lifecycle_state': 'str',
'node_count': 'int',
'storage_size_in_gbs': 'int',
@@ -474,6 +484,8 @@ def __init__(self, **kwargs):
'last_update_history_entry_id': 'lastUpdateHistoryEntryId',
'shape': 'shape',
'listener_port': 'listenerPort',
+ 'live_image_version_details': 'liveImageVersionDetails',
+ 'oracle_linux_version': 'oracleLinuxVersion',
'lifecycle_state': 'lifecycleState',
'node_count': 'nodeCount',
'storage_size_in_gbs': 'storageSizeInGBs',
@@ -539,6 +551,8 @@ def __init__(self, **kwargs):
self._last_update_history_entry_id = None
self._shape = None
self._listener_port = None
+ self._live_image_version_details = None
+ self._oracle_linux_version = None
self._lifecycle_state = None
self._node_count = None
self._storage_size_in_gbs = None
@@ -934,6 +948,50 @@ def listener_port(self, listener_port):
"""
self._listener_port = listener_port
+ @property
+ def live_image_version_details(self):
+ """
+ Gets the live_image_version_details of this CloudVmCluster.
+
+ :return: The live_image_version_details of this CloudVmCluster.
+ :rtype: oci.database.models.ExadataLiveImageVersionDetails
+ """
+ return self._live_image_version_details
+
+ @live_image_version_details.setter
+ def live_image_version_details(self, live_image_version_details):
+ """
+ Sets the live_image_version_details of this CloudVmCluster.
+
+ :param live_image_version_details: The live_image_version_details of this CloudVmCluster.
+ :type: oci.database.models.ExadataLiveImageVersionDetails
+ """
+ self._live_image_version_details = live_image_version_details
+
+ @property
+ def oracle_linux_version(self):
+ """
+ Gets the oracle_linux_version of this CloudVmCluster.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :return: The oracle_linux_version of this CloudVmCluster.
+ :rtype: str
+ """
+ return self._oracle_linux_version
+
+ @oracle_linux_version.setter
+ def oracle_linux_version(self, oracle_linux_version):
+ """
+ Sets the oracle_linux_version of this CloudVmCluster.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :param oracle_linux_version: The oracle_linux_version of this CloudVmCluster.
+ :type: str
+ """
+ self._oracle_linux_version = oracle_linux_version
+
@property
def lifecycle_state(self):
"""
diff --git a/src/oci/database/models/cloud_vm_cluster_summary.py b/src/oci/database/models/cloud_vm_cluster_summary.py
index 586640e020..83a997cff8 100644
--- a/src/oci/database/models/cloud_vm_cluster_summary.py
+++ b/src/oci/database/models/cloud_vm_cluster_summary.py
@@ -164,6 +164,14 @@ def __init__(self, **kwargs):
The value to assign to the listener_port property of this CloudVmClusterSummary.
:type listener_port: int
+ :param live_image_version_details:
+ The value to assign to the live_image_version_details property of this CloudVmClusterSummary.
+ :type live_image_version_details: oci.database.models.ExadataLiveImageVersionDetails
+
+ :param oracle_linux_version:
+ The value to assign to the oracle_linux_version property of this CloudVmClusterSummary.
+ :type oracle_linux_version: str
+
:param lifecycle_state:
The value to assign to the lifecycle_state property of this CloudVmClusterSummary.
Allowed values for this property are: "PROVISIONING", "AVAILABLE", "UPDATING", "TERMINATING", "TERMINATED", "FAILED", "MAINTENANCE_IN_PROGRESS", 'UNKNOWN_ENUM_VALUE'.
@@ -403,6 +411,8 @@ def __init__(self, **kwargs):
'last_update_history_entry_id': 'str',
'shape': 'str',
'listener_port': 'int',
+ 'live_image_version_details': 'ExadataLiveImageVersionDetails',
+ 'oracle_linux_version': 'str',
'lifecycle_state': 'str',
'node_count': 'int',
'storage_size_in_gbs': 'int',
@@ -468,6 +478,8 @@ def __init__(self, **kwargs):
'last_update_history_entry_id': 'lastUpdateHistoryEntryId',
'shape': 'shape',
'listener_port': 'listenerPort',
+ 'live_image_version_details': 'liveImageVersionDetails',
+ 'oracle_linux_version': 'oracleLinuxVersion',
'lifecycle_state': 'lifecycleState',
'node_count': 'nodeCount',
'storage_size_in_gbs': 'storageSizeInGBs',
@@ -532,6 +544,8 @@ def __init__(self, **kwargs):
self._last_update_history_entry_id = None
self._shape = None
self._listener_port = None
+ self._live_image_version_details = None
+ self._oracle_linux_version = None
self._lifecycle_state = None
self._node_count = None
self._storage_size_in_gbs = None
@@ -907,6 +921,50 @@ def listener_port(self, listener_port):
"""
self._listener_port = listener_port
+ @property
+ def live_image_version_details(self):
+ """
+ Gets the live_image_version_details of this CloudVmClusterSummary.
+
+ :return: The live_image_version_details of this CloudVmClusterSummary.
+ :rtype: oci.database.models.ExadataLiveImageVersionDetails
+ """
+ return self._live_image_version_details
+
+ @live_image_version_details.setter
+ def live_image_version_details(self, live_image_version_details):
+ """
+ Sets the live_image_version_details of this CloudVmClusterSummary.
+
+ :param live_image_version_details: The live_image_version_details of this CloudVmClusterSummary.
+ :type: oci.database.models.ExadataLiveImageVersionDetails
+ """
+ self._live_image_version_details = live_image_version_details
+
+ @property
+ def oracle_linux_version(self):
+ """
+ Gets the oracle_linux_version of this CloudVmClusterSummary.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :return: The oracle_linux_version of this CloudVmClusterSummary.
+ :rtype: str
+ """
+ return self._oracle_linux_version
+
+ @oracle_linux_version.setter
+ def oracle_linux_version(self, oracle_linux_version):
+ """
+ Sets the oracle_linux_version of this CloudVmClusterSummary.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :param oracle_linux_version: The oracle_linux_version of this CloudVmClusterSummary.
+ :type: str
+ """
+ self._oracle_linux_version = oracle_linux_version
+
@property
def lifecycle_state(self):
"""
diff --git a/src/oci/database/models/convert_standby_database_type_details.py b/src/oci/database/models/convert_standby_database_type_details.py
index 42fd8cac16..88ec728166 100644
--- a/src/oci/database/models/convert_standby_database_type_details.py
+++ b/src/oci/database/models/convert_standby_database_type_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -52,6 +52,9 @@ def __init__(self, **kwargs):
'standby_conversion_type': 'standbyConversionType',
'snapshot_duration_in_days': 'snapshotDurationInDays'
}
+ self._redacted_field_paths = [
+ ['database_admin_password'],
+ ]
self._database_admin_password = None
self._standby_conversion_type = None
self._snapshot_duration_in_days = None
@@ -154,7 +157,9 @@ def snapshot_duration_in_days(self, snapshot_duration_in_days):
self._snapshot_duration_in_days = snapshot_duration_in_days
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/convert_to_regular_pluggable_database_details.py b/src/oci/database/models/convert_to_regular_pluggable_database_details.py
index 4ea71a6db6..76be3696f8 100644
--- a/src/oci/database/models/convert_to_regular_pluggable_database_details.py
+++ b/src/oci/database/models/convert_to_regular_pluggable_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -43,6 +43,10 @@ def __init__(self, **kwargs):
'container_database_admin_password': 'containerDatabaseAdminPassword',
'tde_wallet_password': 'tdeWalletPassword'
}
+ self._redacted_field_paths = [
+ ['container_database_admin_password'],
+ ['tde_wallet_password'],
+ ]
self._should_create_pdb_backup = None
self._container_database_admin_password = None
self._tde_wallet_password = None
@@ -120,7 +124,10 @@ def tde_wallet_password(self, tde_wallet_password):
self._tde_wallet_password = tde_wallet_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['container_database_admin_password'])
+ redact_password_field(as_dict, ['tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/convert_to_standalone_details.py b/src/oci/database/models/convert_to_standalone_details.py
index 906823905f..ca247741a3 100644
--- a/src/oci/database/models/convert_to_standalone_details.py
+++ b/src/oci/database/models/convert_to_standalone_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'database_admin_password': 'databaseAdminPassword'
}
+ self._redacted_field_paths = [
+ ['database_admin_password'],
+ ]
self._database_admin_password = None
@property
@@ -62,7 +65,9 @@ def database_admin_password(self, database_admin_password):
self._database_admin_password = database_admin_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_autonomous_container_database_base.py b/src/oci/database/models/create_autonomous_container_database_base.py
index c285e31642..105fa732de 100644
--- a/src/oci/database/models/create_autonomous_container_database_base.py
+++ b/src/oci/database/models/create_autonomous_container_database_base.py
@@ -23,6 +23,10 @@ class CreateAutonomousContainerDatabaseBase(object):
#: This constant has a value of "BACKUP_FROM_ID"
SOURCE_BACKUP_FROM_ID = "BACKUP_FROM_ID"
+ #: A constant which can be used with the source property of a CreateAutonomousContainerDatabaseBase.
+ #: This constant has a value of "BACKUP_FROM_TIMESTAMP"
+ SOURCE_BACKUP_FROM_TIMESTAMP = "BACKUP_FROM_TIMESTAMP"
+
#: A constant which can be used with the service_level_agreement_type property of a CreateAutonomousContainerDatabaseBase.
#: This constant has a value of "STANDARD"
SERVICE_LEVEL_AGREEMENT_TYPE_STANDARD = "STANDARD"
@@ -80,6 +84,7 @@ def __init__(self, **kwargs):
Initializes a new CreateAutonomousContainerDatabaseBase 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.database.models.CreateAutonomousContainerDatabaseFromBackupTimestampDetails`
* :class:`~oci.database.models.CreateAutonomousContainerDatabaseDetails`
* :class:`~oci.database.models.CreateAutonomousContainerDatabaseFromBackupDetails`
@@ -95,7 +100,7 @@ def __init__(self, **kwargs):
:param source:
The value to assign to the source property of this CreateAutonomousContainerDatabaseBase.
- Allowed values for this property are: "NONE", "BACKUP_FROM_ID"
+ Allowed values for this property are: "NONE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP"
:type source: str
:param display_name:
@@ -386,6 +391,9 @@ def get_subtype(object_dictionary):
"""
type = object_dictionary['source']
+ if type == 'BACKUP_FROM_TIMESTAMP':
+ return 'CreateAutonomousContainerDatabaseFromBackupTimestampDetails'
+
if type == 'NONE':
return 'CreateAutonomousContainerDatabaseDetails'
@@ -448,7 +456,7 @@ def source(self):
Gets the source of this CreateAutonomousContainerDatabaseBase.
The source of the database. Use `NONE` to create a new Autonomous Container Database (ACD). Use `BACKUP_FROM_ID` to create a new ACD from a specified backup.
- Allowed values for this property are: "NONE", "BACKUP_FROM_ID"
+ Allowed values for this property are: "NONE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP"
:return: The source of this CreateAutonomousContainerDatabaseBase.
@@ -466,7 +474,7 @@ def source(self, source):
:param source: The source of this CreateAutonomousContainerDatabaseBase.
:type: str
"""
- allowed_values = ["NONE", "BACKUP_FROM_ID"]
+ allowed_values = ["NONE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP"]
if not value_allowed_none_or_none_sentinel(source, allowed_values):
raise ValueError(
f"Invalid value for `source`, must be None or one of {allowed_values}"
diff --git a/src/oci/database/models/create_autonomous_container_database_details.py b/src/oci/database/models/create_autonomous_container_database_details.py
index d8fabff4fd..542bc74a57 100644
--- a/src/oci/database/models/create_autonomous_container_database_details.py
+++ b/src/oci/database/models/create_autonomous_container_database_details.py
@@ -31,7 +31,7 @@ def __init__(self, **kwargs):
:param source:
The value to assign to the source property of this CreateAutonomousContainerDatabaseDetails.
- Allowed values for this property are: "NONE", "BACKUP_FROM_ID"
+ Allowed values for this property are: "NONE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP"
:type source: str
:param display_name:
diff --git a/src/oci/database/models/create_autonomous_container_database_from_backup_details.py b/src/oci/database/models/create_autonomous_container_database_from_backup_details.py
index 404bc7f8f4..d12f1b283a 100644
--- a/src/oci/database/models/create_autonomous_container_database_from_backup_details.py
+++ b/src/oci/database/models/create_autonomous_container_database_from_backup_details.py
@@ -15,6 +15,30 @@ class CreateAutonomousContainerDatabaseFromBackupDetails(CreateAutonomousContain
Details to create an Autonomous Container Database (ACD) by cloning a backup of an existing ACD.
"""
+ #: A constant which can be used with the clone_type property of a CreateAutonomousContainerDatabaseFromBackupDetails.
+ #: This constant has a value of "FULL"
+ CLONE_TYPE_FULL = "FULL"
+
+ #: A constant which can be used with the clone_type property of a CreateAutonomousContainerDatabaseFromBackupDetails.
+ #: This constant has a value of "METADATA"
+ CLONE_TYPE_METADATA = "METADATA"
+
+ #: A constant which can be used with the clone_type property of a CreateAutonomousContainerDatabaseFromBackupDetails.
+ #: This constant has a value of "PARTIAL"
+ CLONE_TYPE_PARTIAL = "PARTIAL"
+
+ #: A constant which can be used with the clone_band_width property of a CreateAutonomousContainerDatabaseFromBackupDetails.
+ #: This constant has a value of "SLOW"
+ CLONE_BAND_WIDTH_SLOW = "SLOW"
+
+ #: A constant which can be used with the clone_band_width property of a CreateAutonomousContainerDatabaseFromBackupDetails.
+ #: This constant has a value of "MEDIUM"
+ CLONE_BAND_WIDTH_MEDIUM = "MEDIUM"
+
+ #: A constant which can be used with the clone_band_width property of a CreateAutonomousContainerDatabaseFromBackupDetails.
+ #: This constant has a value of "FAST"
+ CLONE_BAND_WIDTH_FAST = "FAST"
+
def __init__(self, **kwargs):
"""
Initializes a new CreateAutonomousContainerDatabaseFromBackupDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.CreateAutonomousContainerDatabaseFromBackupDetails.source` attribute
@@ -31,7 +55,7 @@ def __init__(self, **kwargs):
:param source:
The value to assign to the source property of this CreateAutonomousContainerDatabaseFromBackupDetails.
- Allowed values for this property are: "NONE", "BACKUP_FROM_ID"
+ Allowed values for this property are: "NONE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP"
:type source: str
:param display_name:
@@ -192,6 +216,20 @@ def __init__(self, **kwargs):
The value to assign to the autonomous_container_database_backup_id property of this CreateAutonomousContainerDatabaseFromBackupDetails.
:type autonomous_container_database_backup_id: str
+ :param clone_type:
+ The value to assign to the clone_type property of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ Allowed values for this property are: "FULL", "METADATA", "PARTIAL"
+ :type clone_type: str
+
+ :param autonomous_databases_to_clone:
+ The value to assign to the autonomous_databases_to_clone property of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ :type autonomous_databases_to_clone: list[str]
+
+ :param clone_band_width:
+ The value to assign to the clone_band_width property of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ Allowed values for this property are: "SLOW", "MEDIUM", "FAST"
+ :type clone_band_width: str
+
"""
self.swagger_types = {
'customer_contacts': 'list[CustomerContact]',
@@ -234,7 +272,10 @@ def __init__(self, **kwargs):
'vm_failover_reservation': 'int',
'distribution_affinity': 'str',
'net_services_architecture': 'str',
- 'autonomous_container_database_backup_id': 'str'
+ 'autonomous_container_database_backup_id': 'str',
+ 'clone_type': 'str',
+ 'autonomous_databases_to_clone': 'list[str]',
+ 'clone_band_width': 'str'
}
self.attribute_map = {
'customer_contacts': 'customerContacts',
@@ -277,7 +318,10 @@ def __init__(self, **kwargs):
'vm_failover_reservation': 'vmFailoverReservation',
'distribution_affinity': 'distributionAffinity',
'net_services_architecture': 'netServicesArchitecture',
- 'autonomous_container_database_backup_id': 'autonomousContainerDatabaseBackupId'
+ 'autonomous_container_database_backup_id': 'autonomousContainerDatabaseBackupId',
+ 'clone_type': 'cloneType',
+ 'autonomous_databases_to_clone': 'autonomousDatabasesToClone',
+ 'clone_band_width': 'cloneBandWidth'
}
self._customer_contacts = None
self._okv_end_point_group_name = None
@@ -320,6 +364,9 @@ def __init__(self, **kwargs):
self._distribution_affinity = None
self._net_services_architecture = None
self._autonomous_container_database_backup_id = None
+ self._clone_type = None
+ self._autonomous_databases_to_clone = None
+ self._clone_band_width = None
self._source = 'BACKUP_FROM_ID'
@property
@@ -350,6 +397,92 @@ def autonomous_container_database_backup_id(self, autonomous_container_database_
"""
self._autonomous_container_database_backup_id = autonomous_container_database_backup_id
+ @property
+ def clone_type(self):
+ """
+ Gets the clone_type of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ The Autonomous AI Database clone type.
+
+ Allowed values for this property are: "FULL", "METADATA", "PARTIAL"
+
+
+ :return: The clone_type of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ :rtype: str
+ """
+ return self._clone_type
+
+ @clone_type.setter
+ def clone_type(self, clone_type):
+ """
+ Sets the clone_type of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ The Autonomous AI Database clone type.
+
+
+ :param clone_type: The clone_type of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ :type: str
+ """
+ allowed_values = ["FULL", "METADATA", "PARTIAL"]
+ if not value_allowed_none_or_none_sentinel(clone_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `clone_type`, must be None or one of {allowed_values}"
+ )
+ self._clone_type = clone_type
+
+ @property
+ def autonomous_databases_to_clone(self):
+ """
+ Gets the autonomous_databases_to_clone of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+
+
+ :return: The autonomous_databases_to_clone of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ :rtype: list[str]
+ """
+ return self._autonomous_databases_to_clone
+
+ @autonomous_databases_to_clone.setter
+ def autonomous_databases_to_clone(self, autonomous_databases_to_clone):
+ """
+ Sets the autonomous_databases_to_clone of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+
+
+ :param autonomous_databases_to_clone: The autonomous_databases_to_clone of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ :type: list[str]
+ """
+ self._autonomous_databases_to_clone = autonomous_databases_to_clone
+
+ @property
+ def clone_band_width(self):
+ """
+ Gets the clone_band_width of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+
+ Allowed values for this property are: "SLOW", "MEDIUM", "FAST"
+
+
+ :return: The clone_band_width of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ :rtype: str
+ """
+ return self._clone_band_width
+
+ @clone_band_width.setter
+ def clone_band_width(self, clone_band_width):
+ """
+ Sets the clone_band_width of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+
+
+ :param clone_band_width: The clone_band_width of this CreateAutonomousContainerDatabaseFromBackupDetails.
+ :type: str
+ """
+ allowed_values = ["SLOW", "MEDIUM", "FAST"]
+ if not value_allowed_none_or_none_sentinel(clone_band_width, allowed_values):
+ raise ValueError(
+ f"Invalid value for `clone_band_width`, must be None or one of {allowed_values}"
+ )
+ self._clone_band_width = clone_band_width
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/create_autonomous_container_database_from_backup_timestamp_details.py b/src/oci/database/models/create_autonomous_container_database_from_backup_timestamp_details.py
new file mode 100644
index 0000000000..b8647afffc
--- /dev/null
+++ b/src/oci/database/models/create_autonomous_container_database_from_backup_timestamp_details.py
@@ -0,0 +1,558 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+from .create_autonomous_container_database_base import CreateAutonomousContainerDatabaseBase
+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 CreateAutonomousContainerDatabaseFromBackupTimestampDetails(CreateAutonomousContainerDatabaseBase):
+ """
+ Details to create an Autonomous Container Database (ACD) by cloning backup available, of an existing ACD, at the requested time stamp.
+ """
+
+ #: A constant which can be used with the clone_type property of a CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ #: This constant has a value of "FULL"
+ CLONE_TYPE_FULL = "FULL"
+
+ #: A constant which can be used with the clone_type property of a CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ #: This constant has a value of "METADATA"
+ CLONE_TYPE_METADATA = "METADATA"
+
+ #: A constant which can be used with the clone_type property of a CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ #: This constant has a value of "PARTIAL"
+ CLONE_TYPE_PARTIAL = "PARTIAL"
+
+ #: A constant which can be used with the clone_band_width property of a CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ #: This constant has a value of "SLOW"
+ CLONE_BAND_WIDTH_SLOW = "SLOW"
+
+ #: A constant which can be used with the clone_band_width property of a CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ #: This constant has a value of "MEDIUM"
+ CLONE_BAND_WIDTH_MEDIUM = "MEDIUM"
+
+ #: A constant which can be used with the clone_band_width property of a CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ #: This constant has a value of "FAST"
+ CLONE_BAND_WIDTH_FAST = "FAST"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateAutonomousContainerDatabaseFromBackupTimestampDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.CreateAutonomousContainerDatabaseFromBackupTimestampDetails.source` attribute
+ of this class is ``BACKUP_FROM_TIMESTAMP`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param customer_contacts:
+ The value to assign to the customer_contacts property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type customer_contacts: list[oci.database.models.CustomerContact]
+
+ :param okv_end_point_group_name:
+ The value to assign to the okv_end_point_group_name property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type okv_end_point_group_name: str
+
+ :param source:
+ The value to assign to the source property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ Allowed values for this property are: "NONE", "BACKUP_FROM_ID", "BACKUP_FROM_TIMESTAMP"
+ :type source: str
+
+ :param display_name:
+ The value to assign to the display_name property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type display_name: str
+
+ :param db_unique_name:
+ The value to assign to the db_unique_name property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type db_unique_name: str
+
+ :param db_name:
+ The value to assign to the db_name property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type db_name: str
+
+ :param service_level_agreement_type:
+ The value to assign to the service_level_agreement_type property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ Allowed values for this property are: "STANDARD", "AUTONOMOUS_DATAGUARD"
+ :type service_level_agreement_type: str
+
+ :param autonomous_exadata_infrastructure_id:
+ The value to assign to the autonomous_exadata_infrastructure_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type autonomous_exadata_infrastructure_id: str
+
+ :param db_version:
+ The value to assign to the db_version property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type db_version: str
+
+ :param database_software_image_id:
+ The value to assign to the database_software_image_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type database_software_image_id: str
+
+ :param peer_autonomous_exadata_infrastructure_id:
+ The value to assign to the peer_autonomous_exadata_infrastructure_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type peer_autonomous_exadata_infrastructure_id: str
+
+ :param peer_autonomous_container_database_display_name:
+ The value to assign to the peer_autonomous_container_database_display_name property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type peer_autonomous_container_database_display_name: str
+
+ :param protection_mode:
+ The value to assign to the protection_mode property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE"
+ :type protection_mode: str
+
+ :param fast_start_fail_over_lag_limit_in_seconds:
+ The value to assign to the fast_start_fail_over_lag_limit_in_seconds property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type fast_start_fail_over_lag_limit_in_seconds: int
+
+ :param is_automatic_failover_enabled:
+ The value to assign to the is_automatic_failover_enabled property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type is_automatic_failover_enabled: bool
+
+ :param peer_cloud_autonomous_vm_cluster_id:
+ The value to assign to the peer_cloud_autonomous_vm_cluster_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type peer_cloud_autonomous_vm_cluster_id: str
+
+ :param peer_autonomous_vm_cluster_id:
+ The value to assign to the peer_autonomous_vm_cluster_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type peer_autonomous_vm_cluster_id: str
+
+ :param peer_autonomous_container_database_compartment_id:
+ The value to assign to the peer_autonomous_container_database_compartment_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type peer_autonomous_container_database_compartment_id: str
+
+ :param peer_autonomous_container_database_backup_config:
+ The value to assign to the peer_autonomous_container_database_backup_config property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type peer_autonomous_container_database_backup_config: oci.database.models.PeerAutonomousContainerDatabaseBackupConfig
+
+ :param peer_db_unique_name:
+ The value to assign to the peer_db_unique_name property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type peer_db_unique_name: str
+
+ :param autonomous_vm_cluster_id:
+ The value to assign to the autonomous_vm_cluster_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type autonomous_vm_cluster_id: str
+
+ :param cloud_autonomous_vm_cluster_id:
+ The value to assign to the cloud_autonomous_vm_cluster_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type cloud_autonomous_vm_cluster_id: str
+
+ :param compartment_id:
+ The value to assign to the compartment_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type compartment_id: str
+
+ :param patch_model:
+ The value to assign to the patch_model property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ Allowed values for this property are: "RELEASE_UPDATES", "RELEASE_UPDATE_REVISIONS"
+ :type patch_model: str
+
+ :param maintenance_window_details:
+ The value to assign to the maintenance_window_details property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type maintenance_window_details: oci.database.models.MaintenanceWindow
+
+ :param standby_maintenance_buffer_in_days:
+ The value to assign to the standby_maintenance_buffer_in_days property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type standby_maintenance_buffer_in_days: int
+
+ :param version_preference:
+ The value to assign to the version_preference property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ Allowed values for this property are: "NEXT_RELEASE_UPDATE", "LATEST_RELEASE_UPDATE"
+ :type version_preference: str
+
+ :param is_dst_file_update_enabled:
+ The value to assign to the is_dst_file_update_enabled property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type is_dst_file_update_enabled: bool
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param backup_config:
+ The value to assign to the backup_config property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type backup_config: oci.database.models.AutonomousContainerDatabaseBackupConfig
+
+ :param kms_key_id:
+ The value to assign to the kms_key_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type kms_key_id: str
+
+ :param kms_key_version_id:
+ The value to assign to the kms_key_version_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type kms_key_version_id: str
+
+ :param vault_id:
+ The value to assign to the vault_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type vault_id: str
+
+ :param key_store_id:
+ The value to assign to the key_store_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type key_store_id: str
+
+ :param encryption_key_location_details:
+ The value to assign to the encryption_key_location_details property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type encryption_key_location_details: oci.database.models.EncryptionKeyLocationDetails
+
+ :param db_split_threshold:
+ The value to assign to the db_split_threshold property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type db_split_threshold: int
+
+ :param vm_failover_reservation:
+ The value to assign to the vm_failover_reservation property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type vm_failover_reservation: int
+
+ :param distribution_affinity:
+ The value to assign to the distribution_affinity property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ Allowed values for this property are: "MINIMUM_DISTRIBUTION", "MAXIMUM_DISTRIBUTION"
+ :type distribution_affinity: str
+
+ :param net_services_architecture:
+ The value to assign to the net_services_architecture property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ Allowed values for this property are: "DEDICATED", "SHARED", "DRCP"
+ :type net_services_architecture: str
+
+ :param source_autonomous_container_database_id:
+ The value to assign to the source_autonomous_container_database_id property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type source_autonomous_container_database_id: str
+
+ :param time_stamp_to_use_for_cloning:
+ The value to assign to the time_stamp_to_use_for_cloning property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type time_stamp_to_use_for_cloning: datetime
+
+ :param should_use_latest_available_backup_time_stamp:
+ The value to assign to the should_use_latest_available_backup_time_stamp property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type should_use_latest_available_backup_time_stamp: bool
+
+ :param clone_type:
+ The value to assign to the clone_type property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ Allowed values for this property are: "FULL", "METADATA", "PARTIAL"
+ :type clone_type: str
+
+ :param autonomous_databases_to_clone:
+ The value to assign to the autonomous_databases_to_clone property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type autonomous_databases_to_clone: list[str]
+
+ :param clone_band_width:
+ The value to assign to the clone_band_width property of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ Allowed values for this property are: "SLOW", "MEDIUM", "FAST"
+ :type clone_band_width: str
+
+ """
+ self.swagger_types = {
+ 'customer_contacts': 'list[CustomerContact]',
+ 'okv_end_point_group_name': 'str',
+ 'source': 'str',
+ 'display_name': 'str',
+ 'db_unique_name': 'str',
+ 'db_name': 'str',
+ 'service_level_agreement_type': 'str',
+ 'autonomous_exadata_infrastructure_id': 'str',
+ 'db_version': 'str',
+ 'database_software_image_id': 'str',
+ 'peer_autonomous_exadata_infrastructure_id': 'str',
+ 'peer_autonomous_container_database_display_name': 'str',
+ 'protection_mode': 'str',
+ 'fast_start_fail_over_lag_limit_in_seconds': 'int',
+ 'is_automatic_failover_enabled': 'bool',
+ 'peer_cloud_autonomous_vm_cluster_id': 'str',
+ 'peer_autonomous_vm_cluster_id': 'str',
+ 'peer_autonomous_container_database_compartment_id': 'str',
+ 'peer_autonomous_container_database_backup_config': 'PeerAutonomousContainerDatabaseBackupConfig',
+ 'peer_db_unique_name': 'str',
+ 'autonomous_vm_cluster_id': 'str',
+ 'cloud_autonomous_vm_cluster_id': 'str',
+ 'compartment_id': 'str',
+ 'patch_model': 'str',
+ 'maintenance_window_details': 'MaintenanceWindow',
+ 'standby_maintenance_buffer_in_days': 'int',
+ 'version_preference': 'str',
+ 'is_dst_file_update_enabled': 'bool',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'backup_config': 'AutonomousContainerDatabaseBackupConfig',
+ 'kms_key_id': 'str',
+ 'kms_key_version_id': 'str',
+ 'vault_id': 'str',
+ 'key_store_id': 'str',
+ 'encryption_key_location_details': 'EncryptionKeyLocationDetails',
+ 'db_split_threshold': 'int',
+ 'vm_failover_reservation': 'int',
+ 'distribution_affinity': 'str',
+ 'net_services_architecture': 'str',
+ 'source_autonomous_container_database_id': 'str',
+ 'time_stamp_to_use_for_cloning': 'datetime',
+ 'should_use_latest_available_backup_time_stamp': 'bool',
+ 'clone_type': 'str',
+ 'autonomous_databases_to_clone': 'list[str]',
+ 'clone_band_width': 'str'
+ }
+ self.attribute_map = {
+ 'customer_contacts': 'customerContacts',
+ 'okv_end_point_group_name': 'okvEndPointGroupName',
+ 'source': 'source',
+ 'display_name': 'displayName',
+ 'db_unique_name': 'dbUniqueName',
+ 'db_name': 'dbName',
+ 'service_level_agreement_type': 'serviceLevelAgreementType',
+ 'autonomous_exadata_infrastructure_id': 'autonomousExadataInfrastructureId',
+ 'db_version': 'dbVersion',
+ 'database_software_image_id': 'databaseSoftwareImageId',
+ 'peer_autonomous_exadata_infrastructure_id': 'peerAutonomousExadataInfrastructureId',
+ 'peer_autonomous_container_database_display_name': 'peerAutonomousContainerDatabaseDisplayName',
+ 'protection_mode': 'protectionMode',
+ 'fast_start_fail_over_lag_limit_in_seconds': 'fastStartFailOverLagLimitInSeconds',
+ 'is_automatic_failover_enabled': 'isAutomaticFailoverEnabled',
+ 'peer_cloud_autonomous_vm_cluster_id': 'peerCloudAutonomousVmClusterId',
+ 'peer_autonomous_vm_cluster_id': 'peerAutonomousVmClusterId',
+ 'peer_autonomous_container_database_compartment_id': 'peerAutonomousContainerDatabaseCompartmentId',
+ 'peer_autonomous_container_database_backup_config': 'peerAutonomousContainerDatabaseBackupConfig',
+ 'peer_db_unique_name': 'peerDbUniqueName',
+ 'autonomous_vm_cluster_id': 'autonomousVmClusterId',
+ 'cloud_autonomous_vm_cluster_id': 'cloudAutonomousVmClusterId',
+ 'compartment_id': 'compartmentId',
+ 'patch_model': 'patchModel',
+ 'maintenance_window_details': 'maintenanceWindowDetails',
+ 'standby_maintenance_buffer_in_days': 'standbyMaintenanceBufferInDays',
+ 'version_preference': 'versionPreference',
+ 'is_dst_file_update_enabled': 'isDstFileUpdateEnabled',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'backup_config': 'backupConfig',
+ 'kms_key_id': 'kmsKeyId',
+ 'kms_key_version_id': 'kmsKeyVersionId',
+ 'vault_id': 'vaultId',
+ 'key_store_id': 'keyStoreId',
+ 'encryption_key_location_details': 'encryptionKeyLocationDetails',
+ 'db_split_threshold': 'dbSplitThreshold',
+ 'vm_failover_reservation': 'vmFailoverReservation',
+ 'distribution_affinity': 'distributionAffinity',
+ 'net_services_architecture': 'netServicesArchitecture',
+ 'source_autonomous_container_database_id': 'sourceAutonomousContainerDatabaseId',
+ 'time_stamp_to_use_for_cloning': 'timeStampToUseForCloning',
+ 'should_use_latest_available_backup_time_stamp': 'shouldUseLatestAvailableBackupTimeStamp',
+ 'clone_type': 'cloneType',
+ 'autonomous_databases_to_clone': 'autonomousDatabasesToClone',
+ 'clone_band_width': 'cloneBandWidth'
+ }
+ self._customer_contacts = None
+ self._okv_end_point_group_name = None
+ self._source = None
+ self._display_name = None
+ self._db_unique_name = None
+ self._db_name = None
+ self._service_level_agreement_type = None
+ self._autonomous_exadata_infrastructure_id = None
+ self._db_version = None
+ self._database_software_image_id = None
+ self._peer_autonomous_exadata_infrastructure_id = None
+ self._peer_autonomous_container_database_display_name = None
+ self._protection_mode = None
+ self._fast_start_fail_over_lag_limit_in_seconds = None
+ self._is_automatic_failover_enabled = None
+ self._peer_cloud_autonomous_vm_cluster_id = None
+ self._peer_autonomous_vm_cluster_id = None
+ self._peer_autonomous_container_database_compartment_id = None
+ self._peer_autonomous_container_database_backup_config = None
+ self._peer_db_unique_name = None
+ self._autonomous_vm_cluster_id = None
+ self._cloud_autonomous_vm_cluster_id = None
+ self._compartment_id = None
+ self._patch_model = None
+ self._maintenance_window_details = None
+ self._standby_maintenance_buffer_in_days = None
+ self._version_preference = None
+ self._is_dst_file_update_enabled = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._backup_config = None
+ self._kms_key_id = None
+ self._kms_key_version_id = None
+ self._vault_id = None
+ self._key_store_id = None
+ self._encryption_key_location_details = None
+ self._db_split_threshold = None
+ self._vm_failover_reservation = None
+ self._distribution_affinity = None
+ self._net_services_architecture = None
+ self._source_autonomous_container_database_id = None
+ self._time_stamp_to_use_for_cloning = None
+ self._should_use_latest_available_backup_time_stamp = None
+ self._clone_type = None
+ self._autonomous_databases_to_clone = None
+ self._clone_band_width = None
+ self._source = 'BACKUP_FROM_TIMESTAMP'
+
+ @property
+ def source_autonomous_container_database_id(self):
+ """
+ **[Required]** Gets the source_autonomous_container_database_id of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ The `OCID`__ of the source ACD that you will clone to create a new ACD.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The source_autonomous_container_database_id of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :rtype: str
+ """
+ return self._source_autonomous_container_database_id
+
+ @source_autonomous_container_database_id.setter
+ def source_autonomous_container_database_id(self, source_autonomous_container_database_id):
+ """
+ Sets the source_autonomous_container_database_id of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ The `OCID`__ of the source ACD that you will clone to create a new ACD.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param source_autonomous_container_database_id: The source_autonomous_container_database_id of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type: str
+ """
+ self._source_autonomous_container_database_id = source_autonomous_container_database_id
+
+ @property
+ def time_stamp_to_use_for_cloning(self):
+ """
+ Gets the time_stamp_to_use_for_cloning of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ The time stamp representing the point in time to which the Autonomous Container Database should be cloned from backup. And the requested timeStamp should be in the past.
+
+
+ :return: The time_stamp_to_use_for_cloning of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :rtype: datetime
+ """
+ return self._time_stamp_to_use_for_cloning
+
+ @time_stamp_to_use_for_cloning.setter
+ def time_stamp_to_use_for_cloning(self, time_stamp_to_use_for_cloning):
+ """
+ Sets the time_stamp_to_use_for_cloning of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ The time stamp representing the point in time to which the Autonomous Container Database should be cloned from backup. And the requested timeStamp should be in the past.
+
+
+ :param time_stamp_to_use_for_cloning: The time_stamp_to_use_for_cloning of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type: datetime
+ """
+ self._time_stamp_to_use_for_cloning = time_stamp_to_use_for_cloning
+
+ @property
+ def should_use_latest_available_backup_time_stamp(self):
+ """
+ Gets the should_use_latest_available_backup_time_stamp of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ If set to true, OCI shall attempt to create a point in time to the latest available backup of the source Autonomous Container Database.
+
+
+ :return: The should_use_latest_available_backup_time_stamp of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :rtype: bool
+ """
+ return self._should_use_latest_available_backup_time_stamp
+
+ @should_use_latest_available_backup_time_stamp.setter
+ def should_use_latest_available_backup_time_stamp(self, should_use_latest_available_backup_time_stamp):
+ """
+ Sets the should_use_latest_available_backup_time_stamp of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ If set to true, OCI shall attempt to create a point in time to the latest available backup of the source Autonomous Container Database.
+
+
+ :param should_use_latest_available_backup_time_stamp: The should_use_latest_available_backup_time_stamp of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type: bool
+ """
+ self._should_use_latest_available_backup_time_stamp = should_use_latest_available_backup_time_stamp
+
+ @property
+ def clone_type(self):
+ """
+ **[Required]** Gets the clone_type of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ The Autonomous AI Database clone type.
+
+ Allowed values for this property are: "FULL", "METADATA", "PARTIAL"
+
+
+ :return: The clone_type of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :rtype: str
+ """
+ return self._clone_type
+
+ @clone_type.setter
+ def clone_type(self, clone_type):
+ """
+ Sets the clone_type of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ The Autonomous AI Database clone type.
+
+
+ :param clone_type: The clone_type of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type: str
+ """
+ allowed_values = ["FULL", "METADATA", "PARTIAL"]
+ if not value_allowed_none_or_none_sentinel(clone_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `clone_type`, must be None or one of {allowed_values}"
+ )
+ self._clone_type = clone_type
+
+ @property
+ def autonomous_databases_to_clone(self):
+ """
+ Gets the autonomous_databases_to_clone of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+
+
+ :return: The autonomous_databases_to_clone of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :rtype: list[str]
+ """
+ return self._autonomous_databases_to_clone
+
+ @autonomous_databases_to_clone.setter
+ def autonomous_databases_to_clone(self, autonomous_databases_to_clone):
+ """
+ Sets the autonomous_databases_to_clone of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ A list of Autonomous Databases ( display name of the ADB in specific ) to be cloned from backup of the source Autonomous Container Database.
+
+
+ :param autonomous_databases_to_clone: The autonomous_databases_to_clone of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type: list[str]
+ """
+ self._autonomous_databases_to_clone = autonomous_databases_to_clone
+
+ @property
+ def clone_band_width(self):
+ """
+ Gets the clone_band_width of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+
+ Allowed values for this property are: "SLOW", "MEDIUM", "FAST"
+
+
+ :return: The clone_band_width of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :rtype: str
+ """
+ return self._clone_band_width
+
+ @clone_band_width.setter
+ def clone_band_width(self, clone_band_width):
+ """
+ Sets the clone_band_width of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ The speed at which the Autonomous Container Database Clone from backup operation to be performed by OCI.
+
+
+ :param clone_band_width: The clone_band_width of this CreateAutonomousContainerDatabaseFromBackupTimestampDetails.
+ :type: str
+ """
+ allowed_values = ["SLOW", "MEDIUM", "FAST"]
+ if not value_allowed_none_or_none_sentinel(clone_band_width, allowed_values):
+ raise ValueError(
+ f"Invalid value for `clone_band_width`, must be None or one of {allowed_values}"
+ )
+ self._clone_band_width = clone_band_width
+
+ 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/database/models/create_autonomous_database_base.py b/src/oci/database/models/create_autonomous_database_base.py
index 8a819568ad..e35e853ca2 100644
--- a/src/oci/database/models/create_autonomous_database_base.py
+++ b/src/oci/database/models/create_autonomous_database_base.py
@@ -123,6 +123,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateAutonomousDatabaseBase.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this CreateAutonomousDatabaseBase.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this CreateAutonomousDatabaseBase.
:type character_set: str
@@ -348,6 +352,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -406,6 +411,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -463,6 +469,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
@@ -611,6 +618,30 @@ def compartment_id(self, compartment_id):
"""
self._compartment_id = compartment_id
+ @property
+ def availability_domain(self):
+ """
+ Gets the availability_domain of this CreateAutonomousDatabaseBase.
+ The Autonomous Database Serverless instance's availability domain.
+
+
+ :return: The availability_domain of this CreateAutonomousDatabaseBase.
+ :rtype: str
+ """
+ return self._availability_domain
+
+ @availability_domain.setter
+ def availability_domain(self, availability_domain):
+ """
+ Sets the availability_domain of this CreateAutonomousDatabaseBase.
+ The Autonomous Database Serverless instance's availability domain.
+
+
+ :param availability_domain: The availability_domain of this CreateAutonomousDatabaseBase.
+ :type: str
+ """
+ self._availability_domain = availability_domain
+
@property
def character_set(self):
"""
diff --git a/src/oci/database/models/create_autonomous_database_clone_details.py b/src/oci/database/models/create_autonomous_database_clone_details.py
index 80b42a5acd..cf65b3297a 100644
--- a/src/oci/database/models/create_autonomous_database_clone_details.py
+++ b/src/oci/database/models/create_autonomous_database_clone_details.py
@@ -41,6 +41,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateAutonomousDatabaseCloneDetails.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this CreateAutonomousDatabaseCloneDetails.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this CreateAutonomousDatabaseCloneDetails.
:type character_set: str
@@ -275,6 +279,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -335,6 +340,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -394,6 +400,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
diff --git a/src/oci/database/models/create_autonomous_database_details.py b/src/oci/database/models/create_autonomous_database_details.py
index 6f2b151b67..e57e506506 100644
--- a/src/oci/database/models/create_autonomous_database_details.py
+++ b/src/oci/database/models/create_autonomous_database_details.py
@@ -29,6 +29,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateAutonomousDatabaseDetails.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this CreateAutonomousDatabaseDetails.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this CreateAutonomousDatabaseDetails.
:type character_set: str
@@ -254,6 +258,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -312,6 +317,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -369,6 +375,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
diff --git a/src/oci/database/models/create_autonomous_database_from_backup_details.py b/src/oci/database/models/create_autonomous_database_from_backup_details.py
index 7e2013fe27..e4502672d5 100644
--- a/src/oci/database/models/create_autonomous_database_from_backup_details.py
+++ b/src/oci/database/models/create_autonomous_database_from_backup_details.py
@@ -41,6 +41,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateAutonomousDatabaseFromBackupDetails.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this CreateAutonomousDatabaseFromBackupDetails.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this CreateAutonomousDatabaseFromBackupDetails.
:type character_set: str
@@ -279,6 +283,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -340,6 +345,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -400,6 +406,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
diff --git a/src/oci/database/models/create_autonomous_database_from_backup_timestamp_details.py b/src/oci/database/models/create_autonomous_database_from_backup_timestamp_details.py
index 719d07727e..8398af79cc 100644
--- a/src/oci/database/models/create_autonomous_database_from_backup_timestamp_details.py
+++ b/src/oci/database/models/create_autonomous_database_from_backup_timestamp_details.py
@@ -41,6 +41,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateAutonomousDatabaseFromBackupTimestampDetails.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this CreateAutonomousDatabaseFromBackupTimestampDetails.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this CreateAutonomousDatabaseFromBackupTimestampDetails.
:type character_set: str
@@ -287,6 +291,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -350,6 +355,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -412,6 +418,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
diff --git a/src/oci/database/models/create_basecc_vm_cluster_details.py b/src/oci/database/models/create_basecc_vm_cluster_details.py
new file mode 100644
index 0000000000..8787cb626c
--- /dev/null
+++ b/src/oci/database/models/create_basecc_vm_cluster_details.py
@@ -0,0 +1,813 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 CreateBaseccVmClusterDetails(object):
+ """
+ Details for creating a BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
+ """
+
+ #: A constant which can be used with the database_edition property of a CreateBaseccVmClusterDetails.
+ #: This constant has a value of "STANDARD_EDITION"
+ DATABASE_EDITION_STANDARD_EDITION = "STANDARD_EDITION"
+
+ #: A constant which can be used with the database_edition property of a CreateBaseccVmClusterDetails.
+ #: This constant has a value of "ENTERPRISE_EDITION"
+ DATABASE_EDITION_ENTERPRISE_EDITION = "ENTERPRISE_EDITION"
+
+ #: A constant which can be used with the database_edition property of a CreateBaseccVmClusterDetails.
+ #: This constant has a value of "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
+ DATABASE_EDITION_ENTERPRISE_EDITION_HIGH_PERFORMANCE = "ENTERPRISE_EDITION_HIGH_PERFORMANCE"
+
+ #: A constant which can be used with the database_edition property of a CreateBaseccVmClusterDetails.
+ #: This constant has a value of "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
+ DATABASE_EDITION_ENTERPRISE_EDITION_EXTREME_PERFORMANCE = "ENTERPRISE_EDITION_EXTREME_PERFORMANCE"
+
+ #: A constant which can be used with the database_edition property of a CreateBaseccVmClusterDetails.
+ #: This constant has a value of "ENTERPRISE_EDITION_DEVELOPER"
+ DATABASE_EDITION_ENTERPRISE_EDITION_DEVELOPER = "ENTERPRISE_EDITION_DEVELOPER"
+
+ #: A constant which can be used with the license_model property of a CreateBaseccVmClusterDetails.
+ #: This constant has a value of "LICENSE_INCLUDED"
+ LICENSE_MODEL_LICENSE_INCLUDED = "LICENSE_INCLUDED"
+
+ #: A constant which can be used with the license_model property of a CreateBaseccVmClusterDetails.
+ #: This constant has a value of "BRING_YOUR_OWN_LICENSE"
+ LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
+
+ #: A constant which can be used with the vm_cluster_type property of a CreateBaseccVmClusterDetails.
+ #: This constant has a value of "REGULAR"
+ VM_CLUSTER_TYPE_REGULAR = "REGULAR"
+
+ #: A constant which can be used with the vm_cluster_type property of a CreateBaseccVmClusterDetails.
+ #: This constant has a value of "DEVELOPER"
+ VM_CLUSTER_TYPE_DEVELOPER = "DEVELOPER"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new CreateBaseccVmClusterDetails 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 CreateBaseccVmClusterDetails.
+ :type compartment_id: str
+
+ :param database_edition:
+ The value to assign to the database_edition property of this CreateBaseccVmClusterDetails.
+ Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER"
+ :type database_edition: str
+
+ :param node_count:
+ The value to assign to the node_count property of this CreateBaseccVmClusterDetails.
+ :type node_count: int
+
+ :param db_server_id:
+ The value to assign to the db_server_id property of this CreateBaseccVmClusterDetails.
+ :type db_server_id: str
+
+ :param cpu_core_count:
+ The value to assign to the cpu_core_count property of this CreateBaseccVmClusterDetails.
+ :type cpu_core_count: int
+
+ :param base_infrastructure_id:
+ The value to assign to the base_infrastructure_id property of this CreateBaseccVmClusterDetails.
+ :type base_infrastructure_id: str
+
+ :param base_vm_cluster_network_id:
+ The value to assign to the base_vm_cluster_network_id property of this CreateBaseccVmClusterDetails.
+ :type base_vm_cluster_network_id: str
+
+ :param gi_version:
+ The value to assign to the gi_version property of this CreateBaseccVmClusterDetails.
+ :type gi_version: str
+
+ :param data_collection_options:
+ The value to assign to the data_collection_options property of this CreateBaseccVmClusterDetails.
+ :type data_collection_options: oci.database.models.DataCollectionOptions
+
+ :param description:
+ The value to assign to the description property of this CreateBaseccVmClusterDetails.
+ :type description: str
+
+ :param display_name:
+ The value to assign to the display_name property of this CreateBaseccVmClusterDetails.
+ :type display_name: str
+
+ :param ssh_public_keys:
+ The value to assign to the ssh_public_keys property of this CreateBaseccVmClusterDetails.
+ :type ssh_public_keys: list[str]
+
+ :param time_zone:
+ The value to assign to the time_zone property of this CreateBaseccVmClusterDetails.
+ :type time_zone: str
+
+ :param additional_vm_storage_size_in_gbs:
+ The value to assign to the additional_vm_storage_size_in_gbs property of this CreateBaseccVmClusterDetails.
+ :type additional_vm_storage_size_in_gbs: int
+
+ :param data_storage_size_in_gbs:
+ The value to assign to the data_storage_size_in_gbs property of this CreateBaseccVmClusterDetails.
+ :type data_storage_size_in_gbs: int
+
+ :param reco_storage_size_in_gbs:
+ The value to assign to the reco_storage_size_in_gbs property of this CreateBaseccVmClusterDetails.
+ :type reco_storage_size_in_gbs: int
+
+ :param memory_size_in_gbs:
+ The value to assign to the memory_size_in_gbs property of this CreateBaseccVmClusterDetails.
+ :type memory_size_in_gbs: int
+
+ :param license_model:
+ The value to assign to the license_model property of this CreateBaseccVmClusterDetails.
+ Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"
+ :type license_model: str
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this CreateBaseccVmClusterDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this CreateBaseccVmClusterDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param vm_cluster_type:
+ The value to assign to the vm_cluster_type property of this CreateBaseccVmClusterDetails.
+ Allowed values for this property are: "REGULAR", "DEVELOPER"
+ :type vm_cluster_type: str
+
+ :param cloud_automation_update_details:
+ The value to assign to the cloud_automation_update_details property of this CreateBaseccVmClusterDetails.
+ :type cloud_automation_update_details: oci.database.models.CloudAutomationUpdateDetails
+
+ """
+ self.swagger_types = {
+ 'compartment_id': 'str',
+ 'database_edition': 'str',
+ 'node_count': 'int',
+ 'db_server_id': 'str',
+ 'cpu_core_count': 'int',
+ 'base_infrastructure_id': 'str',
+ 'base_vm_cluster_network_id': 'str',
+ 'gi_version': 'str',
+ 'data_collection_options': 'DataCollectionOptions',
+ 'description': 'str',
+ 'display_name': 'str',
+ 'ssh_public_keys': 'list[str]',
+ 'time_zone': 'str',
+ 'additional_vm_storage_size_in_gbs': 'int',
+ 'data_storage_size_in_gbs': 'int',
+ 'reco_storage_size_in_gbs': 'int',
+ 'memory_size_in_gbs': 'int',
+ 'license_model': 'str',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'vm_cluster_type': 'str',
+ 'cloud_automation_update_details': 'CloudAutomationUpdateDetails'
+ }
+ self.attribute_map = {
+ 'compartment_id': 'compartmentId',
+ 'database_edition': 'databaseEdition',
+ 'node_count': 'nodeCount',
+ 'db_server_id': 'dbServerId',
+ 'cpu_core_count': 'cpuCoreCount',
+ 'base_infrastructure_id': 'baseInfrastructureId',
+ 'base_vm_cluster_network_id': 'baseVmClusterNetworkId',
+ 'gi_version': 'giVersion',
+ 'data_collection_options': 'dataCollectionOptions',
+ 'description': 'description',
+ 'display_name': 'displayName',
+ 'ssh_public_keys': 'sshPublicKeys',
+ 'time_zone': 'timeZone',
+ 'additional_vm_storage_size_in_gbs': 'additionalVmStorageSizeInGBs',
+ 'data_storage_size_in_gbs': 'dataStorageSizeInGBs',
+ 'reco_storage_size_in_gbs': 'recoStorageSizeInGBs',
+ 'memory_size_in_gbs': 'memorySizeInGBs',
+ 'license_model': 'licenseModel',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'vm_cluster_type': 'vmClusterType',
+ 'cloud_automation_update_details': 'cloudAutomationUpdateDetails'
+ }
+ self._compartment_id = None
+ self._database_edition = None
+ self._node_count = None
+ self._db_server_id = None
+ self._cpu_core_count = None
+ self._base_infrastructure_id = None
+ self._base_vm_cluster_network_id = None
+ self._gi_version = None
+ self._data_collection_options = None
+ self._description = None
+ self._display_name = None
+ self._ssh_public_keys = None
+ self._time_zone = None
+ self._additional_vm_storage_size_in_gbs = None
+ self._data_storage_size_in_gbs = None
+ self._reco_storage_size_in_gbs = None
+ self._memory_size_in_gbs = None
+ self._license_model = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._vm_cluster_type = None
+ self._cloud_automation_update_details = None
+
+ @property
+ def compartment_id(self):
+ """
+ **[Required]** Gets the compartment_id of this CreateBaseccVmClusterDetails.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The compartment_id of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._compartment_id
+
+ @compartment_id.setter
+ def compartment_id(self, compartment_id):
+ """
+ Sets the compartment_id of this CreateBaseccVmClusterDetails.
+ The `OCID`__ of the compartment.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param compartment_id: The compartment_id of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ self._compartment_id = compartment_id
+
+ @property
+ def database_edition(self):
+ """
+ Gets the database_edition of this CreateBaseccVmClusterDetails.
+ The Oracle Database Edition that applies to all the databases on the DB system.
+ Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
+
+ Allowed values for this property are: "STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER"
+
+
+ :return: The database_edition of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._database_edition
+
+ @database_edition.setter
+ def database_edition(self, database_edition):
+ """
+ Sets the database_edition of this CreateBaseccVmClusterDetails.
+ The Oracle Database Edition that applies to all the databases on the DB system.
+ Exadata DB systems and 2-node RAC DB systems require ENTERPRISE_EDITION_EXTREME_PERFORMANCE.
+
+
+ :param database_edition: The database_edition of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ allowed_values = ["STANDARD_EDITION", "ENTERPRISE_EDITION", "ENTERPRISE_EDITION_HIGH_PERFORMANCE", "ENTERPRISE_EDITION_EXTREME_PERFORMANCE", "ENTERPRISE_EDITION_DEVELOPER"]
+ if not value_allowed_none_or_none_sentinel(database_edition, allowed_values):
+ raise ValueError(
+ f"Invalid value for `database_edition`, must be None or one of {allowed_values}"
+ )
+ self._database_edition = database_edition
+
+ @property
+ def node_count(self):
+ """
+ Gets the node_count of this CreateBaseccVmClusterDetails.
+ The number of nodes in the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The node_count of this CreateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._node_count
+
+ @node_count.setter
+ def node_count(self, node_count):
+ """
+ Sets the node_count of this CreateBaseccVmClusterDetails.
+ The number of nodes in the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param node_count: The node_count of this CreateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._node_count = node_count
+
+ @property
+ def db_server_id(self):
+ """
+ Gets the db_server_id of this CreateBaseccVmClusterDetails.
+ The `OCID`__ of the compute node of the Oracle Data Cloud@Customer Infrastructure, on which the VM should be launched.
+ Note: Applies to single node Base Database Service on Cloud@Customer (BaseDB-C@C) VM clusters only
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The db_server_id of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._db_server_id
+
+ @db_server_id.setter
+ def db_server_id(self, db_server_id):
+ """
+ Sets the db_server_id of this CreateBaseccVmClusterDetails.
+ The `OCID`__ of the compute node of the Oracle Data Cloud@Customer Infrastructure, on which the VM should be launched.
+ Note: Applies to single node Base Database Service on Cloud@Customer (BaseDB-C@C) VM clusters only
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param db_server_id: The db_server_id of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ self._db_server_id = db_server_id
+
+ @property
+ def cpu_core_count(self):
+ """
+ **[Required]** Gets the cpu_core_count of this CreateBaseccVmClusterDetails.
+ Total CPU cores for the BaseDB C@C VM cluster.
+
+
+ :return: The cpu_core_count of this CreateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._cpu_core_count
+
+ @cpu_core_count.setter
+ def cpu_core_count(self, cpu_core_count):
+ """
+ Sets the cpu_core_count of this CreateBaseccVmClusterDetails.
+ Total CPU cores for the BaseDB C@C VM cluster.
+
+
+ :param cpu_core_count: The cpu_core_count of this CreateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._cpu_core_count = cpu_core_count
+
+ @property
+ def base_infrastructure_id(self):
+ """
+ **[Required]** Gets the base_infrastructure_id of this CreateBaseccVmClusterDetails.
+ The `OCID`__ of Oracle Data Cloud@Customer Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The base_infrastructure_id of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._base_infrastructure_id
+
+ @base_infrastructure_id.setter
+ def base_infrastructure_id(self, base_infrastructure_id):
+ """
+ Sets the base_infrastructure_id of this CreateBaseccVmClusterDetails.
+ The `OCID`__ of Oracle Data Cloud@Customer Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param base_infrastructure_id: The base_infrastructure_id of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ self._base_infrastructure_id = base_infrastructure_id
+
+ @property
+ def base_vm_cluster_network_id(self):
+ """
+ **[Required]** Gets the base_vm_cluster_network_id of this CreateBaseccVmClusterDetails.
+ The `OCID`__ of BaseDB-C@C VM Cluster Network.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The base_vm_cluster_network_id of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._base_vm_cluster_network_id
+
+ @base_vm_cluster_network_id.setter
+ def base_vm_cluster_network_id(self, base_vm_cluster_network_id):
+ """
+ Sets the base_vm_cluster_network_id of this CreateBaseccVmClusterDetails.
+ The `OCID`__ of BaseDB-C@C VM Cluster Network.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param base_vm_cluster_network_id: The base_vm_cluster_network_id of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ self._base_vm_cluster_network_id = base_vm_cluster_network_id
+
+ @property
+ def gi_version(self):
+ """
+ **[Required]** Gets the gi_version of this CreateBaseccVmClusterDetails.
+ A valid Oracle Grid Infrastructure (GI) software version.
+
+
+ :return: The gi_version of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._gi_version
+
+ @gi_version.setter
+ def gi_version(self, gi_version):
+ """
+ Sets the gi_version of this CreateBaseccVmClusterDetails.
+ A valid Oracle Grid Infrastructure (GI) software version.
+
+
+ :param gi_version: The gi_version of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ self._gi_version = gi_version
+
+ @property
+ def data_collection_options(self):
+ """
+ Gets the data_collection_options of this CreateBaseccVmClusterDetails.
+
+ :return: The data_collection_options of this CreateBaseccVmClusterDetails.
+ :rtype: oci.database.models.DataCollectionOptions
+ """
+ return self._data_collection_options
+
+ @data_collection_options.setter
+ def data_collection_options(self, data_collection_options):
+ """
+ Sets the data_collection_options of this CreateBaseccVmClusterDetails.
+
+ :param data_collection_options: The data_collection_options of this CreateBaseccVmClusterDetails.
+ :type: oci.database.models.DataCollectionOptions
+ """
+ self._data_collection_options = data_collection_options
+
+ @property
+ def description(self):
+ """
+ Gets the description of this CreateBaseccVmClusterDetails.
+ The description for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The description of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._description
+
+ @description.setter
+ def description(self, description):
+ """
+ Sets the description of this CreateBaseccVmClusterDetails.
+ The description for Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param description: The description of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ self._description = description
+
+ @property
+ def display_name(self):
+ """
+ **[Required]** Gets the display_name of this CreateBaseccVmClusterDetails.
+ The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The name does not need to be unique.
+
+
+ :return: The display_name of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this CreateBaseccVmClusterDetails.
+ The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The name does not need to be unique.
+
+
+ :param display_name: The display_name of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def ssh_public_keys(self):
+ """
+ **[Required]** Gets the ssh_public_keys of this CreateBaseccVmClusterDetails.
+ The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The ssh_public_keys of this CreateBaseccVmClusterDetails.
+ :rtype: list[str]
+ """
+ return self._ssh_public_keys
+
+ @ssh_public_keys.setter
+ def ssh_public_keys(self, ssh_public_keys):
+ """
+ Sets the ssh_public_keys of this CreateBaseccVmClusterDetails.
+ The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param ssh_public_keys: The ssh_public_keys of this CreateBaseccVmClusterDetails.
+ :type: list[str]
+ """
+ self._ssh_public_keys = ssh_public_keys
+
+ @property
+ def time_zone(self):
+ """
+ Gets the time_zone of this CreateBaseccVmClusterDetails.
+ The time zone to use for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. For details, see `Time Zones`__.
+
+ __ https://docs.oracle.com/iaas/Content/Database/References/timezones.htm
+
+
+ :return: The time_zone of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._time_zone
+
+ @time_zone.setter
+ def time_zone(self, time_zone):
+ """
+ Sets the time_zone of this CreateBaseccVmClusterDetails.
+ The time zone to use for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. For details, see `Time Zones`__.
+
+ __ https://docs.oracle.com/iaas/Content/Database/References/timezones.htm
+
+
+ :param time_zone: The time_zone of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ self._time_zone = time_zone
+
+ @property
+ def additional_vm_storage_size_in_gbs(self):
+ """
+ Gets the additional_vm_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The additional_vm_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._additional_vm_storage_size_in_gbs
+
+ @additional_vm_storage_size_in_gbs.setter
+ def additional_vm_storage_size_in_gbs(self, additional_vm_storage_size_in_gbs):
+ """
+ Sets the additional_vm_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param additional_vm_storage_size_in_gbs: The additional_vm_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._additional_vm_storage_size_in_gbs = additional_vm_storage_size_in_gbs
+
+ @property
+ def data_storage_size_in_gbs(self):
+ """
+ Gets the data_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The data_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._data_storage_size_in_gbs
+
+ @data_storage_size_in_gbs.setter
+ def data_storage_size_in_gbs(self, data_storage_size_in_gbs):
+ """
+ Sets the data_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param data_storage_size_in_gbs: The data_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._data_storage_size_in_gbs = data_storage_size_in_gbs
+
+ @property
+ def reco_storage_size_in_gbs(self):
+ """
+ Gets the reco_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The reco_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._reco_storage_size_in_gbs
+
+ @reco_storage_size_in_gbs.setter
+ def reco_storage_size_in_gbs(self, reco_storage_size_in_gbs):
+ """
+ Sets the reco_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param reco_storage_size_in_gbs: The reco_storage_size_in_gbs of this CreateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._reco_storage_size_in_gbs = reco_storage_size_in_gbs
+
+ @property
+ def memory_size_in_gbs(self):
+ """
+ Gets the memory_size_in_gbs of this CreateBaseccVmClusterDetails.
+ The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The minimum is 11GB for every 4 ECPU.
+
+
+ :return: The memory_size_in_gbs of this CreateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._memory_size_in_gbs
+
+ @memory_size_in_gbs.setter
+ def memory_size_in_gbs(self, memory_size_in_gbs):
+ """
+ Sets the memory_size_in_gbs of this CreateBaseccVmClusterDetails.
+ The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The minimum is 11GB for every 4 ECPU.
+
+
+ :param memory_size_in_gbs: The memory_size_in_gbs of this CreateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._memory_size_in_gbs = memory_size_in_gbs
+
+ @property
+ def license_model(self):
+ """
+ Gets the license_model of this CreateBaseccVmClusterDetails.
+ The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The default is LICENSE_INCLUDED.
+
+ Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"
+
+
+ :return: The license_model of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._license_model
+
+ @license_model.setter
+ def license_model(self, license_model):
+ """
+ Sets the license_model of this CreateBaseccVmClusterDetails.
+ The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The default is LICENSE_INCLUDED.
+
+
+ :param license_model: The license_model of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ allowed_values = ["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]
+ if not value_allowed_none_or_none_sentinel(license_model, allowed_values):
+ raise ValueError(
+ f"Invalid value for `license_model`, must be None or one of {allowed_values}"
+ )
+ self._license_model = license_model
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this CreateBaseccVmClusterDetails.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this CreateBaseccVmClusterDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this CreateBaseccVmClusterDetails.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this CreateBaseccVmClusterDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this CreateBaseccVmClusterDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this CreateBaseccVmClusterDetails.
+ :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 CreateBaseccVmClusterDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this CreateBaseccVmClusterDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def vm_cluster_type(self):
+ """
+ Gets the vm_cluster_type of this CreateBaseccVmClusterDetails.
+ The cluster type for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+ Allowed values for this property are: "REGULAR", "DEVELOPER"
+
+
+ :return: The vm_cluster_type of this CreateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._vm_cluster_type
+
+ @vm_cluster_type.setter
+ def vm_cluster_type(self, vm_cluster_type):
+ """
+ Sets the vm_cluster_type of this CreateBaseccVmClusterDetails.
+ The cluster type for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param vm_cluster_type: The vm_cluster_type of this CreateBaseccVmClusterDetails.
+ :type: str
+ """
+ allowed_values = ["REGULAR", "DEVELOPER"]
+ if not value_allowed_none_or_none_sentinel(vm_cluster_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `vm_cluster_type`, must be None or one of {allowed_values}"
+ )
+ self._vm_cluster_type = vm_cluster_type
+
+ @property
+ def cloud_automation_update_details(self):
+ """
+ Gets the cloud_automation_update_details of this CreateBaseccVmClusterDetails.
+
+ :return: The cloud_automation_update_details of this CreateBaseccVmClusterDetails.
+ :rtype: oci.database.models.CloudAutomationUpdateDetails
+ """
+ return self._cloud_automation_update_details
+
+ @cloud_automation_update_details.setter
+ def cloud_automation_update_details(self, cloud_automation_update_details):
+ """
+ Sets the cloud_automation_update_details of this CreateBaseccVmClusterDetails.
+
+ :param cloud_automation_update_details: The cloud_automation_update_details of this CreateBaseccVmClusterDetails.
+ :type: oci.database.models.CloudAutomationUpdateDetails
+ """
+ self._cloud_automation_update_details = cloud_automation_update_details
+
+ 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/database/models/create_cross_region_autonomous_database_data_guard_details.py b/src/oci/database/models/create_cross_region_autonomous_database_data_guard_details.py
index 831fba921f..6e2de80f86 100644
--- a/src/oci/database/models/create_cross_region_autonomous_database_data_guard_details.py
+++ b/src/oci/database/models/create_cross_region_autonomous_database_data_guard_details.py
@@ -49,6 +49,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this CreateCrossRegionAutonomousDatabaseDataGuardDetails.
:type character_set: str
@@ -278,6 +282,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -337,6 +342,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -395,6 +401,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
diff --git a/src/oci/database/models/create_cross_region_disaster_recovery_details.py b/src/oci/database/models/create_cross_region_disaster_recovery_details.py
index 0e4693f30c..85fd63eba8 100644
--- a/src/oci/database/models/create_cross_region_disaster_recovery_details.py
+++ b/src/oci/database/models/create_cross_region_disaster_recovery_details.py
@@ -48,6 +48,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateCrossRegionDisasterRecoveryDetails.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this CreateCrossRegionDisasterRecoveryDetails.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this CreateCrossRegionDisasterRecoveryDetails.
:type character_set: str
@@ -285,6 +289,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -346,6 +351,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -406,6 +412,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
diff --git a/src/oci/database/models/create_cross_tenancy_disaster_recovery_details.py b/src/oci/database/models/create_cross_tenancy_disaster_recovery_details.py
index a0bfd12a8d..f6de116127 100644
--- a/src/oci/database/models/create_cross_tenancy_disaster_recovery_details.py
+++ b/src/oci/database/models/create_cross_tenancy_disaster_recovery_details.py
@@ -49,6 +49,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateCrossTenancyDisasterRecoveryDetails.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this CreateCrossTenancyDisasterRecoveryDetails.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this CreateCrossTenancyDisasterRecoveryDetails.
:type character_set: str
@@ -286,6 +290,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -347,6 +352,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -407,6 +413,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
diff --git a/src/oci/database/models/create_database_base.py b/src/oci/database/models/create_database_base.py
index a3be24bc11..1364ddd025 100644
--- a/src/oci/database/models/create_database_base.py
+++ b/src/oci/database/models/create_database_base.py
@@ -112,7 +112,7 @@ def get_subtype(object_dictionary):
@property
def db_home_id(self):
"""
- **[Required]** Gets the db_home_id of this CreateDatabaseBase.
+ Gets the db_home_id of this CreateDatabaseBase.
The `OCID`__ of the Database Home.
__ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
diff --git a/src/oci/database/models/create_database_details.py b/src/oci/database/models/create_database_details.py
index c9a6b35dc4..743986bdd1 100644
--- a/src/oci/database/models/create_database_details.py
+++ b/src/oci/database/models/create_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -107,6 +107,14 @@ def __init__(self, **kwargs):
The value to assign to the storage_size_details property of this CreateDatabaseDetails.
:type storage_size_details: oci.database.models.DatabaseStorageSizeDetails
+ :param managed_software_update_details:
+ The value to assign to the managed_software_update_details property of this CreateDatabaseDetails.
+ :type managed_software_update_details: oci.database.models.ManagedSoftwareUpdateInputDetails
+
+ :param vm_cluster_id:
+ The value to assign to the vm_cluster_id property of this CreateDatabaseDetails.
+ :type vm_cluster_id: str
+
"""
self.swagger_types = {
'db_name': 'str',
@@ -127,7 +135,9 @@ def __init__(self, **kwargs):
'sid_prefix': 'str',
'key_store_id': 'str',
'encryption_key_location_details': 'EncryptionKeyLocationDetails',
- 'storage_size_details': 'DatabaseStorageSizeDetails'
+ 'storage_size_details': 'DatabaseStorageSizeDetails',
+ 'managed_software_update_details': 'ManagedSoftwareUpdateInputDetails',
+ 'vm_cluster_id': 'str'
}
self.attribute_map = {
'db_name': 'dbName',
@@ -148,8 +158,13 @@ def __init__(self, **kwargs):
'sid_prefix': 'sidPrefix',
'key_store_id': 'keyStoreId',
'encryption_key_location_details': 'encryptionKeyLocationDetails',
- 'storage_size_details': 'storageSizeDetails'
+ 'storage_size_details': 'storageSizeDetails',
+ 'managed_software_update_details': 'managedSoftwareUpdateDetails',
+ 'vm_cluster_id': 'vmClusterId'
}
+ self._redacted_field_paths = [
+ ['tde_wallet_password'],
+ ]
self._db_name = None
self._db_unique_name = None
self._database_software_image_id = None
@@ -169,6 +184,8 @@ def __init__(self, **kwargs):
self._key_store_id = None
self._encryption_key_location_details = None
self._storage_size_details = None
+ self._managed_software_update_details = None
+ self._vm_cluster_id = None
@property
def db_name(self):
@@ -663,8 +680,58 @@ def storage_size_details(self, storage_size_details):
"""
self._storage_size_details = storage_size_details
+ @property
+ def managed_software_update_details(self):
+ """
+ Gets the managed_software_update_details of this CreateDatabaseDetails.
+
+ :return: The managed_software_update_details of this CreateDatabaseDetails.
+ :rtype: oci.database.models.ManagedSoftwareUpdateInputDetails
+ """
+ return self._managed_software_update_details
+
+ @managed_software_update_details.setter
+ def managed_software_update_details(self, managed_software_update_details):
+ """
+ Sets the managed_software_update_details of this CreateDatabaseDetails.
+
+ :param managed_software_update_details: The managed_software_update_details of this CreateDatabaseDetails.
+ :type: oci.database.models.ManagedSoftwareUpdateInputDetails
+ """
+ self._managed_software_update_details = managed_software_update_details
+
+ @property
+ def vm_cluster_id(self):
+ """
+ Gets the vm_cluster_id of this CreateDatabaseDetails.
+ The `OCID`__ of the VM cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The vm_cluster_id of this CreateDatabaseDetails.
+ :rtype: str
+ """
+ return self._vm_cluster_id
+
+ @vm_cluster_id.setter
+ def vm_cluster_id(self, vm_cluster_id):
+ """
+ Sets the vm_cluster_id of this CreateDatabaseDetails.
+ The `OCID`__ of the VM cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param vm_cluster_id: The vm_cluster_id of this CreateDatabaseDetails.
+ :type: str
+ """
+ self._vm_cluster_id = vm_cluster_id
+
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_database_for_standby_db_system_details.py b/src/oci/database/models/create_database_for_standby_db_system_details.py
index 530242c63f..7f18f967a4 100644
--- a/src/oci/database/models/create_database_for_standby_db_system_details.py
+++ b/src/oci/database/models/create_database_for_standby_db_system_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -131,6 +131,9 @@ def __init__(self, **kwargs):
'database_freeform_tags': 'databaseFreeformTags',
'database_defined_tags': 'databaseDefinedTags'
}
+ self._redacted_field_paths = [
+ ['tde_wallet_password'],
+ ]
self._admin_password = None
self._tde_wallet_password = None
self._database_software_image_id = None
@@ -516,7 +519,9 @@ def database_defined_tags(self, database_defined_tags):
self._database_defined_tags = database_defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_database_from_another_database_details.py b/src/oci/database/models/create_database_from_another_database_details.py
index bc075e79c7..405ea17368 100644
--- a/src/oci/database/models/create_database_from_another_database_details.py
+++ b/src/oci/database/models/create_database_from_another_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -68,10 +68,18 @@ def __init__(self, **kwargs):
The value to assign to the storage_size_details property of this CreateDatabaseFromAnotherDatabaseDetails.
:type storage_size_details: oci.database.models.DatabaseStorageSizeDetails
+ :param managed_software_update_details:
+ The value to assign to the managed_software_update_details property of this CreateDatabaseFromAnotherDatabaseDetails.
+ :type managed_software_update_details: oci.database.models.ManagedSoftwareUpdateInputDetails
+
:param vm_cluster_id:
The value to assign to the vm_cluster_id property of this CreateDatabaseFromAnotherDatabaseDetails.
:type vm_cluster_id: str
+ :param recovery_appliance_vpc_password:
+ The value to assign to the recovery_appliance_vpc_password property of this CreateDatabaseFromAnotherDatabaseDetails.
+ :type recovery_appliance_vpc_password: str
+
"""
self.swagger_types = {
'database_id': 'str',
@@ -86,7 +94,9 @@ def __init__(self, **kwargs):
'sid_prefix': 'str',
'source_encryption_key_location_details': 'EncryptionKeyLocationDetails',
'storage_size_details': 'DatabaseStorageSizeDetails',
- 'vm_cluster_id': 'str'
+ 'managed_software_update_details': 'ManagedSoftwareUpdateInputDetails',
+ 'vm_cluster_id': 'str',
+ 'recovery_appliance_vpc_password': 'str'
}
self.attribute_map = {
'database_id': 'databaseId',
@@ -101,8 +111,13 @@ def __init__(self, **kwargs):
'sid_prefix': 'sidPrefix',
'source_encryption_key_location_details': 'sourceEncryptionKeyLocationDetails',
'storage_size_details': 'storageSizeDetails',
- 'vm_cluster_id': 'vmClusterId'
+ 'managed_software_update_details': 'managedSoftwareUpdateDetails',
+ 'vm_cluster_id': 'vmClusterId',
+ 'recovery_appliance_vpc_password': 'recoveryApplianceVpcPassword'
}
+ self._redacted_field_paths = [
+ ['recovery_appliance_vpc_password'],
+ ]
self._database_id = None
self._backup_tde_password = None
self._admin_password = None
@@ -115,7 +130,9 @@ def __init__(self, **kwargs):
self._sid_prefix = None
self._source_encryption_key_location_details = None
self._storage_size_details = None
+ self._managed_software_update_details = None
self._vm_cluster_id = None
+ self._recovery_appliance_vpc_password = None
@property
def database_id(self):
@@ -417,6 +434,26 @@ def storage_size_details(self, storage_size_details):
"""
self._storage_size_details = storage_size_details
+ @property
+ def managed_software_update_details(self):
+ """
+ Gets the managed_software_update_details of this CreateDatabaseFromAnotherDatabaseDetails.
+
+ :return: The managed_software_update_details of this CreateDatabaseFromAnotherDatabaseDetails.
+ :rtype: oci.database.models.ManagedSoftwareUpdateInputDetails
+ """
+ return self._managed_software_update_details
+
+ @managed_software_update_details.setter
+ def managed_software_update_details(self, managed_software_update_details):
+ """
+ Sets the managed_software_update_details of this CreateDatabaseFromAnotherDatabaseDetails.
+
+ :param managed_software_update_details: The managed_software_update_details of this CreateDatabaseFromAnotherDatabaseDetails.
+ :type: oci.database.models.ManagedSoftwareUpdateInputDetails
+ """
+ self._managed_software_update_details = managed_software_update_details
+
@property
def vm_cluster_id(self):
"""
@@ -445,8 +482,34 @@ def vm_cluster_id(self, vm_cluster_id):
"""
self._vm_cluster_id = vm_cluster_id
+ @property
+ def recovery_appliance_vpc_password(self):
+ """
+ Gets the recovery_appliance_vpc_password of this CreateDatabaseFromAnotherDatabaseDetails.
+ The password for the VPC user that is used to access the Recovery Appliance, if the given backup is from a backup destination of type RECOVERY_APPLIANCE.
+
+
+ :return: The recovery_appliance_vpc_password of this CreateDatabaseFromAnotherDatabaseDetails.
+ :rtype: str
+ """
+ return self._recovery_appliance_vpc_password
+
+ @recovery_appliance_vpc_password.setter
+ def recovery_appliance_vpc_password(self, recovery_appliance_vpc_password):
+ """
+ Sets the recovery_appliance_vpc_password of this CreateDatabaseFromAnotherDatabaseDetails.
+ The password for the VPC user that is used to access the Recovery Appliance, if the given backup is from a backup destination of type RECOVERY_APPLIANCE.
+
+
+ :param recovery_appliance_vpc_password: The recovery_appliance_vpc_password of this CreateDatabaseFromAnotherDatabaseDetails.
+ :type: str
+ """
+ self._recovery_appliance_vpc_password = recovery_appliance_vpc_password
+
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_database_from_backup.py b/src/oci/database/models/create_database_from_backup.py
index 42b2f045d9..8702e85222 100644
--- a/src/oci/database/models/create_database_from_backup.py
+++ b/src/oci/database/models/create_database_from_backup.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_database_base import CreateDatabaseBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -65,6 +65,9 @@ def __init__(self, **kwargs):
'kms_key_version_id': 'kmsKeyVersionId',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'recovery_appliance_vpc_password'],
+ ]
self._db_home_id = None
self._db_version = None
self._source = None
@@ -94,7 +97,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_database_from_backup_details.py b/src/oci/database/models/create_database_from_backup_details.py
index ebb3bcd916..1eef44bef4 100644
--- a/src/oci/database/models/create_database_from_backup_details.py
+++ b/src/oci/database/models/create_database_from_backup_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -56,6 +56,14 @@ def __init__(self, **kwargs):
The value to assign to the storage_size_details property of this CreateDatabaseFromBackupDetails.
:type storage_size_details: oci.database.models.DatabaseStorageSizeDetails
+ :param managed_software_update_details:
+ The value to assign to the managed_software_update_details property of this CreateDatabaseFromBackupDetails.
+ :type managed_software_update_details: oci.database.models.ManagedSoftwareUpdateInputDetails
+
+ :param vm_cluster_id:
+ The value to assign to the vm_cluster_id property of this CreateDatabaseFromBackupDetails.
+ :type vm_cluster_id: str
+
:param freeform_tags:
The value to assign to the freeform_tags property of this CreateDatabaseFromBackupDetails.
:type freeform_tags: dict(str, str)
@@ -64,6 +72,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this CreateDatabaseFromBackupDetails.
:type defined_tags: dict(str, dict(str, object))
+ :param recovery_appliance_vpc_password:
+ The value to assign to the recovery_appliance_vpc_password property of this CreateDatabaseFromBackupDetails.
+ :type recovery_appliance_vpc_password: str
+
"""
self.swagger_types = {
'backup_id': 'str',
@@ -75,8 +87,11 @@ def __init__(self, **kwargs):
'sid_prefix': 'str',
'pluggable_databases': 'list[str]',
'storage_size_details': 'DatabaseStorageSizeDetails',
+ 'managed_software_update_details': 'ManagedSoftwareUpdateInputDetails',
+ 'vm_cluster_id': 'str',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'recovery_appliance_vpc_password': 'str'
}
self.attribute_map = {
'backup_id': 'backupId',
@@ -88,9 +103,15 @@ def __init__(self, **kwargs):
'sid_prefix': 'sidPrefix',
'pluggable_databases': 'pluggableDatabases',
'storage_size_details': 'storageSizeDetails',
+ 'managed_software_update_details': 'managedSoftwareUpdateDetails',
+ 'vm_cluster_id': 'vmClusterId',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'recovery_appliance_vpc_password': 'recoveryApplianceVpcPassword'
}
+ self._redacted_field_paths = [
+ ['recovery_appliance_vpc_password'],
+ ]
self._backup_id = None
self._backup_tde_password = None
self._source_encryption_key_location_details = None
@@ -100,8 +121,11 @@ def __init__(self, **kwargs):
self._sid_prefix = None
self._pluggable_databases = None
self._storage_size_details = None
+ self._managed_software_update_details = None
+ self._vm_cluster_id = None
self._freeform_tags = None
self._defined_tags = None
+ self._recovery_appliance_vpc_password = None
@property
def backup_id(self):
@@ -315,6 +339,54 @@ def storage_size_details(self, storage_size_details):
"""
self._storage_size_details = storage_size_details
+ @property
+ def managed_software_update_details(self):
+ """
+ Gets the managed_software_update_details of this CreateDatabaseFromBackupDetails.
+
+ :return: The managed_software_update_details of this CreateDatabaseFromBackupDetails.
+ :rtype: oci.database.models.ManagedSoftwareUpdateInputDetails
+ """
+ return self._managed_software_update_details
+
+ @managed_software_update_details.setter
+ def managed_software_update_details(self, managed_software_update_details):
+ """
+ Sets the managed_software_update_details of this CreateDatabaseFromBackupDetails.
+
+ :param managed_software_update_details: The managed_software_update_details of this CreateDatabaseFromBackupDetails.
+ :type: oci.database.models.ManagedSoftwareUpdateInputDetails
+ """
+ self._managed_software_update_details = managed_software_update_details
+
+ @property
+ def vm_cluster_id(self):
+ """
+ Gets the vm_cluster_id of this CreateDatabaseFromBackupDetails.
+ The `OCID`__ of the VM cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The vm_cluster_id of this CreateDatabaseFromBackupDetails.
+ :rtype: str
+ """
+ return self._vm_cluster_id
+
+ @vm_cluster_id.setter
+ def vm_cluster_id(self, vm_cluster_id):
+ """
+ Sets the vm_cluster_id of this CreateDatabaseFromBackupDetails.
+ The `OCID`__ of the VM cluster.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param vm_cluster_id: The vm_cluster_id of this CreateDatabaseFromBackupDetails.
+ :type: str
+ """
+ self._vm_cluster_id = vm_cluster_id
+
@property
def freeform_tags(self):
"""
@@ -379,8 +451,34 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def recovery_appliance_vpc_password(self):
+ """
+ Gets the recovery_appliance_vpc_password of this CreateDatabaseFromBackupDetails.
+ The password for the VPC user that is used to access the Recovery Appliance, if the given backup is from a backup destination of type RECOVERY_APPLIANCE.
+
+
+ :return: The recovery_appliance_vpc_password of this CreateDatabaseFromBackupDetails.
+ :rtype: str
+ """
+ return self._recovery_appliance_vpc_password
+
+ @recovery_appliance_vpc_password.setter
+ def recovery_appliance_vpc_password(self, recovery_appliance_vpc_password):
+ """
+ Sets the recovery_appliance_vpc_password of this CreateDatabaseFromBackupDetails.
+ The password for the VPC user that is used to access the Recovery Appliance, if the given backup is from a backup destination of type RECOVERY_APPLIANCE.
+
+
+ :param recovery_appliance_vpc_password: The recovery_appliance_vpc_password of this CreateDatabaseFromBackupDetails.
+ :type: str
+ """
+ self._recovery_appliance_vpc_password = recovery_appliance_vpc_password
+
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_database_from_database.py b/src/oci/database/models/create_database_from_database.py
index 01438ec2c7..9bb7235b68 100644
--- a/src/oci/database/models/create_database_from_database.py
+++ b/src/oci/database/models/create_database_from_database.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_database_base import CreateDatabaseBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -65,6 +65,9 @@ def __init__(self, **kwargs):
'kms_key_version_id': 'kmsKeyVersionId',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'recovery_appliance_vpc_password'],
+ ]
self._db_home_id = None
self._db_version = None
self._source = None
@@ -94,7 +97,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_database_software_image_details.py b/src/oci/database/models/create_database_software_image_details.py
index 76bca59471..8218143f6a 100644
--- a/src/oci/database/models/create_database_software_image_details.py
+++ b/src/oci/database/models/create_database_software_image_details.py
@@ -33,6 +33,10 @@ class CreateDatabaseSoftwareImageDetails(object):
#: This constant has a value of "EXADBXS_SHAPE"
IMAGE_SHAPE_FAMILY_EXADBXS_SHAPE = "EXADBXS_SHAPE"
+ #: A constant which can be used with the image_shape_family property of a CreateDatabaseSoftwareImageDetails.
+ #: This constant has a value of "BDBCC_SHAPE"
+ IMAGE_SHAPE_FAMILY_BDBCC_SHAPE = "BDBCC_SHAPE"
+
#: A constant which can be used with the image_type property of a CreateDatabaseSoftwareImageDetails.
#: This constant has a value of "GRID_IMAGE"
IMAGE_TYPE_GRID_IMAGE = "GRID_IMAGE"
@@ -60,7 +64,7 @@ def __init__(self, **kwargs):
:param image_shape_family:
The value to assign to the image_shape_family property of this CreateDatabaseSoftwareImageDetails.
- Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE"
+ Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE"
:type image_shape_family: str
:param image_type:
@@ -213,7 +217,7 @@ def image_shape_family(self):
Gets the image_shape_family of this CreateDatabaseSoftwareImageDetails.
To what shape the image is meant for.
- Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE"
+ Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE"
:return: The image_shape_family of this CreateDatabaseSoftwareImageDetails.
@@ -231,7 +235,7 @@ def image_shape_family(self, image_shape_family):
:param image_shape_family: The image_shape_family of this CreateDatabaseSoftwareImageDetails.
:type: str
"""
- allowed_values = ["VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE"]
+ allowed_values = ["VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE"]
if not value_allowed_none_or_none_sentinel(image_shape_family, allowed_values):
raise ValueError(
f"Invalid value for `image_shape_family`, must be None or one of {allowed_values}"
diff --git a/src/oci/database/models/create_db_home_details.py b/src/oci/database/models/create_db_home_details.py
index b4736390be..e94a67b0ee 100644
--- a/src/oci/database/models/create_db_home_details.py
+++ b/src/oci/database/models/create_db_home_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -69,6 +69,9 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'is_unified_auditing_enabled': 'isUnifiedAuditingEnabled'
}
+ self._redacted_field_paths = [
+ ['database', 'tde_wallet_password'],
+ ]
self._display_name = None
self._db_version = None
self._database_software_image_id = None
@@ -266,7 +269,9 @@ def is_unified_auditing_enabled(self, is_unified_auditing_enabled):
self._is_unified_auditing_enabled = is_unified_auditing_enabled
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_db_home_for_standby_db_system.py b/src/oci/database/models/create_db_home_for_standby_db_system.py
index 65a5c85f60..90c45d1063 100644
--- a/src/oci/database/models/create_db_home_for_standby_db_system.py
+++ b/src/oci/database/models/create_db_home_for_standby_db_system.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -39,6 +39,9 @@ def __init__(self, **kwargs):
'display_name': 'displayName',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'tde_wallet_password'],
+ ]
self._display_name = None
self._database = None
@@ -87,7 +90,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_db_home_from_backup_details.py b/src/oci/database/models/create_db_home_from_backup_details.py
index 0dd1ab8aeb..f116e42c0b 100644
--- a/src/oci/database/models/create_db_home_from_backup_details.py
+++ b/src/oci/database/models/create_db_home_from_backup_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -63,6 +63,9 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
+ self._redacted_field_paths = [
+ ['database', 'recovery_appliance_vpc_password'],
+ ]
self._display_name = None
self._is_unified_auditing_enabled = None
self._database_software_image_id = None
@@ -231,7 +234,9 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_db_home_from_database_details.py b/src/oci/database/models/create_db_home_from_database_details.py
index 648cc83086..011505e3d7 100644
--- a/src/oci/database/models/create_db_home_from_database_details.py
+++ b/src/oci/database/models/create_db_home_from_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -57,6 +57,9 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
+ self._redacted_field_paths = [
+ ['database', 'recovery_appliance_vpc_password'],
+ ]
self._display_name = None
self._database = None
self._is_unified_auditing_enabled = None
@@ -196,7 +199,9 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_db_home_with_db_system_id_details.py b/src/oci/database/models/create_db_home_with_db_system_id_details.py
index e80d0dc289..c3f7bc17cf 100644
--- a/src/oci/database/models/create_db_home_with_db_system_id_details.py
+++ b/src/oci/database/models/create_db_home_with_db_system_id_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_db_home_base import CreateDbHomeBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -99,6 +99,9 @@ def __init__(self, **kwargs):
'db_version': 'dbVersion',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'tde_wallet_password'],
+ ]
self._display_name = None
self._kms_key_id = None
self._kms_key_version_id = None
@@ -190,7 +193,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py b/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py
index c2500e0b65..7c1b0515d2 100644
--- a/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py
+++ b/src/oci/database/models/create_db_home_with_db_system_id_from_backup_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_db_home_base import CreateDbHomeBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -93,6 +93,9 @@ def __init__(self, **kwargs):
'db_system_id': 'dbSystemId',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'recovery_appliance_vpc_password'],
+ ]
self._display_name = None
self._kms_key_id = None
self._kms_key_version_id = None
@@ -155,7 +158,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_db_home_with_db_system_id_from_database_details.py b/src/oci/database/models/create_db_home_with_db_system_id_from_database_details.py
index d6ff6dda1f..1c5d865722 100644
--- a/src/oci/database/models/create_db_home_with_db_system_id_from_database_details.py
+++ b/src/oci/database/models/create_db_home_with_db_system_id_from_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_db_home_base import CreateDbHomeBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -93,6 +93,9 @@ def __init__(self, **kwargs):
'db_system_id': 'dbSystemId',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'recovery_appliance_vpc_password'],
+ ]
self._display_name = None
self._kms_key_id = None
self._kms_key_version_id = None
@@ -155,7 +158,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_db_home_with_vm_cluster_id_details.py b/src/oci/database/models/create_db_home_with_vm_cluster_id_details.py
index b738da09e0..b94cce1e40 100644
--- a/src/oci/database/models/create_db_home_with_vm_cluster_id_details.py
+++ b/src/oci/database/models/create_db_home_with_vm_cluster_id_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_db_home_base import CreateDbHomeBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -99,6 +99,9 @@ def __init__(self, **kwargs):
'db_version': 'dbVersion',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'tde_wallet_password'],
+ ]
self._display_name = None
self._kms_key_id = None
self._kms_key_version_id = None
@@ -190,7 +193,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.py b/src/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.py
index b00b2b9009..a470d5f17b 100644
--- a/src/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.py
+++ b/src/oci/database/models/create_db_home_with_vm_cluster_id_from_backup_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_db_home_base import CreateDbHomeBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -93,6 +93,9 @@ def __init__(self, **kwargs):
'vm_cluster_id': 'vmClusterId',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'recovery_appliance_vpc_password'],
+ ]
self._display_name = None
self._kms_key_id = None
self._kms_key_version_id = None
@@ -155,7 +158,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_db_home_with_vm_cluster_id_from_database_details.py b/src/oci/database/models/create_db_home_with_vm_cluster_id_from_database_details.py
index 560629f431..a177d50e8a 100644
--- a/src/oci/database/models/create_db_home_with_vm_cluster_id_from_database_details.py
+++ b/src/oci/database/models/create_db_home_with_vm_cluster_id_from_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_db_home_base import CreateDbHomeBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -93,6 +93,9 @@ def __init__(self, **kwargs):
'vm_cluster_id': 'vmClusterId',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'recovery_appliance_vpc_password'],
+ ]
self._display_name = None
self._kms_key_id = None
self._kms_key_version_id = None
@@ -155,7 +158,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_new_database_details.py b/src/oci/database/models/create_new_database_details.py
index c735ca3b0d..1d9511bba4 100644
--- a/src/oci/database/models/create_new_database_details.py
+++ b/src/oci/database/models/create_new_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_database_base import CreateDatabaseBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -65,6 +65,9 @@ def __init__(self, **kwargs):
'kms_key_version_id': 'kmsKeyVersionId',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'tde_wallet_password'],
+ ]
self._db_home_id = None
self._db_version = None
self._source = None
@@ -94,7 +97,9 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_pluggable_database_details.py b/src/oci/database/models/create_pluggable_database_details.py
index f7921eee9f..8107088503 100644
--- a/src/oci/database/models/create_pluggable_database_details.py
+++ b/src/oci/database/models/create_pluggable_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -87,6 +87,9 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
+ self._redacted_field_paths = [
+ ['container_database_admin_password'],
+ ]
self._pdb_name = None
self._container_database_id = None
self._pdb_admin_password = None
@@ -357,7 +360,9 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['container_database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_pluggable_database_from_relocate_details.py b/src/oci/database/models/create_pluggable_database_from_relocate_details.py
index fa3187795a..8a1c60e26b 100644
--- a/src/oci/database/models/create_pluggable_database_from_relocate_details.py
+++ b/src/oci/database/models/create_pluggable_database_from_relocate_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_pluggable_database_creation_type_details import CreatePluggableDatabaseCreationTypeDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -59,6 +59,10 @@ def __init__(self, **kwargs):
'source_pluggable_database_id': 'sourcePluggableDatabaseId',
'source_container_database_admin_password': 'sourceContainerDatabaseAdminPassword'
}
+ self._redacted_field_paths = [
+ ['dblink_user_password'],
+ ['source_container_database_admin_password'],
+ ]
self._creation_type = None
self._dblink_username = None
self._dblink_user_password = None
@@ -163,7 +167,10 @@ def source_container_database_admin_password(self, source_container_database_adm
self._source_container_database_admin_password = source_container_database_admin_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['dblink_user_password'])
+ redact_password_field(as_dict, ['source_container_database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_pluggable_database_from_remote_clone_details.py b/src/oci/database/models/create_pluggable_database_from_remote_clone_details.py
index ee16a839ff..c97f492aa9 100644
--- a/src/oci/database/models/create_pluggable_database_from_remote_clone_details.py
+++ b/src/oci/database/models/create_pluggable_database_from_remote_clone_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_pluggable_database_creation_type_details import CreatePluggableDatabaseCreationTypeDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -77,6 +77,10 @@ def __init__(self, **kwargs):
'is_thin_clone': 'isThinClone',
'source_pluggable_database_snapshot_id': 'sourcePluggableDatabaseSnapshotId'
}
+ self._redacted_field_paths = [
+ ['dblink_user_password'],
+ ['source_container_database_admin_password'],
+ ]
self._creation_type = None
self._dblink_username = None
self._dblink_user_password = None
@@ -252,7 +256,10 @@ def source_pluggable_database_snapshot_id(self, source_pluggable_database_snapsh
self._source_pluggable_database_snapshot_id = source_pluggable_database_snapshot_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['dblink_user_password'])
+ redact_password_field(as_dict, ['source_container_database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_refreshable_autonomous_database_clone_details.py b/src/oci/database/models/create_refreshable_autonomous_database_clone_details.py
index e5518e7987..b1cb896388 100644
--- a/src/oci/database/models/create_refreshable_autonomous_database_clone_details.py
+++ b/src/oci/database/models/create_refreshable_autonomous_database_clone_details.py
@@ -57,6 +57,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this CreateRefreshableAutonomousDatabaseCloneDetails.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this CreateRefreshableAutonomousDatabaseCloneDetails.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this CreateRefreshableAutonomousDatabaseCloneDetails.
:type character_set: str
@@ -313,6 +317,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -378,6 +383,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -442,6 +448,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
diff --git a/src/oci/database/models/create_stand_by_database_details.py b/src/oci/database/models/create_stand_by_database_details.py
index 47b3890613..d80a25fea3 100644
--- a/src/oci/database/models/create_stand_by_database_details.py
+++ b/src/oci/database/models/create_stand_by_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .create_database_base import CreateDatabaseBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -65,6 +65,10 @@ def __init__(self, **kwargs):
'kms_key_version_id': 'kmsKeyVersionId',
'database': 'database'
}
+ self._redacted_field_paths = [
+ ['database', 'database_admin_password'],
+ ['database', 'source_tde_wallet_password'],
+ ]
self._db_home_id = None
self._db_version = None
self._source = None
@@ -94,7 +98,10 @@ def database(self, database):
self._database = database
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database', 'database_admin_password'])
+ redact_password_field(as_dict, ['database', 'source_tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/create_standby_details.py b/src/oci/database/models/create_standby_details.py
index 858b56ab5c..0ca2de5973 100644
--- a/src/oci/database/models/create_standby_details.py
+++ b/src/oci/database/models/create_standby_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -94,6 +94,10 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this CreateStandbyDetails.
:type defined_tags: dict(str, dict(str, object))
+ :param auto_failover_configuration:
+ The value to assign to the auto_failover_configuration property of this CreateStandbyDetails.
+ :type auto_failover_configuration: oci.database.models.AutoFailoverConfiguration
+
"""
self.swagger_types = {
'source_database_id': 'str',
@@ -107,7 +111,8 @@ def __init__(self, **kwargs):
'transport_type': 'str',
'storage_size_details': 'DatabaseStorageSizeDetails',
'freeform_tags': 'dict(str, str)',
- 'defined_tags': 'dict(str, dict(str, object))'
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'auto_failover_configuration': 'AutoFailoverConfiguration'
}
self.attribute_map = {
'source_database_id': 'sourceDatabaseId',
@@ -121,8 +126,13 @@ def __init__(self, **kwargs):
'transport_type': 'transportType',
'storage_size_details': 'storageSizeDetails',
'freeform_tags': 'freeformTags',
- 'defined_tags': 'definedTags'
+ 'defined_tags': 'definedTags',
+ 'auto_failover_configuration': 'autoFailoverConfiguration'
}
+ self._redacted_field_paths = [
+ ['database_admin_password'],
+ ['source_tde_wallet_password'],
+ ]
self._source_database_id = None
self._database_admin_password = None
self._source_tde_wallet_password = None
@@ -135,6 +145,7 @@ def __init__(self, **kwargs):
self._storage_size_details = None
self._freeform_tags = None
self._defined_tags = None
+ self._auto_failover_configuration = None
@property
def source_database_id(self):
@@ -486,8 +497,31 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def auto_failover_configuration(self):
+ """
+ Gets the auto_failover_configuration of this CreateStandbyDetails.
+
+ :return: The auto_failover_configuration of this CreateStandbyDetails.
+ :rtype: oci.database.models.AutoFailoverConfiguration
+ """
+ return self._auto_failover_configuration
+
+ @auto_failover_configuration.setter
+ def auto_failover_configuration(self, auto_failover_configuration):
+ """
+ Sets the auto_failover_configuration of this CreateStandbyDetails.
+
+ :param auto_failover_configuration: The auto_failover_configuration of this CreateStandbyDetails.
+ :type: oci.database.models.AutoFailoverConfiguration
+ """
+ self._auto_failover_configuration = auto_failover_configuration
+
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database_admin_password'])
+ redact_password_field(as_dict, ['source_tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/data_guard_group.py b/src/oci/database/models/data_guard_group.py
index 2f14b5c119..52c1cffc77 100644
--- a/src/oci/database/models/data_guard_group.py
+++ b/src/oci/database/models/data_guard_group.py
@@ -28,6 +28,14 @@ class DataGuardGroup(object):
#: This constant has a value of "MAXIMUM_PROTECTION"
PROTECTION_MODE_MAXIMUM_PROTECTION = "MAXIMUM_PROTECTION"
+ #: A constant which can be used with the managed_auto_fail_over_readiness property of a DataGuardGroup.
+ #: This constant has a value of "HEALTHY"
+ MANAGED_AUTO_FAIL_OVER_READINESS_HEALTHY = "HEALTHY"
+
+ #: A constant which can be used with the managed_auto_fail_over_readiness property of a DataGuardGroup.
+ #: This constant has a value of "CRITICAL"
+ MANAGED_AUTO_FAIL_OVER_READINESS_CRITICAL = "CRITICAL"
+
def __init__(self, **kwargs):
"""
Initializes a new DataGuardGroup object with values from keyword arguments.
@@ -43,17 +51,26 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type protection_mode: str
+ :param managed_auto_fail_over_readiness:
+ The value to assign to the managed_auto_fail_over_readiness property of this DataGuardGroup.
+ Allowed values for this property are: "HEALTHY", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type managed_auto_fail_over_readiness: str
+
"""
self.swagger_types = {
'members': 'list[DataGuardGroupMember]',
- 'protection_mode': 'str'
+ 'protection_mode': 'str',
+ 'managed_auto_fail_over_readiness': 'str'
}
self.attribute_map = {
'members': 'members',
- 'protection_mode': 'protectionMode'
+ 'protection_mode': 'protectionMode',
+ 'managed_auto_fail_over_readiness': 'managedAutoFailOverReadiness'
}
self._members = None
self._protection_mode = None
+ self._managed_auto_fail_over_readiness = None
@property
def members(self):
@@ -117,6 +134,36 @@ def protection_mode(self, protection_mode):
protection_mode = 'UNKNOWN_ENUM_VALUE'
self._protection_mode = protection_mode
+ @property
+ def managed_auto_fail_over_readiness(self):
+ """
+ Gets the managed_auto_fail_over_readiness of this DataGuardGroup.
+ Specifies readiness of Managed Automatic failover.
+
+ Allowed values for this property are: "HEALTHY", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The managed_auto_fail_over_readiness of this DataGuardGroup.
+ :rtype: str
+ """
+ return self._managed_auto_fail_over_readiness
+
+ @managed_auto_fail_over_readiness.setter
+ def managed_auto_fail_over_readiness(self, managed_auto_fail_over_readiness):
+ """
+ Sets the managed_auto_fail_over_readiness of this DataGuardGroup.
+ Specifies readiness of Managed Automatic failover.
+
+
+ :param managed_auto_fail_over_readiness: The managed_auto_fail_over_readiness of this DataGuardGroup.
+ :type: str
+ """
+ allowed_values = ["HEALTHY", "CRITICAL"]
+ if not value_allowed_none_or_none_sentinel(managed_auto_fail_over_readiness, allowed_values):
+ managed_auto_fail_over_readiness = 'UNKNOWN_ENUM_VALUE'
+ self._managed_auto_fail_over_readiness = managed_auto_fail_over_readiness
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/data_guard_group_member.py b/src/oci/database/models/data_guard_group_member.py
index e0236f6407..bfd60eef14 100644
--- a/src/oci/database/models/data_guard_group_member.py
+++ b/src/oci/database/models/data_guard_group_member.py
@@ -55,6 +55,10 @@ class DataGuardGroupMember(object):
#: This constant has a value of "CRITICAL"
SWITCHOVER_READINESS_CRITICAL = "CRITICAL"
+ #: A constant which can be used with the switchover_readiness property of a DataGuardGroupMember.
+ #: This constant has a value of "HEALTHY_AND_NOT_ROLECHANGE_TARGET"
+ SWITCHOVER_READINESS_HEALTHY_AND_NOT_ROLECHANGE_TARGET = "HEALTHY_AND_NOT_ROLECHANGE_TARGET"
+
#: A constant which can be used with the failover_readiness property of a DataGuardGroupMember.
#: This constant has a value of "HEALTHY"
FAILOVER_READINESS_HEALTHY = "HEALTHY"
@@ -67,6 +71,18 @@ class DataGuardGroupMember(object):
#: This constant has a value of "CRITICAL"
FAILOVER_READINESS_CRITICAL = "CRITICAL"
+ #: A constant which can be used with the failover_readiness property of a DataGuardGroupMember.
+ #: This constant has a value of "HEALTHY_AND_NOT_ROLECHANGE_TARGET"
+ FAILOVER_READINESS_HEALTHY_AND_NOT_ROLECHANGE_TARGET = "HEALTHY_AND_NOT_ROLECHANGE_TARGET"
+
+ #: A constant which can be used with the managed_auto_failover property of a DataGuardGroupMember.
+ #: This constant has a value of "ENABLE"
+ MANAGED_AUTO_FAILOVER_ENABLE = "ENABLE"
+
+ #: A constant which can be used with the managed_auto_failover property of a DataGuardGroupMember.
+ #: This constant has a value of "DISABLE"
+ MANAGED_AUTO_FAILOVER_DISABLE = "DISABLE"
+
def __init__(self, **kwargs):
"""
Initializes a new DataGuardGroupMember object with values from keyword arguments.
@@ -114,7 +130,7 @@ def __init__(self, **kwargs):
:param switchover_readiness:
The value to assign to the switchover_readiness property of this DataGuardGroupMember.
- Allowed values for this property are: "HEALTHY", "WARNING", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HEALTHY", "WARNING", "CRITICAL", "HEALTHY_AND_NOT_ROLECHANGE_TARGET", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type switchover_readiness: str
@@ -124,7 +140,7 @@ def __init__(self, **kwargs):
:param failover_readiness:
The value to assign to the failover_readiness property of this DataGuardGroupMember.
- Allowed values for this property are: "HEALTHY", "WARNING", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HEALTHY", "WARNING", "CRITICAL", "HEALTHY_AND_NOT_ROLECHANGE_TARGET", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type failover_readiness: str
@@ -140,6 +156,16 @@ def __init__(self, **kwargs):
The value to assign to the time_updated property of this DataGuardGroupMember.
:type time_updated: datetime
+ :param managed_auto_failover:
+ The value to assign to the managed_auto_failover property of this DataGuardGroupMember.
+ Allowed values for this property are: "ENABLE", "DISABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type managed_auto_failover: str
+
+ :param failover_targets:
+ The value to assign to the failover_targets property of this DataGuardGroupMember.
+ :type failover_targets: list[str]
+
"""
self.swagger_types = {
'db_system_id': 'str',
@@ -156,7 +182,9 @@ def __init__(self, **kwargs):
'failover_readiness': 'str',
'failover_readiness_message': 'str',
'data_loss_exposure': 'str',
- 'time_updated': 'datetime'
+ 'time_updated': 'datetime',
+ 'managed_auto_failover': 'str',
+ 'failover_targets': 'list[str]'
}
self.attribute_map = {
'db_system_id': 'dbSystemId',
@@ -173,7 +201,9 @@ def __init__(self, **kwargs):
'failover_readiness': 'failoverReadiness',
'failover_readiness_message': 'failoverReadinessMessage',
'data_loss_exposure': 'dataLossExposure',
- 'time_updated': 'timeUpdated'
+ 'time_updated': 'timeUpdated',
+ 'managed_auto_failover': 'managedAutoFailover',
+ 'failover_targets': 'failoverTargets'
}
self._db_system_id = None
self._database_id = None
@@ -190,6 +220,8 @@ def __init__(self, **kwargs):
self._failover_readiness_message = None
self._data_loss_exposure = None
self._time_updated = None
+ self._managed_auto_failover = None
+ self._failover_targets = None
@property
def db_system_id(self):
@@ -470,8 +502,10 @@ def switchover_readiness(self):
"""
Gets the switchover_readiness of this DataGuardGroupMember.
The switchover readiness status of the Data Guard member.
+ * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ but not currently designated to take switchover, when auto failover is enabled.
- Allowed values for this property are: "HEALTHY", "WARNING", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HEALTHY", "WARNING", "CRITICAL", "HEALTHY_AND_NOT_ROLECHANGE_TARGET", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -485,12 +519,14 @@ def switchover_readiness(self, switchover_readiness):
"""
Sets the switchover_readiness of this DataGuardGroupMember.
The switchover readiness status of the Data Guard member.
+ * HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ but not currently designated to take switchover, when auto failover is enabled.
:param switchover_readiness: The switchover_readiness of this DataGuardGroupMember.
:type: str
"""
- allowed_values = ["HEALTHY", "WARNING", "CRITICAL"]
+ allowed_values = ["HEALTHY", "WARNING", "CRITICAL", "HEALTHY_AND_NOT_ROLECHANGE_TARGET"]
if not value_allowed_none_or_none_sentinel(switchover_readiness, allowed_values):
switchover_readiness = 'UNKNOWN_ENUM_VALUE'
self._switchover_readiness = switchover_readiness
@@ -526,8 +562,10 @@ def failover_readiness(self):
"""
Gets the failover_readiness of this DataGuardGroupMember.
The failover readiness status of the Data Guard member.
+ HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ but not currently designated to take failover, when auto failover is enabled.
- Allowed values for this property are: "HEALTHY", "WARNING", "CRITICAL", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "HEALTHY", "WARNING", "CRITICAL", "HEALTHY_AND_NOT_ROLECHANGE_TARGET", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -541,12 +579,14 @@ def failover_readiness(self, failover_readiness):
"""
Sets the failover_readiness of this DataGuardGroupMember.
The failover readiness status of the Data Guard member.
+ HEALTHY_AND_NOT_ROLECHANGE_TARGET - Indicates that the respective standby member is healthy
+ but not currently designated to take failover, when auto failover is enabled.
:param failover_readiness: The failover_readiness of this DataGuardGroupMember.
:type: str
"""
- allowed_values = ["HEALTHY", "WARNING", "CRITICAL"]
+ allowed_values = ["HEALTHY", "WARNING", "CRITICAL", "HEALTHY_AND_NOT_ROLECHANGE_TARGET"]
if not value_allowed_none_or_none_sentinel(failover_readiness, allowed_values):
failover_readiness = 'UNKNOWN_ENUM_VALUE'
self._failover_readiness = failover_readiness
@@ -629,6 +669,60 @@ def time_updated(self, time_updated):
"""
self._time_updated = time_updated
+ @property
+ def managed_auto_failover(self):
+ """
+ Gets the managed_auto_failover of this DataGuardGroupMember.
+ The state of managed auto failover.
+
+ Allowed values for this property are: "ENABLE", "DISABLE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The managed_auto_failover of this DataGuardGroupMember.
+ :rtype: str
+ """
+ return self._managed_auto_failover
+
+ @managed_auto_failover.setter
+ def managed_auto_failover(self, managed_auto_failover):
+ """
+ Sets the managed_auto_failover of this DataGuardGroupMember.
+ The state of managed auto failover.
+
+
+ :param managed_auto_failover: The managed_auto_failover of this DataGuardGroupMember.
+ :type: str
+ """
+ allowed_values = ["ENABLE", "DISABLE"]
+ if not value_allowed_none_or_none_sentinel(managed_auto_failover, allowed_values):
+ managed_auto_failover = 'UNKNOWN_ENUM_VALUE'
+ self._managed_auto_failover = managed_auto_failover
+
+ @property
+ def failover_targets(self):
+ """
+ Gets the failover_targets of this DataGuardGroupMember.
+ Specifies the `DB_UNIQUE_NAME` of the data guard group member databases.
+
+
+ :return: The failover_targets of this DataGuardGroupMember.
+ :rtype: list[str]
+ """
+ return self._failover_targets
+
+ @failover_targets.setter
+ def failover_targets(self, failover_targets):
+ """
+ Sets the failover_targets of this DataGuardGroupMember.
+ Specifies the `DB_UNIQUE_NAME` of the data guard group member databases.
+
+
+ :param failover_targets: The failover_targets of this DataGuardGroupMember.
+ :type: list[str]
+ """
+ self._failover_targets = failover_targets
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/database.py b/src/oci/database/models/database.py
index 6867507692..594dbe5ea7 100644
--- a/src/oci/database/models/database.py
+++ b/src/oci/database/models/database.py
@@ -55,6 +55,14 @@ class Database(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the home_type property of a Database.
+ #: This constant has a value of "ORACLE_MANAGED"
+ HOME_TYPE_ORACLE_MANAGED = "ORACLE_MANAGED"
+
+ #: A constant which can be used with the home_type property of a Database.
+ #: This constant has a value of "CUSTOMER_MANAGED"
+ HOME_TYPE_CUSTOMER_MANAGED = "CUSTOMER_MANAGED"
+
def __init__(self, **kwargs):
"""
Initializes a new Database object with values from keyword arguments.
@@ -202,6 +210,16 @@ def __init__(self, **kwargs):
The value to assign to the storage_size_details property of this Database.
:type storage_size_details: oci.database.models.DatabaseStorageSizeResponseDetails
+ :param managed_software_update_details:
+ The value to assign to the managed_software_update_details property of this Database.
+ :type managed_software_update_details: oci.database.models.ManagedSoftwareUpdateDetails
+
+ :param home_type:
+ The value to assign to the home_type property of this Database.
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type home_type: str
+
:param patch_version:
The value to assign to the patch_version property of this Database.
:type patch_version: str
@@ -243,6 +261,8 @@ def __init__(self, **kwargs):
'data_guard_group': 'DataGuardGroup',
'encryption_key_location_details': 'EncryptionKeyLocationDetails',
'storage_size_details': 'DatabaseStorageSizeResponseDetails',
+ 'managed_software_update_details': 'ManagedSoftwareUpdateDetails',
+ 'home_type': 'str',
'patch_version': 'str'
}
self.attribute_map = {
@@ -281,6 +301,8 @@ def __init__(self, **kwargs):
'data_guard_group': 'dataGuardGroup',
'encryption_key_location_details': 'encryptionKeyLocationDetails',
'storage_size_details': 'storageSizeDetails',
+ 'managed_software_update_details': 'managedSoftwareUpdateDetails',
+ 'home_type': 'homeType',
'patch_version': 'patchVersion'
}
self._id = None
@@ -318,6 +340,8 @@ def __init__(self, **kwargs):
self._data_guard_group = None
self._encryption_key_location_details = None
self._storage_size_details = None
+ self._managed_software_update_details = None
+ self._home_type = None
self._patch_version = None
@property
@@ -1212,6 +1236,56 @@ def storage_size_details(self, storage_size_details):
"""
self._storage_size_details = storage_size_details
+ @property
+ def managed_software_update_details(self):
+ """
+ Gets the managed_software_update_details of this Database.
+
+ :return: The managed_software_update_details of this Database.
+ :rtype: oci.database.models.ManagedSoftwareUpdateDetails
+ """
+ return self._managed_software_update_details
+
+ @managed_software_update_details.setter
+ def managed_software_update_details(self, managed_software_update_details):
+ """
+ Sets the managed_software_update_details of this Database.
+
+ :param managed_software_update_details: The managed_software_update_details of this Database.
+ :type: oci.database.models.ManagedSoftwareUpdateDetails
+ """
+ self._managed_software_update_details = managed_software_update_details
+
+ @property
+ def home_type(self):
+ """
+ Gets the home_type of this Database.
+ Represents database will be under oracle managed home or customer managed home
+
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The home_type of this Database.
+ :rtype: str
+ """
+ return self._home_type
+
+ @home_type.setter
+ def home_type(self, home_type):
+ """
+ Sets the home_type of this Database.
+ Represents database will be under oracle managed home or customer managed home
+
+
+ :param home_type: The home_type of this Database.
+ :type: str
+ """
+ allowed_values = ["ORACLE_MANAGED", "CUSTOMER_MANAGED"]
+ if not value_allowed_none_or_none_sentinel(home_type, allowed_values):
+ home_type = 'UNKNOWN_ENUM_VALUE'
+ self._home_type = home_type
+
@property
def patch_version(self):
"""
diff --git a/src/oci/database/models/database_connection_credentials_by_details.py b/src/oci/database/models/database_connection_credentials_by_details.py
index 2bfcbf62c8..0e3dfd5790 100644
--- a/src/oci/database/models/database_connection_credentials_by_details.py
+++ b/src/oci/database/models/database_connection_credentials_by_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .database_connection_credentials import DatabaseConnectionCredentials
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -73,6 +73,9 @@ def __init__(self, **kwargs):
'password': 'password',
'role': 'role'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._credential_type = None
self._credential_name = None
self._username = None
@@ -199,7 +202,9 @@ def role(self, role):
self._role = role
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/database_software_image.py b/src/oci/database/models/database_software_image.py
index 31cd74ec01..24a6537db8 100644
--- a/src/oci/database/models/database_software_image.py
+++ b/src/oci/database/models/database_software_image.py
@@ -71,6 +71,10 @@ class DatabaseSoftwareImage(object):
#: This constant has a value of "EXADBXS_SHAPE"
IMAGE_SHAPE_FAMILY_EXADBXS_SHAPE = "EXADBXS_SHAPE"
+ #: A constant which can be used with the image_shape_family property of a DatabaseSoftwareImage.
+ #: This constant has a value of "BDBCC_SHAPE"
+ IMAGE_SHAPE_FAMILY_BDBCC_SHAPE = "BDBCC_SHAPE"
+
def __init__(self, **kwargs):
"""
Initializes a new DatabaseSoftwareImage object with values from keyword arguments.
@@ -114,7 +118,7 @@ def __init__(self, **kwargs):
:param image_shape_family:
The value to assign to the image_shape_family property of this DatabaseSoftwareImage.
- Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type image_shape_family: str
@@ -432,7 +436,7 @@ def image_shape_family(self):
**[Required]** Gets the image_shape_family of this DatabaseSoftwareImage.
To what shape the image is meant for.
- Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -451,7 +455,7 @@ def image_shape_family(self, image_shape_family):
:param image_shape_family: The image_shape_family of this DatabaseSoftwareImage.
:type: str
"""
- allowed_values = ["VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE"]
+ allowed_values = ["VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE"]
if not value_allowed_none_or_none_sentinel(image_shape_family, allowed_values):
image_shape_family = 'UNKNOWN_ENUM_VALUE'
self._image_shape_family = image_shape_family
diff --git a/src/oci/database/models/database_software_image_summary.py b/src/oci/database/models/database_software_image_summary.py
index c3d9d956d3..4c72b45d3f 100644
--- a/src/oci/database/models/database_software_image_summary.py
+++ b/src/oci/database/models/database_software_image_summary.py
@@ -80,6 +80,10 @@ class DatabaseSoftwareImageSummary(object):
#: This constant has a value of "EXADBXS_SHAPE"
IMAGE_SHAPE_FAMILY_EXADBXS_SHAPE = "EXADBXS_SHAPE"
+ #: A constant which can be used with the image_shape_family property of a DatabaseSoftwareImageSummary.
+ #: This constant has a value of "BDBCC_SHAPE"
+ IMAGE_SHAPE_FAMILY_BDBCC_SHAPE = "BDBCC_SHAPE"
+
def __init__(self, **kwargs):
"""
Initializes a new DatabaseSoftwareImageSummary object with values from keyword arguments.
@@ -123,7 +127,7 @@ def __init__(self, **kwargs):
:param image_shape_family:
The value to assign to the image_shape_family property of this DatabaseSoftwareImageSummary.
- Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type image_shape_family: str
@@ -441,7 +445,7 @@ def image_shape_family(self):
**[Required]** Gets the image_shape_family of this DatabaseSoftwareImageSummary.
To what shape the image is meant for.
- Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", 'UNKNOWN_ENUM_VALUE'.
+ Allowed values for this property are: "VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE", 'UNKNOWN_ENUM_VALUE'.
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
@@ -460,7 +464,7 @@ def image_shape_family(self, image_shape_family):
:param image_shape_family: The image_shape_family of this DatabaseSoftwareImageSummary.
:type: str
"""
- allowed_values = ["VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE"]
+ allowed_values = ["VM_BM_SHAPE", "EXADATA_SHAPE", "EXACC_SHAPE", "EXADBXS_SHAPE", "BDBCC_SHAPE"]
if not value_allowed_none_or_none_sentinel(image_shape_family, allowed_values):
image_shape_family = 'UNKNOWN_ENUM_VALUE'
self._image_shape_family = image_shape_family
diff --git a/src/oci/database/models/database_ssl_connection_credentials.py b/src/oci/database/models/database_ssl_connection_credentials.py
index e3ab7bb338..8c9186b312 100644
--- a/src/oci/database/models/database_ssl_connection_credentials.py
+++ b/src/oci/database/models/database_ssl_connection_credentials.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .database_connection_credentials import DatabaseConnectionCredentials
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -78,6 +78,9 @@ def __init__(self, **kwargs):
'role': 'role',
'ssl_secret_id': 'sslSecretId'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._credential_type = None
self._credential_name = None
self._username = None
@@ -235,7 +238,9 @@ def ssl_secret_id(self, ssl_secret_id):
self._ssl_secret_id = ssl_secret_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/database_summary.py b/src/oci/database/models/database_summary.py
index ae7ea02645..dc80788c4d 100644
--- a/src/oci/database/models/database_summary.py
+++ b/src/oci/database/models/database_summary.py
@@ -62,6 +62,14 @@ class DatabaseSummary(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the home_type property of a DatabaseSummary.
+ #: This constant has a value of "ORACLE_MANAGED"
+ HOME_TYPE_ORACLE_MANAGED = "ORACLE_MANAGED"
+
+ #: A constant which can be used with the home_type property of a DatabaseSummary.
+ #: This constant has a value of "CUSTOMER_MANAGED"
+ HOME_TYPE_CUSTOMER_MANAGED = "CUSTOMER_MANAGED"
+
def __init__(self, **kwargs):
"""
Initializes a new DatabaseSummary object with values from keyword arguments.
@@ -209,6 +217,16 @@ def __init__(self, **kwargs):
The value to assign to the storage_size_details property of this DatabaseSummary.
:type storage_size_details: oci.database.models.DatabaseStorageSizeResponseDetails
+ :param managed_software_update_details:
+ The value to assign to the managed_software_update_details property of this DatabaseSummary.
+ :type managed_software_update_details: oci.database.models.ManagedSoftwareUpdateDetails
+
+ :param home_type:
+ The value to assign to the home_type property of this DatabaseSummary.
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type home_type: str
+
:param patch_version:
The value to assign to the patch_version property of this DatabaseSummary.
:type patch_version: str
@@ -250,6 +268,8 @@ def __init__(self, **kwargs):
'data_guard_group': 'DataGuardGroup',
'encryption_key_location_details': 'EncryptionKeyLocationDetails',
'storage_size_details': 'DatabaseStorageSizeResponseDetails',
+ 'managed_software_update_details': 'ManagedSoftwareUpdateDetails',
+ 'home_type': 'str',
'patch_version': 'str'
}
self.attribute_map = {
@@ -288,6 +308,8 @@ def __init__(self, **kwargs):
'data_guard_group': 'dataGuardGroup',
'encryption_key_location_details': 'encryptionKeyLocationDetails',
'storage_size_details': 'storageSizeDetails',
+ 'managed_software_update_details': 'managedSoftwareUpdateDetails',
+ 'home_type': 'homeType',
'patch_version': 'patchVersion'
}
self._id = None
@@ -325,6 +347,8 @@ def __init__(self, **kwargs):
self._data_guard_group = None
self._encryption_key_location_details = None
self._storage_size_details = None
+ self._managed_software_update_details = None
+ self._home_type = None
self._patch_version = None
@property
@@ -1219,6 +1243,56 @@ def storage_size_details(self, storage_size_details):
"""
self._storage_size_details = storage_size_details
+ @property
+ def managed_software_update_details(self):
+ """
+ Gets the managed_software_update_details of this DatabaseSummary.
+
+ :return: The managed_software_update_details of this DatabaseSummary.
+ :rtype: oci.database.models.ManagedSoftwareUpdateDetails
+ """
+ return self._managed_software_update_details
+
+ @managed_software_update_details.setter
+ def managed_software_update_details(self, managed_software_update_details):
+ """
+ Sets the managed_software_update_details of this DatabaseSummary.
+
+ :param managed_software_update_details: The managed_software_update_details of this DatabaseSummary.
+ :type: oci.database.models.ManagedSoftwareUpdateDetails
+ """
+ self._managed_software_update_details = managed_software_update_details
+
+ @property
+ def home_type(self):
+ """
+ Gets the home_type of this DatabaseSummary.
+ Represents database will be under oracle managed home or customer managed home
+
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The home_type of this DatabaseSummary.
+ :rtype: str
+ """
+ return self._home_type
+
+ @home_type.setter
+ def home_type(self, home_type):
+ """
+ Sets the home_type of this DatabaseSummary.
+ Represents database will be under oracle managed home or customer managed home
+
+
+ :param home_type: The home_type of this DatabaseSummary.
+ :type: str
+ """
+ allowed_values = ["ORACLE_MANAGED", "CUSTOMER_MANAGED"]
+ if not value_allowed_none_or_none_sentinel(home_type, allowed_values):
+ home_type = 'UNKNOWN_ENUM_VALUE'
+ self._home_type = home_type
+
@property
def patch_version(self):
"""
diff --git a/src/oci/database/models/db_home.py b/src/oci/database/models/db_home.py
index 4f956badc5..ac22d4cf3b 100644
--- a/src/oci/database/models/db_home.py
+++ b/src/oci/database/models/db_home.py
@@ -39,6 +39,14 @@ class DbHome(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the home_type property of a DbHome.
+ #: This constant has a value of "ORACLE_MANAGED"
+ HOME_TYPE_ORACLE_MANAGED = "ORACLE_MANAGED"
+
+ #: A constant which can be used with the home_type property of a DbHome.
+ #: This constant has a value of "CUSTOMER_MANAGED"
+ HOME_TYPE_CUSTOMER_MANAGED = "CUSTOMER_MANAGED"
+
def __init__(self, **kwargs):
"""
Initializes a new DbHome object with values from keyword arguments.
@@ -118,6 +126,12 @@ def __init__(self, **kwargs):
The value to assign to the is_unified_auditing_enabled property of this DbHome.
:type is_unified_auditing_enabled: bool
+ :param home_type:
+ The value to assign to the home_type property of this DbHome.
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type home_type: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -137,7 +151,8 @@ def __init__(self, **kwargs):
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
'database_software_image_id': 'str',
- 'is_unified_auditing_enabled': 'bool'
+ 'is_unified_auditing_enabled': 'bool',
+ 'home_type': 'str'
}
self.attribute_map = {
'id': 'id',
@@ -157,7 +172,8 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
'database_software_image_id': 'databaseSoftwareImageId',
- 'is_unified_auditing_enabled': 'isUnifiedAuditingEnabled'
+ 'is_unified_auditing_enabled': 'isUnifiedAuditingEnabled',
+ 'home_type': 'homeType'
}
self._id = None
self._compartment_id = None
@@ -177,6 +193,7 @@ def __init__(self, **kwargs):
self._system_tags = None
self._database_software_image_id = None
self._is_unified_auditing_enabled = None
+ self._home_type = None
@property
def id(self):
@@ -662,6 +679,36 @@ def is_unified_auditing_enabled(self, is_unified_auditing_enabled):
"""
self._is_unified_auditing_enabled = is_unified_auditing_enabled
+ @property
+ def home_type(self):
+ """
+ Gets the home_type of this DbHome.
+ Represents database home will be managed by oracle or customer
+
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The home_type of this DbHome.
+ :rtype: str
+ """
+ return self._home_type
+
+ @home_type.setter
+ def home_type(self, home_type):
+ """
+ Sets the home_type of this DbHome.
+ Represents database home will be managed by oracle or customer
+
+
+ :param home_type: The home_type of this DbHome.
+ :type: str
+ """
+ allowed_values = ["ORACLE_MANAGED", "CUSTOMER_MANAGED"]
+ if not value_allowed_none_or_none_sentinel(home_type, allowed_values):
+ home_type = 'UNKNOWN_ENUM_VALUE'
+ self._home_type = home_type
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/db_home_from_agent_resource_id.py b/src/oci/database/models/db_home_from_agent_resource_id.py
index 2a55cd9d5c..6412224129 100644
--- a/src/oci/database/models/db_home_from_agent_resource_id.py
+++ b/src/oci/database/models/db_home_from_agent_resource_id.py
@@ -39,6 +39,14 @@ class DbHomeFromAgentResourceId(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the home_type property of a DbHomeFromAgentResourceId.
+ #: This constant has a value of "ORACLE_MANAGED"
+ HOME_TYPE_ORACLE_MANAGED = "ORACLE_MANAGED"
+
+ #: A constant which can be used with the home_type property of a DbHomeFromAgentResourceId.
+ #: This constant has a value of "CUSTOMER_MANAGED"
+ HOME_TYPE_CUSTOMER_MANAGED = "CUSTOMER_MANAGED"
+
def __init__(self, **kwargs):
"""
Initializes a new DbHomeFromAgentResourceId object with values from keyword arguments.
@@ -117,6 +125,11 @@ def __init__(self, **kwargs):
The value to assign to the is_unified_auditing_enabled property of this DbHomeFromAgentResourceId.
:type is_unified_auditing_enabled: bool
+ :param home_type:
+ The value to assign to the home_type property of this DbHomeFromAgentResourceId.
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED"
+ :type home_type: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -136,7 +149,8 @@ def __init__(self, **kwargs):
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
'database_software_image_id': 'str',
- 'is_unified_auditing_enabled': 'bool'
+ 'is_unified_auditing_enabled': 'bool',
+ 'home_type': 'str'
}
self.attribute_map = {
'id': 'id',
@@ -156,7 +170,8 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
'database_software_image_id': 'databaseSoftwareImageId',
- 'is_unified_auditing_enabled': 'isUnifiedAuditingEnabled'
+ 'is_unified_auditing_enabled': 'isUnifiedAuditingEnabled',
+ 'home_type': 'homeType'
}
self._id = None
self._compartment_id = None
@@ -176,6 +191,7 @@ def __init__(self, **kwargs):
self._system_tags = None
self._database_software_image_id = None
self._is_unified_auditing_enabled = None
+ self._home_type = None
@property
def id(self):
@@ -662,6 +678,37 @@ def is_unified_auditing_enabled(self, is_unified_auditing_enabled):
"""
self._is_unified_auditing_enabled = is_unified_auditing_enabled
+ @property
+ def home_type(self):
+ """
+ Gets the home_type of this DbHomeFromAgentResourceId.
+ Represents database home will be managed by oracle or customer
+
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED"
+
+
+ :return: The home_type of this DbHomeFromAgentResourceId.
+ :rtype: str
+ """
+ return self._home_type
+
+ @home_type.setter
+ def home_type(self, home_type):
+ """
+ Sets the home_type of this DbHomeFromAgentResourceId.
+ Represents database home will be managed by oracle or customer
+
+
+ :param home_type: The home_type of this DbHomeFromAgentResourceId.
+ :type: str
+ """
+ allowed_values = ["ORACLE_MANAGED", "CUSTOMER_MANAGED"]
+ if not value_allowed_none_or_none_sentinel(home_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `home_type`, must be None or one of {allowed_values}"
+ )
+ self._home_type = home_type
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/db_home_summary.py b/src/oci/database/models/db_home_summary.py
index fc5b0310ca..6c01fe83d1 100644
--- a/src/oci/database/models/db_home_summary.py
+++ b/src/oci/database/models/db_home_summary.py
@@ -51,6 +51,14 @@ class DbHomeSummary(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the home_type property of a DbHomeSummary.
+ #: This constant has a value of "ORACLE_MANAGED"
+ HOME_TYPE_ORACLE_MANAGED = "ORACLE_MANAGED"
+
+ #: A constant which can be used with the home_type property of a DbHomeSummary.
+ #: This constant has a value of "CUSTOMER_MANAGED"
+ HOME_TYPE_CUSTOMER_MANAGED = "CUSTOMER_MANAGED"
+
def __init__(self, **kwargs):
"""
Initializes a new DbHomeSummary object with values from keyword arguments.
@@ -130,6 +138,12 @@ def __init__(self, **kwargs):
The value to assign to the is_unified_auditing_enabled property of this DbHomeSummary.
:type is_unified_auditing_enabled: bool
+ :param home_type:
+ The value to assign to the home_type property of this DbHomeSummary.
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type home_type: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -149,7 +163,8 @@ def __init__(self, **kwargs):
'defined_tags': 'dict(str, dict(str, object))',
'system_tags': 'dict(str, dict(str, object))',
'database_software_image_id': 'str',
- 'is_unified_auditing_enabled': 'bool'
+ 'is_unified_auditing_enabled': 'bool',
+ 'home_type': 'str'
}
self.attribute_map = {
'id': 'id',
@@ -169,7 +184,8 @@ def __init__(self, **kwargs):
'defined_tags': 'definedTags',
'system_tags': 'systemTags',
'database_software_image_id': 'databaseSoftwareImageId',
- 'is_unified_auditing_enabled': 'isUnifiedAuditingEnabled'
+ 'is_unified_auditing_enabled': 'isUnifiedAuditingEnabled',
+ 'home_type': 'homeType'
}
self._id = None
self._compartment_id = None
@@ -189,6 +205,7 @@ def __init__(self, **kwargs):
self._system_tags = None
self._database_software_image_id = None
self._is_unified_auditing_enabled = None
+ self._home_type = None
@property
def id(self):
@@ -674,6 +691,36 @@ def is_unified_auditing_enabled(self, is_unified_auditing_enabled):
"""
self._is_unified_auditing_enabled = is_unified_auditing_enabled
+ @property
+ def home_type(self):
+ """
+ Gets the home_type of this DbHomeSummary.
+ Represents database home will be managed by oracle or customer
+
+ Allowed values for this property are: "ORACLE_MANAGED", "CUSTOMER_MANAGED", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The home_type of this DbHomeSummary.
+ :rtype: str
+ """
+ return self._home_type
+
+ @home_type.setter
+ def home_type(self, home_type):
+ """
+ Sets the home_type of this DbHomeSummary.
+ Represents database home will be managed by oracle or customer
+
+
+ :param home_type: The home_type of this DbHomeSummary.
+ :type: str
+ """
+ allowed_values = ["ORACLE_MANAGED", "CUSTOMER_MANAGED"]
+ if not value_allowed_none_or_none_sentinel(home_type, allowed_values):
+ home_type = 'UNKNOWN_ENUM_VALUE'
+ self._home_type = home_type
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/db_node.py b/src/oci/database/models/db_node.py
index f51b0628d4..868584262c 100644
--- a/src/oci/database/models/db_node.py
+++ b/src/oci/database/models/db_node.py
@@ -51,6 +51,30 @@ class DbNode(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the available_actions property of a DbNode.
+ #: This constant has a value of "STOP"
+ AVAILABLE_ACTIONS_STOP = "STOP"
+
+ #: A constant which can be used with the available_actions property of a DbNode.
+ #: This constant has a value of "FORCESTOP"
+ AVAILABLE_ACTIONS_FORCESTOP = "FORCESTOP"
+
+ #: A constant which can be used with the available_actions property of a DbNode.
+ #: This constant has a value of "FORCERESET"
+ AVAILABLE_ACTIONS_FORCERESET = "FORCERESET"
+
+ #: A constant which can be used with the available_actions property of a DbNode.
+ #: This constant has a value of "START"
+ AVAILABLE_ACTIONS_START = "START"
+
+ #: A constant which can be used with the available_actions property of a DbNode.
+ #: This constant has a value of "SOFTRESET"
+ AVAILABLE_ACTIONS_SOFTRESET = "SOFTRESET"
+
+ #: A constant which can be used with the available_actions property of a DbNode.
+ #: This constant has a value of "RESET"
+ AVAILABLE_ACTIONS_RESET = "RESET"
+
#: A constant which can be used with the maintenance_type property of a DbNode.
#: This constant has a value of "VMDB_REBOOT_MIGRATION"
MAINTENANCE_TYPE_VMDB_REBOOT_MIGRATION = "VMDB_REBOOT_MIGRATION"
@@ -118,6 +142,12 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
+ :param available_actions:
+ The value to assign to the available_actions property of this DbNode.
+ Allowed values for items in this list are: "STOP", "FORCESTOP", "FORCERESET", "START", "SOFTRESET", "RESET", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type available_actions: list[str]
+
:param hostname:
The value to assign to the hostname property of this DbNode.
:type hostname: str
@@ -215,6 +245,7 @@ def __init__(self, **kwargs):
'vnic2_id': 'str',
'backup_vnic2_id': 'str',
'lifecycle_state': 'str',
+ 'available_actions': 'list[str]',
'hostname': 'str',
'fault_domain': 'str',
'time_created': 'datetime',
@@ -248,6 +279,7 @@ def __init__(self, **kwargs):
'vnic2_id': 'vnic2Id',
'backup_vnic2_id': 'backupVnic2Id',
'lifecycle_state': 'lifecycleState',
+ 'available_actions': 'availableActions',
'hostname': 'hostname',
'fault_domain': 'faultDomain',
'time_created': 'timeCreated',
@@ -280,6 +312,7 @@ def __init__(self, **kwargs):
self._vnic2_id = None
self._backup_vnic2_id = None
self._lifecycle_state = None
+ self._available_actions = None
self._hostname = None
self._fault_domain = None
self._time_created = None
@@ -647,6 +680,36 @@ def lifecycle_state(self, lifecycle_state):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
+ @property
+ def available_actions(self):
+ """
+ Gets the available_actions of this DbNode.
+ Actions that can be performed on the database node, depending on its current lifecycle state.
+
+ Allowed values for items in this list are: "STOP", "FORCESTOP", "FORCERESET", "START", "SOFTRESET", "RESET", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The available_actions of this DbNode.
+ :rtype: list[str]
+ """
+ return self._available_actions
+
+ @available_actions.setter
+ def available_actions(self, available_actions):
+ """
+ Sets the available_actions of this DbNode.
+ Actions that can be performed on the database node, depending on its current lifecycle state.
+
+
+ :param available_actions: The available_actions of this DbNode.
+ :type: list[str]
+ """
+ allowed_values = ["STOP", "FORCESTOP", "FORCERESET", "START", "SOFTRESET", "RESET"]
+ if available_actions:
+ available_actions[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_actions]
+ self._available_actions = available_actions
+
@property
def hostname(self):
"""
diff --git a/src/oci/database/models/db_node_summary.py b/src/oci/database/models/db_node_summary.py
index 93b619ccfa..33f692c820 100644
--- a/src/oci/database/models/db_node_summary.py
+++ b/src/oci/database/models/db_node_summary.py
@@ -57,6 +57,30 @@ class DbNodeSummary(object):
#: This constant has a value of "FAILED"
LIFECYCLE_STATE_FAILED = "FAILED"
+ #: A constant which can be used with the available_actions property of a DbNodeSummary.
+ #: This constant has a value of "STOP"
+ AVAILABLE_ACTIONS_STOP = "STOP"
+
+ #: A constant which can be used with the available_actions property of a DbNodeSummary.
+ #: This constant has a value of "FORCESTOP"
+ AVAILABLE_ACTIONS_FORCESTOP = "FORCESTOP"
+
+ #: A constant which can be used with the available_actions property of a DbNodeSummary.
+ #: This constant has a value of "FORCERESET"
+ AVAILABLE_ACTIONS_FORCERESET = "FORCERESET"
+
+ #: A constant which can be used with the available_actions property of a DbNodeSummary.
+ #: This constant has a value of "START"
+ AVAILABLE_ACTIONS_START = "START"
+
+ #: A constant which can be used with the available_actions property of a DbNodeSummary.
+ #: This constant has a value of "SOFTRESET"
+ AVAILABLE_ACTIONS_SOFTRESET = "SOFTRESET"
+
+ #: A constant which can be used with the available_actions property of a DbNodeSummary.
+ #: This constant has a value of "RESET"
+ AVAILABLE_ACTIONS_RESET = "RESET"
+
#: A constant which can be used with the maintenance_type property of a DbNodeSummary.
#: This constant has a value of "VMDB_REBOOT_MIGRATION"
MAINTENANCE_TYPE_VMDB_REBOOT_MIGRATION = "VMDB_REBOOT_MIGRATION"
@@ -124,6 +148,12 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type lifecycle_state: str
+ :param available_actions:
+ The value to assign to the available_actions property of this DbNodeSummary.
+ Allowed values for items in this list are: "STOP", "FORCESTOP", "FORCERESET", "START", "SOFTRESET", "RESET", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type available_actions: list[str]
+
:param hostname:
The value to assign to the hostname property of this DbNodeSummary.
:type hostname: str
@@ -221,6 +251,7 @@ def __init__(self, **kwargs):
'vnic2_id': 'str',
'backup_vnic2_id': 'str',
'lifecycle_state': 'str',
+ 'available_actions': 'list[str]',
'hostname': 'str',
'fault_domain': 'str',
'time_created': 'datetime',
@@ -254,6 +285,7 @@ def __init__(self, **kwargs):
'vnic2_id': 'vnic2Id',
'backup_vnic2_id': 'backupVnic2Id',
'lifecycle_state': 'lifecycleState',
+ 'available_actions': 'availableActions',
'hostname': 'hostname',
'fault_domain': 'faultDomain',
'time_created': 'timeCreated',
@@ -286,6 +318,7 @@ def __init__(self, **kwargs):
self._vnic2_id = None
self._backup_vnic2_id = None
self._lifecycle_state = None
+ self._available_actions = None
self._hostname = None
self._fault_domain = None
self._time_created = None
@@ -653,6 +686,36 @@ def lifecycle_state(self, lifecycle_state):
lifecycle_state = 'UNKNOWN_ENUM_VALUE'
self._lifecycle_state = lifecycle_state
+ @property
+ def available_actions(self):
+ """
+ Gets the available_actions of this DbNodeSummary.
+ Actions that can be performed on the database node, depending on its current lifecycle state.
+
+ Allowed values for items in this list are: "STOP", "FORCESTOP", "FORCERESET", "START", "SOFTRESET", "RESET", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The available_actions of this DbNodeSummary.
+ :rtype: list[str]
+ """
+ return self._available_actions
+
+ @available_actions.setter
+ def available_actions(self, available_actions):
+ """
+ Sets the available_actions of this DbNodeSummary.
+ Actions that can be performed on the database node, depending on its current lifecycle state.
+
+
+ :param available_actions: The available_actions of this DbNodeSummary.
+ :type: list[str]
+ """
+ allowed_values = ["STOP", "FORCESTOP", "FORCERESET", "START", "SOFTRESET", "RESET"]
+ if available_actions:
+ available_actions[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_actions]
+ self._available_actions = available_actions
+
@property
def hostname(self):
"""
diff --git a/src/oci/database/models/exadata_live_image_version_details.py b/src/oci/database/models/exadata_live_image_version_details.py
new file mode 100644
index 0000000000..0e71ca6d69
--- /dev/null
+++ b/src/oci/database/models/exadata_live_image_version_details.py
@@ -0,0 +1,183 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 ExadataLiveImageVersionDetails(object):
+ """
+ Details about the most recent live image version applied on the VM Cluster, if any. If a full OS update was applied, the fields would be blank.
+ """
+
+ #: A constant which can be used with the update_mode property of a ExadataLiveImageVersionDetails.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a ExadataLiveImageVersionDetails.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a ExadataLiveImageVersionDetails.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ExadataLiveImageVersionDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param update_mode:
+ The value to assign to the update_mode property of this ExadataLiveImageVersionDetails.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_mode: str
+
+ :param version:
+ The value to assign to the version property of this ExadataLiveImageVersionDetails.
+ :type version: str
+
+ :param has_pending_updates:
+ The value to assign to the has_pending_updates property of this ExadataLiveImageVersionDetails.
+ :type has_pending_updates: bool
+
+ :param time_released:
+ The value to assign to the time_released property of this ExadataLiveImageVersionDetails.
+ :type time_released: datetime
+
+ """
+ self.swagger_types = {
+ 'update_mode': 'str',
+ 'version': 'str',
+ 'has_pending_updates': 'bool',
+ 'time_released': 'datetime'
+ }
+ self.attribute_map = {
+ 'update_mode': 'updateMode',
+ 'version': 'version',
+ 'has_pending_updates': 'hasPendingUpdates',
+ 'time_released': 'timeReleased'
+ }
+ self._update_mode = None
+ self._version = None
+ self._has_pending_updates = None
+ self._time_released = None
+
+ @property
+ def update_mode(self):
+ """
+ Gets the update_mode of this ExadataLiveImageVersionDetails.
+ The OS live update mode performed most recently on the VM Cluster.
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_mode of this ExadataLiveImageVersionDetails.
+ :rtype: str
+ """
+ return self._update_mode
+
+ @update_mode.setter
+ def update_mode(self, update_mode):
+ """
+ Sets the update_mode of this ExadataLiveImageVersionDetails.
+ The OS live update mode performed most recently on the VM Cluster.
+
+
+ :param update_mode: The update_mode of this ExadataLiveImageVersionDetails.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES"]
+ if not value_allowed_none_or_none_sentinel(update_mode, allowed_values):
+ update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._update_mode = update_mode
+
+ @property
+ def version(self):
+ """
+ Gets the version of this ExadataLiveImageVersionDetails.
+ Live Exadata Image Version of the Guest OS Update applied.
+
+
+ :return: The version of this ExadataLiveImageVersionDetails.
+ :rtype: str
+ """
+ return self._version
+
+ @version.setter
+ def version(self, version):
+ """
+ Sets the version of this ExadataLiveImageVersionDetails.
+ Live Exadata Image Version of the Guest OS Update applied.
+
+
+ :param version: The version of this ExadataLiveImageVersionDetails.
+ :type: str
+ """
+ self._version = version
+
+ @property
+ def has_pending_updates(self):
+ """
+ Gets the has_pending_updates of this ExadataLiveImageVersionDetails.
+ Indicates whether OS updates that require node reboot are pending after the previous online update was applied.
+
+
+ :return: The has_pending_updates of this ExadataLiveImageVersionDetails.
+ :rtype: bool
+ """
+ return self._has_pending_updates
+
+ @has_pending_updates.setter
+ def has_pending_updates(self, has_pending_updates):
+ """
+ Sets the has_pending_updates of this ExadataLiveImageVersionDetails.
+ Indicates whether OS updates that require node reboot are pending after the previous online update was applied.
+
+
+ :param has_pending_updates: The has_pending_updates of this ExadataLiveImageVersionDetails.
+ :type: bool
+ """
+ self._has_pending_updates = has_pending_updates
+
+ @property
+ def time_released(self):
+ """
+ Gets the time_released of this ExadataLiveImageVersionDetails.
+ The release date and time for the applied Live Exadata Image OS version.
+
+
+ :return: The time_released of this ExadataLiveImageVersionDetails.
+ :rtype: datetime
+ """
+ return self._time_released
+
+ @time_released.setter
+ def time_released(self, time_released):
+ """
+ Sets the time_released of this ExadataLiveImageVersionDetails.
+ The release date and time for the applied Live Exadata Image OS version.
+
+
+ :param time_released: The time_released of this ExadataLiveImageVersionDetails.
+ :type: datetime
+ """
+ self._time_released = time_released
+
+ 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/database/models/exadb_vm_cluster.py b/src/oci/database/models/exadb_vm_cluster.py
index 058371ef20..b0d0124c5f 100644
--- a/src/oci/database/models/exadb_vm_cluster.py
+++ b/src/oci/database/models/exadb_vm_cluster.py
@@ -67,6 +67,22 @@ class ExadbVmCluster(object):
#: This constant has a value of "BLOCK_STORAGE"
SHAPE_ATTRIBUTE_BLOCK_STORAGE = "BLOCK_STORAGE"
+ #: A constant which can be used with the tde_key_store_type property of a ExadbVmCluster.
+ #: This constant has a value of "AZURE"
+ TDE_KEY_STORE_TYPE_AZURE = "AZURE"
+
+ #: A constant which can be used with the tde_key_store_type property of a ExadbVmCluster.
+ #: This constant has a value of "OCI"
+ TDE_KEY_STORE_TYPE_OCI = "OCI"
+
+ #: A constant which can be used with the tde_key_store_type property of a ExadbVmCluster.
+ #: This constant has a value of "GCP"
+ TDE_KEY_STORE_TYPE_GCP = "GCP"
+
+ #: A constant which can be used with the tde_key_store_type property of a ExadbVmCluster.
+ #: This constant has a value of "AWS"
+ TDE_KEY_STORE_TYPE_AWS = "AWS"
+
def __init__(self, **kwargs):
"""
Initializes a new ExadbVmCluster object with values from keyword arguments.
@@ -276,6 +292,16 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type shape_attribute: str
+ :param multi_cloud_identity_connector_configs:
+ The value to assign to the multi_cloud_identity_connector_configs property of this ExadbVmCluster.
+ :type multi_cloud_identity_connector_configs: list[oci.database.models.IdentityConnectorDetails]
+
+ :param tde_key_store_type:
+ The value to assign to the tde_key_store_type property of this ExadbVmCluster.
+ Allowed values for this property are: "AZURE", "OCI", "GCP", "AWS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type tde_key_store_type: str
+
"""
self.swagger_types = {
'iorm_config_cache': 'ExadataIormConfig',
@@ -326,7 +352,9 @@ def __init__(self, **kwargs):
'memory_size_in_gbs': 'int',
'cluster_placement_group_id': 'str',
'subscription_id': 'str',
- 'shape_attribute': 'str'
+ 'shape_attribute': 'str',
+ 'multi_cloud_identity_connector_configs': 'list[IdentityConnectorDetails]',
+ 'tde_key_store_type': 'str'
}
self.attribute_map = {
'iorm_config_cache': 'iormConfigCache',
@@ -377,7 +405,9 @@ def __init__(self, **kwargs):
'memory_size_in_gbs': 'memorySizeInGBs',
'cluster_placement_group_id': 'clusterPlacementGroupId',
'subscription_id': 'subscriptionId',
- 'shape_attribute': 'shapeAttribute'
+ 'shape_attribute': 'shapeAttribute',
+ 'multi_cloud_identity_connector_configs': 'multiCloudIdentityConnectorConfigs',
+ 'tde_key_store_type': 'tdeKeyStoreType'
}
self._iorm_config_cache = None
self._id = None
@@ -428,6 +458,8 @@ def __init__(self, **kwargs):
self._cluster_placement_group_id = None
self._subscription_id = None
self._shape_attribute = None
+ self._multi_cloud_identity_connector_configs = None
+ self._tde_key_store_type = None
@property
def iorm_config_cache(self):
@@ -1739,6 +1771,60 @@ def shape_attribute(self, shape_attribute):
shape_attribute = 'UNKNOWN_ENUM_VALUE'
self._shape_attribute = shape_attribute
+ @property
+ def multi_cloud_identity_connector_configs(self):
+ """
+ Gets the multi_cloud_identity_connector_configs of this ExadbVmCluster.
+ Details of the multi cloud identity connectors of the VM cluster.
+
+
+ :return: The multi_cloud_identity_connector_configs of this ExadbVmCluster.
+ :rtype: list[oci.database.models.IdentityConnectorDetails]
+ """
+ return self._multi_cloud_identity_connector_configs
+
+ @multi_cloud_identity_connector_configs.setter
+ def multi_cloud_identity_connector_configs(self, multi_cloud_identity_connector_configs):
+ """
+ Sets the multi_cloud_identity_connector_configs of this ExadbVmCluster.
+ Details of the multi cloud identity connectors of the VM cluster.
+
+
+ :param multi_cloud_identity_connector_configs: The multi_cloud_identity_connector_configs of this ExadbVmCluster.
+ :type: list[oci.database.models.IdentityConnectorDetails]
+ """
+ self._multi_cloud_identity_connector_configs = multi_cloud_identity_connector_configs
+
+ @property
+ def tde_key_store_type(self):
+ """
+ Gets the tde_key_store_type of this ExadbVmCluster.
+ TDE keystore type
+
+ Allowed values for this property are: "AZURE", "OCI", "GCP", "AWS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The tde_key_store_type of this ExadbVmCluster.
+ :rtype: str
+ """
+ return self._tde_key_store_type
+
+ @tde_key_store_type.setter
+ def tde_key_store_type(self, tde_key_store_type):
+ """
+ Sets the tde_key_store_type of this ExadbVmCluster.
+ TDE keystore type
+
+
+ :param tde_key_store_type: The tde_key_store_type of this ExadbVmCluster.
+ :type: str
+ """
+ allowed_values = ["AZURE", "OCI", "GCP", "AWS"]
+ if not value_allowed_none_or_none_sentinel(tde_key_store_type, allowed_values):
+ tde_key_store_type = 'UNKNOWN_ENUM_VALUE'
+ self._tde_key_store_type = tde_key_store_type
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/exadb_vm_cluster_summary.py b/src/oci/database/models/exadb_vm_cluster_summary.py
index 41e756f512..8ba235b6dd 100644
--- a/src/oci/database/models/exadb_vm_cluster_summary.py
+++ b/src/oci/database/models/exadb_vm_cluster_summary.py
@@ -67,6 +67,22 @@ class ExadbVmClusterSummary(object):
#: This constant has a value of "BLOCK_STORAGE"
SHAPE_ATTRIBUTE_BLOCK_STORAGE = "BLOCK_STORAGE"
+ #: A constant which can be used with the tde_key_store_type property of a ExadbVmClusterSummary.
+ #: This constant has a value of "AZURE"
+ TDE_KEY_STORE_TYPE_AZURE = "AZURE"
+
+ #: A constant which can be used with the tde_key_store_type property of a ExadbVmClusterSummary.
+ #: This constant has a value of "OCI"
+ TDE_KEY_STORE_TYPE_OCI = "OCI"
+
+ #: A constant which can be used with the tde_key_store_type property of a ExadbVmClusterSummary.
+ #: This constant has a value of "GCP"
+ TDE_KEY_STORE_TYPE_GCP = "GCP"
+
+ #: A constant which can be used with the tde_key_store_type property of a ExadbVmClusterSummary.
+ #: This constant has a value of "AWS"
+ TDE_KEY_STORE_TYPE_AWS = "AWS"
+
def __init__(self, **kwargs):
"""
Initializes a new ExadbVmClusterSummary object with values from keyword arguments.
@@ -272,6 +288,16 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type shape_attribute: str
+ :param multi_cloud_identity_connector_configs:
+ The value to assign to the multi_cloud_identity_connector_configs property of this ExadbVmClusterSummary.
+ :type multi_cloud_identity_connector_configs: list[oci.database.models.IdentityConnectorDetails]
+
+ :param tde_key_store_type:
+ The value to assign to the tde_key_store_type property of this ExadbVmClusterSummary.
+ Allowed values for this property are: "AZURE", "OCI", "GCP", "AWS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type tde_key_store_type: str
+
"""
self.swagger_types = {
'id': 'str',
@@ -321,7 +347,9 @@ def __init__(self, **kwargs):
'memory_size_in_gbs': 'int',
'cluster_placement_group_id': 'str',
'subscription_id': 'str',
- 'shape_attribute': 'str'
+ 'shape_attribute': 'str',
+ 'multi_cloud_identity_connector_configs': 'list[IdentityConnectorDetails]',
+ 'tde_key_store_type': 'str'
}
self.attribute_map = {
'id': 'id',
@@ -371,7 +399,9 @@ def __init__(self, **kwargs):
'memory_size_in_gbs': 'memorySizeInGBs',
'cluster_placement_group_id': 'clusterPlacementGroupId',
'subscription_id': 'subscriptionId',
- 'shape_attribute': 'shapeAttribute'
+ 'shape_attribute': 'shapeAttribute',
+ 'multi_cloud_identity_connector_configs': 'multiCloudIdentityConnectorConfigs',
+ 'tde_key_store_type': 'tdeKeyStoreType'
}
self._id = None
self._compartment_id = None
@@ -421,6 +451,8 @@ def __init__(self, **kwargs):
self._cluster_placement_group_id = None
self._subscription_id = None
self._shape_attribute = None
+ self._multi_cloud_identity_connector_configs = None
+ self._tde_key_store_type = None
@property
def id(self):
@@ -1712,6 +1744,60 @@ def shape_attribute(self, shape_attribute):
shape_attribute = 'UNKNOWN_ENUM_VALUE'
self._shape_attribute = shape_attribute
+ @property
+ def multi_cloud_identity_connector_configs(self):
+ """
+ Gets the multi_cloud_identity_connector_configs of this ExadbVmClusterSummary.
+ Details of the multi cloud identity connectors of the VM cluster.
+
+
+ :return: The multi_cloud_identity_connector_configs of this ExadbVmClusterSummary.
+ :rtype: list[oci.database.models.IdentityConnectorDetails]
+ """
+ return self._multi_cloud_identity_connector_configs
+
+ @multi_cloud_identity_connector_configs.setter
+ def multi_cloud_identity_connector_configs(self, multi_cloud_identity_connector_configs):
+ """
+ Sets the multi_cloud_identity_connector_configs of this ExadbVmClusterSummary.
+ Details of the multi cloud identity connectors of the VM cluster.
+
+
+ :param multi_cloud_identity_connector_configs: The multi_cloud_identity_connector_configs of this ExadbVmClusterSummary.
+ :type: list[oci.database.models.IdentityConnectorDetails]
+ """
+ self._multi_cloud_identity_connector_configs = multi_cloud_identity_connector_configs
+
+ @property
+ def tde_key_store_type(self):
+ """
+ Gets the tde_key_store_type of this ExadbVmClusterSummary.
+ TDE keystore type
+
+ Allowed values for this property are: "AZURE", "OCI", "GCP", "AWS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The tde_key_store_type of this ExadbVmClusterSummary.
+ :rtype: str
+ """
+ return self._tde_key_store_type
+
+ @tde_key_store_type.setter
+ def tde_key_store_type(self, tde_key_store_type):
+ """
+ Sets the tde_key_store_type of this ExadbVmClusterSummary.
+ TDE keystore type
+
+
+ :param tde_key_store_type: The tde_key_store_type of this ExadbVmClusterSummary.
+ :type: str
+ """
+ allowed_values = ["AZURE", "OCI", "GCP", "AWS"]
+ if not value_allowed_none_or_none_sentinel(tde_key_store_type, allowed_values):
+ tde_key_store_type = 'UNKNOWN_ENUM_VALUE'
+ self._tde_key_store_type = tde_key_store_type
+
def __repr__(self):
return formatted_flat_dict(self)
diff --git a/src/oci/database/models/external_hsm_encryption_details.py b/src/oci/database/models/external_hsm_encryption_details.py
index 0d21e0c613..549431c46e 100644
--- a/src/oci/database/models/external_hsm_encryption_details.py
+++ b/src/oci/database/models/external_hsm_encryption_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .encryption_key_location_details import EncryptionKeyLocationDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -39,6 +39,9 @@ def __init__(self, **kwargs):
'provider_type': 'providerType',
'hsm_password': 'hsmPassword'
}
+ self._redacted_field_paths = [
+ ['hsm_password'],
+ ]
self._provider_type = None
self._hsm_password = None
self._provider_type = 'EXTERNAL'
@@ -68,7 +71,9 @@ def hsm_password(self, hsm_password):
self._hsm_password = hsm_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['hsm_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/failover_data_guard_details.py b/src/oci/database/models/failover_data_guard_details.py
index a0cc62a1d2..fc2d1e6ef3 100644
--- a/src/oci/database/models/failover_data_guard_details.py
+++ b/src/oci/database/models/failover_data_guard_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'database_admin_password': 'databaseAdminPassword'
}
+ self._redacted_field_paths = [
+ ['database_admin_password'],
+ ]
self._database_admin_password = None
@property
@@ -62,7 +65,9 @@ def database_admin_password(self, database_admin_password):
self._database_admin_password = database_admin_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/launch_db_system_details.py b/src/oci/database/models/launch_db_system_details.py
index a5a03bcd47..67c8630816 100644
--- a/src/oci/database/models/launch_db_system_details.py
+++ b/src/oci/database/models/launch_db_system_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .launch_db_system_base import LaunchDbSystemBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -302,6 +302,9 @@ def __init__(self, **kwargs):
'license_model': 'licenseModel',
'maintenance_window_details': 'maintenanceWindowDetails'
}
+ self._redacted_field_paths = [
+ ['db_home', 'database', 'tde_wallet_password'],
+ ]
self._compartment_id = None
self._fault_domains = None
self._display_name = None
@@ -483,7 +486,9 @@ def maintenance_window_details(self, maintenance_window_details):
self._maintenance_window_details = maintenance_window_details
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['db_home', 'database', 'tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/launch_db_system_from_backup_details.py b/src/oci/database/models/launch_db_system_from_backup_details.py
index d4d5de3899..9cfd343bff 100644
--- a/src/oci/database/models/launch_db_system_from_backup_details.py
+++ b/src/oci/database/models/launch_db_system_from_backup_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .launch_db_system_base import LaunchDbSystemBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -296,6 +296,9 @@ def __init__(self, **kwargs):
'disk_redundancy': 'diskRedundancy',
'license_model': 'licenseModel'
}
+ self._redacted_field_paths = [
+ ['db_home', 'database', 'recovery_appliance_vpc_password'],
+ ]
self._compartment_id = None
self._fault_domains = None
self._display_name = None
@@ -456,7 +459,9 @@ def license_model(self, license_model):
self._license_model = license_model
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['db_home', 'database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/launch_db_system_from_database_details.py b/src/oci/database/models/launch_db_system_from_database_details.py
index a4d53a5f27..7233f7f741 100644
--- a/src/oci/database/models/launch_db_system_from_database_details.py
+++ b/src/oci/database/models/launch_db_system_from_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .launch_db_system_base import LaunchDbSystemBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -296,6 +296,9 @@ def __init__(self, **kwargs):
'disk_redundancy': 'diskRedundancy',
'license_model': 'licenseModel'
}
+ self._redacted_field_paths = [
+ ['db_home', 'database', 'recovery_appliance_vpc_password'],
+ ]
self._compartment_id = None
self._fault_domains = None
self._display_name = None
@@ -456,7 +459,9 @@ def license_model(self, license_model):
self._license_model = license_model
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['db_home', 'database', 'recovery_appliance_vpc_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/launch_standby_db_system_details.py b/src/oci/database/models/launch_standby_db_system_details.py
index 1a205c38f0..90f0ed5f39 100644
--- a/src/oci/database/models/launch_standby_db_system_details.py
+++ b/src/oci/database/models/launch_standby_db_system_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .launch_db_system_base import LaunchDbSystemBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -260,6 +260,9 @@ def __init__(self, **kwargs):
'db_home': 'dbHome',
'license_model': 'licenseModel'
}
+ self._redacted_field_paths = [
+ ['db_home', 'database', 'tde_wallet_password'],
+ ]
self._compartment_id = None
self._fault_domains = None
self._display_name = None
@@ -379,7 +382,9 @@ def license_model(self, license_model):
self._license_model = license_model
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['db_home', 'database', 'tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/managed_software_update_day_of_week.py b/src/oci/database/models/managed_software_update_day_of_week.py
new file mode 100644
index 0000000000..a69f486ccd
--- /dev/null
+++ b/src/oci/database/models/managed_software_update_day_of_week.py
@@ -0,0 +1,106 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 ManagedSoftwareUpdateDayOfWeek(object):
+ """
+ Day of the week.
+ """
+
+ #: A constant which can be used with the day_of_week property of a ManagedSoftwareUpdateDayOfWeek.
+ #: 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 ManagedSoftwareUpdateDayOfWeek.
+ #: 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 ManagedSoftwareUpdateDayOfWeek.
+ #: 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 ManagedSoftwareUpdateDayOfWeek.
+ #: 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 ManagedSoftwareUpdateDayOfWeek.
+ #: 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 ManagedSoftwareUpdateDayOfWeek.
+ #: 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 ManagedSoftwareUpdateDayOfWeek.
+ #: This constant has a value of "SATURDAY"
+ DAY_OF_WEEK_SATURDAY = "SATURDAY"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ManagedSoftwareUpdateDayOfWeek object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param day_of_week:
+ The value to assign to the day_of_week property of this ManagedSoftwareUpdateDayOfWeek.
+ 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 = {
+ 'day_of_week': 'str'
+ }
+ self.attribute_map = {
+ 'day_of_week': 'dayOfWeek'
+ }
+ self._day_of_week = None
+
+ @property
+ def day_of_week(self):
+ """
+ **[Required]** Gets the day_of_week of this ManagedSoftwareUpdateDayOfWeek.
+ Day of the week.
+
+ 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 ManagedSoftwareUpdateDayOfWeek.
+ :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 ManagedSoftwareUpdateDayOfWeek.
+ Day of the week.
+
+
+ :param day_of_week: The day_of_week of this ManagedSoftwareUpdateDayOfWeek.
+ :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/database/models/managed_software_update_details.py b/src/oci/database/models/managed_software_update_details.py
new file mode 100644
index 0000000000..36d6d537db
--- /dev/null
+++ b/src/oci/database/models/managed_software_update_details.py
@@ -0,0 +1,124 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 ManagedSoftwareUpdateDetails(object):
+ """
+ The database registered for Oracle Managed Database Software Updates.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ManagedSoftwareUpdateDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param is_enrolled:
+ The value to assign to the is_enrolled property of this ManagedSoftwareUpdateDetails.
+ :type is_enrolled: bool
+
+ :param preference_details:
+ The value to assign to the preference_details property of this ManagedSoftwareUpdateDetails.
+ :type preference_details: oci.database.models.ManagedSoftwareUpdatePreferenceDetails
+
+ :param maintenance_details:
+ The value to assign to the maintenance_details property of this ManagedSoftwareUpdateDetails.
+ :type maintenance_details: oci.database.models.ManagedSoftwareUpdateMaintenanceDetails
+
+ """
+ self.swagger_types = {
+ 'is_enrolled': 'bool',
+ 'preference_details': 'ManagedSoftwareUpdatePreferenceDetails',
+ 'maintenance_details': 'ManagedSoftwareUpdateMaintenanceDetails'
+ }
+ self.attribute_map = {
+ 'is_enrolled': 'isEnrolled',
+ 'preference_details': 'preferenceDetails',
+ 'maintenance_details': 'maintenanceDetails'
+ }
+ self._is_enrolled = None
+ self._preference_details = None
+ self._maintenance_details = None
+
+ @property
+ def is_enrolled(self):
+ """
+ **[Required]** Gets the is_enrolled of this ManagedSoftwareUpdateDetails.
+ If true, database is registered for Oracle Managed Database Software Updates otherwise database is not registered for Oracle Managed Database Software Updates
+
+
+ :return: The is_enrolled of this ManagedSoftwareUpdateDetails.
+ :rtype: bool
+ """
+ return self._is_enrolled
+
+ @is_enrolled.setter
+ def is_enrolled(self, is_enrolled):
+ """
+ Sets the is_enrolled of this ManagedSoftwareUpdateDetails.
+ If true, database is registered for Oracle Managed Database Software Updates otherwise database is not registered for Oracle Managed Database Software Updates
+
+
+ :param is_enrolled: The is_enrolled of this ManagedSoftwareUpdateDetails.
+ :type: bool
+ """
+ self._is_enrolled = is_enrolled
+
+ @property
+ def preference_details(self):
+ """
+ Gets the preference_details of this ManagedSoftwareUpdateDetails.
+
+ :return: The preference_details of this ManagedSoftwareUpdateDetails.
+ :rtype: oci.database.models.ManagedSoftwareUpdatePreferenceDetails
+ """
+ return self._preference_details
+
+ @preference_details.setter
+ def preference_details(self, preference_details):
+ """
+ Sets the preference_details of this ManagedSoftwareUpdateDetails.
+
+ :param preference_details: The preference_details of this ManagedSoftwareUpdateDetails.
+ :type: oci.database.models.ManagedSoftwareUpdatePreferenceDetails
+ """
+ self._preference_details = preference_details
+
+ @property
+ def maintenance_details(self):
+ """
+ Gets the maintenance_details of this ManagedSoftwareUpdateDetails.
+
+ :return: The maintenance_details of this ManagedSoftwareUpdateDetails.
+ :rtype: oci.database.models.ManagedSoftwareUpdateMaintenanceDetails
+ """
+ return self._maintenance_details
+
+ @maintenance_details.setter
+ def maintenance_details(self, maintenance_details):
+ """
+ Sets the maintenance_details of this ManagedSoftwareUpdateDetails.
+
+ :param maintenance_details: The maintenance_details of this ManagedSoftwareUpdateDetails.
+ :type: oci.database.models.ManagedSoftwareUpdateMaintenanceDetails
+ """
+ self._maintenance_details = maintenance_details
+
+ 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/database/models/managed_software_update_input_details.py b/src/oci/database/models/managed_software_update_input_details.py
new file mode 100644
index 0000000000..2c3fcee062
--- /dev/null
+++ b/src/oci/database/models/managed_software_update_input_details.py
@@ -0,0 +1,97 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 ManagedSoftwareUpdateInputDetails(object):
+ """
+ The database registered for Oracle Managed Database Software Updates.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ManagedSoftwareUpdateInputDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param is_enrolled:
+ The value to assign to the is_enrolled property of this ManagedSoftwareUpdateInputDetails.
+ :type is_enrolled: bool
+
+ :param preference_details:
+ The value to assign to the preference_details property of this ManagedSoftwareUpdateInputDetails.
+ :type preference_details: oci.database.models.ManagedSoftwareUpdatePreferenceDetails
+
+ """
+ self.swagger_types = {
+ 'is_enrolled': 'bool',
+ 'preference_details': 'ManagedSoftwareUpdatePreferenceDetails'
+ }
+ self.attribute_map = {
+ 'is_enrolled': 'isEnrolled',
+ 'preference_details': 'preferenceDetails'
+ }
+ self._is_enrolled = None
+ self._preference_details = None
+
+ @property
+ def is_enrolled(self):
+ """
+ **[Required]** Gets the is_enrolled of this ManagedSoftwareUpdateInputDetails.
+ If true, database is registered for Oracle Managed Database Software Updates otherwise database is not registered for Oracle Managed Database Software Updates
+
+
+ :return: The is_enrolled of this ManagedSoftwareUpdateInputDetails.
+ :rtype: bool
+ """
+ return self._is_enrolled
+
+ @is_enrolled.setter
+ def is_enrolled(self, is_enrolled):
+ """
+ Sets the is_enrolled of this ManagedSoftwareUpdateInputDetails.
+ If true, database is registered for Oracle Managed Database Software Updates otherwise database is not registered for Oracle Managed Database Software Updates
+
+
+ :param is_enrolled: The is_enrolled of this ManagedSoftwareUpdateInputDetails.
+ :type: bool
+ """
+ self._is_enrolled = is_enrolled
+
+ @property
+ def preference_details(self):
+ """
+ Gets the preference_details of this ManagedSoftwareUpdateInputDetails.
+
+ :return: The preference_details of this ManagedSoftwareUpdateInputDetails.
+ :rtype: oci.database.models.ManagedSoftwareUpdatePreferenceDetails
+ """
+ return self._preference_details
+
+ @preference_details.setter
+ def preference_details(self, preference_details):
+ """
+ Sets the preference_details of this ManagedSoftwareUpdateInputDetails.
+
+ :param preference_details: The preference_details of this ManagedSoftwareUpdateInputDetails.
+ :type: oci.database.models.ManagedSoftwareUpdatePreferenceDetails
+ """
+ self._preference_details = preference_details
+
+ 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/database/models/managed_software_update_maintenance_details.py b/src/oci/database/models/managed_software_update_maintenance_details.py
new file mode 100644
index 0000000000..0eeb482486
--- /dev/null
+++ b/src/oci/database/models/managed_software_update_maintenance_details.py
@@ -0,0 +1,308 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 ManagedSoftwareUpdateMaintenanceDetails(object):
+ """
+ Provides details about actual Oracle Managed Database Software Updates scheduled time and version.
+ """
+
+ #: A constant which can be used with the update_readiness_status property of a ManagedSoftwareUpdateMaintenanceDetails.
+ #: This constant has a value of "SCHEDULED"
+ UPDATE_READINESS_STATUS_SCHEDULED = "SCHEDULED"
+
+ #: A constant which can be used with the update_readiness_status property of a ManagedSoftwareUpdateMaintenanceDetails.
+ #: This constant has a value of "SUCCEEDED"
+ UPDATE_READINESS_STATUS_SUCCEEDED = "SUCCEEDED"
+
+ #: A constant which can be used with the update_readiness_status property of a ManagedSoftwareUpdateMaintenanceDetails.
+ #: This constant has a value of "READY_FOR_MANAGED_UPDATE"
+ UPDATE_READINESS_STATUS_READY_FOR_MANAGED_UPDATE = "READY_FOR_MANAGED_UPDATE"
+
+ #: A constant which can be used with the update_readiness_status property of a ManagedSoftwareUpdateMaintenanceDetails.
+ #: This constant has a value of "NOT_READY_FOR_MANAGED_UPDATE"
+ UPDATE_READINESS_STATUS_NOT_READY_FOR_MANAGED_UPDATE = "NOT_READY_FOR_MANAGED_UPDATE"
+
+ #: A constant which can be used with the update_readiness_status property of a ManagedSoftwareUpdateMaintenanceDetails.
+ #: This constant has a value of "IN_PROGRESS"
+ UPDATE_READINESS_STATUS_IN_PROGRESS = "IN_PROGRESS"
+
+ #: A constant which can be used with the update_readiness_status property of a ManagedSoftwareUpdateMaintenanceDetails.
+ #: This constant has a value of "NEEDS_ATTENTION"
+ UPDATE_READINESS_STATUS_NEEDS_ATTENTION = "NEEDS_ATTENTION"
+
+ #: A constant which can be used with the update_readiness_status property of a ManagedSoftwareUpdateMaintenanceDetails.
+ #: This constant has a value of "AWAITING_RESOLUTION"
+ UPDATE_READINESS_STATUS_AWAITING_RESOLUTION = "AWAITING_RESOLUTION"
+
+ #: A constant which can be used with the update_mode property of a ManagedSoftwareUpdateMaintenanceDetails.
+ #: This constant has a value of "ROLLING"
+ UPDATE_MODE_ROLLING = "ROLLING"
+
+ #: A constant which can be used with the update_mode property of a ManagedSoftwareUpdateMaintenanceDetails.
+ #: This constant has a value of "NONROLLING"
+ UPDATE_MODE_NONROLLING = "NONROLLING"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ManagedSoftwareUpdateMaintenanceDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param time_scheduled:
+ The value to assign to the time_scheduled property of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type time_scheduled: datetime
+
+ :param update_readiness_status:
+ The value to assign to the update_readiness_status property of this ManagedSoftwareUpdateMaintenanceDetails.
+ Allowed values for this property are: "SCHEDULED", "SUCCEEDED", "READY_FOR_MANAGED_UPDATE", "NOT_READY_FOR_MANAGED_UPDATE", "IN_PROGRESS", "NEEDS_ATTENTION", "AWAITING_RESOLUTION", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_readiness_status: str
+
+ :param update_readiness_status_details:
+ The value to assign to the update_readiness_status_details property of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type update_readiness_status_details: str
+
+ :param time_of_status_update:
+ The value to assign to the time_of_status_update property of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type time_of_status_update: datetime
+
+ :param update_mode:
+ The value to assign to the update_mode property of this ManagedSoftwareUpdateMaintenanceDetails.
+ Allowed values for this property are: "ROLLING", "NONROLLING", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_mode: str
+
+ :param version:
+ The value to assign to the version property of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type version: str
+
+ :param time_of_last_readiness_check:
+ The value to assign to the time_of_last_readiness_check property of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type time_of_last_readiness_check: datetime
+
+ """
+ self.swagger_types = {
+ 'time_scheduled': 'datetime',
+ 'update_readiness_status': 'str',
+ 'update_readiness_status_details': 'str',
+ 'time_of_status_update': 'datetime',
+ 'update_mode': 'str',
+ 'version': 'str',
+ 'time_of_last_readiness_check': 'datetime'
+ }
+ self.attribute_map = {
+ 'time_scheduled': 'timeScheduled',
+ 'update_readiness_status': 'updateReadinessStatus',
+ 'update_readiness_status_details': 'updateReadinessStatusDetails',
+ 'time_of_status_update': 'timeOfStatusUpdate',
+ 'update_mode': 'updateMode',
+ 'version': 'version',
+ 'time_of_last_readiness_check': 'timeOfLastReadinessCheck'
+ }
+ self._time_scheduled = None
+ self._update_readiness_status = None
+ self._update_readiness_status_details = None
+ self._time_of_status_update = None
+ self._update_mode = None
+ self._version = None
+ self._time_of_last_readiness_check = None
+
+ @property
+ def time_scheduled(self):
+ """
+ **[Required]** Gets the time_scheduled of this ManagedSoftwareUpdateMaintenanceDetails.
+ The date and time of the database was scheduled for update.
+
+
+ :return: The time_scheduled of this ManagedSoftwareUpdateMaintenanceDetails.
+ :rtype: datetime
+ """
+ return self._time_scheduled
+
+ @time_scheduled.setter
+ def time_scheduled(self, time_scheduled):
+ """
+ Sets the time_scheduled of this ManagedSoftwareUpdateMaintenanceDetails.
+ The date and time of the database was scheduled for update.
+
+
+ :param time_scheduled: The time_scheduled of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type: datetime
+ """
+ self._time_scheduled = time_scheduled
+
+ @property
+ def update_readiness_status(self):
+ """
+ Gets the update_readiness_status of this ManagedSoftwareUpdateMaintenanceDetails.
+ The managed software update readiness status
+
+ Allowed values for this property are: "SCHEDULED", "SUCCEEDED", "READY_FOR_MANAGED_UPDATE", "NOT_READY_FOR_MANAGED_UPDATE", "IN_PROGRESS", "NEEDS_ATTENTION", "AWAITING_RESOLUTION", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_readiness_status of this ManagedSoftwareUpdateMaintenanceDetails.
+ :rtype: str
+ """
+ return self._update_readiness_status
+
+ @update_readiness_status.setter
+ def update_readiness_status(self, update_readiness_status):
+ """
+ Sets the update_readiness_status of this ManagedSoftwareUpdateMaintenanceDetails.
+ The managed software update readiness status
+
+
+ :param update_readiness_status: The update_readiness_status of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type: str
+ """
+ allowed_values = ["SCHEDULED", "SUCCEEDED", "READY_FOR_MANAGED_UPDATE", "NOT_READY_FOR_MANAGED_UPDATE", "IN_PROGRESS", "NEEDS_ATTENTION", "AWAITING_RESOLUTION"]
+ if not value_allowed_none_or_none_sentinel(update_readiness_status, allowed_values):
+ update_readiness_status = 'UNKNOWN_ENUM_VALUE'
+ self._update_readiness_status = update_readiness_status
+
+ @property
+ def update_readiness_status_details(self):
+ """
+ Gets the update_readiness_status_details of this ManagedSoftwareUpdateMaintenanceDetails.
+ This field will contain actual cause of update readiness state.
+
+
+ :return: The update_readiness_status_details of this ManagedSoftwareUpdateMaintenanceDetails.
+ :rtype: str
+ """
+ return self._update_readiness_status_details
+
+ @update_readiness_status_details.setter
+ def update_readiness_status_details(self, update_readiness_status_details):
+ """
+ Sets the update_readiness_status_details of this ManagedSoftwareUpdateMaintenanceDetails.
+ This field will contain actual cause of update readiness state.
+
+
+ :param update_readiness_status_details: The update_readiness_status_details of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type: str
+ """
+ self._update_readiness_status_details = update_readiness_status_details
+
+ @property
+ def time_of_status_update(self):
+ """
+ Gets the time_of_status_update of this ManagedSoftwareUpdateMaintenanceDetails.
+ The date and time of when the status was updated.
+
+
+ :return: The time_of_status_update of this ManagedSoftwareUpdateMaintenanceDetails.
+ :rtype: datetime
+ """
+ return self._time_of_status_update
+
+ @time_of_status_update.setter
+ def time_of_status_update(self, time_of_status_update):
+ """
+ Sets the time_of_status_update of this ManagedSoftwareUpdateMaintenanceDetails.
+ The date and time of when the status was updated.
+
+
+ :param time_of_status_update: The time_of_status_update of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type: datetime
+ """
+ self._time_of_status_update = time_of_status_update
+
+ @property
+ def update_mode(self):
+ """
+ Gets the update_mode of this ManagedSoftwareUpdateMaintenanceDetails.
+ Oracle Managed Database Software update method, either \"ROLLING\" or \"NONROLLING\"
+
+ Allowed values for this property are: "ROLLING", "NONROLLING", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_mode of this ManagedSoftwareUpdateMaintenanceDetails.
+ :rtype: str
+ """
+ return self._update_mode
+
+ @update_mode.setter
+ def update_mode(self, update_mode):
+ """
+ Sets the update_mode of this ManagedSoftwareUpdateMaintenanceDetails.
+ Oracle Managed Database Software update method, either \"ROLLING\" or \"NONROLLING\"
+
+
+ :param update_mode: The update_mode of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type: str
+ """
+ allowed_values = ["ROLLING", "NONROLLING"]
+ if not value_allowed_none_or_none_sentinel(update_mode, allowed_values):
+ update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._update_mode = update_mode
+
+ @property
+ def version(self):
+ """
+ **[Required]** Gets the version of this ManagedSoftwareUpdateMaintenanceDetails.
+ The version of the database was scheduled for update.
+
+
+ :return: The version of this ManagedSoftwareUpdateMaintenanceDetails.
+ :rtype: str
+ """
+ return self._version
+
+ @version.setter
+ def version(self, version):
+ """
+ Sets the version of this ManagedSoftwareUpdateMaintenanceDetails.
+ The version of the database was scheduled for update.
+
+
+ :param version: The version of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type: str
+ """
+ self._version = version
+
+ @property
+ def time_of_last_readiness_check(self):
+ """
+ Gets the time_of_last_readiness_check of this ManagedSoftwareUpdateMaintenanceDetails.
+ The date and time of the last readiness check.
+
+
+ :return: The time_of_last_readiness_check of this ManagedSoftwareUpdateMaintenanceDetails.
+ :rtype: datetime
+ """
+ return self._time_of_last_readiness_check
+
+ @time_of_last_readiness_check.setter
+ def time_of_last_readiness_check(self, time_of_last_readiness_check):
+ """
+ Sets the time_of_last_readiness_check of this ManagedSoftwareUpdateMaintenanceDetails.
+ The date and time of the last readiness check.
+
+
+ :param time_of_last_readiness_check: The time_of_last_readiness_check of this ManagedSoftwareUpdateMaintenanceDetails.
+ :type: datetime
+ """
+ self._time_of_last_readiness_check = time_of_last_readiness_check
+
+ 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/database/models/managed_software_update_preference_details.py b/src/oci/database/models/managed_software_update_preference_details.py
new file mode 100644
index 0000000000..000a0df0e4
--- /dev/null
+++ b/src/oci/database/models/managed_software_update_preference_details.py
@@ -0,0 +1,177 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 ManagedSoftwareUpdatePreferenceDetails(object):
+ """
+ Oracle Managed Database Software Updates schedule will be created based on the provided update preferences
+ """
+
+ #: A constant which can be used with the update_mode property of a ManagedSoftwareUpdatePreferenceDetails.
+ #: This constant has a value of "ROLLING"
+ UPDATE_MODE_ROLLING = "ROLLING"
+
+ #: A constant which can be used with the update_mode property of a ManagedSoftwareUpdatePreferenceDetails.
+ #: This constant has a value of "NONROLLING"
+ UPDATE_MODE_NONROLLING = "NONROLLING"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new ManagedSoftwareUpdatePreferenceDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param days_of_week:
+ The value to assign to the days_of_week property of this ManagedSoftwareUpdatePreferenceDetails.
+ :type days_of_week: list[oci.database.models.ManagedSoftwareUpdateDayOfWeek]
+
+ :param hour_of_day:
+ The value to assign to the hour_of_day property of this ManagedSoftwareUpdatePreferenceDetails.
+ :type hour_of_day: int
+
+ :param update_mode:
+ The value to assign to the update_mode property of this ManagedSoftwareUpdatePreferenceDetails.
+ Allowed values for this property are: "ROLLING", "NONROLLING", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_mode: str
+
+ :param version_scheme_details:
+ The value to assign to the version_scheme_details property of this ManagedSoftwareUpdatePreferenceDetails.
+ :type version_scheme_details: oci.database.models.VersionSchemeDetails
+
+ """
+ self.swagger_types = {
+ 'days_of_week': 'list[ManagedSoftwareUpdateDayOfWeek]',
+ 'hour_of_day': 'int',
+ 'update_mode': 'str',
+ 'version_scheme_details': 'VersionSchemeDetails'
+ }
+ self.attribute_map = {
+ 'days_of_week': 'daysOfWeek',
+ 'hour_of_day': 'hourOfDay',
+ 'update_mode': 'updateMode',
+ 'version_scheme_details': 'versionSchemeDetails'
+ }
+ self._days_of_week = None
+ self._hour_of_day = None
+ self._update_mode = None
+ self._version_scheme_details = None
+
+ @property
+ def days_of_week(self):
+ """
+ **[Required]** Gets the days_of_week of this ManagedSoftwareUpdatePreferenceDetails.
+ The update should be applied on the database for the selected days of the week.
+
+
+ :return: The days_of_week of this ManagedSoftwareUpdatePreferenceDetails.
+ :rtype: list[oci.database.models.ManagedSoftwareUpdateDayOfWeek]
+ """
+ return self._days_of_week
+
+ @days_of_week.setter
+ def days_of_week(self, days_of_week):
+ """
+ Sets the days_of_week of this ManagedSoftwareUpdatePreferenceDetails.
+ The update should be applied on the database for the selected days of the week.
+
+
+ :param days_of_week: The days_of_week of this ManagedSoftwareUpdatePreferenceDetails.
+ :type: list[oci.database.models.ManagedSoftwareUpdateDayOfWeek]
+ """
+ self._days_of_week = days_of_week
+
+ @property
+ def hour_of_day(self):
+ """
+ **[Required]** Gets the hour_of_day of this ManagedSoftwareUpdatePreferenceDetails.
+ The update should be applied on the database for the selected hour of the day.
+
+
+ :return: The hour_of_day of this ManagedSoftwareUpdatePreferenceDetails.
+ :rtype: int
+ """
+ return self._hour_of_day
+
+ @hour_of_day.setter
+ def hour_of_day(self, hour_of_day):
+ """
+ Sets the hour_of_day of this ManagedSoftwareUpdatePreferenceDetails.
+ The update should be applied on the database for the selected hour of the day.
+
+
+ :param hour_of_day: The hour_of_day of this ManagedSoftwareUpdatePreferenceDetails.
+ :type: int
+ """
+ self._hour_of_day = hour_of_day
+
+ @property
+ def update_mode(self):
+ """
+ Gets the update_mode of this ManagedSoftwareUpdatePreferenceDetails.
+ Oracle Managed Database Software update method, either \"ROLLING\" or \"NONROLLING\". Default value is ROLLING.
+ *IMPORTANT*: Non-rolling Database Software update update involves system down time.
+
+ Allowed values for this property are: "ROLLING", "NONROLLING", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_mode of this ManagedSoftwareUpdatePreferenceDetails.
+ :rtype: str
+ """
+ return self._update_mode
+
+ @update_mode.setter
+ def update_mode(self, update_mode):
+ """
+ Sets the update_mode of this ManagedSoftwareUpdatePreferenceDetails.
+ Oracle Managed Database Software update method, either \"ROLLING\" or \"NONROLLING\". Default value is ROLLING.
+ *IMPORTANT*: Non-rolling Database Software update update involves system down time.
+
+
+ :param update_mode: The update_mode of this ManagedSoftwareUpdatePreferenceDetails.
+ :type: str
+ """
+ allowed_values = ["ROLLING", "NONROLLING"]
+ if not value_allowed_none_or_none_sentinel(update_mode, allowed_values):
+ update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._update_mode = update_mode
+
+ @property
+ def version_scheme_details(self):
+ """
+ **[Required]** Gets the version_scheme_details of this ManagedSoftwareUpdatePreferenceDetails.
+
+ :return: The version_scheme_details of this ManagedSoftwareUpdatePreferenceDetails.
+ :rtype: oci.database.models.VersionSchemeDetails
+ """
+ return self._version_scheme_details
+
+ @version_scheme_details.setter
+ def version_scheme_details(self, version_scheme_details):
+ """
+ Sets the version_scheme_details of this ManagedSoftwareUpdatePreferenceDetails.
+
+ :param version_scheme_details: The version_scheme_details of this ManagedSoftwareUpdatePreferenceDetails.
+ :type: oci.database.models.VersionSchemeDetails
+ """
+ self._version_scheme_details = version_scheme_details
+
+ 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/database/models/migrate_vault_key_details.py b/src/oci/database/models/migrate_vault_key_details.py
index 04dbb6aa7f..e519efa45c 100644
--- a/src/oci/database/models/migrate_vault_key_details.py
+++ b/src/oci/database/models/migrate_vault_key_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -57,6 +57,10 @@ def __init__(self, **kwargs):
'tde_wallet_password': 'tdeWalletPassword',
'admin_password': 'adminPassword'
}
+ self._redacted_field_paths = [
+ ['tde_wallet_password'],
+ ['admin_password'],
+ ]
self._kms_key_id = None
self._kms_key_version_id = None
self._vault_id = None
@@ -190,7 +194,10 @@ def admin_password(self, admin_password):
self._admin_password = admin_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['tde_wallet_password'])
+ redact_password_field(as_dict, ['admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/pdb_conversion_to_new_database_details.py b/src/oci/database/models/pdb_conversion_to_new_database_details.py
index aa521f7dfa..2e1d370f2c 100644
--- a/src/oci/database/models/pdb_conversion_to_new_database_details.py
+++ b/src/oci/database/models/pdb_conversion_to_new_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
from .convert_to_pdb_target_base import ConvertToPdbTargetBase
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -69,6 +69,12 @@ def __init__(self, **kwargs):
'non_cdb_tde_wallet_password': 'nonCdbTdeWalletPassword',
'additional_cdb_params': 'additionalCdbParams'
}
+ self._redacted_field_paths = [
+ ['cdb_admin_password'],
+ ['pdb_admin_password'],
+ ['cdb_tde_wallet_password'],
+ ['non_cdb_tde_wallet_password'],
+ ]
self._target = None
self._cdb_name = None
self._cdb_admin_password = None
@@ -225,7 +231,12 @@ def additional_cdb_params(self, additional_cdb_params):
self._additional_cdb_params = additional_cdb_params
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['cdb_admin_password'])
+ redact_password_field(as_dict, ['pdb_admin_password'])
+ redact_password_field(as_dict, ['cdb_tde_wallet_password'])
+ redact_password_field(as_dict, ['non_cdb_tde_wallet_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/register_exadb_vm_cluster_pkcs_details.py b/src/oci/database/models/register_exadb_vm_cluster_pkcs_details.py
new file mode 100644
index 0000000000..d6bd5a5f81
--- /dev/null
+++ b/src/oci/database/models/register_exadb_vm_cluster_pkcs_details.py
@@ -0,0 +1,94 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 RegisterExadbVmClusterPkcsDetails(object):
+ """
+ Details of registering PKCS11 driver.
+ """
+
+ #: A constant which can be used with the tde_key_store_type property of a RegisterExadbVmClusterPkcsDetails.
+ #: This constant has a value of "AZURE"
+ TDE_KEY_STORE_TYPE_AZURE = "AZURE"
+
+ #: A constant which can be used with the tde_key_store_type property of a RegisterExadbVmClusterPkcsDetails.
+ #: This constant has a value of "OCI"
+ TDE_KEY_STORE_TYPE_OCI = "OCI"
+
+ #: A constant which can be used with the tde_key_store_type property of a RegisterExadbVmClusterPkcsDetails.
+ #: This constant has a value of "GCP"
+ TDE_KEY_STORE_TYPE_GCP = "GCP"
+
+ #: A constant which can be used with the tde_key_store_type property of a RegisterExadbVmClusterPkcsDetails.
+ #: This constant has a value of "AWS"
+ TDE_KEY_STORE_TYPE_AWS = "AWS"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RegisterExadbVmClusterPkcsDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param tde_key_store_type:
+ The value to assign to the tde_key_store_type property of this RegisterExadbVmClusterPkcsDetails.
+ Allowed values for this property are: "AZURE", "OCI", "GCP", "AWS"
+ :type tde_key_store_type: str
+
+ """
+ self.swagger_types = {
+ 'tde_key_store_type': 'str'
+ }
+ self.attribute_map = {
+ 'tde_key_store_type': 'tdeKeyStoreType'
+ }
+ self._tde_key_store_type = None
+
+ @property
+ def tde_key_store_type(self):
+ """
+ **[Required]** Gets the tde_key_store_type of this RegisterExadbVmClusterPkcsDetails.
+ TDE keystore type
+
+ Allowed values for this property are: "AZURE", "OCI", "GCP", "AWS"
+
+
+ :return: The tde_key_store_type of this RegisterExadbVmClusterPkcsDetails.
+ :rtype: str
+ """
+ return self._tde_key_store_type
+
+ @tde_key_store_type.setter
+ def tde_key_store_type(self, tde_key_store_type):
+ """
+ Sets the tde_key_store_type of this RegisterExadbVmClusterPkcsDetails.
+ TDE keystore type
+
+
+ :param tde_key_store_type: The tde_key_store_type of this RegisterExadbVmClusterPkcsDetails.
+ :type: str
+ """
+ allowed_values = ["AZURE", "OCI", "GCP", "AWS"]
+ if not value_allowed_none_or_none_sentinel(tde_key_store_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `tde_key_store_type`, must be None or one of {allowed_values}"
+ )
+ self._tde_key_store_type = tde_key_store_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/database/models/reinstate_data_guard_details.py b/src/oci/database/models/reinstate_data_guard_details.py
index fa1cff113c..0feb615146 100644
--- a/src/oci/database/models/reinstate_data_guard_details.py
+++ b/src/oci/database/models/reinstate_data_guard_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'database_admin_password': 'databaseAdminPassword',
'source_database_id': 'sourceDatabaseId'
}
+ self._redacted_field_paths = [
+ ['database_admin_password'],
+ ]
self._database_admin_password = None
self._source_database_id = None
@@ -97,7 +100,9 @@ def source_database_id(self, source_database_id):
self._source_database_id = source_database_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/restart_autonomous_container_database_details.py b/src/oci/database/models/restart_autonomous_container_database_details.py
new file mode 100644
index 0000000000..9c5a3d831f
--- /dev/null
+++ b/src/oci/database/models/restart_autonomous_container_database_details.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 RestartAutonomousContainerDatabaseDetails(object):
+ """
+ Request details to restart an Autonomous Container Database with force option.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RestartAutonomousContainerDatabaseDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param is_force_restart:
+ The value to assign to the is_force_restart property of this RestartAutonomousContainerDatabaseDetails.
+ :type is_force_restart: bool
+
+ """
+ self.swagger_types = {
+ 'is_force_restart': 'bool'
+ }
+ self.attribute_map = {
+ 'is_force_restart': 'isForceRestart'
+ }
+ self._is_force_restart = None
+
+ @property
+ def is_force_restart(self):
+ """
+ Gets the is_force_restart of this RestartAutonomousContainerDatabaseDetails.
+ If set to `true`, restarts the Autonomous Container Database with force option.
+
+
+ :return: The is_force_restart of this RestartAutonomousContainerDatabaseDetails.
+ :rtype: bool
+ """
+ return self._is_force_restart
+
+ @is_force_restart.setter
+ def is_force_restart(self, is_force_restart):
+ """
+ Sets the is_force_restart of this RestartAutonomousContainerDatabaseDetails.
+ If set to `true`, restarts the Autonomous Container Database with force option.
+
+
+ :param is_force_restart: The is_force_restart of this RestartAutonomousContainerDatabaseDetails.
+ :type: bool
+ """
+ self._is_force_restart = is_force_restart
+
+ 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/database/models/restart_autonomous_database_details.py b/src/oci/database/models/restart_autonomous_database_details.py
new file mode 100644
index 0000000000..d68ee55a7d
--- /dev/null
+++ b/src/oci/database/models/restart_autonomous_database_details.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 RestartAutonomousDatabaseDetails(object):
+ """
+ Request details to restart an Autonomous Database with force option.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new RestartAutonomousDatabaseDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param is_force_restart:
+ The value to assign to the is_force_restart property of this RestartAutonomousDatabaseDetails.
+ :type is_force_restart: bool
+
+ """
+ self.swagger_types = {
+ 'is_force_restart': 'bool'
+ }
+ self.attribute_map = {
+ 'is_force_restart': 'isForceRestart'
+ }
+ self._is_force_restart = None
+
+ @property
+ def is_force_restart(self):
+ """
+ Gets the is_force_restart of this RestartAutonomousDatabaseDetails.
+ If set to `true`, restarts the Autonomous Database with force option.
+
+
+ :return: The is_force_restart of this RestartAutonomousDatabaseDetails.
+ :rtype: bool
+ """
+ return self._is_force_restart
+
+ @is_force_restart.setter
+ def is_force_restart(self, is_force_restart):
+ """
+ Sets the is_force_restart of this RestartAutonomousDatabaseDetails.
+ If set to `true`, restarts the Autonomous Database with force option.
+
+
+ :param is_force_restart: The is_force_restart of this RestartAutonomousDatabaseDetails.
+ :type: bool
+ """
+ self._is_force_restart = is_force_restart
+
+ 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/database/models/stop_autonomous_database_details.py b/src/oci/database/models/stop_autonomous_database_details.py
new file mode 100644
index 0000000000..8cddc7e6fa
--- /dev/null
+++ b/src/oci/database/models/stop_autonomous_database_details.py
@@ -0,0 +1,70 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 StopAutonomousDatabaseDetails(object):
+ """
+ Request details to stop an Autonomous Database with force option.
+ """
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new StopAutonomousDatabaseDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param is_force_stop:
+ The value to assign to the is_force_stop property of this StopAutonomousDatabaseDetails.
+ :type is_force_stop: bool
+
+ """
+ self.swagger_types = {
+ 'is_force_stop': 'bool'
+ }
+ self.attribute_map = {
+ 'is_force_stop': 'isForceStop'
+ }
+ self._is_force_stop = None
+
+ @property
+ def is_force_stop(self):
+ """
+ Gets the is_force_stop of this StopAutonomousDatabaseDetails.
+ If set to `true`, stops the Autonomous Database with force option.
+
+
+ :return: The is_force_stop of this StopAutonomousDatabaseDetails.
+ :rtype: bool
+ """
+ return self._is_force_stop
+
+ @is_force_stop.setter
+ def is_force_stop(self, is_force_stop):
+ """
+ Sets the is_force_stop of this StopAutonomousDatabaseDetails.
+ If set to `true`, stops the Autonomous Database with force option.
+
+
+ :param is_force_stop: The is_force_stop of this StopAutonomousDatabaseDetails.
+ :type: bool
+ """
+ self._is_force_stop = is_force_stop
+
+ 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/database/models/switch_over_data_guard_details.py b/src/oci/database/models/switch_over_data_guard_details.py
index 9556b251b5..8eb83c478b 100644
--- a/src/oci/database/models/switch_over_data_guard_details.py
+++ b/src/oci/database/models/switch_over_data_guard_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -31,6 +31,9 @@ def __init__(self, **kwargs):
self.attribute_map = {
'database_admin_password': 'databaseAdminPassword'
}
+ self._redacted_field_paths = [
+ ['database_admin_password'],
+ ]
self._database_admin_password = None
@property
@@ -62,7 +65,9 @@ def database_admin_password(self, database_admin_password):
self._database_admin_password = database_admin_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/tde_wallet_backup_destination.py b/src/oci/database/models/tde_wallet_backup_destination.py
new file mode 100644
index 0000000000..9e0e6376b8
--- /dev/null
+++ b/src/oci/database/models/tde_wallet_backup_destination.py
@@ -0,0 +1,121 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 TdeWalletBackupDestination(object):
+ """
+ Backup destination for the TDE wallet backups.
+ """
+
+ #: A constant which can be used with the backup_destination_type property of a TdeWalletBackupDestination.
+ #: This constant has a value of "OSS"
+ BACKUP_DESTINATION_TYPE_OSS = "OSS"
+
+ #: A constant which can be used with the backup_destination_type property of a TdeWalletBackupDestination.
+ #: This constant has a value of "NFS"
+ BACKUP_DESTINATION_TYPE_NFS = "NFS"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new TdeWalletBackupDestination object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param backup_destination_type:
+ The value to assign to the backup_destination_type property of this TdeWalletBackupDestination.
+ Allowed values for this property are: "OSS", "NFS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type backup_destination_type: str
+
+ :param backup_destination_id:
+ The value to assign to the backup_destination_id property of this TdeWalletBackupDestination.
+ :type backup_destination_id: str
+
+ """
+ self.swagger_types = {
+ 'backup_destination_type': 'str',
+ 'backup_destination_id': 'str'
+ }
+ self.attribute_map = {
+ 'backup_destination_type': 'backupDestinationType',
+ 'backup_destination_id': 'backupDestinationId'
+ }
+ self._backup_destination_type = None
+ self._backup_destination_id = None
+
+ @property
+ def backup_destination_type(self):
+ """
+ **[Required]** Gets the backup_destination_type of this TdeWalletBackupDestination.
+ Destination where TDE Wallet backups are to be placed.
+
+ Allowed values for this property are: "OSS", "NFS", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The backup_destination_type of this TdeWalletBackupDestination.
+ :rtype: str
+ """
+ return self._backup_destination_type
+
+ @backup_destination_type.setter
+ def backup_destination_type(self, backup_destination_type):
+ """
+ Sets the backup_destination_type of this TdeWalletBackupDestination.
+ Destination where TDE Wallet backups are to be placed.
+
+
+ :param backup_destination_type: The backup_destination_type of this TdeWalletBackupDestination.
+ :type: str
+ """
+ allowed_values = ["OSS", "NFS"]
+ if not value_allowed_none_or_none_sentinel(backup_destination_type, allowed_values):
+ backup_destination_type = 'UNKNOWN_ENUM_VALUE'
+ self._backup_destination_type = backup_destination_type
+
+ @property
+ def backup_destination_id(self):
+ """
+ Gets the backup_destination_id of this TdeWalletBackupDestination.
+ The `OCID`__ of the backup destination.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :return: The backup_destination_id of this TdeWalletBackupDestination.
+ :rtype: str
+ """
+ return self._backup_destination_id
+
+ @backup_destination_id.setter
+ def backup_destination_id(self, backup_destination_id):
+ """
+ Sets the backup_destination_id of this TdeWalletBackupDestination.
+ The `OCID`__ of the backup destination.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param backup_destination_id: The backup_destination_id of this TdeWalletBackupDestination.
+ :type: str
+ """
+ self._backup_destination_id = backup_destination_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/database/models/undelete_autonomous_database_details.py b/src/oci/database/models/undelete_autonomous_database_details.py
index e70fc69ba4..ce306924a0 100644
--- a/src/oci/database/models/undelete_autonomous_database_details.py
+++ b/src/oci/database/models/undelete_autonomous_database_details.py
@@ -29,6 +29,10 @@ def __init__(self, **kwargs):
The value to assign to the compartment_id property of this UndeleteAutonomousDatabaseDetails.
:type compartment_id: str
+ :param availability_domain:
+ The value to assign to the availability_domain property of this UndeleteAutonomousDatabaseDetails.
+ :type availability_domain: str
+
:param character_set:
The value to assign to the character_set property of this UndeleteAutonomousDatabaseDetails.
:type character_set: str
@@ -258,6 +262,7 @@ def __init__(self, **kwargs):
self.swagger_types = {
'subscription_id': 'str',
'compartment_id': 'str',
+ 'availability_domain': 'str',
'character_set': 'str',
'ncharacter_set': 'str',
'db_name': 'str',
@@ -317,6 +322,7 @@ def __init__(self, **kwargs):
self.attribute_map = {
'subscription_id': 'subscriptionId',
'compartment_id': 'compartmentId',
+ 'availability_domain': 'availabilityDomain',
'character_set': 'characterSet',
'ncharacter_set': 'ncharacterSet',
'db_name': 'dbName',
@@ -375,6 +381,7 @@ def __init__(self, **kwargs):
}
self._subscription_id = None
self._compartment_id = None
+ self._availability_domain = None
self._character_set = None
self._ncharacter_set = None
self._db_name = None
diff --git a/src/oci/database/models/unregister_exadb_vm_cluster_pkcs_details.py b/src/oci/database/models/unregister_exadb_vm_cluster_pkcs_details.py
new file mode 100644
index 0000000000..e74a99c0a7
--- /dev/null
+++ b/src/oci/database/models/unregister_exadb_vm_cluster_pkcs_details.py
@@ -0,0 +1,94 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 UnregisterExadbVmClusterPkcsDetails(object):
+ """
+ Details of unregistering PKCS11 driver.
+ """
+
+ #: A constant which can be used with the tde_key_store_type property of a UnregisterExadbVmClusterPkcsDetails.
+ #: This constant has a value of "AZURE"
+ TDE_KEY_STORE_TYPE_AZURE = "AZURE"
+
+ #: A constant which can be used with the tde_key_store_type property of a UnregisterExadbVmClusterPkcsDetails.
+ #: This constant has a value of "OCI"
+ TDE_KEY_STORE_TYPE_OCI = "OCI"
+
+ #: A constant which can be used with the tde_key_store_type property of a UnregisterExadbVmClusterPkcsDetails.
+ #: This constant has a value of "GCP"
+ TDE_KEY_STORE_TYPE_GCP = "GCP"
+
+ #: A constant which can be used with the tde_key_store_type property of a UnregisterExadbVmClusterPkcsDetails.
+ #: This constant has a value of "AWS"
+ TDE_KEY_STORE_TYPE_AWS = "AWS"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UnregisterExadbVmClusterPkcsDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param tde_key_store_type:
+ The value to assign to the tde_key_store_type property of this UnregisterExadbVmClusterPkcsDetails.
+ Allowed values for this property are: "AZURE", "OCI", "GCP", "AWS"
+ :type tde_key_store_type: str
+
+ """
+ self.swagger_types = {
+ 'tde_key_store_type': 'str'
+ }
+ self.attribute_map = {
+ 'tde_key_store_type': 'tdeKeyStoreType'
+ }
+ self._tde_key_store_type = None
+
+ @property
+ def tde_key_store_type(self):
+ """
+ **[Required]** Gets the tde_key_store_type of this UnregisterExadbVmClusterPkcsDetails.
+ TDE keystore type
+
+ Allowed values for this property are: "AZURE", "OCI", "GCP", "AWS"
+
+
+ :return: The tde_key_store_type of this UnregisterExadbVmClusterPkcsDetails.
+ :rtype: str
+ """
+ return self._tde_key_store_type
+
+ @tde_key_store_type.setter
+ def tde_key_store_type(self, tde_key_store_type):
+ """
+ Sets the tde_key_store_type of this UnregisterExadbVmClusterPkcsDetails.
+ TDE keystore type
+
+
+ :param tde_key_store_type: The tde_key_store_type of this UnregisterExadbVmClusterPkcsDetails.
+ :type: str
+ """
+ allowed_values = ["AZURE", "OCI", "GCP", "AWS"]
+ if not value_allowed_none_or_none_sentinel(tde_key_store_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `tde_key_store_type`, must be None or one of {allowed_values}"
+ )
+ self._tde_key_store_type = tde_key_store_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/database/models/update.py b/src/oci/database/models/update.py
index 51c0bc7393..b075101a80 100644
--- a/src/oci/database/models/update.py
+++ b/src/oci/database/models/update.py
@@ -47,6 +47,46 @@ class Update(object):
#: This constant has a value of "ROLLBACK"
AVAILABLE_ACTIONS_ROLLBACK = "ROLLBACK"
+ #: A constant which can be used with the last_update_mode property of a Update.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ LAST_UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the last_update_mode property of a Update.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ LAST_UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the last_update_mode property of a Update.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ LAST_UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the last_update_mode property of a Update.
+ #: This constant has a value of "PENDING_UPDATES"
+ LAST_UPDATE_MODE_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the last_update_mode property of a Update.
+ #: This constant has a value of "FULL_UPDATE"
+ LAST_UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
+ #: A constant which can be used with the available_update_modes property of a Update.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ AVAILABLE_UPDATE_MODES_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the available_update_modes property of a Update.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ AVAILABLE_UPDATE_MODES_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the available_update_modes property of a Update.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ AVAILABLE_UPDATE_MODES_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the available_update_modes property of a Update.
+ #: This constant has a value of "PENDING_UPDATES"
+ AVAILABLE_UPDATE_MODES_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the available_update_modes property of a Update.
+ #: This constant has a value of "FULL_UPDATE"
+ AVAILABLE_UPDATE_MODES_FULL_UPDATE = "FULL_UPDATE"
+
#: A constant which can be used with the update_type property of a Update.
#: This constant has a value of "GI_UPGRADE"
UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
@@ -100,6 +140,22 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type available_actions: list[str]
+ :param last_update_mode:
+ The value to assign to the last_update_mode property of this Update.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type last_update_mode: str
+
+ :param available_update_modes:
+ The value to assign to the available_update_modes property of this Update.
+ Allowed values for items in this list are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type available_update_modes: list[str]
+
+ :param oracle_linux_version:
+ The value to assign to the oracle_linux_version property of this Update.
+ :type oracle_linux_version: str
+
:param update_type:
The value to assign to the update_type property of this Update.
Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE", 'UNKNOWN_ENUM_VALUE'.
@@ -130,6 +186,9 @@ def __init__(self, **kwargs):
'description': 'str',
'last_action': 'str',
'available_actions': 'list[str]',
+ 'last_update_mode': 'str',
+ 'available_update_modes': 'list[str]',
+ 'oracle_linux_version': 'str',
'update_type': 'str',
'lifecycle_details': 'str',
'lifecycle_state': 'str',
@@ -141,6 +200,9 @@ def __init__(self, **kwargs):
'description': 'description',
'last_action': 'lastAction',
'available_actions': 'availableActions',
+ 'last_update_mode': 'lastUpdateMode',
+ 'available_update_modes': 'availableUpdateModes',
+ 'oracle_linux_version': 'oracleLinuxVersion',
'update_type': 'updateType',
'lifecycle_details': 'lifecycleDetails',
'lifecycle_state': 'lifecycleState',
@@ -151,6 +213,9 @@ def __init__(self, **kwargs):
self._description = None
self._last_action = None
self._available_actions = None
+ self._last_update_mode = None
+ self._available_update_modes = None
+ self._oracle_linux_version = None
self._update_type = None
self._lifecycle_details = None
self._lifecycle_state = None
@@ -269,6 +334,90 @@ def available_actions(self, available_actions):
available_actions[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_actions]
self._available_actions = available_actions
+ @property
+ def last_update_mode(self):
+ """
+ Gets the last_update_mode of this Update.
+ The previous update mode performed (only valid for OS Updates).
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The last_update_mode of this Update.
+ :rtype: str
+ """
+ return self._last_update_mode
+
+ @last_update_mode.setter
+ def last_update_mode(self, last_update_mode):
+ """
+ Sets the last_update_mode of this Update.
+ The previous update mode performed (only valid for OS Updates).
+
+
+ :param last_update_mode: The last_update_mode of this Update.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(last_update_mode, allowed_values):
+ last_update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._last_update_mode = last_update_mode
+
+ @property
+ def available_update_modes(self):
+ """
+ Gets the available_update_modes of this Update.
+ The possible update options available (only valid for OS Update).
+
+ Allowed values for items in this list are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The available_update_modes of this Update.
+ :rtype: list[str]
+ """
+ return self._available_update_modes
+
+ @available_update_modes.setter
+ def available_update_modes(self, available_update_modes):
+ """
+ Sets the available_update_modes of this Update.
+ The possible update options available (only valid for OS Update).
+
+
+ :param available_update_modes: The available_update_modes of this Update.
+ :type: list[str]
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if available_update_modes:
+ available_update_modes[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_update_modes]
+ self._available_update_modes = available_update_modes
+
+ @property
+ def oracle_linux_version(self):
+ """
+ Gets the oracle_linux_version of this Update.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :return: The oracle_linux_version of this Update.
+ :rtype: str
+ """
+ return self._oracle_linux_version
+
+ @oracle_linux_version.setter
+ def oracle_linux_version(self, oracle_linux_version):
+ """
+ Sets the oracle_linux_version of this Update.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :param oracle_linux_version: The oracle_linux_version of this Update.
+ :type: str
+ """
+ self._oracle_linux_version = oracle_linux_version
+
@property
def update_type(self):
"""
diff --git a/src/oci/database/models/update_autonomous_database_details.py b/src/oci/database/models/update_autonomous_database_details.py
index 0f75a219e0..42e3cf67f1 100644
--- a/src/oci/database/models/update_autonomous_database_details.py
+++ b/src/oci/database/models/update_autonomous_database_details.py
@@ -147,6 +147,22 @@ def __init__(self, **kwargs):
The value to assign to the is_free_tier property of this UpdateAutonomousDatabaseDetails.
:type is_free_tier: bool
+ :param availability_domain:
+ The value to assign to the availability_domain property of this UpdateAutonomousDatabaseDetails.
+ :type availability_domain: str
+
+ :param time_scheduled_ad_update:
+ The value to assign to the time_scheduled_ad_update property of this UpdateAutonomousDatabaseDetails.
+ :type time_scheduled_ad_update: datetime
+
+ :param is_disable_ad_update_schedule:
+ The value to assign to the is_disable_ad_update_schedule property of this UpdateAutonomousDatabaseDetails.
+ :type is_disable_ad_update_schedule: bool
+
+ :param is_schedule_ad_update_to_earliest:
+ The value to assign to the is_schedule_ad_update_to_earliest property of this UpdateAutonomousDatabaseDetails.
+ :type is_schedule_ad_update_to_earliest: bool
+
:param admin_password:
The value to assign to the admin_password property of this UpdateAutonomousDatabaseDetails.
:type admin_password: str
@@ -364,6 +380,10 @@ def __init__(self, **kwargs):
'data_storage_size_in_gbs': 'int',
'display_name': 'str',
'is_free_tier': 'bool',
+ 'availability_domain': 'str',
+ 'time_scheduled_ad_update': 'datetime',
+ 'is_disable_ad_update_schedule': 'bool',
+ 'is_schedule_ad_update_to_earliest': 'bool',
'admin_password': 'str',
'db_name': 'str',
'freeform_tags': 'dict(str, str)',
@@ -428,6 +448,10 @@ def __init__(self, **kwargs):
'data_storage_size_in_gbs': 'dataStorageSizeInGBs',
'display_name': 'displayName',
'is_free_tier': 'isFreeTier',
+ 'availability_domain': 'availabilityDomain',
+ 'time_scheduled_ad_update': 'timeScheduledAdUpdate',
+ 'is_disable_ad_update_schedule': 'isDisableAdUpdateSchedule',
+ 'is_schedule_ad_update_to_earliest': 'isScheduleAdUpdateToEarliest',
'admin_password': 'adminPassword',
'db_name': 'dbName',
'freeform_tags': 'freeformTags',
@@ -491,6 +515,10 @@ def __init__(self, **kwargs):
self._data_storage_size_in_gbs = None
self._display_name = None
self._is_free_tier = None
+ self._availability_domain = None
+ self._time_scheduled_ad_update = None
+ self._is_disable_ad_update_schedule = None
+ self._is_schedule_ad_update_to_earliest = None
self._admin_password = None
self._db_name = None
self._freeform_tags = None
@@ -924,6 +952,102 @@ def is_free_tier(self, is_free_tier):
"""
self._is_free_tier = is_free_tier
+ @property
+ def availability_domain(self):
+ """
+ Gets the availability_domain of this UpdateAutonomousDatabaseDetails.
+ The Autonomous Database Serverless instance's availability domain.
+
+
+ :return: The availability_domain of this UpdateAutonomousDatabaseDetails.
+ :rtype: str
+ """
+ return self._availability_domain
+
+ @availability_domain.setter
+ def availability_domain(self, availability_domain):
+ """
+ Sets the availability_domain of this UpdateAutonomousDatabaseDetails.
+ The Autonomous Database Serverless instance's availability domain.
+
+
+ :param availability_domain: The availability_domain of this UpdateAutonomousDatabaseDetails.
+ :type: str
+ """
+ self._availability_domain = availability_domain
+
+ @property
+ def time_scheduled_ad_update(self):
+ """
+ Gets the time_scheduled_ad_update of this UpdateAutonomousDatabaseDetails.
+ The date and time when the Autonomous Database availability domain is to be updated.
+
+
+ :return: The time_scheduled_ad_update of this UpdateAutonomousDatabaseDetails.
+ :rtype: datetime
+ """
+ return self._time_scheduled_ad_update
+
+ @time_scheduled_ad_update.setter
+ def time_scheduled_ad_update(self, time_scheduled_ad_update):
+ """
+ Sets the time_scheduled_ad_update of this UpdateAutonomousDatabaseDetails.
+ The date and time when the Autonomous Database availability domain is to be updated.
+
+
+ :param time_scheduled_ad_update: The time_scheduled_ad_update of this UpdateAutonomousDatabaseDetails.
+ :type: datetime
+ """
+ self._time_scheduled_ad_update = time_scheduled_ad_update
+
+ @property
+ def is_disable_ad_update_schedule(self):
+ """
+ Gets the is_disable_ad_update_schedule of this UpdateAutonomousDatabaseDetails.
+ True, if you want to disable Autonomous Database availability domain scheduled update.
+
+
+ :return: The is_disable_ad_update_schedule of this UpdateAutonomousDatabaseDetails.
+ :rtype: bool
+ """
+ return self._is_disable_ad_update_schedule
+
+ @is_disable_ad_update_schedule.setter
+ def is_disable_ad_update_schedule(self, is_disable_ad_update_schedule):
+ """
+ Sets the is_disable_ad_update_schedule of this UpdateAutonomousDatabaseDetails.
+ True, if you want to disable Autonomous Database availability domain scheduled update.
+
+
+ :param is_disable_ad_update_schedule: The is_disable_ad_update_schedule of this UpdateAutonomousDatabaseDetails.
+ :type: bool
+ """
+ self._is_disable_ad_update_schedule = is_disable_ad_update_schedule
+
+ @property
+ def is_schedule_ad_update_to_earliest(self):
+ """
+ Gets the is_schedule_ad_update_to_earliest of this UpdateAutonomousDatabaseDetails.
+ True, if you want to schedule Autonomous Database availability domain update to the earliest available time.
+
+
+ :return: The is_schedule_ad_update_to_earliest of this UpdateAutonomousDatabaseDetails.
+ :rtype: bool
+ """
+ return self._is_schedule_ad_update_to_earliest
+
+ @is_schedule_ad_update_to_earliest.setter
+ def is_schedule_ad_update_to_earliest(self, is_schedule_ad_update_to_earliest):
+ """
+ Sets the is_schedule_ad_update_to_earliest of this UpdateAutonomousDatabaseDetails.
+ True, if you want to schedule Autonomous Database availability domain update to the earliest available time.
+
+
+ :param is_schedule_ad_update_to_earliest: The is_schedule_ad_update_to_earliest of this UpdateAutonomousDatabaseDetails.
+ :type: bool
+ """
+ self._is_schedule_ad_update_to_earliest = is_schedule_ad_update_to_earliest
+
@property
def admin_password(self):
"""
diff --git a/src/oci/database/models/update_basecc_vm_cluster_details.py b/src/oci/database/models/update_basecc_vm_cluster_details.py
new file mode 100644
index 0000000000..406dd00947
--- /dev/null
+++ b/src/oci/database/models/update_basecc_vm_cluster_details.py
@@ -0,0 +1,462 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 UpdateBaseccVmClusterDetails(object):
+ """
+ Details for updating the BaseDB-C@C VM cluster. Applies to Base Database Service on Cloud@Customer instances only.
+ """
+
+ #: A constant which can be used with the license_model property of a UpdateBaseccVmClusterDetails.
+ #: This constant has a value of "LICENSE_INCLUDED"
+ LICENSE_MODEL_LICENSE_INCLUDED = "LICENSE_INCLUDED"
+
+ #: A constant which can be used with the license_model property of a UpdateBaseccVmClusterDetails.
+ #: This constant has a value of "BRING_YOUR_OWN_LICENSE"
+ LICENSE_MODEL_BRING_YOUR_OWN_LICENSE = "BRING_YOUR_OWN_LICENSE"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new UpdateBaseccVmClusterDetails object with values from keyword arguments.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param cpu_core_count:
+ The value to assign to the cpu_core_count property of this UpdateBaseccVmClusterDetails.
+ :type cpu_core_count: int
+
+ :param memory_size_in_gbs:
+ The value to assign to the memory_size_in_gbs property of this UpdateBaseccVmClusterDetails.
+ :type memory_size_in_gbs: int
+
+ :param data_storage_size_in_gbs:
+ The value to assign to the data_storage_size_in_gbs property of this UpdateBaseccVmClusterDetails.
+ :type data_storage_size_in_gbs: int
+
+ :param reco_storage_size_in_gbs:
+ The value to assign to the reco_storage_size_in_gbs property of this UpdateBaseccVmClusterDetails.
+ :type reco_storage_size_in_gbs: int
+
+ :param license_model:
+ The value to assign to the license_model property of this UpdateBaseccVmClusterDetails.
+ Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"
+ :type license_model: str
+
+ :param ssh_public_keys:
+ The value to assign to the ssh_public_keys property of this UpdateBaseccVmClusterDetails.
+ :type ssh_public_keys: list[str]
+
+ :param display_name:
+ The value to assign to the display_name property of this UpdateBaseccVmClusterDetails.
+ :type display_name: str
+
+ :param additional_vm_storage_size_in_gbs:
+ The value to assign to the additional_vm_storage_size_in_gbs property of this UpdateBaseccVmClusterDetails.
+ :type additional_vm_storage_size_in_gbs: int
+
+ :param update_details:
+ The value to assign to the update_details property of this UpdateBaseccVmClusterDetails.
+ :type update_details: oci.database.models.BaseccVmClusterUpdateDetails
+
+ :param freeform_tags:
+ The value to assign to the freeform_tags property of this UpdateBaseccVmClusterDetails.
+ :type freeform_tags: dict(str, str)
+
+ :param defined_tags:
+ The value to assign to the defined_tags property of this UpdateBaseccVmClusterDetails.
+ :type defined_tags: dict(str, dict(str, object))
+
+ :param data_collection_options:
+ The value to assign to the data_collection_options property of this UpdateBaseccVmClusterDetails.
+ :type data_collection_options: oci.database.models.DataCollectionOptions
+
+ :param cloud_automation_update_details:
+ The value to assign to the cloud_automation_update_details property of this UpdateBaseccVmClusterDetails.
+ :type cloud_automation_update_details: oci.database.models.CloudAutomationUpdateDetails
+
+ """
+ self.swagger_types = {
+ 'cpu_core_count': 'int',
+ 'memory_size_in_gbs': 'int',
+ 'data_storage_size_in_gbs': 'int',
+ 'reco_storage_size_in_gbs': 'int',
+ 'license_model': 'str',
+ 'ssh_public_keys': 'list[str]',
+ 'display_name': 'str',
+ 'additional_vm_storage_size_in_gbs': 'int',
+ 'update_details': 'BaseccVmClusterUpdateDetails',
+ 'freeform_tags': 'dict(str, str)',
+ 'defined_tags': 'dict(str, dict(str, object))',
+ 'data_collection_options': 'DataCollectionOptions',
+ 'cloud_automation_update_details': 'CloudAutomationUpdateDetails'
+ }
+ self.attribute_map = {
+ 'cpu_core_count': 'cpuCoreCount',
+ 'memory_size_in_gbs': 'memorySizeInGBs',
+ 'data_storage_size_in_gbs': 'dataStorageSizeInGBs',
+ 'reco_storage_size_in_gbs': 'recoStorageSizeInGBs',
+ 'license_model': 'licenseModel',
+ 'ssh_public_keys': 'sshPublicKeys',
+ 'display_name': 'displayName',
+ 'additional_vm_storage_size_in_gbs': 'additionalVmStorageSizeInGBs',
+ 'update_details': 'updateDetails',
+ 'freeform_tags': 'freeformTags',
+ 'defined_tags': 'definedTags',
+ 'data_collection_options': 'dataCollectionOptions',
+ 'cloud_automation_update_details': 'cloudAutomationUpdateDetails'
+ }
+ self._cpu_core_count = None
+ self._memory_size_in_gbs = None
+ self._data_storage_size_in_gbs = None
+ self._reco_storage_size_in_gbs = None
+ self._license_model = None
+ self._ssh_public_keys = None
+ self._display_name = None
+ self._additional_vm_storage_size_in_gbs = None
+ self._update_details = None
+ self._freeform_tags = None
+ self._defined_tags = None
+ self._data_collection_options = None
+ self._cloud_automation_update_details = None
+
+ @property
+ def cpu_core_count(self):
+ """
+ Gets the cpu_core_count of this UpdateBaseccVmClusterDetails.
+ Total CPU cores for the BaseDB C@C VM cluster.
+
+
+ :return: The cpu_core_count of this UpdateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._cpu_core_count
+
+ @cpu_core_count.setter
+ def cpu_core_count(self, cpu_core_count):
+ """
+ Sets the cpu_core_count of this UpdateBaseccVmClusterDetails.
+ Total CPU cores for the BaseDB C@C VM cluster.
+
+
+ :param cpu_core_count: The cpu_core_count of this UpdateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._cpu_core_count = cpu_core_count
+
+ @property
+ def memory_size_in_gbs(self):
+ """
+ Gets the memory_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The minimum is 11GB for every 4 ECPU.
+
+
+ :return: The memory_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._memory_size_in_gbs
+
+ @memory_size_in_gbs.setter
+ def memory_size_in_gbs(self, memory_size_in_gbs):
+ """
+ Sets the memory_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ The total memory to be allocated, in GBs, for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The minimum is 11GB for every 4 ECPU.
+
+
+ :param memory_size_in_gbs: The memory_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._memory_size_in_gbs = memory_size_in_gbs
+
+ @property
+ def data_storage_size_in_gbs(self):
+ """
+ Gets the data_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The data_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._data_storage_size_in_gbs
+
+ @data_storage_size_in_gbs.setter
+ def data_storage_size_in_gbs(self, data_storage_size_in_gbs):
+ """
+ Sets the data_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ The DATA Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param data_storage_size_in_gbs: The data_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._data_storage_size_in_gbs = data_storage_size_in_gbs
+
+ @property
+ def reco_storage_size_in_gbs(self):
+ """
+ Gets the reco_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The reco_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._reco_storage_size_in_gbs
+
+ @reco_storage_size_in_gbs.setter
+ def reco_storage_size_in_gbs(self, reco_storage_size_in_gbs):
+ """
+ Sets the reco_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ The RECO Disk Group size in GB for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param reco_storage_size_in_gbs: The reco_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._reco_storage_size_in_gbs = reco_storage_size_in_gbs
+
+ @property
+ def license_model(self):
+ """
+ Gets the license_model of this UpdateBaseccVmClusterDetails.
+ The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The default is LICENSE_INCLUDED.
+
+ Allowed values for this property are: "LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"
+
+
+ :return: The license_model of this UpdateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._license_model
+
+ @license_model.setter
+ def license_model(self, license_model):
+ """
+ Sets the license_model of this UpdateBaseccVmClusterDetails.
+ The Oracle license model that applies to the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The default is LICENSE_INCLUDED.
+
+
+ :param license_model: The license_model of this UpdateBaseccVmClusterDetails.
+ :type: str
+ """
+ allowed_values = ["LICENSE_INCLUDED", "BRING_YOUR_OWN_LICENSE"]
+ if not value_allowed_none_or_none_sentinel(license_model, allowed_values):
+ raise ValueError(
+ f"Invalid value for `license_model`, must be None or one of {allowed_values}"
+ )
+ self._license_model = license_model
+
+ @property
+ def ssh_public_keys(self):
+ """
+ Gets the ssh_public_keys of this UpdateBaseccVmClusterDetails.
+ The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The ssh_public_keys of this UpdateBaseccVmClusterDetails.
+ :rtype: list[str]
+ """
+ return self._ssh_public_keys
+
+ @ssh_public_keys.setter
+ def ssh_public_keys(self, ssh_public_keys):
+ """
+ Sets the ssh_public_keys of this UpdateBaseccVmClusterDetails.
+ The public key portion of one or more key pairs used for SSH access to the VMs of Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param ssh_public_keys: The ssh_public_keys of this UpdateBaseccVmClusterDetails.
+ :type: list[str]
+ """
+ self._ssh_public_keys = ssh_public_keys
+
+ @property
+ def display_name(self):
+ """
+ Gets the display_name of this UpdateBaseccVmClusterDetails.
+ The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The name does not need to be unique.
+
+
+ :return: The display_name of this UpdateBaseccVmClusterDetails.
+ :rtype: str
+ """
+ return self._display_name
+
+ @display_name.setter
+ def display_name(self, display_name):
+ """
+ Sets the display_name of this UpdateBaseccVmClusterDetails.
+ The user-friendly name for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster. The name does not need to be unique.
+
+
+ :param display_name: The display_name of this UpdateBaseccVmClusterDetails.
+ :type: str
+ """
+ self._display_name = display_name
+
+ @property
+ def additional_vm_storage_size_in_gbs(self):
+ """
+ Gets the additional_vm_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :return: The additional_vm_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ :rtype: int
+ """
+ return self._additional_vm_storage_size_in_gbs
+
+ @additional_vm_storage_size_in_gbs.setter
+ def additional_vm_storage_size_in_gbs(self, additional_vm_storage_size_in_gbs):
+ """
+ Sets the additional_vm_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ Total /u01 partition size (GB) for the Base Database Service on Cloud@Customer (BaseDB-C@C) VM cluster.
+
+
+ :param additional_vm_storage_size_in_gbs: The additional_vm_storage_size_in_gbs of this UpdateBaseccVmClusterDetails.
+ :type: int
+ """
+ self._additional_vm_storage_size_in_gbs = additional_vm_storage_size_in_gbs
+
+ @property
+ def update_details(self):
+ """
+ Gets the update_details of this UpdateBaseccVmClusterDetails.
+
+ :return: The update_details of this UpdateBaseccVmClusterDetails.
+ :rtype: oci.database.models.BaseccVmClusterUpdateDetails
+ """
+ return self._update_details
+
+ @update_details.setter
+ def update_details(self, update_details):
+ """
+ Sets the update_details of this UpdateBaseccVmClusterDetails.
+
+ :param update_details: The update_details of this UpdateBaseccVmClusterDetails.
+ :type: oci.database.models.BaseccVmClusterUpdateDetails
+ """
+ self._update_details = update_details
+
+ @property
+ def freeform_tags(self):
+ """
+ Gets the freeform_tags of this UpdateBaseccVmClusterDetails.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The freeform_tags of this UpdateBaseccVmClusterDetails.
+ :rtype: dict(str, str)
+ """
+ return self._freeform_tags
+
+ @freeform_tags.setter
+ def freeform_tags(self, freeform_tags):
+ """
+ Sets the freeform_tags of this UpdateBaseccVmClusterDetails.
+ 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.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param freeform_tags: The freeform_tags of this UpdateBaseccVmClusterDetails.
+ :type: dict(str, str)
+ """
+ self._freeform_tags = freeform_tags
+
+ @property
+ def defined_tags(self):
+ """
+ Gets the defined_tags of this UpdateBaseccVmClusterDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :return: The defined_tags of this UpdateBaseccVmClusterDetails.
+ :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 UpdateBaseccVmClusterDetails.
+ Defined tags for this resource. Each key is predefined and scoped to a namespace.
+ For more information, see `Resource Tags`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/resourcetags.htm
+
+
+ :param defined_tags: The defined_tags of this UpdateBaseccVmClusterDetails.
+ :type: dict(str, dict(str, object))
+ """
+ self._defined_tags = defined_tags
+
+ @property
+ def data_collection_options(self):
+ """
+ Gets the data_collection_options of this UpdateBaseccVmClusterDetails.
+
+ :return: The data_collection_options of this UpdateBaseccVmClusterDetails.
+ :rtype: oci.database.models.DataCollectionOptions
+ """
+ return self._data_collection_options
+
+ @data_collection_options.setter
+ def data_collection_options(self, data_collection_options):
+ """
+ Sets the data_collection_options of this UpdateBaseccVmClusterDetails.
+
+ :param data_collection_options: The data_collection_options of this UpdateBaseccVmClusterDetails.
+ :type: oci.database.models.DataCollectionOptions
+ """
+ self._data_collection_options = data_collection_options
+
+ @property
+ def cloud_automation_update_details(self):
+ """
+ Gets the cloud_automation_update_details of this UpdateBaseccVmClusterDetails.
+
+ :return: The cloud_automation_update_details of this UpdateBaseccVmClusterDetails.
+ :rtype: oci.database.models.CloudAutomationUpdateDetails
+ """
+ return self._cloud_automation_update_details
+
+ @cloud_automation_update_details.setter
+ def cloud_automation_update_details(self, cloud_automation_update_details):
+ """
+ Sets the cloud_automation_update_details of this UpdateBaseccVmClusterDetails.
+
+ :param cloud_automation_update_details: The cloud_automation_update_details of this UpdateBaseccVmClusterDetails.
+ :type: oci.database.models.CloudAutomationUpdateDetails
+ """
+ self._cloud_automation_update_details = cloud_automation_update_details
+
+ 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/database/models/update_data_guard_details.py b/src/oci/database/models/update_data_guard_details.py
index f6e7af6415..e089719adf 100644
--- a/src/oci/database/models/update_data_guard_details.py
+++ b/src/oci/database/models/update_data_guard_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -75,6 +75,9 @@ def __init__(self, **kwargs):
'transport_type': 'transportType',
'is_active_data_guard_enabled': 'isActiveDataGuardEnabled'
}
+ self._redacted_field_paths = [
+ ['database_admin_password'],
+ ]
self._database_admin_password = None
self._protection_mode = None
self._transport_type = None
@@ -227,7 +230,9 @@ def is_active_data_guard_enabled(self, is_active_data_guard_enabled):
self._is_active_data_guard_enabled = is_active_data_guard_enabled
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/update_database_details.py b/src/oci/database/models/update_database_details.py
index cb59aa5752..93fb88d0fe 100644
--- a/src/oci/database/models/update_database_details.py
+++ b/src/oci/database/models/update_database_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -17,6 +17,30 @@ class UpdateDatabaseDetails(object):
**Warning:** Oracle recommends that you avoid using any confidential information when you supply string values using the API.
"""
+ #: A constant which can be used with the protection_mode property of a UpdateDatabaseDetails.
+ #: This constant has a value of "MAXIMUM_AVAILABILITY"
+ PROTECTION_MODE_MAXIMUM_AVAILABILITY = "MAXIMUM_AVAILABILITY"
+
+ #: A constant which can be used with the protection_mode property of a UpdateDatabaseDetails.
+ #: This constant has a value of "MAXIMUM_PERFORMANCE"
+ PROTECTION_MODE_MAXIMUM_PERFORMANCE = "MAXIMUM_PERFORMANCE"
+
+ #: A constant which can be used with the protection_mode property of a UpdateDatabaseDetails.
+ #: This constant has a value of "MAXIMUM_PROTECTION"
+ PROTECTION_MODE_MAXIMUM_PROTECTION = "MAXIMUM_PROTECTION"
+
+ #: A constant which can be used with the transport_type property of a UpdateDatabaseDetails.
+ #: This constant has a value of "SYNC"
+ TRANSPORT_TYPE_SYNC = "SYNC"
+
+ #: A constant which can be used with the transport_type property of a UpdateDatabaseDetails.
+ #: This constant has a value of "ASYNC"
+ TRANSPORT_TYPE_ASYNC = "ASYNC"
+
+ #: A constant which can be used with the transport_type property of a UpdateDatabaseDetails.
+ #: This constant has a value of "FASTSYNC"
+ TRANSPORT_TYPE_FASTSYNC = "FASTSYNC"
+
def __init__(self, **kwargs):
"""
Initializes a new UpdateDatabaseDetails object with values from keyword arguments.
@@ -54,10 +78,36 @@ def __init__(self, **kwargs):
The value to assign to the defined_tags property of this UpdateDatabaseDetails.
:type defined_tags: dict(str, dict(str, object))
+ :param managed_software_update_details:
+ The value to assign to the managed_software_update_details property of this UpdateDatabaseDetails.
+ :type managed_software_update_details: oci.database.models.ManagedSoftwareUpdateInputDetails
+
:param patch_options:
The value to assign to the patch_options property of this UpdateDatabaseDetails.
:type patch_options: oci.database.models.PatchOptions
+ :param database_admin_password:
+ The value to assign to the database_admin_password property of this UpdateDatabaseDetails.
+ :type database_admin_password: str
+
+ :param protection_mode:
+ The value to assign to the protection_mode property of this UpdateDatabaseDetails.
+ Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"
+ :type protection_mode: str
+
+ :param transport_type:
+ The value to assign to the transport_type property of this UpdateDatabaseDetails.
+ Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC"
+ :type transport_type: str
+
+ :param is_active_data_guard_enabled:
+ The value to assign to the is_active_data_guard_enabled property of this UpdateDatabaseDetails.
+ :type is_active_data_guard_enabled: bool
+
+ :param auto_failover_configuration:
+ The value to assign to the auto_failover_configuration property of this UpdateDatabaseDetails.
+ :type auto_failover_configuration: oci.database.models.AutoFailoverConfiguration
+
"""
self.swagger_types = {
'db_backup_config': 'DbBackupConfig',
@@ -68,7 +118,13 @@ def __init__(self, **kwargs):
'storage_size_details': 'DatabaseStorageSizeDetails',
'freeform_tags': 'dict(str, str)',
'defined_tags': 'dict(str, dict(str, object))',
- 'patch_options': 'PatchOptions'
+ 'managed_software_update_details': 'ManagedSoftwareUpdateInputDetails',
+ 'patch_options': 'PatchOptions',
+ 'database_admin_password': 'str',
+ 'protection_mode': 'str',
+ 'transport_type': 'str',
+ 'is_active_data_guard_enabled': 'bool',
+ 'auto_failover_configuration': 'AutoFailoverConfiguration'
}
self.attribute_map = {
'db_backup_config': 'dbBackupConfig',
@@ -79,8 +135,20 @@ def __init__(self, **kwargs):
'storage_size_details': 'storageSizeDetails',
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags',
- 'patch_options': 'patchOptions'
+ 'managed_software_update_details': 'managedSoftwareUpdateDetails',
+ 'patch_options': 'patchOptions',
+ 'database_admin_password': 'databaseAdminPassword',
+ 'protection_mode': 'protectionMode',
+ 'transport_type': 'transportType',
+ 'is_active_data_guard_enabled': 'isActiveDataGuardEnabled',
+ 'auto_failover_configuration': 'autoFailoverConfiguration'
}
+ self._redacted_field_paths = [
+ ['new_admin_password'],
+ ['old_tde_wallet_password'],
+ ['new_tde_wallet_password'],
+ ['database_admin_password'],
+ ]
self._db_backup_config = None
self._db_home_id = None
self._new_admin_password = None
@@ -89,7 +157,13 @@ def __init__(self, **kwargs):
self._storage_size_details = None
self._freeform_tags = None
self._defined_tags = None
+ self._managed_software_update_details = None
self._patch_options = None
+ self._database_admin_password = None
+ self._protection_mode = None
+ self._transport_type = None
+ self._is_active_data_guard_enabled = None
+ self._auto_failover_configuration = None
@property
def db_backup_config(self):
@@ -295,6 +369,26 @@ def defined_tags(self, defined_tags):
"""
self._defined_tags = defined_tags
+ @property
+ def managed_software_update_details(self):
+ """
+ Gets the managed_software_update_details of this UpdateDatabaseDetails.
+
+ :return: The managed_software_update_details of this UpdateDatabaseDetails.
+ :rtype: oci.database.models.ManagedSoftwareUpdateInputDetails
+ """
+ return self._managed_software_update_details
+
+ @managed_software_update_details.setter
+ def managed_software_update_details(self, managed_software_update_details):
+ """
+ Sets the managed_software_update_details of this UpdateDatabaseDetails.
+
+ :param managed_software_update_details: The managed_software_update_details of this UpdateDatabaseDetails.
+ :type: oci.database.models.ManagedSoftwareUpdateInputDetails
+ """
+ self._managed_software_update_details = managed_software_update_details
+
@property
def patch_options(self):
"""
@@ -315,8 +409,179 @@ def patch_options(self, patch_options):
"""
self._patch_options = patch_options
+ @property
+ def database_admin_password(self):
+ """
+ Gets the database_admin_password of this UpdateDatabaseDetails.
+ The administrator password of the primary database in this Data Guard association.
+
+ **The password MUST be the same as the primary admin password.**
+
+
+ :return: The database_admin_password of this UpdateDatabaseDetails.
+ :rtype: str
+ """
+ return self._database_admin_password
+
+ @database_admin_password.setter
+ def database_admin_password(self, database_admin_password):
+ """
+ Sets the database_admin_password of this UpdateDatabaseDetails.
+ The administrator password of the primary database in this Data Guard association.
+
+ **The password MUST be the same as the primary admin password.**
+
+
+ :param database_admin_password: The database_admin_password of this UpdateDatabaseDetails.
+ :type: str
+ """
+ self._database_admin_password = database_admin_password
+
+ @property
+ def protection_mode(self):
+ """
+ Gets the protection_mode of this UpdateDatabaseDetails.
+ The protection mode of this Data Guard. For more information, see
+ `Oracle Data Guard Protection Modes`__
+ in the Oracle Data Guard documentation.
+
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
+
+ Allowed values for this property are: "MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"
+
+
+ :return: The protection_mode of this UpdateDatabaseDetails.
+ :rtype: str
+ """
+ return self._protection_mode
+
+ @protection_mode.setter
+ def protection_mode(self, protection_mode):
+ """
+ Sets the protection_mode of this UpdateDatabaseDetails.
+ The protection mode of this Data Guard. For more information, see
+ `Oracle Data Guard Protection Modes`__
+ in the Oracle Data Guard documentation.
+
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-protection-modes.htm#SBYDB02000
+
+
+ :param protection_mode: The protection_mode of this UpdateDatabaseDetails.
+ :type: str
+ """
+ allowed_values = ["MAXIMUM_AVAILABILITY", "MAXIMUM_PERFORMANCE", "MAXIMUM_PROTECTION"]
+ if not value_allowed_none_or_none_sentinel(protection_mode, allowed_values):
+ raise ValueError(
+ f"Invalid value for `protection_mode`, must be None or one of {allowed_values}"
+ )
+ self._protection_mode = protection_mode
+
+ @property
+ def transport_type(self):
+ """
+ Gets the transport_type of this UpdateDatabaseDetails.
+ The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
+
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
+ * MAXIMUM_PERFORMANCE - ASYNC
+ * MAXIMUM_PROTECTION - SYNC
+
+ For more information, see
+ `Redo Transport Services`__
+ in the Oracle Data Guard documentation.
+
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
+
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400
+
+ Allowed values for this property are: "SYNC", "ASYNC", "FASTSYNC"
+
+
+ :return: The transport_type of this UpdateDatabaseDetails.
+ :rtype: str
+ """
+ return self._transport_type
+
+ @transport_type.setter
+ def transport_type(self, transport_type):
+ """
+ Sets the transport_type of this UpdateDatabaseDetails.
+ The redo transport type to use for this Data Guard association. Valid values depend on the specified `protectionMode`:
+
+ * MAXIMUM_AVAILABILITY - SYNC or FASTSYNC
+ * MAXIMUM_PERFORMANCE - ASYNC
+ * MAXIMUM_PROTECTION - SYNC
+
+ For more information, see
+ `Redo Transport Services`__
+ in the Oracle Data Guard documentation.
+
+ **IMPORTANT** - The only transport type currently supported by the Database service is ASYNC.
+
+ __ http://docs.oracle.com/database/122/SBYDB/oracle-data-guard-redo-transport-services.htm#SBYDB00400
+
+
+ :param transport_type: The transport_type of this UpdateDatabaseDetails.
+ :type: str
+ """
+ allowed_values = ["SYNC", "ASYNC", "FASTSYNC"]
+ if not value_allowed_none_or_none_sentinel(transport_type, allowed_values):
+ raise ValueError(
+ f"Invalid value for `transport_type`, must be None or one of {allowed_values}"
+ )
+ self._transport_type = transport_type
+
+ @property
+ def is_active_data_guard_enabled(self):
+ """
+ Gets the is_active_data_guard_enabled of this UpdateDatabaseDetails.
+ True if active Data Guard is enabled.
+
+
+ :return: The is_active_data_guard_enabled of this UpdateDatabaseDetails.
+ :rtype: bool
+ """
+ return self._is_active_data_guard_enabled
+
+ @is_active_data_guard_enabled.setter
+ def is_active_data_guard_enabled(self, is_active_data_guard_enabled):
+ """
+ Sets the is_active_data_guard_enabled of this UpdateDatabaseDetails.
+ True if active Data Guard is enabled.
+
+
+ :param is_active_data_guard_enabled: The is_active_data_guard_enabled of this UpdateDatabaseDetails.
+ :type: bool
+ """
+ self._is_active_data_guard_enabled = is_active_data_guard_enabled
+
+ @property
+ def auto_failover_configuration(self):
+ """
+ Gets the auto_failover_configuration of this UpdateDatabaseDetails.
+
+ :return: The auto_failover_configuration of this UpdateDatabaseDetails.
+ :rtype: oci.database.models.AutoFailoverConfiguration
+ """
+ return self._auto_failover_configuration
+
+ @auto_failover_configuration.setter
+ def auto_failover_configuration(self, auto_failover_configuration):
+ """
+ Sets the auto_failover_configuration of this UpdateDatabaseDetails.
+
+ :param auto_failover_configuration: The auto_failover_configuration of this UpdateDatabaseDetails.
+ :type: oci.database.models.AutoFailoverConfiguration
+ """
+ self._auto_failover_configuration = auto_failover_configuration
+
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['new_admin_password'])
+ redact_password_field(as_dict, ['old_tde_wallet_password'])
+ redact_password_field(as_dict, ['new_tde_wallet_password'])
+ redact_password_field(as_dict, ['database_admin_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database/models/update_details.py b/src/oci/database/models/update_details.py
index ba746750f7..e2229abd02 100644
--- a/src/oci/database/models/update_details.py
+++ b/src/oci/database/models/update_details.py
@@ -31,6 +31,26 @@ class UpdateDetails(object):
#: This constant has a value of "ROLLBACK"
UPDATE_ACTION_ROLLBACK = "ROLLBACK"
+ #: A constant which can be used with the update_mode property of a UpdateDetails.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateDetails.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateDetails.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a UpdateDetails.
+ #: This constant has a value of "PENDING_UPDATES"
+ UPDATE_MODE_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a UpdateDetails.
+ #: This constant has a value of "FULL_UPDATE"
+ UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
def __init__(self, **kwargs):
"""
Initializes a new UpdateDetails object with values from keyword arguments.
@@ -45,6 +65,11 @@ def __init__(self, **kwargs):
Allowed values for this property are: "ROLLING_APPLY", "NON_ROLLING_APPLY", "PRECHECK", "ROLLBACK"
:type update_action: str
+ :param update_mode:
+ The value to assign to the update_mode property of this UpdateDetails.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"
+ :type update_mode: str
+
:param gi_software_image_id:
The value to assign to the gi_software_image_id property of this UpdateDetails.
:type gi_software_image_id: str
@@ -53,15 +78,18 @@ def __init__(self, **kwargs):
self.swagger_types = {
'update_id': 'str',
'update_action': 'str',
+ 'update_mode': 'str',
'gi_software_image_id': 'str'
}
self.attribute_map = {
'update_id': 'updateId',
'update_action': 'updateAction',
+ 'update_mode': 'updateMode',
'gi_software_image_id': 'giSoftwareImageId'
}
self._update_id = None
self._update_action = None
+ self._update_mode = None
self._gi_software_image_id = None
@property
@@ -123,6 +151,37 @@ def update_action(self, update_action):
)
self._update_action = update_action
+ @property
+ def update_mode(self):
+ """
+ Gets the update_mode of this UpdateDetails.
+ The update mode to perform for OS Update.
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"
+
+
+ :return: The update_mode of this UpdateDetails.
+ :rtype: str
+ """
+ return self._update_mode
+
+ @update_mode.setter
+ def update_mode(self, update_mode):
+ """
+ Sets the update_mode of this UpdateDetails.
+ The update mode to perform for OS Update.
+
+
+ :param update_mode: The update_mode of this UpdateDetails.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(update_mode, allowed_values):
+ raise ValueError(
+ f"Invalid value for `update_mode`, must be None or one of {allowed_values}"
+ )
+ self._update_mode = update_mode
+
@property
def gi_software_image_id(self):
"""
diff --git a/src/oci/database/models/update_history_entry.py b/src/oci/database/models/update_history_entry.py
index a2d167a30d..74b96e6b0a 100644
--- a/src/oci/database/models/update_history_entry.py
+++ b/src/oci/database/models/update_history_entry.py
@@ -31,6 +31,34 @@ class UpdateHistoryEntry(object):
#: This constant has a value of "ROLLBACK"
UPDATE_ACTION_ROLLBACK = "ROLLBACK"
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntry.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntry.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntry.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntry.
+ #: This constant has a value of "PENDING_UPDATES_HIGHCVSS"
+ UPDATE_MODE_PENDING_UPDATES_HIGHCVSS = "PENDING_UPDATES_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntry.
+ #: This constant has a value of "PENDING_UPDATES_ALLCVSS"
+ UPDATE_MODE_PENDING_UPDATES_ALLCVSS = "PENDING_UPDATES_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntry.
+ #: This constant has a value of "PENDING_ALL_UPDATES"
+ UPDATE_MODE_PENDING_ALL_UPDATES = "PENDING_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntry.
+ #: This constant has a value of "FULL_UPDATE"
+ UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
#: A constant which can be used with the update_type property of a UpdateHistoryEntry.
#: This constant has a value of "GI_UPGRADE"
UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
@@ -74,6 +102,12 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type update_action: str
+ :param update_mode:
+ The value to assign to the update_mode property of this UpdateHistoryEntry.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_mode: str
+
:param update_type:
The value to assign to the update_type property of this UpdateHistoryEntry.
Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE", 'UNKNOWN_ENUM_VALUE'.
@@ -103,6 +137,7 @@ def __init__(self, **kwargs):
'id': 'str',
'update_id': 'str',
'update_action': 'str',
+ 'update_mode': 'str',
'update_type': 'str',
'lifecycle_state': 'str',
'lifecycle_details': 'str',
@@ -113,6 +148,7 @@ def __init__(self, **kwargs):
'id': 'id',
'update_id': 'updateId',
'update_action': 'updateAction',
+ 'update_mode': 'updateMode',
'update_type': 'updateType',
'lifecycle_state': 'lifecycleState',
'lifecycle_details': 'lifecycleDetails',
@@ -122,6 +158,7 @@ def __init__(self, **kwargs):
self._id = None
self._update_id = None
self._update_action = None
+ self._update_mode = None
self._update_type = None
self._lifecycle_state = None
self._lifecycle_details = None
@@ -214,6 +251,36 @@ def update_action(self, update_action):
update_action = 'UNKNOWN_ENUM_VALUE'
self._update_action = update_action
+ @property
+ def update_mode(self):
+ """
+ Gets the update_mode of this UpdateHistoryEntry.
+ The OS update mode performed using this maintenance update.
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_mode of this UpdateHistoryEntry.
+ :rtype: str
+ """
+ return self._update_mode
+
+ @update_mode.setter
+ def update_mode(self, update_mode):
+ """
+ Sets the update_mode of this UpdateHistoryEntry.
+ The OS update mode performed using this maintenance update.
+
+
+ :param update_mode: The update_mode of this UpdateHistoryEntry.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(update_mode, allowed_values):
+ update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._update_mode = update_mode
+
@property
def update_type(self):
"""
diff --git a/src/oci/database/models/update_history_entry_summary.py b/src/oci/database/models/update_history_entry_summary.py
index 72e3d09c48..dd0a6e7091 100644
--- a/src/oci/database/models/update_history_entry_summary.py
+++ b/src/oci/database/models/update_history_entry_summary.py
@@ -31,6 +31,34 @@ class UpdateHistoryEntrySummary(object):
#: This constant has a value of "ROLLBACK"
UPDATE_ACTION_ROLLBACK = "ROLLBACK"
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.
+ #: This constant has a value of "PENDING_UPDATES_HIGHCVSS"
+ UPDATE_MODE_PENDING_UPDATES_HIGHCVSS = "PENDING_UPDATES_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.
+ #: This constant has a value of "PENDING_UPDATES_ALLCVSS"
+ UPDATE_MODE_PENDING_UPDATES_ALLCVSS = "PENDING_UPDATES_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.
+ #: This constant has a value of "PENDING_ALL_UPDATES"
+ UPDATE_MODE_PENDING_ALL_UPDATES = "PENDING_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a UpdateHistoryEntrySummary.
+ #: This constant has a value of "FULL_UPDATE"
+ UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
#: A constant which can be used with the update_type property of a UpdateHistoryEntrySummary.
#: This constant has a value of "GI_UPGRADE"
UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
@@ -74,6 +102,12 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type update_action: str
+ :param update_mode:
+ The value to assign to the update_mode property of this UpdateHistoryEntrySummary.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_mode: str
+
:param update_type:
The value to assign to the update_type property of this UpdateHistoryEntrySummary.
Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE", 'UNKNOWN_ENUM_VALUE'.
@@ -103,6 +137,7 @@ def __init__(self, **kwargs):
'id': 'str',
'update_id': 'str',
'update_action': 'str',
+ 'update_mode': 'str',
'update_type': 'str',
'lifecycle_state': 'str',
'lifecycle_details': 'str',
@@ -113,6 +148,7 @@ def __init__(self, **kwargs):
'id': 'id',
'update_id': 'updateId',
'update_action': 'updateAction',
+ 'update_mode': 'updateMode',
'update_type': 'updateType',
'lifecycle_state': 'lifecycleState',
'lifecycle_details': 'lifecycleDetails',
@@ -122,6 +158,7 @@ def __init__(self, **kwargs):
self._id = None
self._update_id = None
self._update_action = None
+ self._update_mode = None
self._update_type = None
self._lifecycle_state = None
self._lifecycle_details = None
@@ -214,6 +251,36 @@ def update_action(self, update_action):
update_action = 'UNKNOWN_ENUM_VALUE'
self._update_action = update_action
+ @property
+ def update_mode(self):
+ """
+ Gets the update_mode of this UpdateHistoryEntrySummary.
+ The OS update mode performed using this maintenance update.
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_mode of this UpdateHistoryEntrySummary.
+ :rtype: str
+ """
+ return self._update_mode
+
+ @update_mode.setter
+ def update_mode(self, update_mode):
+ """
+ Sets the update_mode of this UpdateHistoryEntrySummary.
+ The OS update mode performed using this maintenance update.
+
+
+ :param update_mode: The update_mode of this UpdateHistoryEntrySummary.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(update_mode, allowed_values):
+ update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._update_mode = update_mode
+
@property
def update_type(self):
"""
diff --git a/src/oci/database/models/update_summary.py b/src/oci/database/models/update_summary.py
index 76a4e3e631..9e41a1f167 100644
--- a/src/oci/database/models/update_summary.py
+++ b/src/oci/database/models/update_summary.py
@@ -53,6 +53,46 @@ class UpdateSummary(object):
#: This constant has a value of "ROLLBACK"
AVAILABLE_ACTIONS_ROLLBACK = "ROLLBACK"
+ #: A constant which can be used with the last_update_mode property of a UpdateSummary.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ LAST_UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the last_update_mode property of a UpdateSummary.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ LAST_UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the last_update_mode property of a UpdateSummary.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ LAST_UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the last_update_mode property of a UpdateSummary.
+ #: This constant has a value of "PENDING_UPDATES"
+ LAST_UPDATE_MODE_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the last_update_mode property of a UpdateSummary.
+ #: This constant has a value of "FULL_UPDATE"
+ LAST_UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
+ #: A constant which can be used with the available_update_modes property of a UpdateSummary.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ AVAILABLE_UPDATE_MODES_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the available_update_modes property of a UpdateSummary.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ AVAILABLE_UPDATE_MODES_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the available_update_modes property of a UpdateSummary.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ AVAILABLE_UPDATE_MODES_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the available_update_modes property of a UpdateSummary.
+ #: This constant has a value of "PENDING_UPDATES"
+ AVAILABLE_UPDATE_MODES_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the available_update_modes property of a UpdateSummary.
+ #: This constant has a value of "FULL_UPDATE"
+ AVAILABLE_UPDATE_MODES_FULL_UPDATE = "FULL_UPDATE"
+
#: A constant which can be used with the update_type property of a UpdateSummary.
#: This constant has a value of "GI_UPGRADE"
UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
@@ -106,6 +146,22 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type available_actions: list[str]
+ :param last_update_mode:
+ The value to assign to the last_update_mode property of this UpdateSummary.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type last_update_mode: str
+
+ :param available_update_modes:
+ The value to assign to the available_update_modes property of this UpdateSummary.
+ Allowed values for items in this list are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type available_update_modes: list[str]
+
+ :param oracle_linux_version:
+ The value to assign to the oracle_linux_version property of this UpdateSummary.
+ :type oracle_linux_version: str
+
:param update_type:
The value to assign to the update_type property of this UpdateSummary.
Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE", 'UNKNOWN_ENUM_VALUE'.
@@ -136,6 +192,9 @@ def __init__(self, **kwargs):
'description': 'str',
'last_action': 'str',
'available_actions': 'list[str]',
+ 'last_update_mode': 'str',
+ 'available_update_modes': 'list[str]',
+ 'oracle_linux_version': 'str',
'update_type': 'str',
'lifecycle_details': 'str',
'lifecycle_state': 'str',
@@ -147,6 +206,9 @@ def __init__(self, **kwargs):
'description': 'description',
'last_action': 'lastAction',
'available_actions': 'availableActions',
+ 'last_update_mode': 'lastUpdateMode',
+ 'available_update_modes': 'availableUpdateModes',
+ 'oracle_linux_version': 'oracleLinuxVersion',
'update_type': 'updateType',
'lifecycle_details': 'lifecycleDetails',
'lifecycle_state': 'lifecycleState',
@@ -157,6 +219,9 @@ def __init__(self, **kwargs):
self._description = None
self._last_action = None
self._available_actions = None
+ self._last_update_mode = None
+ self._available_update_modes = None
+ self._oracle_linux_version = None
self._update_type = None
self._lifecycle_details = None
self._lifecycle_state = None
@@ -275,6 +340,90 @@ def available_actions(self, available_actions):
available_actions[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_actions]
self._available_actions = available_actions
+ @property
+ def last_update_mode(self):
+ """
+ Gets the last_update_mode of this UpdateSummary.
+ The previous update mode performed (only valid for OS Updates).
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The last_update_mode of this UpdateSummary.
+ :rtype: str
+ """
+ return self._last_update_mode
+
+ @last_update_mode.setter
+ def last_update_mode(self, last_update_mode):
+ """
+ Sets the last_update_mode of this UpdateSummary.
+ The previous update mode performed (only valid for OS Updates).
+
+
+ :param last_update_mode: The last_update_mode of this UpdateSummary.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(last_update_mode, allowed_values):
+ last_update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._last_update_mode = last_update_mode
+
+ @property
+ def available_update_modes(self):
+ """
+ Gets the available_update_modes of this UpdateSummary.
+ The possible update options available (only valid for OS Update).
+
+ Allowed values for items in this list are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The available_update_modes of this UpdateSummary.
+ :rtype: list[str]
+ """
+ return self._available_update_modes
+
+ @available_update_modes.setter
+ def available_update_modes(self, available_update_modes):
+ """
+ Sets the available_update_modes of this UpdateSummary.
+ The possible update options available (only valid for OS Update).
+
+
+ :param available_update_modes: The available_update_modes of this UpdateSummary.
+ :type: list[str]
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if available_update_modes:
+ available_update_modes[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_update_modes]
+ self._available_update_modes = available_update_modes
+
+ @property
+ def oracle_linux_version(self):
+ """
+ Gets the oracle_linux_version of this UpdateSummary.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :return: The oracle_linux_version of this UpdateSummary.
+ :rtype: str
+ """
+ return self._oracle_linux_version
+
+ @oracle_linux_version.setter
+ def oracle_linux_version(self, oracle_linux_version):
+ """
+ Sets the oracle_linux_version of this UpdateSummary.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :param oracle_linux_version: The oracle_linux_version of this UpdateSummary.
+ :type: str
+ """
+ self._oracle_linux_version = oracle_linux_version
+
@property
def update_type(self):
"""
diff --git a/src/oci/database/models/version_scheme_details.py b/src/oci/database/models/version_scheme_details.py
new file mode 100644
index 0000000000..0d45bc2f14
--- /dev/null
+++ b/src/oci/database/models/version_scheme_details.py
@@ -0,0 +1,99 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+
+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 VersionSchemeDetails(object):
+ """
+ The update should be applied on the database for the selected version scheme.
+ """
+
+ #: A constant which can be used with the source property of a VersionSchemeDetails.
+ #: This constant has a value of "VERSION_SERIES"
+ SOURCE_VERSION_SERIES = "VERSION_SERIES"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VersionSchemeDetails 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.database.models.VersionSchemeFromVersionSeriesDetails`
+
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param source:
+ The value to assign to the source property of this VersionSchemeDetails.
+ Allowed values for this property are: "VERSION_SERIES", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type source: str
+
+ """
+ self.swagger_types = {
+ 'source': 'str'
+ }
+ self.attribute_map = {
+ 'source': 'source'
+ }
+ self._source = 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['source']
+
+ if type == 'VERSION_SERIES':
+ return 'VersionSchemeFromVersionSeriesDetails'
+ else:
+ return 'VersionSchemeDetails'
+
+ @property
+ def source(self):
+ """
+ **[Required]** Gets the source of this VersionSchemeDetails.
+ The update should be applied on the database for the selected version scheme.
+
+ Allowed values for this property are: "VERSION_SERIES", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The source of this VersionSchemeDetails.
+ :rtype: str
+ """
+ return self._source
+
+ @source.setter
+ def source(self, source):
+ """
+ Sets the source of this VersionSchemeDetails.
+ The update should be applied on the database for the selected version scheme.
+
+
+ :param source: The source of this VersionSchemeDetails.
+ :type: str
+ """
+ allowed_values = ["VERSION_SERIES"]
+ if not value_allowed_none_or_none_sentinel(source, allowed_values):
+ source = 'UNKNOWN_ENUM_VALUE'
+ self._source = source
+
+ 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/database/models/version_scheme_from_version_series_details.py b/src/oci/database/models/version_scheme_from_version_series_details.py
new file mode 100644
index 0000000000..c1edeadd87
--- /dev/null
+++ b/src/oci/database/models/version_scheme_from_version_series_details.py
@@ -0,0 +1,154 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20160918
+
+from .version_scheme_details import VersionSchemeDetails
+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 VersionSchemeFromVersionSeriesDetails(VersionSchemeDetails):
+ """
+ The update should be applied on the database for the selected version series and preference.
+ """
+
+ #: A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails.
+ #: This constant has a value of "ORACLE_DB_N"
+ VERSION_PREFERENCE_ORACLE_DB_N = "ORACLE_DB_N"
+
+ #: A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails.
+ #: This constant has a value of "ORACLE_DB_N_1"
+ VERSION_PREFERENCE_ORACLE_DB_N_1 = "ORACLE_DB_N_1"
+
+ #: A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails.
+ #: This constant has a value of "ORACLE_DB_N_2"
+ VERSION_PREFERENCE_ORACLE_DB_N_2 = "ORACLE_DB_N_2"
+
+ #: A constant which can be used with the version_preference property of a VersionSchemeFromVersionSeriesDetails.
+ #: This constant has a value of "ORACLE_DB_N_3"
+ VERSION_PREFERENCE_ORACLE_DB_N_3 = "ORACLE_DB_N_3"
+
+ def __init__(self, **kwargs):
+ """
+ Initializes a new VersionSchemeFromVersionSeriesDetails object with values from keyword arguments. The default value of the :py:attr:`~oci.database.models.VersionSchemeFromVersionSeriesDetails.source` attribute
+ of this class is ``VERSION_SERIES`` and it should not be changed.
+ The following keyword arguments are supported (corresponding to the getters/setters of this class):
+
+ :param source:
+ The value to assign to the source property of this VersionSchemeFromVersionSeriesDetails.
+ Allowed values for this property are: "VERSION_SERIES", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type source: str
+
+ :param major_version:
+ The value to assign to the major_version property of this VersionSchemeFromVersionSeriesDetails.
+ :type major_version: str
+
+ :param version_preference:
+ The value to assign to the version_preference property of this VersionSchemeFromVersionSeriesDetails.
+ Allowed values for this property are: "ORACLE_DB_N", "ORACLE_DB_N_1", "ORACLE_DB_N_2", "ORACLE_DB_N_3", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type version_preference: str
+
+ """
+ self.swagger_types = {
+ 'source': 'str',
+ 'major_version': 'str',
+ 'version_preference': 'str'
+ }
+ self.attribute_map = {
+ 'source': 'source',
+ 'major_version': 'majorVersion',
+ 'version_preference': 'versionPreference'
+ }
+ self._source = None
+ self._major_version = None
+ self._version_preference = None
+ self._source = 'VERSION_SERIES'
+
+ @property
+ def major_version(self):
+ """
+ **[Required]** Gets the major_version of this VersionSchemeFromVersionSeriesDetails.
+ The update should be applied on the database for the selected major version series.
+ The value can be provided as 23.X.X.X then 23 major version series will be considered.
+
+ The list of supported versions can be obtained using the API for the provided shape
+ /20160918/dbVersions?compartmentId=&dbSystemShape=ExaDbXS
+
+
+ :return: The major_version of this VersionSchemeFromVersionSeriesDetails.
+ :rtype: str
+ """
+ return self._major_version
+
+ @major_version.setter
+ def major_version(self, major_version):
+ """
+ Sets the major_version of this VersionSchemeFromVersionSeriesDetails.
+ The update should be applied on the database for the selected major version series.
+ The value can be provided as 23.X.X.X then 23 major version series will be considered.
+
+ The list of supported versions can be obtained using the API for the provided shape
+ /20160918/dbVersions?compartmentId=&dbSystemShape=ExaDbXS
+
+
+ :param major_version: The major_version of this VersionSchemeFromVersionSeriesDetails.
+ :type: str
+ """
+ self._major_version = major_version
+
+ @property
+ def version_preference(self):
+ """
+ **[Required]** Gets the version_preference of this VersionSchemeFromVersionSeriesDetails.
+ The update should be applied on the database for the selected version preference. *_N represents the LATEST version
+
+ For Ex: The current latest version is 23.7.0.0.0,
+ If versionPreference selects option as ORACLE_DB_N then oracle applies the db update with LATEST version (i.e. 23.7.0.0.0)
+ If versionPreference selects option as ORACLE_DB_N_1 then oracle applies the db update with LATEST-1 version (i.e. 23.6.0.0.0)
+ If versionPreference selects option as ORACLE_DB_N_2 then oracle applies the db update with LATEST-2 version (i.e. 23.5.0.0.0)
+
+ Allowed values for this property are: "ORACLE_DB_N", "ORACLE_DB_N_1", "ORACLE_DB_N_2", "ORACLE_DB_N_3", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The version_preference of this VersionSchemeFromVersionSeriesDetails.
+ :rtype: str
+ """
+ return self._version_preference
+
+ @version_preference.setter
+ def version_preference(self, version_preference):
+ """
+ Sets the version_preference of this VersionSchemeFromVersionSeriesDetails.
+ The update should be applied on the database for the selected version preference. *_N represents the LATEST version
+
+ For Ex: The current latest version is 23.7.0.0.0,
+ If versionPreference selects option as ORACLE_DB_N then oracle applies the db update with LATEST version (i.e. 23.7.0.0.0)
+ If versionPreference selects option as ORACLE_DB_N_1 then oracle applies the db update with LATEST-1 version (i.e. 23.6.0.0.0)
+ If versionPreference selects option as ORACLE_DB_N_2 then oracle applies the db update with LATEST-2 version (i.e. 23.5.0.0.0)
+
+
+ :param version_preference: The version_preference of this VersionSchemeFromVersionSeriesDetails.
+ :type: str
+ """
+ allowed_values = ["ORACLE_DB_N", "ORACLE_DB_N_1", "ORACLE_DB_N_2", "ORACLE_DB_N_3"]
+ if not value_allowed_none_or_none_sentinel(version_preference, allowed_values):
+ version_preference = 'UNKNOWN_ENUM_VALUE'
+ self._version_preference = version_preference
+
+ 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/database/models/vm_cluster.py b/src/oci/database/models/vm_cluster.py
index 0635ee152f..5febcba9f4 100644
--- a/src/oci/database/models/vm_cluster.py
+++ b/src/oci/database/models/vm_cluster.py
@@ -154,6 +154,14 @@ def __init__(self, **kwargs):
The value to assign to the sparse_storage_percentage property of this VmCluster.
:type sparse_storage_percentage: int
+ :param live_image_version_details:
+ The value to assign to the live_image_version_details property of this VmCluster.
+ :type live_image_version_details: oci.database.models.ExadataLiveImageVersionDetails
+
+ :param oracle_linux_version:
+ The value to assign to the oracle_linux_version property of this VmCluster.
+ :type oracle_linux_version: str
+
:param vm_cluster_network_id:
The value to assign to the vm_cluster_network_id property of this VmCluster.
:type vm_cluster_network_id: str
@@ -290,6 +298,8 @@ def __init__(self, **kwargs):
'data_storage_percentage': 'int',
'reco_storage_percentage': 'int',
'sparse_storage_percentage': 'int',
+ 'live_image_version_details': 'ExadataLiveImageVersionDetails',
+ 'oracle_linux_version': 'str',
'vm_cluster_network_id': 'str',
'cpus_enabled': 'int',
'ocpus_enabled': 'float',
@@ -333,6 +343,8 @@ def __init__(self, **kwargs):
'data_storage_percentage': 'dataStoragePercentage',
'reco_storage_percentage': 'recoStoragePercentage',
'sparse_storage_percentage': 'sparseStoragePercentage',
+ 'live_image_version_details': 'liveImageVersionDetails',
+ 'oracle_linux_version': 'oracleLinuxVersion',
'vm_cluster_network_id': 'vmClusterNetworkId',
'cpus_enabled': 'cpusEnabled',
'ocpus_enabled': 'ocpusEnabled',
@@ -375,6 +387,8 @@ def __init__(self, **kwargs):
self._data_storage_percentage = None
self._reco_storage_percentage = None
self._sparse_storage_percentage = None
+ self._live_image_version_details = None
+ self._oracle_linux_version = None
self._vm_cluster_network_id = None
self._cpus_enabled = None
self._ocpus_enabled = None
@@ -777,6 +791,50 @@ def sparse_storage_percentage(self, sparse_storage_percentage):
"""
self._sparse_storage_percentage = sparse_storage_percentage
+ @property
+ def live_image_version_details(self):
+ """
+ Gets the live_image_version_details of this VmCluster.
+
+ :return: The live_image_version_details of this VmCluster.
+ :rtype: oci.database.models.ExadataLiveImageVersionDetails
+ """
+ return self._live_image_version_details
+
+ @live_image_version_details.setter
+ def live_image_version_details(self, live_image_version_details):
+ """
+ Sets the live_image_version_details of this VmCluster.
+
+ :param live_image_version_details: The live_image_version_details of this VmCluster.
+ :type: oci.database.models.ExadataLiveImageVersionDetails
+ """
+ self._live_image_version_details = live_image_version_details
+
+ @property
+ def oracle_linux_version(self):
+ """
+ Gets the oracle_linux_version of this VmCluster.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :return: The oracle_linux_version of this VmCluster.
+ :rtype: str
+ """
+ return self._oracle_linux_version
+
+ @oracle_linux_version.setter
+ def oracle_linux_version(self, oracle_linux_version):
+ """
+ Sets the oracle_linux_version of this VmCluster.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :param oracle_linux_version: The oracle_linux_version of this VmCluster.
+ :type: str
+ """
+ self._oracle_linux_version = oracle_linux_version
+
@property
def vm_cluster_network_id(self):
"""
diff --git a/src/oci/database/models/vm_cluster_summary.py b/src/oci/database/models/vm_cluster_summary.py
index 25cec1e266..22e5c46bfe 100644
--- a/src/oci/database/models/vm_cluster_summary.py
+++ b/src/oci/database/models/vm_cluster_summary.py
@@ -154,6 +154,14 @@ def __init__(self, **kwargs):
The value to assign to the sparse_storage_percentage property of this VmClusterSummary.
:type sparse_storage_percentage: int
+ :param live_image_version_details:
+ The value to assign to the live_image_version_details property of this VmClusterSummary.
+ :type live_image_version_details: oci.database.models.ExadataLiveImageVersionDetails
+
+ :param oracle_linux_version:
+ The value to assign to the oracle_linux_version property of this VmClusterSummary.
+ :type oracle_linux_version: str
+
:param vm_cluster_network_id:
The value to assign to the vm_cluster_network_id property of this VmClusterSummary.
:type vm_cluster_network_id: str
@@ -290,6 +298,8 @@ def __init__(self, **kwargs):
'data_storage_percentage': 'int',
'reco_storage_percentage': 'int',
'sparse_storage_percentage': 'int',
+ 'live_image_version_details': 'ExadataLiveImageVersionDetails',
+ 'oracle_linux_version': 'str',
'vm_cluster_network_id': 'str',
'cpus_enabled': 'int',
'ocpus_enabled': 'float',
@@ -333,6 +343,8 @@ def __init__(self, **kwargs):
'data_storage_percentage': 'dataStoragePercentage',
'reco_storage_percentage': 'recoStoragePercentage',
'sparse_storage_percentage': 'sparseStoragePercentage',
+ 'live_image_version_details': 'liveImageVersionDetails',
+ 'oracle_linux_version': 'oracleLinuxVersion',
'vm_cluster_network_id': 'vmClusterNetworkId',
'cpus_enabled': 'cpusEnabled',
'ocpus_enabled': 'ocpusEnabled',
@@ -375,6 +387,8 @@ def __init__(self, **kwargs):
self._data_storage_percentage = None
self._reco_storage_percentage = None
self._sparse_storage_percentage = None
+ self._live_image_version_details = None
+ self._oracle_linux_version = None
self._vm_cluster_network_id = None
self._cpus_enabled = None
self._ocpus_enabled = None
@@ -777,6 +791,50 @@ def sparse_storage_percentage(self, sparse_storage_percentage):
"""
self._sparse_storage_percentage = sparse_storage_percentage
+ @property
+ def live_image_version_details(self):
+ """
+ Gets the live_image_version_details of this VmClusterSummary.
+
+ :return: The live_image_version_details of this VmClusterSummary.
+ :rtype: oci.database.models.ExadataLiveImageVersionDetails
+ """
+ return self._live_image_version_details
+
+ @live_image_version_details.setter
+ def live_image_version_details(self, live_image_version_details):
+ """
+ Sets the live_image_version_details of this VmClusterSummary.
+
+ :param live_image_version_details: The live_image_version_details of this VmClusterSummary.
+ :type: oci.database.models.ExadataLiveImageVersionDetails
+ """
+ self._live_image_version_details = live_image_version_details
+
+ @property
+ def oracle_linux_version(self):
+ """
+ Gets the oracle_linux_version of this VmClusterSummary.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :return: The oracle_linux_version of this VmClusterSummary.
+ :rtype: str
+ """
+ return self._oracle_linux_version
+
+ @oracle_linux_version.setter
+ def oracle_linux_version(self, oracle_linux_version):
+ """
+ Sets the oracle_linux_version of this VmClusterSummary.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :param oracle_linux_version: The oracle_linux_version of this VmClusterSummary.
+ :type: str
+ """
+ self._oracle_linux_version = oracle_linux_version
+
@property
def vm_cluster_network_id(self):
"""
diff --git a/src/oci/database/models/vm_cluster_update.py b/src/oci/database/models/vm_cluster_update.py
index d86a1e088d..b79f65bff7 100644
--- a/src/oci/database/models/vm_cluster_update.py
+++ b/src/oci/database/models/vm_cluster_update.py
@@ -33,6 +33,46 @@ class VmClusterUpdate(object):
#: This constant has a value of "ROLLBACK"
LAST_ACTION_ROLLBACK = "ROLLBACK"
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdate.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ LAST_UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdate.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ LAST_UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdate.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ LAST_UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdate.
+ #: This constant has a value of "PENDING_UPDATES"
+ LAST_UPDATE_MODE_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdate.
+ #: This constant has a value of "FULL_UPDATE"
+ LAST_UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdate.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ AVAILABLE_UPDATE_MODES_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdate.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ AVAILABLE_UPDATE_MODES_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdate.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ AVAILABLE_UPDATE_MODES_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdate.
+ #: This constant has a value of "PENDING_UPDATES"
+ AVAILABLE_UPDATE_MODES_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdate.
+ #: This constant has a value of "FULL_UPDATE"
+ AVAILABLE_UPDATE_MODES_FULL_UPDATE = "FULL_UPDATE"
+
#: A constant which can be used with the available_actions property of a VmClusterUpdate.
#: This constant has a value of "ROLLING_APPLY"
AVAILABLE_ACTIONS_ROLLING_APPLY = "ROLLING_APPLY"
@@ -92,6 +132,22 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type last_action: str
+ :param last_update_mode:
+ The value to assign to the last_update_mode property of this VmClusterUpdate.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type last_update_mode: str
+
+ :param available_update_modes:
+ The value to assign to the available_update_modes property of this VmClusterUpdate.
+ Allowed values for items in this list are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type available_update_modes: list[str]
+
+ :param oracle_linux_version:
+ The value to assign to the oracle_linux_version property of this VmClusterUpdate.
+ :type oracle_linux_version: str
+
:param available_actions:
The value to assign to the available_actions property of this VmClusterUpdate.
Allowed values for items in this list are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
@@ -127,6 +183,9 @@ def __init__(self, **kwargs):
'id': 'str',
'description': 'str',
'last_action': 'str',
+ 'last_update_mode': 'str',
+ 'available_update_modes': 'list[str]',
+ 'oracle_linux_version': 'str',
'available_actions': 'list[str]',
'update_type': 'str',
'lifecycle_details': 'str',
@@ -138,6 +197,9 @@ def __init__(self, **kwargs):
'id': 'id',
'description': 'description',
'last_action': 'lastAction',
+ 'last_update_mode': 'lastUpdateMode',
+ 'available_update_modes': 'availableUpdateModes',
+ 'oracle_linux_version': 'oracleLinuxVersion',
'available_actions': 'availableActions',
'update_type': 'updateType',
'lifecycle_details': 'lifecycleDetails',
@@ -148,6 +210,9 @@ def __init__(self, **kwargs):
self._id = None
self._description = None
self._last_action = None
+ self._last_update_mode = None
+ self._available_update_modes = None
+ self._oracle_linux_version = None
self._available_actions = None
self._update_type = None
self._lifecycle_details = None
@@ -237,6 +302,90 @@ def last_action(self, last_action):
last_action = 'UNKNOWN_ENUM_VALUE'
self._last_action = last_action
+ @property
+ def last_update_mode(self):
+ """
+ Gets the last_update_mode of this VmClusterUpdate.
+ The update mode performed most recently using this maintenance update (only valid for OS Update).
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The last_update_mode of this VmClusterUpdate.
+ :rtype: str
+ """
+ return self._last_update_mode
+
+ @last_update_mode.setter
+ def last_update_mode(self, last_update_mode):
+ """
+ Sets the last_update_mode of this VmClusterUpdate.
+ The update mode performed most recently using this maintenance update (only valid for OS Update).
+
+
+ :param last_update_mode: The last_update_mode of this VmClusterUpdate.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(last_update_mode, allowed_values):
+ last_update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._last_update_mode = last_update_mode
+
+ @property
+ def available_update_modes(self):
+ """
+ Gets the available_update_modes of this VmClusterUpdate.
+ The possible update options that can be performed using this maintenance update (only valid for OS Update).
+
+ Allowed values for items in this list are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The available_update_modes of this VmClusterUpdate.
+ :rtype: list[str]
+ """
+ return self._available_update_modes
+
+ @available_update_modes.setter
+ def available_update_modes(self, available_update_modes):
+ """
+ Sets the available_update_modes of this VmClusterUpdate.
+ The possible update options that can be performed using this maintenance update (only valid for OS Update).
+
+
+ :param available_update_modes: The available_update_modes of this VmClusterUpdate.
+ :type: list[str]
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if available_update_modes:
+ available_update_modes[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_update_modes]
+ self._available_update_modes = available_update_modes
+
+ @property
+ def oracle_linux_version(self):
+ """
+ Gets the oracle_linux_version of this VmClusterUpdate.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :return: The oracle_linux_version of this VmClusterUpdate.
+ :rtype: str
+ """
+ return self._oracle_linux_version
+
+ @oracle_linux_version.setter
+ def oracle_linux_version(self, oracle_linux_version):
+ """
+ Sets the oracle_linux_version of this VmClusterUpdate.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :param oracle_linux_version: The oracle_linux_version of this VmClusterUpdate.
+ :type: str
+ """
+ self._oracle_linux_version = oracle_linux_version
+
@property
def available_actions(self):
"""
diff --git a/src/oci/database/models/vm_cluster_update_details.py b/src/oci/database/models/vm_cluster_update_details.py
index d4d1f4f7bb..8a6b490b58 100644
--- a/src/oci/database/models/vm_cluster_update_details.py
+++ b/src/oci/database/models/vm_cluster_update_details.py
@@ -15,6 +15,26 @@ class VmClusterUpdateDetails(object):
Details specifying which maintenance update to apply to the VM Cluster and which action is to be performed by the maintenance update. Applies to Exadata Cloud@Customer instances only.
"""
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateDetails.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateDetails.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateDetails.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateDetails.
+ #: This constant has a value of "PENDING_UPDATES"
+ UPDATE_MODE_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateDetails.
+ #: This constant has a value of "FULL_UPDATE"
+ UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
#: A constant which can be used with the update_action property of a VmClusterUpdateDetails.
#: This constant has a value of "ROLLING_APPLY"
UPDATE_ACTION_ROLLING_APPLY = "ROLLING_APPLY"
@@ -36,6 +56,11 @@ def __init__(self, **kwargs):
The value to assign to the update_id property of this VmClusterUpdateDetails.
:type update_id: str
+ :param update_mode:
+ The value to assign to the update_mode property of this VmClusterUpdateDetails.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"
+ :type update_mode: str
+
:param update_action:
The value to assign to the update_action property of this VmClusterUpdateDetails.
Allowed values for this property are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK"
@@ -48,15 +73,18 @@ def __init__(self, **kwargs):
"""
self.swagger_types = {
'update_id': 'str',
+ 'update_mode': 'str',
'update_action': 'str',
'gi_software_image_id': 'str'
}
self.attribute_map = {
'update_id': 'updateId',
+ 'update_mode': 'updateMode',
'update_action': 'updateAction',
'gi_software_image_id': 'giSoftwareImageId'
}
self._update_id = None
+ self._update_mode = None
self._update_action = None
self._gi_software_image_id = None
@@ -88,6 +116,37 @@ def update_id(self, update_id):
"""
self._update_id = update_id
+ @property
+ def update_mode(self):
+ """
+ Gets the update_mode of this VmClusterUpdateDetails.
+ The update mode to perform for OS Update.
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"
+
+
+ :return: The update_mode of this VmClusterUpdateDetails.
+ :rtype: str
+ """
+ return self._update_mode
+
+ @update_mode.setter
+ def update_mode(self, update_mode):
+ """
+ Sets the update_mode of this VmClusterUpdateDetails.
+ The update mode to perform for OS Update.
+
+
+ :param update_mode: The update_mode of this VmClusterUpdateDetails.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(update_mode, allowed_values):
+ raise ValueError(
+ f"Invalid value for `update_mode`, must be None or one of {allowed_values}"
+ )
+ self._update_mode = update_mode
+
@property
def update_action(self):
"""
diff --git a/src/oci/database/models/vm_cluster_update_history_entry.py b/src/oci/database/models/vm_cluster_update_history_entry.py
index e19865db3a..8a92b81be3 100644
--- a/src/oci/database/models/vm_cluster_update_history_entry.py
+++ b/src/oci/database/models/vm_cluster_update_history_entry.py
@@ -27,6 +27,34 @@ class VmClusterUpdateHistoryEntry(object):
#: This constant has a value of "ROLLBACK"
UPDATE_ACTION_ROLLBACK = "ROLLBACK"
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntry.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntry.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntry.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntry.
+ #: This constant has a value of "PENDING_UPDATES_HIGHCVSS"
+ UPDATE_MODE_PENDING_UPDATES_HIGHCVSS = "PENDING_UPDATES_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntry.
+ #: This constant has a value of "PENDING_UPDATES_ALLCVSS"
+ UPDATE_MODE_PENDING_UPDATES_ALLCVSS = "PENDING_UPDATES_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntry.
+ #: This constant has a value of "PENDING_ALL_UPDATES"
+ UPDATE_MODE_PENDING_ALL_UPDATES = "PENDING_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntry.
+ #: This constant has a value of "FULL_UPDATE"
+ UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
#: A constant which can be used with the update_type property of a VmClusterUpdateHistoryEntry.
#: This constant has a value of "GI_UPGRADE"
UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
@@ -70,6 +98,12 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type update_action: str
+ :param update_mode:
+ The value to assign to the update_mode property of this VmClusterUpdateHistoryEntry.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_mode: str
+
:param update_type:
The value to assign to the update_type property of this VmClusterUpdateHistoryEntry.
Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE", 'UNKNOWN_ENUM_VALUE'.
@@ -99,6 +133,7 @@ def __init__(self, **kwargs):
'id': 'str',
'update_id': 'str',
'update_action': 'str',
+ 'update_mode': 'str',
'update_type': 'str',
'lifecycle_state': 'str',
'lifecycle_details': 'str',
@@ -109,6 +144,7 @@ def __init__(self, **kwargs):
'id': 'id',
'update_id': 'updateId',
'update_action': 'updateAction',
+ 'update_mode': 'updateMode',
'update_type': 'updateType',
'lifecycle_state': 'lifecycleState',
'lifecycle_details': 'lifecycleDetails',
@@ -118,6 +154,7 @@ def __init__(self, **kwargs):
self._id = None
self._update_id = None
self._update_action = None
+ self._update_mode = None
self._update_type = None
self._lifecycle_state = None
self._lifecycle_details = None
@@ -210,6 +247,36 @@ def update_action(self, update_action):
update_action = 'UNKNOWN_ENUM_VALUE'
self._update_action = update_action
+ @property
+ def update_mode(self):
+ """
+ Gets the update_mode of this VmClusterUpdateHistoryEntry.
+ The OS update mode performed using this maintenance update.
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_mode of this VmClusterUpdateHistoryEntry.
+ :rtype: str
+ """
+ return self._update_mode
+
+ @update_mode.setter
+ def update_mode(self, update_mode):
+ """
+ Sets the update_mode of this VmClusterUpdateHistoryEntry.
+ The OS update mode performed using this maintenance update.
+
+
+ :param update_mode: The update_mode of this VmClusterUpdateHistoryEntry.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(update_mode, allowed_values):
+ update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._update_mode = update_mode
+
@property
def update_type(self):
"""
diff --git a/src/oci/database/models/vm_cluster_update_history_entry_summary.py b/src/oci/database/models/vm_cluster_update_history_entry_summary.py
index eb43b89f8e..b29c71bb28 100644
--- a/src/oci/database/models/vm_cluster_update_history_entry_summary.py
+++ b/src/oci/database/models/vm_cluster_update_history_entry_summary.py
@@ -27,6 +27,34 @@ class VmClusterUpdateHistoryEntrySummary(object):
#: This constant has a value of "ROLLBACK"
UPDATE_ACTION_ROLLBACK = "ROLLBACK"
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "PENDING_UPDATES_HIGHCVSS"
+ UPDATE_MODE_PENDING_UPDATES_HIGHCVSS = "PENDING_UPDATES_HIGHCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "PENDING_UPDATES_ALLCVSS"
+ UPDATE_MODE_PENDING_UPDATES_ALLCVSS = "PENDING_UPDATES_ALLCVSS"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "PENDING_ALL_UPDATES"
+ UPDATE_MODE_PENDING_ALL_UPDATES = "PENDING_ALL_UPDATES"
+
+ #: A constant which can be used with the update_mode property of a VmClusterUpdateHistoryEntrySummary.
+ #: This constant has a value of "FULL_UPDATE"
+ UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
#: A constant which can be used with the update_type property of a VmClusterUpdateHistoryEntrySummary.
#: This constant has a value of "GI_UPGRADE"
UPDATE_TYPE_GI_UPGRADE = "GI_UPGRADE"
@@ -70,6 +98,12 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type update_action: str
+ :param update_mode:
+ The value to assign to the update_mode property of this VmClusterUpdateHistoryEntrySummary.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type update_mode: str
+
:param update_type:
The value to assign to the update_type property of this VmClusterUpdateHistoryEntrySummary.
Allowed values for this property are: "GI_UPGRADE", "GI_PATCH", "OS_UPDATE", 'UNKNOWN_ENUM_VALUE'.
@@ -99,6 +133,7 @@ def __init__(self, **kwargs):
'id': 'str',
'update_id': 'str',
'update_action': 'str',
+ 'update_mode': 'str',
'update_type': 'str',
'lifecycle_state': 'str',
'lifecycle_details': 'str',
@@ -109,6 +144,7 @@ def __init__(self, **kwargs):
'id': 'id',
'update_id': 'updateId',
'update_action': 'updateAction',
+ 'update_mode': 'updateMode',
'update_type': 'updateType',
'lifecycle_state': 'lifecycleState',
'lifecycle_details': 'lifecycleDetails',
@@ -118,6 +154,7 @@ def __init__(self, **kwargs):
self._id = None
self._update_id = None
self._update_action = None
+ self._update_mode = None
self._update_type = None
self._lifecycle_state = None
self._lifecycle_details = None
@@ -210,6 +247,36 @@ def update_action(self, update_action):
update_action = 'UNKNOWN_ENUM_VALUE'
self._update_action = update_action
+ @property
+ def update_mode(self):
+ """
+ Gets the update_mode of this VmClusterUpdateHistoryEntrySummary.
+ The OS update mode performed using this maintenance update.
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The update_mode of this VmClusterUpdateHistoryEntrySummary.
+ :rtype: str
+ """
+ return self._update_mode
+
+ @update_mode.setter
+ def update_mode(self, update_mode):
+ """
+ Sets the update_mode of this VmClusterUpdateHistoryEntrySummary.
+ The OS update mode performed using this maintenance update.
+
+
+ :param update_mode: The update_mode of this VmClusterUpdateHistoryEntrySummary.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES_HIGHCVSS", "PENDING_UPDATES_ALLCVSS", "PENDING_ALL_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(update_mode, allowed_values):
+ update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._update_mode = update_mode
+
@property
def update_type(self):
"""
diff --git a/src/oci/database/models/vm_cluster_update_summary.py b/src/oci/database/models/vm_cluster_update_summary.py
index 71bd3c7b5a..193b08a52a 100644
--- a/src/oci/database/models/vm_cluster_update_summary.py
+++ b/src/oci/database/models/vm_cluster_update_summary.py
@@ -33,6 +33,46 @@ class VmClusterUpdateSummary(object):
#: This constant has a value of "ROLLBACK"
LAST_ACTION_ROLLBACK = "ROLLBACK"
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdateSummary.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ LAST_UPDATE_MODE_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdateSummary.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ LAST_UPDATE_MODE_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdateSummary.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ LAST_UPDATE_MODE_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdateSummary.
+ #: This constant has a value of "PENDING_UPDATES"
+ LAST_UPDATE_MODE_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the last_update_mode property of a VmClusterUpdateSummary.
+ #: This constant has a value of "FULL_UPDATE"
+ LAST_UPDATE_MODE_FULL_UPDATE = "FULL_UPDATE"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdateSummary.
+ #: This constant has a value of "ONLINE_HIGHCVSS"
+ AVAILABLE_UPDATE_MODES_ONLINE_HIGHCVSS = "ONLINE_HIGHCVSS"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdateSummary.
+ #: This constant has a value of "ONLINE_ALLCVSS"
+ AVAILABLE_UPDATE_MODES_ONLINE_ALLCVSS = "ONLINE_ALLCVSS"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdateSummary.
+ #: This constant has a value of "ONLINE_ALL_UPDATES"
+ AVAILABLE_UPDATE_MODES_ONLINE_ALL_UPDATES = "ONLINE_ALL_UPDATES"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdateSummary.
+ #: This constant has a value of "PENDING_UPDATES"
+ AVAILABLE_UPDATE_MODES_PENDING_UPDATES = "PENDING_UPDATES"
+
+ #: A constant which can be used with the available_update_modes property of a VmClusterUpdateSummary.
+ #: This constant has a value of "FULL_UPDATE"
+ AVAILABLE_UPDATE_MODES_FULL_UPDATE = "FULL_UPDATE"
+
#: A constant which can be used with the available_actions property of a VmClusterUpdateSummary.
#: This constant has a value of "ROLLING_APPLY"
AVAILABLE_ACTIONS_ROLLING_APPLY = "ROLLING_APPLY"
@@ -92,6 +132,22 @@ def __init__(self, **kwargs):
Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
:type last_action: str
+ :param last_update_mode:
+ The value to assign to the last_update_mode property of this VmClusterUpdateSummary.
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type last_update_mode: str
+
+ :param available_update_modes:
+ The value to assign to the available_update_modes property of this VmClusterUpdateSummary.
+ Allowed values for items in this list are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+ :type available_update_modes: list[str]
+
+ :param oracle_linux_version:
+ The value to assign to the oracle_linux_version property of this VmClusterUpdateSummary.
+ :type oracle_linux_version: str
+
:param available_actions:
The value to assign to the available_actions property of this VmClusterUpdateSummary.
Allowed values for items in this list are: "ROLLING_APPLY", "PRECHECK", "ROLLBACK", 'UNKNOWN_ENUM_VALUE'.
@@ -127,6 +183,9 @@ def __init__(self, **kwargs):
'id': 'str',
'description': 'str',
'last_action': 'str',
+ 'last_update_mode': 'str',
+ 'available_update_modes': 'list[str]',
+ 'oracle_linux_version': 'str',
'available_actions': 'list[str]',
'update_type': 'str',
'lifecycle_details': 'str',
@@ -138,6 +197,9 @@ def __init__(self, **kwargs):
'id': 'id',
'description': 'description',
'last_action': 'lastAction',
+ 'last_update_mode': 'lastUpdateMode',
+ 'available_update_modes': 'availableUpdateModes',
+ 'oracle_linux_version': 'oracleLinuxVersion',
'available_actions': 'availableActions',
'update_type': 'updateType',
'lifecycle_details': 'lifecycleDetails',
@@ -148,6 +210,9 @@ def __init__(self, **kwargs):
self._id = None
self._description = None
self._last_action = None
+ self._last_update_mode = None
+ self._available_update_modes = None
+ self._oracle_linux_version = None
self._available_actions = None
self._update_type = None
self._lifecycle_details = None
@@ -237,6 +302,90 @@ def last_action(self, last_action):
last_action = 'UNKNOWN_ENUM_VALUE'
self._last_action = last_action
+ @property
+ def last_update_mode(self):
+ """
+ Gets the last_update_mode of this VmClusterUpdateSummary.
+ The update mode performed most recently using this maintenance update (only valid for OS Update).
+
+ Allowed values for this property are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The last_update_mode of this VmClusterUpdateSummary.
+ :rtype: str
+ """
+ return self._last_update_mode
+
+ @last_update_mode.setter
+ def last_update_mode(self, last_update_mode):
+ """
+ Sets the last_update_mode of this VmClusterUpdateSummary.
+ The update mode performed most recently using this maintenance update (only valid for OS Update).
+
+
+ :param last_update_mode: The last_update_mode of this VmClusterUpdateSummary.
+ :type: str
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if not value_allowed_none_or_none_sentinel(last_update_mode, allowed_values):
+ last_update_mode = 'UNKNOWN_ENUM_VALUE'
+ self._last_update_mode = last_update_mode
+
+ @property
+ def available_update_modes(self):
+ """
+ Gets the available_update_modes of this VmClusterUpdateSummary.
+ The possible update options that can be performed using this maintenance update (only valid for OS Update).
+
+ Allowed values for items in this list are: "ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE", 'UNKNOWN_ENUM_VALUE'.
+ Any unrecognized values returned by a service will be mapped to 'UNKNOWN_ENUM_VALUE'.
+
+
+ :return: The available_update_modes of this VmClusterUpdateSummary.
+ :rtype: list[str]
+ """
+ return self._available_update_modes
+
+ @available_update_modes.setter
+ def available_update_modes(self, available_update_modes):
+ """
+ Sets the available_update_modes of this VmClusterUpdateSummary.
+ The possible update options that can be performed using this maintenance update (only valid for OS Update).
+
+
+ :param available_update_modes: The available_update_modes of this VmClusterUpdateSummary.
+ :type: list[str]
+ """
+ allowed_values = ["ONLINE_HIGHCVSS", "ONLINE_ALLCVSS", "ONLINE_ALL_UPDATES", "PENDING_UPDATES", "FULL_UPDATE"]
+ if available_update_modes:
+ available_update_modes[:] = ['UNKNOWN_ENUM_VALUE' if not value_allowed_none_or_none_sentinel(x, allowed_values) else x for x in available_update_modes]
+ self._available_update_modes = available_update_modes
+
+ @property
+ def oracle_linux_version(self):
+ """
+ Gets the oracle_linux_version of this VmClusterUpdateSummary.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :return: The oracle_linux_version of this VmClusterUpdateSummary.
+ :rtype: str
+ """
+ return self._oracle_linux_version
+
+ @oracle_linux_version.setter
+ def oracle_linux_version(self, oracle_linux_version):
+ """
+ Sets the oracle_linux_version of this VmClusterUpdateSummary.
+ Oracle Linux version for the respective Exadata Image.
+
+
+ :param oracle_linux_version: The oracle_linux_version of this VmClusterUpdateSummary.
+ :type: str
+ """
+ self._oracle_linux_version = oracle_linux_version
+
@property
def available_actions(self):
"""
diff --git a/src/oci/database_management/models/change_database_parameters_details.py b/src/oci/database_management/models/change_database_parameters_details.py
index c84e459a55..d7b6c3d4e5 100644
--- a/src/oci/database_management/models/change_database_parameters_details.py
+++ b/src/oci/database_management/models/change_database_parameters_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -63,6 +63,9 @@ def __init__(self, **kwargs):
'scope': 'scope',
'parameters': 'parameters'
}
+ self._redacted_field_paths = [
+ ['credentials', 'password'],
+ ]
self._credentials = None
self._database_credential = None
self._scope = None
@@ -178,7 +181,9 @@ def parameters(self, parameters):
self._parameters = parameters
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/create_cloud_exadata_storage_connector_details.py b/src/oci/database_management/models/create_cloud_exadata_storage_connector_details.py
index 2ffaeb072c..11f1a6843b 100644
--- a/src/oci/database_management/models/create_cloud_exadata_storage_connector_details.py
+++ b/src/oci/database_management/models/create_cloud_exadata_storage_connector_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -67,6 +67,10 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
+ self._redacted_field_paths = [
+ ['credential_info', 'password'],
+ ['credential_info', 'ssl_trust_store_password'],
+ ]
self._storage_server_id = None
self._agent_id = None
self._display_name = None
@@ -264,7 +268,10 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credential_info', 'password'])
+ redact_password_field(as_dict, ['credential_info', 'ssl_trust_store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/create_external_exadata_storage_connector_details.py b/src/oci/database_management/models/create_external_exadata_storage_connector_details.py
index e86499d1f9..c935ca373a 100644
--- a/src/oci/database_management/models/create_external_exadata_storage_connector_details.py
+++ b/src/oci/database_management/models/create_external_exadata_storage_connector_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -67,6 +67,10 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
+ self._redacted_field_paths = [
+ ['credential_info', 'password'],
+ ['credential_info', 'ssl_trust_store_password'],
+ ]
self._storage_server_id = None
self._agent_id = None
self._connector_name = None
@@ -264,7 +268,10 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credential_info', 'password'])
+ redact_password_field(as_dict, ['credential_info', 'ssl_trust_store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/database_credentials.py b/src/oci/database_management/models/database_credentials.py
index 7ff8d45fe1..b676c6c5c9 100644
--- a/src/oci/database_management/models/database_credentials.py
+++ b/src/oci/database_management/models/database_credentials.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -60,6 +60,9 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'role': 'role'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._user_name = None
self._password = None
self._secret_id = None
@@ -173,7 +176,9 @@ def role(self, role):
self._role = role
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/database_password_credential_details.py b/src/oci/database_management/models/database_password_credential_details.py
index 8a114e14db..80e8cf669d 100644
--- a/src/oci/database_management/models/database_password_credential_details.py
+++ b/src/oci/database_management/models/database_password_credential_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
from .database_credential_details import DatabaseCredentialDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -66,6 +66,9 @@ def __init__(self, **kwargs):
'username': 'username',
'role': 'role'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._credential_type = None
self._password = None
self._username = None
@@ -151,7 +154,9 @@ def role(self, role):
self._role = role
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/managed_database_password_credential.py b/src/oci/database_management/models/managed_database_password_credential.py
index 27206d01e8..6722f4ca0e 100644
--- a/src/oci/database_management/models/managed_database_password_credential.py
+++ b/src/oci/database_management/models/managed_database_password_credential.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
from .managed_database_credential import ManagedDatabaseCredential
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -52,6 +52,9 @@ def __init__(self, **kwargs):
'role': 'role',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._credential_type = None
self._username = None
self._role = None
@@ -83,7 +86,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/reset_database_parameters_details.py b/src/oci/database_management/models/reset_database_parameters_details.py
index 720fa0b8e8..b55e150bcc 100644
--- a/src/oci/database_management/models/reset_database_parameters_details.py
+++ b/src/oci/database_management/models/reset_database_parameters_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -63,6 +63,9 @@ def __init__(self, **kwargs):
'scope': 'scope',
'parameters': 'parameters'
}
+ self._redacted_field_paths = [
+ ['credentials', 'password'],
+ ]
self._credentials = None
self._database_credential = None
self._scope = None
@@ -180,7 +183,9 @@ def parameters(self, parameters):
self._parameters = parameters
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/rest_credential.py b/src/oci/database_management/models/rest_credential.py
index 7f0917635f..893ee19750 100644
--- a/src/oci/database_management/models/rest_credential.py
+++ b/src/oci/database_management/models/rest_credential.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -64,6 +64,10 @@ def __init__(self, **kwargs):
'ssl_trust_store_location': 'sslTrustStoreLocation',
'ssl_trust_store_password': 'sslTrustStorePassword'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['ssl_trust_store_password'],
+ ]
self._username = None
self._password = None
self._ssl_trust_store_type = None
@@ -198,7 +202,10 @@ def ssl_trust_store_password(self, ssl_trust_store_password):
self._ssl_trust_store_password = ssl_trust_store_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['ssl_trust_store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/sql_tuning_set_admin_password_credential_details.py b/src/oci/database_management/models/sql_tuning_set_admin_password_credential_details.py
index 309bcf2702..a821691229 100644
--- a/src/oci/database_management/models/sql_tuning_set_admin_password_credential_details.py
+++ b/src/oci/database_management/models/sql_tuning_set_admin_password_credential_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
from .sql_tuning_set_admin_credential_details import SqlTuningSetAdminCredentialDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -52,6 +52,9 @@ def __init__(self, **kwargs):
'role': 'role',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._sql_tuning_set_admin_credential_type = None
self._username = None
self._role = None
@@ -83,7 +86,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/sql_tuning_task_password_credential_details.py b/src/oci/database_management/models/sql_tuning_task_password_credential_details.py
index 438e8028eb..da803d4e3e 100644
--- a/src/oci/database_management/models/sql_tuning_task_password_credential_details.py
+++ b/src/oci/database_management/models/sql_tuning_task_password_credential_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
from .sql_tuning_task_credential_details import SqlTuningTaskCredentialDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -52,6 +52,9 @@ def __init__(self, **kwargs):
'role': 'role',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._sql_tuning_task_credential_type = None
self._username = None
self._role = None
@@ -83,7 +86,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/tablespace_admin_password_credential_details.py b/src/oci/database_management/models/tablespace_admin_password_credential_details.py
index be2654ad25..b2d0288244 100644
--- a/src/oci/database_management/models/tablespace_admin_password_credential_details.py
+++ b/src/oci/database_management/models/tablespace_admin_password_credential_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
from .tablespace_admin_credential_details import TablespaceAdminCredentialDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -52,6 +52,9 @@ def __init__(self, **kwargs):
'role': 'role',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._tablespace_admin_credential_type = None
self._username = None
self._role = None
@@ -83,7 +86,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/update_cloud_exadata_storage_connector_details.py b/src/oci/database_management/models/update_cloud_exadata_storage_connector_details.py
index b4b5194a07..dbbb4474ff 100644
--- a/src/oci/database_management/models/update_cloud_exadata_storage_connector_details.py
+++ b/src/oci/database_management/models/update_cloud_exadata_storage_connector_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -55,6 +55,10 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
+ self._redacted_field_paths = [
+ ['credential_info', 'password'],
+ ['credential_info', 'ssl_trust_store_password'],
+ ]
self._display_name = None
self._connection_uri = None
self._credential_info = None
@@ -194,7 +198,10 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credential_info', 'password'])
+ redact_password_field(as_dict, ['credential_info', 'ssl_trust_store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_management/models/update_external_exadata_storage_connector_details.py b/src/oci/database_management/models/update_external_exadata_storage_connector_details.py
index 117fb78919..c02649c329 100644
--- a/src/oci/database_management/models/update_external_exadata_storage_connector_details.py
+++ b/src/oci/database_management/models/update_external_exadata_storage_connector_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20201101
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -55,6 +55,10 @@ def __init__(self, **kwargs):
'freeform_tags': 'freeformTags',
'defined_tags': 'definedTags'
}
+ self._redacted_field_paths = [
+ ['credential_info', 'password'],
+ ['credential_info', 'ssl_trust_store_password'],
+ ]
self._connector_name = None
self._connection_uri = None
self._credential_info = None
@@ -194,7 +198,10 @@ def defined_tags(self, defined_tags):
self._defined_tags = defined_tags
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['credential_info', 'password'])
+ redact_password_field(as_dict, ['credential_info', 'ssl_trust_store_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/connection.py b/src/oci/database_migration/models/connection.py
index c303453b91..7c425cd8ca 100644
--- a/src/oci/database_migration/models/connection.py
+++ b/src/oci/database_migration/models/connection.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -208,6 +208,10 @@ def __init__(self, **kwargs):
'secret_id': 'secretId',
'private_endpoint_id': 'privateEndpointId'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['replication_password'],
+ ]
self._connection_type = None
self._id = None
self._display_name = None
@@ -829,7 +833,10 @@ def private_endpoint_id(self, private_endpoint_id):
self._private_endpoint_id = private_endpoint_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['replication_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/create_admin_credentials.py b/src/oci/database_migration/models/create_admin_credentials.py
index 1eeff0f835..452cda114a 100644
--- a/src/oci/database_migration/models/create_admin_credentials.py
+++ b/src/oci/database_migration/models/create_admin_credentials.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'username': 'username',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._username = None
self._password = None
@@ -89,7 +92,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/create_connection_details.py b/src/oci/database_migration/models/create_connection_details.py
index 24b48bc579..807266a9e5 100644
--- a/src/oci/database_migration/models/create_connection_details.py
+++ b/src/oci/database_migration/models/create_connection_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -123,6 +123,10 @@ def __init__(self, **kwargs):
'replication_username': 'replicationUsername',
'replication_password': 'replicationPassword'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['replication_password'],
+ ]
self._connection_type = None
self._display_name = None
self._description = None
@@ -506,7 +510,10 @@ def replication_password(self, replication_password):
self._replication_password = replication_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['replication_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/create_golden_gate_hub_details.py b/src/oci/database_migration/models/create_golden_gate_hub_details.py
index c03b7e5f3f..28caa67e13 100644
--- a/src/oci/database_migration/models/create_golden_gate_hub_details.py
+++ b/src/oci/database_migration/models/create_golden_gate_hub_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -73,6 +73,9 @@ def __init__(self, **kwargs):
'replicat': 'replicat',
'acceptable_lag': 'acceptableLag'
}
+ self._redacted_field_paths = [
+ ['rest_admin_credentials', 'password'],
+ ]
self._rest_admin_credentials = None
self._url = None
self._compute_id = None
@@ -263,7 +266,9 @@ def acceptable_lag(self, acceptable_lag):
self._acceptable_lag = acceptable_lag
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['rest_admin_credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/create_my_sql_migration_details.py b/src/oci/database_migration/models/create_my_sql_migration_details.py
index 41fb9e721e..10397227bf 100644
--- a/src/oci/database_migration/models/create_my_sql_migration_details.py
+++ b/src/oci/database_migration/models/create_my_sql_migration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .create_migration_details import CreateMigrationDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -136,6 +136,9 @@ def __init__(self, **kwargs):
'hub_details': 'hubDetails',
'ggs_details': 'ggsDetails'
}
+ self._redacted_field_paths = [
+ ['hub_details', 'rest_admin_credentials', 'password'],
+ ]
self._description = None
self._compartment_id = None
self._database_combination = None
@@ -333,7 +336,9 @@ def ggs_details(self, ggs_details):
self._ggs_details = ggs_details
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['hub_details', 'rest_admin_credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/create_mysql_connection_details.py b/src/oci/database_migration/models/create_mysql_connection_details.py
index 53b9487b72..94908d377f 100644
--- a/src/oci/database_migration/models/create_mysql_connection_details.py
+++ b/src/oci/database_migration/models/create_mysql_connection_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -183,6 +183,10 @@ def __init__(self, **kwargs):
'additional_attributes': 'additionalAttributes',
'db_system_id': 'dbSystemId'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['replication_password'],
+ ]
self._connection_type = None
self._display_name = None
self._description = None
@@ -510,7 +514,10 @@ def db_system_id(self, db_system_id):
self._db_system_id = db_system_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['replication_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/create_oracle_aws_s3_data_transfer_medium_details.py b/src/oci/database_migration/models/create_oracle_aws_s3_data_transfer_medium_details.py
index 19704c304f..7585605f0a 100644
--- a/src/oci/database_migration/models/create_oracle_aws_s3_data_transfer_medium_details.py
+++ b/src/oci/database_migration/models/create_oracle_aws_s3_data_transfer_medium_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .create_oracle_data_transfer_medium_details import CreateOracleDataTransferMediumDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -64,6 +64,10 @@ def __init__(self, **kwargs):
'secret_access_key': 'secretAccessKey',
'object_storage_bucket': 'objectStorageBucket'
}
+ self._redacted_field_paths = [
+ ['access_key_id'],
+ ['secret_access_key'],
+ ]
self._type = None
self._name = None
self._region = None
@@ -197,7 +201,10 @@ def object_storage_bucket(self, object_storage_bucket):
self._object_storage_bucket = object_storage_bucket
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['access_key_id'])
+ redact_password_field(as_dict, ['secret_access_key'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/create_oracle_connection_details.py b/src/oci/database_migration/models/create_oracle_connection_details.py
index 07d81f1bac..03e05b154a 100644
--- a/src/oci/database_migration/models/create_oracle_connection_details.py
+++ b/src/oci/database_migration/models/create_oracle_connection_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .create_connection_details import CreateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -159,6 +159,10 @@ def __init__(self, **kwargs):
'ssh_user': 'sshUser',
'ssh_sudo_location': 'sshSudoLocation'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['replication_password'],
+ ]
self._connection_type = None
self._display_name = None
self._description = None
@@ -378,7 +382,10 @@ def ssh_sudo_location(self, ssh_sudo_location):
self._ssh_sudo_location = ssh_sudo_location
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['replication_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/create_oracle_migration_details.py b/src/oci/database_migration/models/create_oracle_migration_details.py
index 4c0e059a04..6e5e84c08e 100644
--- a/src/oci/database_migration/models/create_oracle_migration_details.py
+++ b/src/oci/database_migration/models/create_oracle_migration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .create_migration_details import CreateMigrationDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -154,6 +154,9 @@ def __init__(self, **kwargs):
'include_objects': 'includeObjects',
'bulk_include_exclude_data': 'bulkIncludeExcludeData'
}
+ self._redacted_field_paths = [
+ ['hub_details', 'rest_admin_credentials', 'password'],
+ ]
self._description = None
self._compartment_id = None
self._database_combination = None
@@ -426,7 +429,9 @@ def bulk_include_exclude_data(self, bulk_include_exclude_data):
self._bulk_include_exclude_data = bulk_include_exclude_data
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['hub_details', 'rest_admin_credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/mysql_connection.py b/src/oci/database_migration/models/mysql_connection.py
index b00286c6cb..680642da6e 100644
--- a/src/oci/database_migration/models/mysql_connection.py
+++ b/src/oci/database_migration/models/mysql_connection.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .connection import Connection
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -278,6 +278,10 @@ def __init__(self, **kwargs):
'additional_attributes': 'additionalAttributes',
'db_system_id': 'dbSystemId'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['replication_password'],
+ ]
self._connection_type = None
self._id = None
self._display_name = None
@@ -524,7 +528,10 @@ def db_system_id(self, db_system_id):
self._db_system_id = db_system_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['replication_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/oracle_aws_s3_data_transfer_medium_details.py b/src/oci/database_migration/models/oracle_aws_s3_data_transfer_medium_details.py
index b0f0df66d3..18d4dcad5e 100644
--- a/src/oci/database_migration/models/oracle_aws_s3_data_transfer_medium_details.py
+++ b/src/oci/database_migration/models/oracle_aws_s3_data_transfer_medium_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .oracle_data_transfer_medium_details import OracleDataTransferMediumDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -64,6 +64,10 @@ def __init__(self, **kwargs):
'secret_access_key': 'secretAccessKey',
'object_storage_bucket': 'objectStorageBucket'
}
+ self._redacted_field_paths = [
+ ['access_key_id'],
+ ['secret_access_key'],
+ ]
self._type = None
self._name = None
self._region = None
@@ -197,7 +201,10 @@ def object_storage_bucket(self, object_storage_bucket):
self._object_storage_bucket = object_storage_bucket
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['access_key_id'])
+ redact_password_field(as_dict, ['secret_access_key'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/oracle_connection.py b/src/oci/database_migration/models/oracle_connection.py
index c0aa377d7b..50e2946f35 100644
--- a/src/oci/database_migration/models/oracle_connection.py
+++ b/src/oci/database_migration/models/oracle_connection.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .connection import Connection
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -228,6 +228,10 @@ def __init__(self, **kwargs):
'ssh_user': 'sshUser',
'ssh_sudo_location': 'sshSudoLocation'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['replication_password'],
+ ]
self._connection_type = None
self._id = None
self._display_name = None
@@ -435,7 +439,10 @@ def ssh_sudo_location(self, ssh_sudo_location):
self._ssh_sudo_location = ssh_sudo_location
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['replication_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/update_admin_credentials.py b/src/oci/database_migration/models/update_admin_credentials.py
index 74046b0d4c..156d1e2c7c 100644
--- a/src/oci/database_migration/models/update_admin_credentials.py
+++ b/src/oci/database_migration/models/update_admin_credentials.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -37,6 +37,9 @@ def __init__(self, **kwargs):
'username': 'username',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._username = None
self._password = None
@@ -89,7 +92,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/update_connection_details.py b/src/oci/database_migration/models/update_connection_details.py
index c1a4c710f9..628c6388c8 100644
--- a/src/oci/database_migration/models/update_connection_details.py
+++ b/src/oci/database_migration/models/update_connection_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -117,6 +117,10 @@ def __init__(self, **kwargs):
'replication_username': 'replicationUsername',
'replication_password': 'replicationPassword'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['replication_password'],
+ ]
self._connection_type = None
self._display_name = None
self._description = None
@@ -475,7 +479,10 @@ def replication_password(self, replication_password):
self._replication_password = replication_password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['replication_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/update_golden_gate_hub_details.py b/src/oci/database_migration/models/update_golden_gate_hub_details.py
index c0c57cb6de..43f3052e5e 100644
--- a/src/oci/database_migration/models/update_golden_gate_hub_details.py
+++ b/src/oci/database_migration/models/update_golden_gate_hub_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -73,6 +73,9 @@ def __init__(self, **kwargs):
'replicat': 'replicat',
'acceptable_lag': 'acceptableLag'
}
+ self._redacted_field_paths = [
+ ['rest_admin_credentials', 'password'],
+ ]
self._rest_admin_credentials = None
self._url = None
self._compute_id = None
@@ -263,7 +266,9 @@ def acceptable_lag(self, acceptable_lag):
self._acceptable_lag = acceptable_lag
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['rest_admin_credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/update_my_sql_migration_details.py b/src/oci/database_migration/models/update_my_sql_migration_details.py
index 9457581032..4415960f51 100644
--- a/src/oci/database_migration/models/update_my_sql_migration_details.py
+++ b/src/oci/database_migration/models/update_my_sql_migration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .update_migration_details import UpdateMigrationDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -106,6 +106,9 @@ def __init__(self, **kwargs):
'hub_details': 'hubDetails',
'ggs_details': 'ggsDetails'
}
+ self._redacted_field_paths = [
+ ['hub_details', 'rest_admin_credentials', 'password'],
+ ]
self._description = None
self._database_combination = None
self._type = None
@@ -222,7 +225,9 @@ def ggs_details(self, ggs_details):
self._ggs_details = ggs_details
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['hub_details', 'rest_admin_credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/update_mysql_connection_details.py b/src/oci/database_migration/models/update_mysql_connection_details.py
index e532be364a..e5b86fb4e6 100644
--- a/src/oci/database_migration/models/update_mysql_connection_details.py
+++ b/src/oci/database_migration/models/update_mysql_connection_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -171,6 +171,10 @@ def __init__(self, **kwargs):
'additional_attributes': 'additionalAttributes',
'db_system_id': 'dbSystemId'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['replication_password'],
+ ]
self._connection_type = None
self._display_name = None
self._description = None
@@ -470,7 +474,10 @@ def db_system_id(self, db_system_id):
self._db_system_id = db_system_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['replication_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/update_oracle_aws_s3_data_transfer_medium_details.py b/src/oci/database_migration/models/update_oracle_aws_s3_data_transfer_medium_details.py
index 702ab68af4..4a31a6a58a 100644
--- a/src/oci/database_migration/models/update_oracle_aws_s3_data_transfer_medium_details.py
+++ b/src/oci/database_migration/models/update_oracle_aws_s3_data_transfer_medium_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .update_oracle_data_transfer_medium_details import UpdateOracleDataTransferMediumDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -64,6 +64,10 @@ def __init__(self, **kwargs):
'secret_access_key': 'secretAccessKey',
'object_storage_bucket': 'objectStorageBucket'
}
+ self._redacted_field_paths = [
+ ['access_key_id'],
+ ['secret_access_key'],
+ ]
self._type = None
self._name = None
self._region = None
@@ -197,7 +201,10 @@ def object_storage_bucket(self, object_storage_bucket):
self._object_storage_bucket = object_storage_bucket
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['access_key_id'])
+ redact_password_field(as_dict, ['secret_access_key'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/update_oracle_connection_details.py b/src/oci/database_migration/models/update_oracle_connection_details.py
index b8885a7d4f..a556bacb76 100644
--- a/src/oci/database_migration/models/update_oracle_connection_details.py
+++ b/src/oci/database_migration/models/update_oracle_connection_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .update_connection_details import UpdateConnectionDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -147,6 +147,10 @@ def __init__(self, **kwargs):
'ssh_user': 'sshUser',
'ssh_sudo_location': 'sshSudoLocation'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ['replication_password'],
+ ]
self._connection_type = None
self._display_name = None
self._description = None
@@ -340,7 +344,10 @@ def ssh_sudo_location(self, ssh_sudo_location):
self._ssh_sudo_location = ssh_sudo_location
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ redact_password_field(as_dict, ['replication_password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_migration/models/update_oracle_migration_details.py b/src/oci/database_migration/models/update_oracle_migration_details.py
index 14d7d4a2d3..044fc073d0 100644
--- a/src/oci/database_migration/models/update_oracle_migration_details.py
+++ b/src/oci/database_migration/models/update_oracle_migration_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230518
from .update_migration_details import UpdateMigrationDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -124,6 +124,9 @@ def __init__(self, **kwargs):
'source_container_database_connection_id': 'sourceContainerDatabaseConnectionId',
'source_standby_database_connection_id': 'sourceStandbyDatabaseConnectionId'
}
+ self._redacted_field_paths = [
+ ['hub_details', 'rest_admin_credentials', 'password'],
+ ]
self._description = None
self._database_combination = None
self._type = None
@@ -315,7 +318,9 @@ def source_standby_database_connection_id(self, source_standby_database_connecti
self._source_standby_database_connection_id = source_standby_database_connection_id
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['hub_details', 'rest_admin_credentials', 'password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_tools_runtime/models/create_credential_basic_details.py b/src/oci/database_tools_runtime/models/create_credential_basic_details.py
index b85ff7790d..2ef46a39f9 100644
--- a/src/oci/database_tools_runtime/models/create_credential_basic_details.py
+++ b/src/oci/database_tools_runtime/models/create_credential_basic_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230222
from .create_credential_details import CreateCredentialDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -51,6 +51,9 @@ def __init__(self, **kwargs):
'user_name': 'userName',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._type = None
self._key = None
self._user_name = None
@@ -106,7 +109,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/database_tools_runtime/models/update_credential_basic_details.py b/src/oci/database_tools_runtime/models/update_credential_basic_details.py
index 7fd152abbd..d9ee77b029 100644
--- a/src/oci/database_tools_runtime/models/update_credential_basic_details.py
+++ b/src/oci/database_tools_runtime/models/update_credential_basic_details.py
@@ -5,7 +5,7 @@
# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20230222
from .update_credential_details import UpdateCredentialDetails
-from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel # noqa: F401
+from oci.util import formatted_flat_dict, NONE_SENTINEL, value_allowed_none_or_none_sentinel, to_dict, redact_password_field # noqa: F401
from oci.decorators import init_model_state_from_kwargs
@@ -45,6 +45,9 @@ def __init__(self, **kwargs):
'user_name': 'userName',
'password': 'password'
}
+ self._redacted_field_paths = [
+ ['password'],
+ ]
self._type = None
self._user_name = None
self._password = None
@@ -99,7 +102,9 @@ def password(self, password):
self._password = password
def __repr__(self):
- return formatted_flat_dict(self)
+ as_dict = to_dict(self)
+ redact_password_field(as_dict, ['password'])
+ return formatted_flat_dict(as_dict)
def __eq__(self, other):
if other is None:
diff --git a/src/oci/datacc/__init__.py b/src/oci/datacc/__init__.py
new file mode 100644
index 0000000000..c64247ddb0
--- /dev/null
+++ b/src/oci/datacc/__init__.py
@@ -0,0 +1,14 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20251101
+
+from __future__ import absolute_import
+
+
+from .baseinfra_client import BaseinfraClient
+from .baseinfra_client_composite_operations import BaseinfraClientCompositeOperations
+from . import models
+
+__all__ = ["BaseinfraClient", "BaseinfraClientCompositeOperations", "models"]
diff --git a/src/oci/datacc/baseinfra_client.py b/src/oci/datacc/baseinfra_client.py
new file mode 100644
index 0000000000..a9bab2f5d7
--- /dev/null
+++ b/src/oci/datacc/baseinfra_client.py
@@ -0,0 +1,5452 @@
+# coding: utf-8
+# Copyright (c) 2016, 2026, Oracle and/or its affiliates. All rights reserved.
+# This software is dual-licensed to you under the Universal Permissive License (UPL) 1.0 as shown at https://oss.oracle.com/licenses/upl or Apache License 2.0 as shown at http://www.apache.org/licenses/LICENSE-2.0. You may choose either license.
+
+# NOTE: This class is auto generated by OracleSDKGenerator. DO NOT EDIT. API Version: 20251101
+
+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 oci.exceptions import InvalidDeveloperToolConfiguration
+from oci.developer_tool_configuration import OCI_SDK_ENABLED_SERVICES_SET
+from .models import datacc_type_mapping
+missing = Sentinel("Missing")
+
+
+class BaseinfraClient(object):
+ """
+ API for Database Infrastructure Cloud@Customer Service. Use this API to manage Database Infrastructure VM clusters, Application VMs, and related resources.
+ """
+
+ 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 uses :py:data:`~oci.circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY` as default if no circuit breaker strategy is provided.
+ 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.
+
+ :param bool client_level_realm_specific_endpoint_template_enabled: (optional)
+ A boolean flag to indicate whether or not this client should be created with realm specific endpoint template enabled or disable. By default, this will be set as None.
+
+ :param allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this client should allow control characters in the response object. By default, the client will not
+ allow control characters to be in the response object.
+
+ :param enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this client should enable strict url encoding in path params of a request.
+ By default, the client will not enable strict url encoding
+ """
+ if not OCI_SDK_ENABLED_SERVICES_SET.is_service_enabled("datacc"):
+ raise InvalidDeveloperToolConfiguration("The Developer Tool Configuration has disabled this service, this behavior is controlled by OCI_SDK_ENABLED_SERVICES_SET variable. Please check if your local developer-tool-configuration file configured the service you're targeting or contact the cloud provider on the availability of this service")
+
+ 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': '/20251101',
+ 'service_endpoint_template': 'https://datacc.{region}.ocp.{secondLevelDomain}',
+ 'service_endpoint_template_per_realm': { }, # noqa: E201 E202
+ 'service_uses_dualstack_endpoints_by_default': False,
+ 'skip_deserialization': kwargs.get('skip_deserialization', False),
+ 'circuit_breaker_strategy': kwargs.get('circuit_breaker_strategy', circuit_breaker.GLOBAL_CIRCUIT_BREAKER_STRATEGY),
+ 'client_level_realm_specific_endpoint_template_enabled': kwargs.get('client_level_realm_specific_endpoint_template_enabled'),
+ 'client_level_dualstack_endpoints_enabled': kwargs.get('client_level_dualstack_endpoints_enabled')
+ }
+ if 'timeout' in kwargs:
+ base_client_init_kwargs['timeout'] = kwargs.get('timeout')
+ if base_client_init_kwargs.get('circuit_breaker_strategy') is None:
+ base_client_init_kwargs['circuit_breaker_strategy'] = circuit_breaker.DEFAULT_CIRCUIT_BREAKER_STRATEGY
+ if 'allow_control_chars' in kwargs:
+ base_client_init_kwargs['allow_control_chars'] = kwargs.get('allow_control_chars')
+ if 'enable_strict_url_encoding' in kwargs:
+ base_client_init_kwargs['enable_strict_url_encoding'] = kwargs.get('enable_strict_url_encoding')
+ self.base_client = BaseClient("baseinfra", config, signer, datacc_type_mapping, **base_client_init_kwargs)
+ self.retry_strategy = kwargs.get('retry_strategy')
+ self.circuit_breaker_callback = kwargs.get('circuit_breaker_callback')
+
+ def activate_infrastructure(self, activate_infrastructure_details, infrastructure_id, **kwargs):
+ """
+ Activate an Database Infrastructure using the specified details.
+
+
+ :param oci.datacc.models.ActivateInfrastructureDetails activate_infrastructure_details: (required)
+ The activation details for the Database Infrastructure.
+
+ :param str infrastructure_id: (required)
+ The `OCID`__ of the Database Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str if_match: (optional)
+ For Optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the 'if-match' parameter to the value of the
+ Etag from a previous GET or POST response for that resource.
+ The resource is updated or deleted only if the Etag that you
+ provide matches the current Etag value for the resource.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request, so the request can be retried without risk of processing that
+ same action again, in the event of a timeout or server error. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ was deleted and purged from the system, then a retry of the original creation request
+ can be rejected.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.Infrastructure`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use activate_infrastructure API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['infrastructureId']
+ resource_path = "/infrastructures/{infrastructureId}/actions/activate"
+ method = "POST"
+ operation_name = "activate_infrastructure"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"activate_infrastructure got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "infrastructureId": infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-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 is None:
+ retry_strategy = retry.DEFAULT_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=activate_infrastructure_details,
+ response_type="Infrastructure",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=activate_infrastructure_details,
+ response_type="Infrastructure",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def change_infrastructure_compartment(self, infrastructure_id, change_infrastructure_compartment_details, **kwargs):
+ """
+ Change the Database Infrastructure Cloud@Customer Compartment to the specified
+ `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str infrastructure_id: (required)
+ The `OCID`__ of the Database Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.datacc.models.ChangeInfrastructureCompartmentDetails change_infrastructure_compartment_details: (required)
+ 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 is updated or deleted only if the Etag that you
+ provide matches the current Etag value for the resource.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request, so the request can be retried without risk of processing that
+ same action again, in the event of a timeout or server error. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ was deleted and purged from the system, then a retry of the original creation request
+ can be rejected.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_infrastructure_compartment API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['infrastructureId']
+ resource_path = "/infrastructures/{infrastructureId}/actions/changeCompartment"
+ method = "POST"
+ operation_name = "change_infrastructure_compartment"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"change_infrastructure_compartment got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "infrastructureId": infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-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 is None:
+ retry_strategy = retry.DEFAULT_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_infrastructure_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=change_infrastructure_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def change_vm_cluster_network_compartment(self, vm_cluster_network_id, change_vm_cluster_network_compartment_details, **kwargs):
+ """
+ Change the VM cluster network Compartment to the specified
+ `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str vm_cluster_network_id: (required)
+ The `OCID`__ of the VM cluster network.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.datacc.models.ChangeVmClusterNetworkCompartmentDetails change_vm_cluster_network_compartment_details: (required)
+ 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 is updated or deleted only if the Etag that you
+ provide matches the current Etag value for the resource.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request, so the request can be retried without risk of processing that
+ same action again, in the event of a timeout or server error. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ was deleted and purged from the system, then a retry of the original creation request
+ can be rejected.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_vm_cluster_network_compartment API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['vmClusterNetworkId']
+ resource_path = "/vmClusterNetworks/{vmClusterNetworkId}/actions/changeCompartment"
+ method = "POST"
+ operation_name = "change_vm_cluster_network_compartment"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"change_vm_cluster_network_compartment got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "vmClusterNetworkId": vm_cluster_network_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-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 is None:
+ retry_strategy = retry.DEFAULT_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_vm_cluster_network_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=change_vm_cluster_network_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def change_vm_instance_compartment(self, vm_instance_id, change_vm_instance_compartment_details, **kwargs):
+ """
+ Change the VM instance on Database Infrastructure Compartment to the specified `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str vm_instance_id: (required)
+ The `OCID`__ of the VM instance.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param oci.datacc.models.ChangeVmInstanceCompartmentDetails change_vm_instance_compartment_details: (required)
+ 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 is updated or deleted only if the Etag that you
+ provide matches the current Etag value for the resource.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request, so the request can be retried without risk of processing that
+ same action again, in the event of a timeout or server error. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ was deleted and purged from the system, then a retry of the original creation request
+ can be rejected.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_vm_instance_compartment API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['vmInstanceId']
+ resource_path = "/vmInstances/{vmInstanceId}/actions/changeCompartment"
+ method = "POST"
+ operation_name = "change_vm_instance_compartment"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"change_vm_instance_compartment got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "vmInstanceId": vm_instance_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-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 is None:
+ retry_strategy = retry.DEFAULT_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_vm_instance_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ body=change_vm_instance_compartment_details,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def create_infrastructure(self, create_infrastructure_details, **kwargs):
+ """
+ Create a Database Infrastructure using the specified details.
+
+
+ :param oci.datacc.models.CreateInfrastructureDetails create_infrastructure_details: (required)
+ New Database Infrastructure details.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request, so the request can be retried without risk of processing that
+ same action again, in the event of a timeout or server error. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ was deleted and purged from the system, then a retry of the original creation request
+ can be rejected.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.Infrastructure`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_infrastructure API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/infrastructures"
+ method = "POST"
+ operation_name = "create_infrastructure"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"create_infrastructure got unknown kwargs: {extra_kwargs!r}")
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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_infrastructure_details,
+ response_type="Infrastructure",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_infrastructure_details,
+ response_type="Infrastructure",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def create_vm_cluster_network(self, create_vm_cluster_network_details, **kwargs):
+ """
+ Create an VM cluster on Database Infrastructure network using the specified details.
+
+
+ :param oci.datacc.models.CreateVmClusterNetworkDetails create_vm_cluster_network_details: (required)
+ New VM cluster network details.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request, so the request can be retried without risk of processing that
+ same action again, in the event of a timeout or server error. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ was deleted and purged from the system, then a retry of the original creation request
+ can be rejected.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.VmClusterNetwork`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_vm_cluster_network API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/vmClusterNetworks"
+ method = "POST"
+ operation_name = "create_vm_cluster_network"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"create_vm_cluster_network got unknown kwargs: {extra_kwargs!r}")
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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_vm_cluster_network_details,
+ response_type="VmClusterNetwork",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_vm_cluster_network_details,
+ response_type="VmClusterNetwork",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def create_vm_instance(self, create_vm_instance_details, **kwargs):
+ """
+ Create an VM instance on Database Infrastructure using the specified details.
+
+
+ :param oci.datacc.models.CreateVmInstanceDetails create_vm_instance_details: (required)
+ New VM instance details.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request, so the request can be retried without risk of processing that
+ same action again, in the event of a timeout or server error. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ was deleted and purged from the system, then a retry of the original creation request
+ can be rejected.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.VmInstance`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use create_vm_instance API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/vmInstances"
+ method = "POST"
+ operation_name = "create_vm_instance"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"create_vm_instance got unknown kwargs: {extra_kwargs!r}")
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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_vm_instance_details,
+ response_type="VmInstance",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=create_vm_instance_details,
+ response_type="VmInstance",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def delete_infrastructure(self, infrastructure_id, **kwargs):
+ """
+ Delete the Database Infrastructure that has the specified
+ `OCID`__. It must be called once the resource usage is complete.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str infrastructure_id: (required)
+ The `OCID`__ of the Database Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str if_match: (optional)
+ For Optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the 'if-match' parameter to the value of the
+ Etag from a previous GET or POST response for that resource.
+ The resource is updated or deleted only if the Etag that you
+ provide matches the current Etag value for the resource.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :param bool is_force_delete_infrastructure: (optional)
+ When set to `true`, infrastructure will be deleted even if it has dependent resources.
+ If set to `false`, deletion will fail if the infrastructure has dependent resources.
+ Default is `false`.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_infrastructure API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['infrastructureId']
+ resource_path = "/infrastructures/{infrastructureId}"
+ method = "DELETE"
+ operation_name = "delete_infrastructure"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "if_match",
+ "opc_request_id",
+ "is_force_delete_infrastructure"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"delete_infrastructure got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "infrastructureId": infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ query_params = {
+ "isForceDeleteInfrastructure": kwargs.get("is_force_delete_infrastructure", 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}
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ query_params=query_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def delete_vm_cluster_network(self, vm_cluster_network_id, **kwargs):
+ """
+ Delete the VM cluster network on Database Infrastructure that has the specified
+ `OCID`__. It must be called once the resource usage is complete.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str vm_cluster_network_id: (required)
+ The `OCID`__ of the VM cluster network.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str if_match: (optional)
+ For Optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the 'if-match' parameter to the value of the
+ Etag from a previous GET or POST response for that resource.
+ The resource is updated or deleted only if the Etag that you
+ provide matches the current Etag value for the resource.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_vm_cluster_network API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['vmClusterNetworkId']
+ resource_path = "/vmClusterNetworks/{vmClusterNetworkId}"
+ method = "DELETE"
+ operation_name = "delete_vm_cluster_network"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"delete_vm_cluster_network got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "vmClusterNetworkId": vm_cluster_network_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
+ }
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def delete_vm_instance(self, vm_instance_id, **kwargs):
+ """
+ Delete the VM instance on Database Infrastructure that has the specified
+ `OCID`__. It must be called once the resource usage is complete.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str vm_instance_id: (required)
+ The `OCID`__ of the VM instance.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str if_match: (optional)
+ For Optimistic concurrency control. In the PUT or DELETE call
+ for a resource, set the 'if-match' parameter to the value of the
+ Etag from a previous GET or POST response for that resource.
+ The resource is updated or deleted only if the Etag that you
+ provide matches the current Etag value for the resource.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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_vm_instance API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['vmInstanceId']
+ resource_path = "/vmInstances/{vmInstanceId}"
+ method = "DELETE"
+ operation_name = "delete_vm_instance"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"delete_vm_instance got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "vmInstanceId": vm_instance_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "if-match": kwargs.get("if_match", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing)
+ }
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def download_infrastructure_config_file(self, infrastructure_id, **kwargs):
+ """
+ Downloads the configuration file for the specified Database Infrastructure Cloud@Customer.
+
+
+ :param str infrastructure_id: (required)
+ The `OCID`__ of the Database Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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 download_infrastructure_config_file API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['infrastructureId']
+ resource_path = "/infrastructures/{infrastructureId}/actions/downloadConfigFile"
+ method = "GET"
+ operation_name = "download_infrastructure_config_file"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"download_infrastructure_config_file got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "infrastructureId": infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/octet-stream",
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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="stream",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="stream",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def download_infrastructure_validation_script(self, infrastructure_id, **kwargs):
+ """
+ Downloads the validation script for the specified Database Infrastructure Cloud@Customer.
+
+
+ :param str infrastructure_id: (required)
+ The `OCID`__ of the Database Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :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 download_infrastructure_validation_script API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['infrastructureId']
+ resource_path = "/infrastructures/{infrastructureId}/actions/downloadValidationScript"
+ method = "GET"
+ operation_name = "download_infrastructure_validation_script"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"download_infrastructure_validation_script got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "infrastructureId": infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/octet-stream",
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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="stream",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="stream",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def generate_recommended_vm_cluster_network(self, generate_recommended_vm_cluster_network_details, **kwargs):
+ """
+ Generates an VM cluster network configuration using the specified details.
+
+
+ :param oci.datacc.models.GenerateRecommendedVmClusterNetworkDetails generate_recommended_vm_cluster_network_details: (required)
+ Request to generate a recommended VM cluster network details configuration.
+
+ :param str opc_retry_token: (optional)
+ A token that uniquely identifies a request, so the request can be retried without risk of processing that
+ same action again, in the event of a timeout or server error. Retry tokens expire after 24
+ hours, but can be invalidated before then due to conflicting operations. For example, if a resource
+ was deleted and purged from the system, then a retry of the original creation request
+ can be rejected.
+
+ :param str opc_request_id: (optional)
+ The client request 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 is updated or deleted only if the Etag that you
+ provide matches the current Etag value for the resource.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.CreateVmClusterNetworkDetails`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use generate_recommended_vm_cluster_network API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = []
+ resource_path = "/vmClusterNetworks/actions/generateRecommendedVmClusterNetwork"
+ method = "POST"
+ operation_name = "generate_recommended_vm_cluster_network"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "opc_retry_token",
+ "opc_request_id",
+ "if_match"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"generate_recommended_vm_cluster_network got unknown kwargs: {extra_kwargs!r}")
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "opc-retry-token": kwargs.get("opc_retry_token", missing),
+ "opc-request-id": kwargs.get("opc_request_id", missing),
+ "if-match": kwargs.get("if_match", missing)
+ }
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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=generate_recommended_vm_cluster_network_details,
+ response_type="CreateVmClusterNetworkDetails",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ header_params=header_params,
+ body=generate_recommended_vm_cluster_network_details,
+ response_type="CreateVmClusterNetworkDetails",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_infrastructure(self, infrastructure_id, **kwargs):
+ """
+ Obtain the Database Infrastructure that has the specified
+ `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str infrastructure_id: (required)
+ The `OCID`__ of the Database Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.Infrastructure`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_infrastructure API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['infrastructureId']
+ resource_path = "/infrastructures/{infrastructureId}"
+ method = "GET"
+ operation_name = "get_infrastructure"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_infrastructure got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "infrastructureId": infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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="Infrastructure",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="Infrastructure",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_infrastructure_scale_option(self, infrastructure_id, **kwargs):
+ """
+ Get the available scale options for the infrastructure that has the specified
+ `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str infrastructure_id: (required)
+ The `OCID`__ of the Database Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.InfrastructureScaleOption`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_infrastructure_scale_option API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['infrastructureId']
+ resource_path = "/infrastructures/{infrastructureId}/scaleOptions"
+ method = "GET"
+ operation_name = "get_infrastructure_scale_option"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_infrastructure_scale_option got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "infrastructureId": infrastructure_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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="InfrastructureScaleOption",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="InfrastructureScaleOption",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_maintenance_execution(self, maintenance_execution_id, **kwargs):
+ """
+ Gets information about the specified `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str maintenance_execution_id: (required)
+ The maintenance execution OCID.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.MaintenanceExecution`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_maintenance_execution API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['maintenanceExecutionId']
+ resource_path = "/maintenanceExecutions/{maintenanceExecutionId}"
+ method = "GET"
+ operation_name = "get_maintenance_execution"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_maintenance_execution got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "maintenanceExecutionId": maintenance_execution_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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="MaintenanceExecution",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="MaintenanceExecution",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_maintenance_run(self, maintenance_run_id, **kwargs):
+ """
+ Gets information about the specified `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str maintenance_run_id: (required)
+ The maintenance run OCID.
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.MaintenanceRun`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_maintenance_run API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['maintenanceRunId']
+ resource_path = "/maintenanceRuns/{maintenanceRunId}"
+ method = "GET"
+ operation_name = "get_maintenance_run"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_maintenance_run got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "maintenanceRunId": maintenance_run_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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="MaintenanceRun",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="MaintenanceRun",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_vm_cluster_network(self, vm_cluster_network_id, **kwargs):
+ """
+ Obtain the VM cluster network on Database Infrastructure that has the specified
+ `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str vm_cluster_network_id: (required)
+ The `OCID`__ of the VM cluster network.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.VmClusterNetwork`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_vm_cluster_network API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['vmClusterNetworkId']
+ resource_path = "/vmClusterNetworks/{vmClusterNetworkId}"
+ method = "GET"
+ operation_name = "get_vm_cluster_network"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_vm_cluster_network got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "vmClusterNetworkId": vm_cluster_network_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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="VmClusterNetwork",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="VmClusterNetwork",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_vm_instance(self, vm_instance_id, **kwargs):
+ """
+ Obtain the VM instance on Database Infrastructure that has the specified `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str vm_instance_id: (required)
+ The `OCID`__ of the VM instance.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.VmInstance`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_vm_instance API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['vmInstanceId']
+ resource_path = "/vmInstances/{vmInstanceId}"
+ method = "GET"
+ operation_name = "get_vm_instance"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_vm_instance got unknown kwargs: {extra_kwargs!r}")
+
+ path_params = {
+ "vmInstanceId": vm_instance_id
+ }
+
+ path_params = {k: v for (k, v) in six.iteritems(path_params) if v is not missing}
+
+ for (k, v) in six.iteritems(path_params):
+ if v is None or (isinstance(v, six.string_types) and len(v.strip()) == 0):
+ raise ValueError(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ header_params = {
+ "accept": "application/json",
+ "content-type": "application/json",
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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="VmInstance",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="VmInstance",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def get_work_request(self, work_request_id, **kwargs):
+ """
+ Get the status of the work request having the specified work request `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str work_request_id: (required)
+ The `OCID`__ of the asynchronous work request.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.WorkRequest`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use get_work_request API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['workRequestId']
+ resource_path = "/workRequests/{workRequestId}"
+ method = "GET"
+ operation_name = "get_work_request"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "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(
+ f"get_work_request got unknown kwargs: {extra_kwargs!r}")
+
+ 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(f'Parameter {k} cannot be None, whitespace or empty string')
+
+ 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 is None:
+ retry_strategy = retry.DEFAULT_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",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ path_params=path_params,
+ header_params=header_params,
+ response_type="WorkRequest",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_infrastructures(self, compartment_id, **kwargs):
+ """
+ Obtain a list of Database Infrastructures.
+
+
+ :param str compartment_id: (required)
+ The `OCID`__ of the compartment.
+ For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
+ it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str display_name: (optional)
+ A filter to return resources that match the entire display name given. The match is case sensitive.
+
+ :param list[str] lifecycle_state: (optional)
+ A filter to return resources that match the specified lifecycle state.
+
+ Allowed values are: "CREATING", "REQUIRES_VALIDATION", "VALIDATING", "VALIDATION_FAILED", "REQUIRES_ACTIVATION", "ACTIVATING", "ACTIVE", "ACTIVATION_FAILED", "FAILED", "UPDATING", "DELETING", "DELETED", "DISCONNECTED", "MAINTENANCE_IN_PROGRESS"
+
+ :param int limit: (optional)
+ The maximum number of items to return in a page.
+
+ :param str page: (optional)
+ The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
+
+ :param str sort_order: (optional)
+ The sort order that you want to use, which is either `ASC` or `DESC`.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
+ When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
+
+ Allowed values are: "timeCreated", "displayName", "buildIdentifier"
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.InfrastructureCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_infrastructures API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/infrastructures"
+ method = "GET"
+ operation_name = "list_infrastructures"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "display_name",
+ "lifecycle_state",
+ "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(
+ f"list_infrastructures got unknown kwargs: {extra_kwargs!r}")
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "REQUIRES_VALIDATION", "VALIDATING", "VALIDATION_FAILED", "REQUIRES_ACTIVATION", "ACTIVATING", "ACTIVE", "ACTIVATION_FAILED", "FAILED", "UPDATING", "DELETING", "DELETED", "DISCONNECTED", "MAINTENANCE_IN_PROGRESS"]
+ for lifecycle_state_item in kwargs['lifecycle_state']:
+ if lifecycle_state_item not in lifecycle_state_allowed_values:
+ raise ValueError(
+ f"Invalid value for `lifecycle_state`, must be one of { 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(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["timeCreated", "displayName", "buildIdentifier"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "displayName": kwargs.get("display_name", missing),
+ "lifecycleState": self.base_client.generate_collection_format_param(kwargs.get("lifecycle_state", missing), 'multi'),
+ "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 is None:
+ retry_strategy = retry.DEFAULT_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="InfrastructureCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="InfrastructureCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_maintenance_executions(self, compartment_id, **kwargs):
+ """
+ Gets a list of the maintenance executions in the specified compartment.
+
+
+ :param str compartment_id: (required)
+ The `OCID`__ of the compartment.
+ For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
+ it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str display_name: (optional)
+ A filter to return resources that match the entire display name given. The match is case sensitive.
+
+ :param str infrastructure_id: (optional)
+ The Database Infrastructure ID.
+
+ :param str target_resource_type: (optional)
+ The type of the target resource.
+
+ Allowed values are: "DB_CC_INFRASTRUCTURE"
+
+ :param str maintenance_type: (optional)
+ The maintenance type.
+
+ Allowed values are: "PLANNED", "UNPLANNED"
+
+ :param str maintenance_run_id: (optional)
+ The maintenance run OCID.
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "CREATING", "SCHEDULED", "IN_PROGRESS", "SUCCEEDED", "SKIPPED", "FAILED", "UPDATING", "DELETING", "DELETED", "CANCELED", "PARTIAL_SUCCESS"
+
+ :param str maintenance_subtype: (optional)
+ The sub-type of the maintenance run.
+
+ Allowed values are: "YEARLY", "HALFYEARLY", "QUARTERLY", "MONTHLY", "DAILY", "HARDWARE", "CRITICAL", "INFRA_UPDATE", "CPS_SERVICES_UPDATE", "CPS_VM_UPDATE", "SECURITY_MONTHLY"
+
+ :param datetime time_accepted_less_than_or_equal_to: (optional)
+ Filter maintenance run for before given time.
+
+ :param datetime time_accepted_greater_than_or_equal_to: (optional)
+ Filter maintenance run for after given time.
+
+ :param str type: (optional)
+ The maintenance execution type.
+
+ Allowed values are: "NOTIFY", "EXECUTE"
+
+ :param int limit: (optional)
+ The maximum number of items to return in a page.
+
+ :param str page: (optional)
+ The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
+
+ :param str sort_by: (optional)
+ The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
+ When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
+
+ Allowed values are: "timeCreated", "displayName", "buildIdentifier"
+
+ :param str sort_order: (optional)
+ The sort order that you want to use, which is either `ASC` or `DESC`.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.MaintenanceExecutionCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_maintenance_executions API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/maintenanceExecutions"
+ method = "GET"
+ operation_name = "list_maintenance_executions"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "display_name",
+ "infrastructure_id",
+ "target_resource_type",
+ "maintenance_type",
+ "maintenance_run_id",
+ "lifecycle_state",
+ "maintenance_subtype",
+ "time_accepted_less_than_or_equal_to",
+ "time_accepted_greater_than_or_equal_to",
+ "type",
+ "limit",
+ "page",
+ "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(
+ f"list_maintenance_executions got unknown kwargs: {extra_kwargs!r}")
+
+ if 'target_resource_type' in kwargs:
+ target_resource_type_allowed_values = ["DB_CC_INFRASTRUCTURE"]
+ if kwargs['target_resource_type'] not in target_resource_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `target_resource_type`, must be one of { target_resource_type_allowed_values }"
+ )
+
+ if 'maintenance_type' in kwargs:
+ maintenance_type_allowed_values = ["PLANNED", "UNPLANNED"]
+ if kwargs['maintenance_type'] not in maintenance_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `maintenance_type`, must be one of { maintenance_type_allowed_values }"
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "SCHEDULED", "IN_PROGRESS", "SUCCEEDED", "SKIPPED", "FAILED", "UPDATING", "DELETING", "DELETED", "CANCELED", "PARTIAL_SUCCESS"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
+ )
+
+ if 'maintenance_subtype' in kwargs:
+ maintenance_subtype_allowed_values = ["YEARLY", "HALFYEARLY", "QUARTERLY", "MONTHLY", "DAILY", "HARDWARE", "CRITICAL", "INFRA_UPDATE", "CPS_SERVICES_UPDATE", "CPS_VM_UPDATE", "SECURITY_MONTHLY"]
+ if kwargs['maintenance_subtype'] not in maintenance_subtype_allowed_values:
+ raise ValueError(
+ f"Invalid value for `maintenance_subtype`, must be one of { maintenance_subtype_allowed_values }"
+ )
+
+ if 'type' in kwargs:
+ type_allowed_values = ["NOTIFY", "EXECUTE"]
+ if kwargs['type'] not in type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `type`, must be one of { type_allowed_values }"
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["timeCreated", "displayName", "buildIdentifier"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { 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(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "displayName": kwargs.get("display_name", missing),
+ "infrastructureId": kwargs.get("infrastructure_id", missing),
+ "targetResourceType": kwargs.get("target_resource_type", missing),
+ "maintenanceType": kwargs.get("maintenance_type", missing),
+ "maintenanceRunId": kwargs.get("maintenance_run_id", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "maintenanceSubtype": kwargs.get("maintenance_subtype", missing),
+ "timeAcceptedLessThanOrEqualTo": kwargs.get("time_accepted_less_than_or_equal_to", missing),
+ "timeAcceptedGreaterThanOrEqualTo": kwargs.get("time_accepted_greater_than_or_equal_to", missing),
+ "type": kwargs.get("type", 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 is None:
+ retry_strategy = retry.DEFAULT_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="MaintenanceExecutionCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="MaintenanceExecutionCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_maintenance_runs(self, compartment_id, **kwargs):
+ """
+ Gets a list of the maintenance runs in the specified compartment.
+
+
+ :param str compartment_id: (required)
+ The `OCID`__ of the compartment.
+ For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
+ it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str display_name: (optional)
+ A filter to return resources that match the entire display name given. The match is case sensitive.
+
+ :param str infrastructure_id: (optional)
+ The Database Infrastructure ID.
+
+ :param str target_resource_type: (optional)
+ The type of the target resource.
+
+ Allowed values are: "DB_CC_INFRASTRUCTURE"
+
+ :param str maintenance_type: (optional)
+ The maintenance type.
+
+ Allowed values are: "PLANNED", "UNPLANNED"
+
+ :param str lifecycle_state: (optional)
+ A filter to return only resources that match the given lifecycle state exactly.
+
+ Allowed values are: "CREATING", "SCHEDULED", "IN_PROGRESS", "SUCCEEDED", "SKIPPED", "FAILED", "UPDATING", "DELETING", "DELETED", "CANCELED", "PARTIAL_SUCCESS"
+
+ :param str maintenance_subtype: (optional)
+ The sub-type of the maintenance run.
+
+ Allowed values are: "YEARLY", "HALFYEARLY", "QUARTERLY", "MONTHLY", "DAILY", "HARDWARE", "CRITICAL", "INFRA_UPDATE", "CPS_SERVICES_UPDATE", "CPS_VM_UPDATE", "SECURITY_MONTHLY"
+
+ :param datetime time_accepted_less_than_or_equal_to: (optional)
+ Filter maintenance run for before given time.
+
+ :param datetime time_accepted_greater_than_or_equal_to: (optional)
+ Filter maintenance run for after given time.
+
+ :param int limit: (optional)
+ The maximum number of items to return in a page.
+
+ :param str page: (optional)
+ The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
+
+ :param str sort_by: (optional)
+ The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
+ When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
+
+ Allowed values are: "timeCreated", "displayName", "buildIdentifier"
+
+ :param str sort_order: (optional)
+ The sort order that you want to use, which is either `ASC` or `DESC`.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.MaintenanceRunCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_maintenance_runs API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/maintenanceRuns"
+ method = "GET"
+ operation_name = "list_maintenance_runs"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "display_name",
+ "infrastructure_id",
+ "target_resource_type",
+ "maintenance_type",
+ "lifecycle_state",
+ "maintenance_subtype",
+ "time_accepted_less_than_or_equal_to",
+ "time_accepted_greater_than_or_equal_to",
+ "limit",
+ "page",
+ "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(
+ f"list_maintenance_runs got unknown kwargs: {extra_kwargs!r}")
+
+ if 'target_resource_type' in kwargs:
+ target_resource_type_allowed_values = ["DB_CC_INFRASTRUCTURE"]
+ if kwargs['target_resource_type'] not in target_resource_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `target_resource_type`, must be one of { target_resource_type_allowed_values }"
+ )
+
+ if 'maintenance_type' in kwargs:
+ maintenance_type_allowed_values = ["PLANNED", "UNPLANNED"]
+ if kwargs['maintenance_type'] not in maintenance_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `maintenance_type`, must be one of { maintenance_type_allowed_values }"
+ )
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "SCHEDULED", "IN_PROGRESS", "SUCCEEDED", "SKIPPED", "FAILED", "UPDATING", "DELETING", "DELETED", "CANCELED", "PARTIAL_SUCCESS"]
+ if kwargs['lifecycle_state'] not in lifecycle_state_allowed_values:
+ raise ValueError(
+ f"Invalid value for `lifecycle_state`, must be one of { lifecycle_state_allowed_values }"
+ )
+
+ if 'maintenance_subtype' in kwargs:
+ maintenance_subtype_allowed_values = ["YEARLY", "HALFYEARLY", "QUARTERLY", "MONTHLY", "DAILY", "HARDWARE", "CRITICAL", "INFRA_UPDATE", "CPS_SERVICES_UPDATE", "CPS_VM_UPDATE", "SECURITY_MONTHLY"]
+ if kwargs['maintenance_subtype'] not in maintenance_subtype_allowed_values:
+ raise ValueError(
+ f"Invalid value for `maintenance_subtype`, must be one of { maintenance_subtype_allowed_values }"
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["timeCreated", "displayName", "buildIdentifier"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { 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(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "displayName": kwargs.get("display_name", missing),
+ "infrastructureId": kwargs.get("infrastructure_id", missing),
+ "targetResourceType": kwargs.get("target_resource_type", missing),
+ "maintenanceType": kwargs.get("maintenance_type", missing),
+ "lifecycleState": kwargs.get("lifecycle_state", missing),
+ "maintenanceSubtype": kwargs.get("maintenance_subtype", missing),
+ "timeAcceptedLessThanOrEqualTo": kwargs.get("time_accepted_less_than_or_equal_to", missing),
+ "timeAcceptedGreaterThanOrEqualTo": kwargs.get("time_accepted_greater_than_or_equal_to", 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 is None:
+ retry_strategy = retry.DEFAULT_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="MaintenanceRunCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="MaintenanceRunCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_vm_cluster_networks(self, compartment_id, **kwargs):
+ """
+ Obtain a list of VM cluster networks on Database Infrastructure.
+
+
+ :param str compartment_id: (required)
+ The `OCID`__ of the compartment.
+ For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
+ it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str display_name: (optional)
+ A filter to return resources that match the entire display name given. The match is case sensitive.
+
+ :param list[str] lifecycle_state: (optional)
+ A filter to return resources that match the specified lifecycle state.
+
+ Allowed values are: "CREATING", "REQUIRES_VALIDATION", "VALIDATING", "VALIDATED", "VALIDATION_FAILED", "UPDATING", "ALLOCATED", "DELETING", "DELETED"
+
+ :param bool is_scan_enabled: (optional)
+ A filter to return VM cluster network resources that matches the specified value.
+
+ :param int limit: (optional)
+ The maximum number of items to return in a page.
+
+ :param str page: (optional)
+ The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
+
+ :param str sort_order: (optional)
+ The sort order that you want to use, which is either `ASC` or `DESC`.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
+ When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
+
+ Allowed values are: "timeCreated", "displayName", "buildIdentifier"
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :param str infrastructure_id: (optional)
+ The `OCID`__ of the Database Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param int node_count: (optional)
+ Count of virtual machines in this VM cluster.
+
+ :param str vm_network_consumer_type: (optional)
+ VM network consumer type.
+
+ Allowed values are: "INSTANCE", "CLUSTER"
+
+ :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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.VmClusterNetworkCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_vm_cluster_networks API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/vmClusterNetworks"
+ method = "GET"
+ operation_name = "list_vm_cluster_networks"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "display_name",
+ "lifecycle_state",
+ "is_scan_enabled",
+ "limit",
+ "page",
+ "sort_order",
+ "sort_by",
+ "opc_request_id",
+ "infrastructure_id",
+ "node_count",
+ "vm_network_consumer_type"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_vm_cluster_networks got unknown kwargs: {extra_kwargs!r}")
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "REQUIRES_VALIDATION", "VALIDATING", "VALIDATED", "VALIDATION_FAILED", "UPDATING", "ALLOCATED", "DELETING", "DELETED"]
+ for lifecycle_state_item in kwargs['lifecycle_state']:
+ if lifecycle_state_item not in lifecycle_state_allowed_values:
+ raise ValueError(
+ f"Invalid value for `lifecycle_state`, must be one of { 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(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["timeCreated", "displayName", "buildIdentifier"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
+ )
+
+ if 'vm_network_consumer_type' in kwargs:
+ vm_network_consumer_type_allowed_values = ["INSTANCE", "CLUSTER"]
+ if kwargs['vm_network_consumer_type'] not in vm_network_consumer_type_allowed_values:
+ raise ValueError(
+ f"Invalid value for `vm_network_consumer_type`, must be one of { vm_network_consumer_type_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "displayName": kwargs.get("display_name", missing),
+ "lifecycleState": self.base_client.generate_collection_format_param(kwargs.get("lifecycle_state", missing), 'multi'),
+ "isScanEnabled": kwargs.get("is_scan_enabled", missing),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "infrastructureId": kwargs.get("infrastructure_id", missing),
+ "nodeCount": kwargs.get("node_count", missing),
+ "vmNetworkConsumerType": kwargs.get("vm_network_consumer_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 is None:
+ retry_strategy = retry.DEFAULT_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="VmClusterNetworkCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="VmClusterNetworkCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_vm_instances(self, compartment_id, **kwargs):
+ """
+ Obtain a list of VM instances.
+
+
+ :param str compartment_id: (required)
+ The `OCID`__ of the compartment.
+ For list operations, you may provide the tenant [OCID] in this field. When a tenant OCID is provided,
+ it will be validated against the caller's tenant and then treated as tenant scope (compartmentId filtering is not applied).
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str display_name: (optional)
+ A filter to return resources that match the entire display name given. The match is case sensitive.
+
+ :param list[str] lifecycle_state: (optional)
+ A filter to return resources that match the specified lifecycle state.
+
+ Allowed values are: "CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED"
+
+ :param int limit: (optional)
+ The maximum number of items to return in a page.
+
+ :param str page: (optional)
+ The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
+
+ :param str sort_order: (optional)
+ The sort order that you want to use, which is either `ASC` or `DESC`.
+
+ Allowed values are: "ASC", "DESC"
+
+ :param str sort_by: (optional)
+ The field by which you want to sort. You can provide only one type of sort order. The default order for `timeCreated` is descending. The default order for `displayName` is ascending. If no value is specified, then `timeCreated` is the default.
+ When listing software images within the same `version`, using `sortBy=buildIdentifier` is recommended. `buildIdentifier` is a monotonically increasing, time-ordered string marker (yyyy-mm-dd-hh:mm:ss) stored with the image.
+
+ Allowed values are: "timeCreated", "displayName", "buildIdentifier"
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :param str infrastructure_id: (optional)
+ The `OCID`__ of the Database Infrastructure.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str base_server_id: (optional)
+ The `OCID`__ of the Database Infrastructure Server Id.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param obj retry_strategy: (optional)
+ A retry strategy to apply to this specific operation/call. This will override any retry strategy set at the client-level.
+
+ This should be one of the strategies available in the :py:mod:`~oci.retry` module. This operation uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here `__.
+
+ To have this operation explicitly not perform any retries, pass an instance of :py:class:`~oci.retry.NoneRetryStrategy`.
+
+ :param bool allow_control_chars: (optional)
+ allow_control_chars is a boolean to indicate whether or not this request should allow control characters in the response object.
+ By default, the response will not allow control characters in strings
+
+ :param bool enable_strict_url_encoding: (optional)
+ enable_strict_url_encoding is a boolean to indicate whether or not this request should enable strict url encoding for path params.
+ By default, strict url encoding for path params is disabled
+
+ :return: A :class:`~oci.response.Response` object with data of type :class:`~oci.datacc.models.VmInstanceCollection`
+ :rtype: :class:`~oci.response.Response`
+
+ :example:
+ Click `here `__ to see an example of how to use list_vm_instances API.
+ """
+ # Required path and query arguments. These are in camelCase to replace values in service endpoints.
+ required_arguments = ['compartmentId']
+ resource_path = "/vmInstances"
+ method = "GET"
+ operation_name = "list_vm_instances"
+ api_reference_link = ""
+
+ # Don't accept unknown kwargs
+ expected_kwargs = [
+ "allow_control_chars",
+ "enable_strict_url_encoding",
+ "retry_strategy",
+ "display_name",
+ "lifecycle_state",
+ "limit",
+ "page",
+ "sort_order",
+ "sort_by",
+ "opc_request_id",
+ "infrastructure_id",
+ "base_server_id"
+ ]
+ extra_kwargs = [_key for _key in six.iterkeys(kwargs) if _key not in expected_kwargs]
+ if extra_kwargs:
+ raise ValueError(
+ f"list_vm_instances got unknown kwargs: {extra_kwargs!r}")
+
+ if 'lifecycle_state' in kwargs:
+ lifecycle_state_allowed_values = ["CREATING", "ACTIVE", "INACTIVE", "UPDATING", "DELETING", "DELETED"]
+ for lifecycle_state_item in kwargs['lifecycle_state']:
+ if lifecycle_state_item not in lifecycle_state_allowed_values:
+ raise ValueError(
+ f"Invalid value for `lifecycle_state`, must be one of { 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(
+ f"Invalid value for `sort_order`, must be one of { sort_order_allowed_values }"
+ )
+
+ if 'sort_by' in kwargs:
+ sort_by_allowed_values = ["timeCreated", "displayName", "buildIdentifier"]
+ if kwargs['sort_by'] not in sort_by_allowed_values:
+ raise ValueError(
+ f"Invalid value for `sort_by`, must be one of { sort_by_allowed_values }"
+ )
+
+ query_params = {
+ "compartmentId": compartment_id,
+ "displayName": kwargs.get("display_name", missing),
+ "lifecycleState": self.base_client.generate_collection_format_param(kwargs.get("lifecycle_state", missing), 'multi'),
+ "limit": kwargs.get("limit", missing),
+ "page": kwargs.get("page", missing),
+ "sortOrder": kwargs.get("sort_order", missing),
+ "sortBy": kwargs.get("sort_by", missing),
+ "infrastructureId": kwargs.get("infrastructure_id", missing),
+ "baseServerId": kwargs.get("base_server_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 is None:
+ retry_strategy = retry.DEFAULT_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="VmInstanceCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+ else:
+ return self.base_client.call_api(
+ resource_path=resource_path,
+ method=method,
+ query_params=query_params,
+ header_params=header_params,
+ response_type="VmInstanceCollection",
+ allow_control_chars=kwargs.get('allow_control_chars'),
+ enable_strict_url_encoding=kwargs.get('enable_strict_url_encoding'),
+ operation_name=operation_name,
+ api_reference_link=api_reference_link,
+ required_arguments=required_arguments)
+
+ def list_work_request_errors(self, work_request_id, **kwargs):
+ """
+ View the list of errors for the work request that have the specified work request `OCID`__.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+
+ :param str work_request_id: (required)
+ The `OCID`__ of the asynchronous work request.
+
+ __ https://docs.oracle.com/iaas/Content/General/Concepts/identifiers.htm
+
+ :param str opc_request_id: (optional)
+ The client request identifier.
+
+ :param str page: (optional)
+ The page token representing the page at which you want to start retrieving results. This token is usually retrieved from a previous list call.
+
+ :param int limit: (optional)
+ The maximum number of items to return in a page.
+
+ :param str sort_order: (optional)
+ The sort order that you want to use, which is either `ASC` or `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 uses :py:data:`~oci.retry.DEFAULT_RETRY_STRATEGY` as default if no retry strategy is provided.
+ The specifics of the default retry strategy are described `here